spamass-milter/0040755000175000001440000000000007674063025013053 5ustar vadimusersspamass-milter/spamass-milter-0.1.3a-r1.ebuild0100644000000000000000000000500307674066617020004 0ustar rootroot# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Short one-line description of this package. DESCRIPTION="A little plug-in for the Sendmail Milter (Mail Filter) library \ that pipes all incoming mail (including things received by rmail/UUCP) through \ the SpamAssassin, a highly customizable SpamFilter." HOMEPAGE="http://savannah.nongnu.org/projects/spamass-milt/" SRC_URI="http://savannah.nongnu.org/download/spamass-milt/spamass-milter-0.1.3a.tar.gz" LICENSE="GNU General Public License V2 or later" SLOT="0" KEYWORDS="x86 ~sparc64" IUSE="" DEPEND=">=sys-devel/autoconf-2.57 >=sys-devel/automake-1.7.2" # Run-time dependencies, same as DEPEND if RDEPEND isn't defined: RDEPEND="sendmail Mail-SpamAssassin" S=${WORKDIR}/${P} src_compile() { #./configure \ # --host=${CHOST} \ # --prefix=/usr \ # --infodir=/usr/share/info \ # --mandir=/usr/share/man || die "./configure failed" econf || die # Note that econf will die on failure, but plase use econf || die # for consistency. # emake (previously known as pmake) is a script that calls the # standard GNU make with parallel building options for speedier # builds (especially on SMP systems). Try emake first. It might # not work for some packages, in which case you'll have to resort # to normal "make". emake || die #make || die } src_install() { # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and # understanding the install part of the Makefiles. make DESTDIR=${D} install || die # For Makefiles that don't make proper use of DESTDIR, setting # prefix is often an alternative. However if you do this, then # you also need to specify mandir and infodir, since they were # passed to ./configure as absolute paths (overriding the prefix # setting). #make \ # prefix=${D}/usr \ # mandir=${D}/usr/share/man \ # infodir=${D}/usr/share/info \ # install || die # Again, verify the Makefiles! We don't want anything falling # outside of ${D}. # The portage shortcut to the above command is simply: # #einstall || die # Note that einstall will die on failure, but please use einstall || die # for consistency. dodoc AUTHORS NEWS README ChangeLog exeinto /etc/init.d ; newexe ${FILESDIR}/spamass-milter.rc spamass-milter insinto /etc/conf.d ; newins ${FILESDIR}/spamass-milter.conf spamass-milter } spamass-milter/files/0040755000175000001440000000000007674415054014160 5ustar vadimusersspamass-milter/files/digest-spamass-milter-0.1.3a-r10100664000000000003720000000011007674415400021572 0ustar rootportageMD5 7e34961e553b81169f8bca8d8cab23f0 spamass-milter-0.1.3a.tar.gz 95357 spamass-milter/files/spamass-milter.rc0100755000000000000000000000167207674415353017136 0ustar rootroot#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Sample init script for Gentoo Linux # $Header: $ # NB: Config is in /etc/conf.d/spamass-milter #DAEMON=/usr/sbin/spamass-milter #SOCKET=/var/run/spamass-milter.sock #PIDFILE=/var/run/spamass-milter.pid #DESC="Sendmail milter plugin for SpamAssassin" depend() { need net use logger } start() { ebegin "Starting $DESC" start-stop-daemon --start --quiet --make-pidfile --pidfile ${PIDFILE}\ --exec ${DAEMON} -- -p ${SOCKET} -f \ && kill -1 `head -1 /var/run/sendmail.pid` eend $? "Failed to start ${DAEMON}" } stop() { ebegin "Stopping $DESC" { #start-stop-daemon --stop --quiet --pidfile ${PIDFILE} killall ${DAEMON} /bin/sleep 5s /bin/rm -f ${SOCKET} /bin/rm -f ${PIDFILE} } \ && kill -1 `head -1 /var/run/sendmail.pid` eend $? "Failed to stop ${DAEMON}" } spamass-milter/files/spamass-milter.conf0100644000000000000000000000052007674073474017447 0ustar rootroot# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Config file for /etc/init.d/spamass-milter # $Header: $ DAEMON=/usr/sbin/spamass-milter SOCKET=/var/run/spamass-milter.sock PIDFILE=/var/run/spamass-milter.pid DESC="Sendmail milter plugin for SpamAssassin" spamass-milter/Manifest0100664000000000003720000000051707674415400014715 0ustar rootportageMD5 9b3f115878e1fa892f7e673ef7182f7d spamass-milter-0.1.3a-r1.ebuild 2563 MD5 6e63fce0058fc860ceea72d6ba15abb5 ChangeLog 174 MD5 70715f350f66d1dfd75ab8017e78d37b files/digest-spamass-milter-0.1.3a-r1 72 MD5 40ec40c946709997296916fef16046c1 files/spamass-milter.rc 954 MD5 b189a3084e4706869379a40b5b0d3fdc files/spamass-milter.conf 336 spamass-milter/ChangeLog0100644000000000000000000000025607674063466014315 0ustar rootroot# ChangeLog for net-mail/spamass-milter # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 # $Header: $ *spamass-milter-0.1.3a-r1 (17 Jun 2003)