[csw-devel] SF.net SVN: gar:[2260] csw/trunk/server

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sun Nov 9 23:01:04 CET 2008


Revision: 2260
          http://gar.svn.sourceforge.net/gar/?rev=2260&view=rev
Author:   idogan23
Date:     2008-11-09 22:01:04 +0000 (Sun, 09 Nov 2008)

Log Message:
-----------
initial commit

Added Paths:
-----------
    csw/trunk/server/amavisd-new/
    csw/trunk/server/amavisd-new/Makefile
    csw/trunk/server/amavisd-new/checksums
    csw/trunk/server/amavisd-new/files/
    csw/trunk/server/amavisd-new/files/CSWpackage.gspec
    csw/trunk/server/amavisd-new/files/amavisd-agent.diff
    csw/trunk/server/amavisd-new/files/amavisd-nanny.diff
    csw/trunk/server/amavisd-new/files/amavisd-release.diff
    csw/trunk/server/amavisd-new/files/amavisd.conf.diff
    csw/trunk/server/amavisd-new/files/amavisd.diff
    csw/trunk/server/amavisd-new/files/p0f-analyzer.pl.diff

Added: csw/trunk/server/amavisd-new/Makefile
===================================================================
--- csw/trunk/server/amavisd-new/Makefile	                        (rev 0)
+++ csw/trunk/server/amavisd-new/Makefile	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,34 @@
+GARNAME = amavisd-new
+GARVERSION = 2.6.0
+CATEGORIES = server
+
+DESCRIPTION = Interface between MTA and content checkers
+define BLURB
+	amavisd-new is a performance-enhanced daemonized version of amavis-perl
+endef
+
+MASTER_SITES = http://www.ijs.si/software/amavisd/#download
+DISTFILES  = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES += $(call admfiles,CSWpackage,)
+
+PATCHFILES += amavisd-agent.diff
+PATCHFILES += amavisd-nanny.diff
+PATCHFILES += amavisd-release.diff
+PATCHFILES += amavisd.conf.diff
+PATCHFILES += amavisd.diff
+PATCHFILES += p0f-analyzer.pl.diff
+
+CONFIGURE_SCRIPTS =
+BUILD_SCRIPTS =
+TEST_SCRIPTS =
+INSTALL_SCRIPTS = custom
+
+AMAVIS_BINS=amavisd amavisd-agent amavisd-nanny amavisd-release p0f-analyzer.pl
+
+install-custom:
+	@echo " ==> Installing $(GARNAME)"
+	@ginstall -d $(DESTDIR)$(prefix)/bin
+	cp -r $(WORKSRC)/$(AMAVIS_BINS $(DESTDIR)
+	@$(MAKECOOKIE)
+
+include ../category.mk

Added: csw/trunk/server/amavisd-new/checksums
===================================================================
--- csw/trunk/server/amavisd-new/checksums	                        (rev 0)
+++ csw/trunk/server/amavisd-new/checksums	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,8 @@
+71761c55054095279bda559177682164  download/amavisd-new-2.6.0.tar.gz
+b1eb9cb153f91c1e3637dee42b84b7f5  download/CSWpackage.gspec
+06abbedc006af9fc3de5d2a0906ae106  download/amavisd-agent.diff
+009c78f04e602536ce0ba4573ab805e1  download/amavisd-nanny.diff
+f218d10e5280940268a3ffaa125a00ae  download/amavisd-release.diff
+721d0037d0dfcdbe254a76becad8ad25  download/amavisd.conf.diff
+42d66a1f3a16fcd8abfe52e617400a05  download/amavisd.diff
+befafc9594d5e1c1c8710b7d4d129d0b  download/p0f-analyzer.pl.diff

Added: csw/trunk/server/amavisd-new/files/CSWpackage.gspec
===================================================================
--- csw/trunk/server/amavisd-new/files/CSWpackage.gspec	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/CSWpackage.gspec	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,4 @@
+%var            bitname amavisd_new
+%var            pkgname CSWamavisdnew
+%include        url file://%{PKGLIB}/csw_dyndepend.gspec
+%copyright      url file://%{WORKSRC}/LICENSE

Added: csw/trunk/server/amavisd-new/files/amavisd-agent.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/amavisd-agent.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/amavisd-agent.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,18 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/amavisd-agent amavisd-new-2.6.0/amavisd-agent
+--- amavisd-new-2.6.0.orig/amavisd-agent	2008-04-10 20:47:12.000000000 +0200
++++ amavisd-new-2.6.0/amavisd-agent	2008-11-09 22:41:09.872612800 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
++#!opt/csw/bin/perl -T
+ 
+ #------------------------------------------------------------------------------
+ # This is amavisd-agent, a demo program to display
+@@ -50,7 +50,7 @@
+ 
+ my($dbfile) = 'snmp.db';
+ my($db_home) =  # DB databases directory
+-  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : '/var/amavis/db';
++  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : '/opt/csw/var/amavisn';
+ 
+ my($wakeuptime) = 10;  # -w, sleep time in seconds, may be fractional
+ my($repeatcount);      # -c, repeat count (when defined)

Added: csw/trunk/server/amavisd-new/files/amavisd-nanny.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/amavisd-nanny.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/amavisd-nanny.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,18 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/amavisd-nanny amavisd-new-2.6.0/amavisd-nanny
+--- amavisd-new-2.6.0.orig/amavisd-nanny	2008-03-28 23:55:02.000000000 +0100
++++ amavisd-new-2.6.0/amavisd-nanny	2008-11-09 22:42:52.323269000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
++#!/opt/csw/bin/perl -T
+ 
+ #------------------------------------------------------------------------------
+ # This is amavisd-nanny, a program to show the status
+@@ -58,7 +58,7 @@
+ 
+ my($dbfile) = 'nanny.db';
+ my($db_home) =  # DB databases directory
+-  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : '/var/amavis/db';
++  defined $ENV{'AMAVISD_DB_HOME'} ? $ENV{'AMAVISD_DB_HOME'} : '/opt/csw/var/amavisn';
+ my($wakeuptime) = 2;  # -w, sleep time in seconds, may be fractional
+ my($repeatcount);     # -c, repeat count (when defined)
+ 

Added: csw/trunk/server/amavisd-new/files/amavisd-release.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/amavisd-release.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/amavisd-release.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,18 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/amavisd-release amavisd-new-2.6.0/amavisd-release
+--- amavisd-new-2.6.0.orig/amavisd-release	2008-03-17 15:43:33.000000000 +0100
++++ amavisd-new-2.6.0/amavisd-release	2008-11-09 22:43:55.624383000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
++#!/opt/csw/bin/perl -T
+ 
+ #------------------------------------------------------------------------------
+ # This is amavisd-release, an EXAMPLE quarantine release utility program.
+@@ -79,7 +79,7 @@
+ 
+   $log_level = 1;
+ # $socketname = '127.0.0.1:9998';
+-  $socketname = '/var/amavis/amavisd.sock';
++  $socketname = '/opt/csw/var/amavisn/amavisd.sock';
+ 
+ sub sanitize_str {
+   my($str, $keep_eol) = @_;

Added: csw/trunk/server/amavisd-new/files/amavisd.conf.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/amavisd.conf.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/amavisd.conf.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,28 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/amavisd.conf amavisd-new-2.6.0/amavisd.conf
+--- amavisd-new-2.6.0.orig/amavisd.conf	2008-04-23 20:49:58.000000000 +0200
++++ amavisd-new-2.6.0/amavisd.conf	2008-11-09 22:45:24.947430600 +0100
+@@ -15,12 +15,12 @@
+ # $bypass_decode_parts = 1;         # controls running of decoders&dearchivers
+ 
+ $max_servers = 2;            # num of pre-forked children (2..30 is common), -m
+-$daemon_user  = 'vscan';     # (no default;  customary: vscan or amavis), -u
+-$daemon_group = 'vscan';     # (no default;  customary: vscan or amavis), -g
++$daemon_user  = 'amavisn';   # (no default;  customary: vscan or amavis), -u
++$daemon_group = 'amavisn';   # (no default;  customary: vscan or amavis), -g
+ 
+ $mydomain = 'example.com';   # a convenient default for other settings
+ 
+-# $MYHOME = '/var/amavis';   # a convenient default for other settings, -H
++$MYHOME = '/opt/csw/var/amavisn';   # a convenient default for other settings, -H
+ $TEMPBASE = "$MYHOME/tmp";   # working directory, needs to exist, -T
+ $ENV{TMPDIR} = $TEMPBASE;    # environment variable TMPDIR, used by SA, etc.
+ $QUARANTINEDIR = '/var/virusmails';  # -Q
+@@ -130,7 +130,7 @@
+ # $recipient_delimiter = '+';  # undef disables address extensions altogether
+ # when enabling addr extensions do also Postfix/main.cf: recipient_delimiter=+
+ 
+-$path = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/bin:/bin';
++$path = '/opt/csw/bin:/opt/csw/sbin:/usr/sfw/bin:/usr/sfw/sbin::/sbin:/usr/bin:/bin';
+ # $dspam = 'dspam';
+ 
+ $MAXLEVELS = 14;

Added: csw/trunk/server/amavisd-new/files/amavisd.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/amavisd.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/amavisd.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,18 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/amavisd amavisd-new-2.6.0/amavisd
+--- amavisd-new-2.6.0.orig/amavisd	2008-04-23 20:50:05.000000000 +0200
++++ amavisd-new-2.6.0/amavisd	2008-11-09 22:37:49.558245200 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
++#!/opt/csw/bin/perl -T
+ 
+ #------------------------------------------------------------------------------
+ # This is amavisd-new.
+@@ -595,7 +595,7 @@
+ #
+ BEGIN {
+   # serves only as a quick default for other configuration settings
+-  $MYHOME   = '/var/amavis';
++  $MYHOME   = '/opt/csw/var/amavisn';
+   $mydomain = '!change-mydomain-variable!.example.com';#intentionally bad deflt
+ 
+   # Create debugging output - true: log to stderr; false: log to syslog/file

Added: csw/trunk/server/amavisd-new/files/p0f-analyzer.pl.diff
===================================================================
--- csw/trunk/server/amavisd-new/files/p0f-analyzer.pl.diff	                        (rev 0)
+++ csw/trunk/server/amavisd-new/files/p0f-analyzer.pl.diff	2008-11-09 22:01:04 UTC (rev 2260)
@@ -0,0 +1,9 @@
+diff --speed-large-files --minimal -Nru amavisd-new-2.6.0.orig/p0f-analyzer.pl amavisd-new-2.6.0/p0f-analyzer.pl
+--- amavisd-new-2.6.0.orig/p0f-analyzer.pl	2008-02-20 11:29:18.000000000 +0100
++++ amavisd-new-2.6.0/p0f-analyzer.pl	2008-11-09 22:47:50.194273400 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -T
++#!/opt/csw/bin/perl -T
+ 
+ #------------------------------------------------------------------------------
+ # This is p0f-analyzer.pl, a program to continuously read log reports from p0f


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list