tracking de fichiers oubliés
Le dépôt est presque dans un état propre
This commit is contained in:
parent
408301b74a
commit
c67bdf6fe0
7 changed files with 183 additions and 0 deletions
2
Cfg/etc/cron.d/dovecot-indexes/dovecot-indexes
Normal file
2
Cfg/etc/cron.d/dovecot-indexes/dovecot-indexes
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHELL=/bin/bash
|
||||
5 5 * * * root if [ `/usr/bin/di -f p /var/dovecot-indexes | /usr/bin/tail -n 1 | /bin/sed 's/%//'` -gt 75 ]; then /bin/rm -rf /var/dovecot-indexes/*; fi
|
3
Cfg/etc/cron.d/dovecot-indexes/info.xml
Normal file
3
Cfg/etc/cron.d/dovecot-indexes/info.xml
Normal file
|
@ -0,0 +1,3 @@
|
|||
<FileInfo>
|
||||
<Info owner='root' group='root' perms='0644'/>
|
||||
</FileInfo>
|
2
Packages/.gitignore
vendored
Normal file
2
Packages/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Don't look at dynamic cache folder
|
||||
cache
|
1
Packages/packages.conf
Normal file
1
Packages/packages.conf
Normal file
|
@ -0,0 +1 @@
|
|||
[global]
|
78
Packages/sources.xml
Normal file
78
Packages/sources.xml
Normal file
|
@ -0,0 +1,78 @@
|
|||
<Sources>
|
||||
<Group name="wheezy">
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian"
|
||||
version="wheezy">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian-security"
|
||||
version="wheezy/updates">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian"
|
||||
version="wheezy-updates">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/custom"
|
||||
version="wheezy">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
</Group>
|
||||
<Group name="squeeze">
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian"
|
||||
version="squeeze">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian-security"
|
||||
version="squeeze/updates">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/debian"
|
||||
version="squeeze-updates">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
<Source type="apt"
|
||||
url="http://ftp.adm.crans.org/custom"
|
||||
version="squeeze">
|
||||
<Component>main</Component>
|
||||
<Component>contrib</Component>
|
||||
<Component>non-free</Component>
|
||||
<Arch>i386</Arch>
|
||||
<Arch>amd64</Arch>
|
||||
</Source>
|
||||
</Group>
|
||||
</Sources>
|
93
Probes/groups
Normal file
93
Probes/groups
Normal file
|
@ -0,0 +1,93 @@
|
|||
#!/bin/bash
|
||||
|
||||
OUTPUT=""
|
||||
|
||||
if [ -e /etc/release ]; then
|
||||
# Solaris
|
||||
OUTPUT="$OUTPUT\ngroup:solaris"
|
||||
elif [ -e /etc/debian_version ]; then
|
||||
# debian based
|
||||
OUTPUT="$OUTPUT\ngroup:deb\ngroup:linux"
|
||||
if [ -e /etc/lsb-release ]; then
|
||||
# variant
|
||||
. /etc/lsb-release
|
||||
DEBIAN_VERSION=$(echo "$DISTRIB_ID" | tr '[A-Z]' '[a-z]')
|
||||
OUTPUT="$OUTPUT\ngroup:${DISTRIB_CODENAME}"
|
||||
OUTPUT="$OUTPUT\ngroup:${DEBIAN_VERSION}"
|
||||
else
|
||||
# debian
|
||||
OS_GROUP=`cat /etc/debian_version`
|
||||
OUTPUT="$OUTPUT\ngroup:debian"
|
||||
case "$OS_GROUP" in
|
||||
5.*)
|
||||
OUTPUT="$OUTPUT\ngroup:lenny"
|
||||
;;
|
||||
6.*)
|
||||
OUTPUT="$OUTPUT\ngroup:squeeze"
|
||||
;;
|
||||
"wheezy/sid")
|
||||
OUTPUT="$OUTPUT\ngroup:wheezy"
|
||||
;;
|
||||
"sid")
|
||||
OUTPUT="$OUTPUT\ngroup:sid"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
elif [ -e /etc/redhat-release ]; then
|
||||
# redhat based
|
||||
if [ -x /bin/rpm ]; then
|
||||
OUTPUT="${OUTPUT}\ngroup:rpm\ngroup:linux"
|
||||
OS_GROUP=`/bin/rpm -q --qf "%{NAME}" --whatprovides redhat-release | sed 's/-release.*//' | tr '[A-Z]' '[a-z]'`
|
||||
REDHAT_VERSION=`/bin/rpm -q --qf "%{VERSION}" --whatprovides redhat-release`
|
||||
case "$OS_GROUP" in
|
||||
"centos" | "fedora" | "sl")
|
||||
OUTPUT="${OUTPUT}\ngroup:${OS_GROUP}"
|
||||
OUTPUT="${OUTPUT}\ngroup:${OS_GROUP}-${REDHAT_VERSION}"
|
||||
;;
|
||||
"redhat")
|
||||
REDHAT_RELEASE=`/bin/rpm -q --qf "%{RELEASE}" --whatprovides redhat-release| cut -d. -f1`
|
||||
OUTPUT="${OUTPUT}\ngroup:${OS_GROUP}"
|
||||
OUTPUT="${OUTPUT}\ngroup:${OS_GROUP}-${REDHAT_VERSION}"
|
||||
OUTPUT="${OUTPUT}\ngroup:${OS_GROUP}-${REDHAT_RELEASE}"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
elif [ -e /etc/gentoo-release ]; then
|
||||
# gentoo
|
||||
OUTPUT="$OUTPUT\ngroup:gentoo\ngroup:linux"
|
||||
elif [ -x /usr/sbin/system_profiler ]; then
|
||||
# os x
|
||||
### NOTE: Think about using system_profiler SPSoftwareDataType here
|
||||
OUTPUT="$OUTPUT\ngroup:osx"
|
||||
OSX_VERSION=`sw_vers | grep 'ProductVersion:' | egrep -o '[0-9]+\.[0-9]+'`
|
||||
if [ "$OSX_VERSION" == "10.6" ]; then
|
||||
OUTPUT="$OUTPUT\ngroup:osx-snow"
|
||||
elif [ "$OSX_VERSION" == "10.5" ]; then
|
||||
OUTPUT="$OUTPUT\ngroup:osx-leo"
|
||||
fi
|
||||
echo $OUTPUT
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
# get the proper architecture
|
||||
ARCH=`uname -m`
|
||||
case "$ARCH" in
|
||||
"x86_64")
|
||||
if [ "$OS_GROUP" == 'centos' -o "$OS_GROUP" == 'redhat' -o "$OS_GROUP" == 'sl' ]; then
|
||||
OUTPUT="$OUTPUT\ngroup:${ARCH}"
|
||||
else
|
||||
OUTPUT="$OUTPUT\ngroup:amd64"
|
||||
fi
|
||||
;;
|
||||
"i386" | "i686")
|
||||
OUTPUT="$OUTPUT\ngroup:i386"
|
||||
;;
|
||||
"sparc64")
|
||||
OUTPUT="$OUTPUT\ngroup:sparc64"
|
||||
;;
|
||||
esac
|
||||
|
||||
# output the result of all the group probing
|
||||
# (interpreting the backslashed newlines)
|
||||
echo -e $OUTPUT
|
||||
|
4
Rules/freeradius.xml
Normal file
4
Rules/freeradius.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!-- Règles concernant freeradius //-->
|
||||
<Rules priority="1">
|
||||
<Service type="deb" name="freeradius" status="on"/>
|
||||
</Rules>
|
Loading…
Add table
Add a link
Reference in a new issue