]> git.pld-linux.org Git - packages/amavisd-new.git/commitdiff
This commit was manufactured by cvs2git to create branch
authorcvs2git <feedback@pld-linux.org>
Fri, 8 Sep 2006 18:03:48 +0000 (18:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
'unlabeled-1.105.2'.

Sprout from master 2006-09-08 18:03:48 UTC Elan Ruusamäe <glen@pld-linux.org> '- rel 4 (rebuild with fixed %useradd/%groupadd macros)'
Delete:
    amavisd-new-config.patch
    amavisd-new-lib64.patch
    amavisd-new-milter.init
    amavisd-new-tools-dbdir.patch
    amavisd-new.init
    amavisd-new.tmpwatch

amavisd-new-config.patch [deleted file]
amavisd-new-lib64.patch [deleted file]
amavisd-new-milter.init [deleted file]
amavisd-new-tools-dbdir.patch [deleted file]
amavisd-new.init [deleted file]
amavisd-new.tmpwatch [deleted file]

diff --git a/amavisd-new-config.patch b/amavisd-new-config.patch
deleted file mode 100644 (file)
index 43790b9..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
---- amavisd-new.orig/amavisd.conf-sample       2006-06-27 13:31:44.000000000 +0200
-+++ amavisd-new/amavisd.conf-sample    2006-08-06 00:22:10.986675750 +0200
-@@ -63,7 +63,7 @@
- # $MYHOME serves as a quick default for some other configuration settings.
- # More refined control is available with each individual setting further down.
- # $MYHOME is not used directly by the program. No trailing slash!
--#$MYHOME = '/var/lib/amavis';   # (default is '/var/amavis'), -H
-+$MYHOME = '/var/spool/amavis';   # (default is '/var/amavis'), -H
- # $mydomain serves as a quick default for some other configuration settings.
- # More refined control is available with each individual setting further down.
-@@ -74,16 +74,16 @@
- # Set the user and group to which the daemon will change if started as root
- # (otherwise just keeps the UID unchanged, and these settings have no effect):
--$daemon_user  = 'vscan';   # (no default;  customary: vscan or amavis), -u
--$daemon_group = 'vscan';   # (no default;  customary: vscan or amavis), -g
-+$daemon_user  = 'amavis';   # (no default;  customary: vscan or amavis), -u
-+$daemon_group = 'amavis';   # (no default;  customary: vscan or amavis), -g
- # Runtime working directory (cwd), and a place where
- # temporary directories for unpacking mail are created.
- # (no trailing slash, may be a scratch file system)
--$TEMPBASE = $MYHOME;          # (must be set if other config vars use is), -T
-+$TEMPBASE = $MYHOME/runtime;          # (must be set if other config vars use is), -T
- #$TEMPBASE = "$MYHOME/tmp";     # prefer to keep home dir /var/amavis clean?
--#$db_home = "$MYHOME/db";     # DB databases directory, default "$MYHOME/db", -D
-+$db_home = "$MYHOME/db";      # DB databases directory, default "$MYHOME/db", -D
- # $helpers_home sets environment variable HOME, and is passed as option
- # 'home_dir_for_helpers' to Mail::SpamAssassin::new. It should be a directory
-@@ -93,8 +93,8 @@
- # Run the daemon in the specified chroot jail if nonempty:
- #$daemon_chroot_dir = $MYHOME;  # (default is undef, meaning: do not chroot), -R
--#$pid_file  = "$MYHOME/amavisd.pid";  # (default is "$MYHOME/amavisd.pid"), -P
--#$lock_file = "$MYHOME/amavisd.lock"; # (default is "$MYHOME/amavisd.lock"), -L
-+$pid_file  = "/var/run/amavisd/amavisd.pid";  # (default is "$MYHOME/amavisd.pid"), -P
-+$lock_file = "/var/run/amavisd/amavisd.lock"; # (default is "$MYHOME/amavisd.lock"), -L
- # set environment variables if you want (no defaults):
- $ENV{TMPDIR} = $TEMPBASE;       # wise to set TMPDIR, but not obligatory
-@@ -112,6 +112,8 @@
- #$forward_method = 'smtp:[127.0.0.1]:10025';  # where to forward checked mail
- #$notify_method = $forward_method;            # where to submit notifications
-+#@auth_mech_avail = ('PLAIN','LOGIN'); # empty list disables incoming AUTH
-+
- #$os_fingerprint_method = 'p0f:127.0.0.1:2345';  # query p0f-analyzer.pl
- # To make it possible for several hosts to share one content checking daemon,
-@@ -171,7 +173,7 @@
- # and see further down what these two lookup lists really mean.
- #
- # @bypass_virus_checks_maps = (1);  # uncomment to DISABLE anti-virus code
--# @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
-+@bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
- #
- # Any setting can be changed with a new assignment, so make sure
- # you do not unintentionally override these settings further down!
-@@ -217,8 +219,8 @@
- # AMAVIS-CLIENT PROTOCOL INPUT SETTINGS (e.g. with amavisd-release, or
- #   sendmail milter through helper clients like amavis-milter.c and amavis.c)
- #   option(s) -p overrides $inet_socket_port and $unix_socketname
--$unix_socketname = "$MYHOME/amavisd.sock"; # amavis helper protocol socket
--#$unix_socketname = undef;        # disable listening on a unix socket
-+#$unix_socketname = "/var/run/amavisd/amavisd.sock"; # amavis helper protocol socket
-+$unix_socketname = undef;        # disable listening on a unix socket
-                                   # (default is undef, i.e. disabled)
-                                   # (usual setting is $MYHOME/amavisd.sock)
-@@ -301,7 +303,7 @@
-            # choose from: emerg, alert, crit, err, warning, notice, info, debug
- # Log file (if not using syslog)
--$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)
-+#$LOGFILE = "$MYHOME/amavis.log";  # (defaults to empty, no log)
- #NOTE: levels are not strictly observed and are somewhat arbitrary
- # 0: startup/exit/failure messages, viruses detected
-@@ -310,7 +312,7 @@
- # 3: server, client
- # 4: decompose parts
- # 5: more debug details
--$log_level = 2;                  # (defaults to 0), -d
-+#$log_level = 2;                 # (defaults to 0), -d
- # Customizable template for the most interesting log file entry (e.g. with
- # $log_level=0) (take care to properly quote Perl special characters like '\')
-@@ -684,7 +686,8 @@
- #   or a directory (no trailing slash)
- #   (the default value is undef, meaning no quarantine)
- #
--$QUARANTINEDIR = '/var/virusmails';  # -Q
-+#$QUARANTINEDIR = '/var/virusmails';  # -Q
-+$QUARANTINEDIR = '/var/spool/amavis/virusmails';  # -Q
- #$quarantine_subdir_levels = 1;  # add level of subdirs to disperse quarantine
-@@ -1806,13 +1809,13 @@
- # ['Sophos SAVI', \&sophos_savi ],
- # ### http://www.clamav.net/
--# ['ClamAV-clamd',
--#   \&ask_daemon, ["CONTSCAN {}\n", "/var/run/clamav/clamd"],
--#   qr/\bOK$/, qr/\bFOUND$/,
--#   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
--# # NOTE: the easiest is to run clamd under the same user as amavisd; match the
--# # socket name (LocalSocket) in clamav.conf to the socket name in this entry
--# # When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
-+ ['ClamAV-clamd',
-+   \&ask_daemon, ["CONTSCAN {}\n", "/var/lib/clamav/clamd.socket"],
-+   qr/\bOK$/, qr/\bFOUND$/,
-+   qr/^.*?: (?!Infected Archive)(.*) FOUND$/ ],
-+# NOTE: the easiest is to run clamd under the same user as amavisd; match the
-+# socket name (LocalSocket) in clamav.conf to the socket name in this entry
-+# When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"],
- # ### http://www.clamav.net/ and CPAN  (memory-hungry! clamd is preferred)
- # ['Mail::ClamAV', \&ask_clamav, "*", [0], [1], qr/^INFECTED: (.+)/],
-@@ -1969,10 +1972,11 @@
-     # NOTE: requires suid wrapper around inocmd32; consider flag: -mod reviewer
-     # see http://marc.theaimsgroup.com/?l=amavis-user&m=109229779912783
--  ### http://mks.com.pl/english.html
--  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
--    '-s {}/*', [0], [1,2],
--    qr/--[ \t]*(.+)/ ],
-+#  Moved to secondary scanner
-+#  ### http://mks.com.pl/english.html
-+#  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
-+#    '-s {}/*', [0], [1,2],
-+#    qr/--[ \t]*(.+)/ ],
-   ### http://mks.com.pl/english.html
-   ['MkS_Vir daemon', 'mksscan',
-@@ -2175,6 +2179,10 @@
- # ],
- # # other options to consider: -mime -oe -idedir=/usr/local/sav
-+  ['MkS_Vir for Linux (beta)', ['mks32','mks'],
-+      '-s {}/*', [0], [1,2],
-+      qr/--[ \t]*(.+)/ ],
-+
- # always succeeds (uncomment to consider mail clean if all other scanners fail)
- # ['always-clean', sub {0}],
diff --git a/amavisd-new-lib64.patch b/amavisd-new-lib64.patch
deleted file mode 100644 (file)
index 9e79965..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -dur amavisd-new-20040701.orig/helper-progs/configure.in amavisd-new-20040701/helper-progs/configure.in
---- amavisd-new-20040701.orig/helper-progs/configure.in        2004-04-11 01:51:52.000000000 +0200
-+++ amavisd-new-20040701/helper-progs/configure.in     2004-08-02 11:07:56.608560250 +0200
-@@ -138,14 +138,14 @@
- dnl find libmilter.a and libsm.a
- SMPATH=`echo ../sendmail-*/obj.*/libmilter`
--AC_PATH_PROG(LIBMILTER, libmilter.a, no, $MILTERLIB:$SMPATH:/usr/local/lib:/lib:/usr/lib:/usr/lib/libmilter)
-+AC_PATH_PROG(LIBMILTER, libmilter.a, no, $MILTERLIB:$SMPATH:/usr/local/lib64:/lib64:/usr/lib64:/usr/lib64/libmilter)
- SMPATH=`echo ../sendmail-*/obj.*/libsm`
--AC_PATH_PROG(LIBSM, libsm.a, no, $SMPATH:/usr/local/lib:/lib:/usr/lib:/usr/lib/libmilter)
-+AC_PATH_PROG(LIBSM, libsm.a, no, $SMPATH:/usr/local/lib64:/lib64:/usr/lib64:/usr/lib64/libmilter)
- if test "$LIBSM" = "no" ; then
-       # try libsmutil
-       unset ac_cv_path_LIBSM
-       SMPATH=`echo ../sendmail-*/obj.*/libsmutil`
--      AC_PATH_PROG(LIBSM, libsmutil.a, no, $SMPATH:/usr/local/lib:/lib:/usr/lib:/usr/lib/libmilter)
-+      AC_PATH_PROG(LIBSM, libsmutil.a, no, $SMPATH:/usr/local/lib64:/lib64:/usr/lib64:/usr/lib64/libmilter)
- fi
- dnl find Sendmail
-Only in amavisd-new-20040701/helper-progs: configure.in~
diff --git a/amavisd-new-milter.init b/amavisd-new-milter.init
deleted file mode 100644 (file)
index 5f081e7..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# amavis-milter                Start/Stop the amavis-milter daemon.
-#
-# chkconfig:   345 39 61
-#
-# description: amavis-milter is daemonized antivirus daemon for sendmail
-#
-# processname: amavis-milter
-# pidfile:     /var/lock/subsys/amavis-milter
-
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/amavis-milter ]; then
-               msg_starting Amavis-milter
-               LC_ALL='' LANG='' LC_TYPE='' LC_CTYPE='' daemon su amavis -s /bin/sh -c \"/usr/sbin/amavis-milter -p local:/var/spool/amavis/runtime/amavis-milter.sock\"
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/amavis-milter
-       else
-               msg_already_running Amavis-milter
-       fi
-       ;;
-  stop)
-        # Stop daemons.
-        if [ -f /var/lock/subsys/amavis-milter ]; then
-                msg_stopping Amavis-milter
-               killproc amavis-milter;
-                rm -f /var/lock/subsys/amavis-milter >/dev/null 2>&1
-        else
-                msg_not_running Amavis-milter
-        fi
-       ;;
-  reload|force-reload)
-       if [ -f /var/lock/subsys/amavisd ]; then
-               msg_reloading Amavisd
-               busy
-               LC_ALL='' LANG='' LC_TYPE='' LC_CTYPE='' /usr/sbin/amavisd reload
-               RETVAL=$?
-               ok
-               [ $RETVAL -ne 0 ] && RETVAL=7
-       else
-               msg_not_running Amavisd >&2
-               RETVAL=7
-       fi
-       ;;
-  restart|force-restart)
-       $0 stop
-       $0 start
-       exit $?
-       ;;
-  status)
-       status amavis-milter
-       exit $?
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|force-restart|reload|force-reload|status}"
-       exit 3
-esac
-
-exit $RETVAL
diff --git a/amavisd-new-tools-dbdir.patch b/amavisd-new-tools-dbdir.patch
deleted file mode 100644 (file)
index 82f2151..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- amavisd-new-2.1.2/amavisd-agent    2004-09-06 17:56:26.000000000 +0000
-+++ amavisd-new-2.1.2.new/amavisd-agent        2004-09-07 21:09:49.980116920 +0000
-@@ -107,7 +107,7 @@
- # main program starts here
-   $SIG{INT} = sub { die "\n" };  # do the END code block
-   my($env) = BerkeleyDB::Env->new(
--    '-Home'=>'/var/amavis/db', '-Flags'=> DB_INIT_CDB | DB_INIT_MPOOL);
-+    '-Home'=>'/var/spool/amavis/db', '-Flags'=> DB_INIT_CDB | DB_INIT_MPOOL);
-   defined $env or die "BDB no env: $BerkeleyDB::Error $!";
-   my($db) = BerkeleyDB::Hash->new(
-     '-Filename'=>'snmp.db', '-Flags'=>DB_RDONLY, '-Env'=>$env );
---- amavisd-new-2.1.2/amavisd-nanny    2004-09-06 17:56:31.000000000 +0000
-+++ amavisd-new-2.1.2.new/amavisd-nanny        2004-09-07 21:10:29.346132376 +0000
-@@ -51,7 +51,7 @@
- my($activettl) = 10*60; # stuck active children are sent a SIGTERM after this
-                         # many seconds
--my($db_home) = '/var/amavis/db';  # DB databases directory
-+my($db_home) = '/var/spool/amavis/db';  # DB databases directory
- my($dbfile)  = 'nanny.db';
- my($wakeuptime) = 2;  # seconds
diff --git a/amavisd-new.init b/amavisd-new.init
deleted file mode 100644 (file)
index cc580a9..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-#
-# amavisd              Start/Stop the amavisd daemon.
-#
-# chkconfig:   345 40 60
-#
-# description: amavisd is daemonized antivirus daemon
-#
-# processname: amavisd
-# config:      /etc/amavisd.conf
-# pidfile:     /var/run/amavisd/amavisd.pid
-
-
-# Source function library
-. /etc/rc.d/init.d/functions
-
-# Get service config
-[ -f /etc/sysconfig/amavisd ] && . /etc/sysconfig/amavisd
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/amavisd ]; then
-               msg_starting Amavisd
-               LC_ALL='' LANG='' LC_TYPE='' LC_CTYPE='' daemon $SERVICE_RUN_NICE_LEVEL /usr/sbin/amavisd -c /etc/amavisd.conf
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/amavisd
-       else
-               msg_already_running Amavisd
-       fi
-       ;;
-  stop)
-        # Stop daemons.
-        if [ -f /var/lock/subsys/amavisd ]; then
-                msg_stopping Amavisd
-               killproc --pidfile amavisd/amavisd.pid amavisd
-                rm -f /var/lock/subsys/amavisd >/dev/null 2>&1
-        else
-                msg_not_running Amavisd
-        fi
-       ;;
-  status)
-       status amavisd
-       exit $?
-       ;;
-  reload|force-reload)
-       if [ -f /var/lock/subsys/amavisd ]; then
-               msg_reloading Amavisd
-               busy
-               LC_ALL='' LANG='' LC_TYPE='' LC_CTYPE='' /usr/sbin/amavisd reload
-               RETVAL=$?
-               ok
-               [ $RETVAL -ne 0 ] && RETVAL=7
-       else
-               msg_not_running Amavisd >&2
-               RETVAL=7
-       fi
-       ;;
-  restart|force-restart)
-       $0 stop
-       $0 start
-       exit $?
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|force-restart|reload|force-reload|status}"
-       exit 3
-esac
-
-exit $RETVAL
diff --git a/amavisd-new.tmpwatch b/amavisd-new.tmpwatch
deleted file mode 100644 (file)
index 6ae44d8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/var/spool/amavis/runtime 720
This page took 1.855101 seconds and 4 git commands to generate.