Update of /cvsroot/devil-linux/build/scripts
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv32272
Modified Files:
dovecot postfix sarg
Log Message:
fix paths
disable ipv4
copy sample config
Index: postfix
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/postfix,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- postfix 5 Dec 2011 09:11:38 -0000 1.45
+++ postfix 7 Nov 2015 14:38:57 -0000 1.46
@@ -84,6 +84,7 @@
echo "smtpd_sender_restrictions = hash:/etc/postfix/access" >> $ETCDIR/etc/postfix/main.cf
echo "transport_maps = hash:/etc/postfix/transport" >> $ETCDIR/etc/postfix/main.cf
echo "masquerade_exceptions = root" >> $ETCDIR/etc/postfix/main.cf
+ echo "inet_protocols = ipv4" >> $ETCDIR/etc/postfix/main.cf
# create databases file
echo -e "access\ncanonical\nrelocated\ntransport\nvirtual" > $ETCDIR/etc/postfix/dbfiles
Index: dovecot
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/dovecot,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- dovecot 6 Oct 2015 00:59:15 -0000 1.33
+++ dovecot 7 Nov 2015 14:38:57 -0000 1.34
@@ -71,9 +71,9 @@
chmod -R 750 $CDDIR/var/run/dovecot/login || exit 1
useradd -u 102 -g nogroup -s /bin/false -c "Dovecot secure IMAP server" dovecot
- cp $MYDIR/scripts/dovecot $ETCDIR/etc/init.d || exit 1
-
- cp $MYDIR/scripts/dovecot.pam $ETCDIR/etc/pam.d/dovecot || exit 1
+ cp -v $MYDIR/scripts/dovecot $ETCDIR/etc/init.d/ || exit 1
+ cp -v doc/example-config/dovecot.conf $ETCDIR/etc/dovecot/ || exit 1
+ cp -v $MYDIR/scripts/dovecot.pam $ETCDIR/etc/pam.d/dovecot || exit 1
echo "# start the Dovecot Secure IMAP Server?" >> $CONFIGFILE
echo "START_$MYNAME=no" >> $CONFIGFILE
Index: sarg
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/sarg,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- sarg 6 Oct 2015 00:59:17 -0000 1.10
+++ sarg 7 Nov 2015 14:38:57 -0000 1.11
@@ -35,7 +35,8 @@
copy_docs $TMPDIR
- copy_files $TMPDIR/etc/* $ETCDIR/ || exit 1
+ mkdir -p $ETCDIR/sarg || exit 1
+ copy_files $TMPDIR/etc/* $ETCDIR/sarg/ || exit 1
copy_files $TMPDIR/usr/* $CDDIR/usr/ || exit 1
copy_files sarg-php $CDDIR/usr/share/sarg/ || exit 1
|