diff options
-rw-r--r-- | net-mail/amavisd-new/ChangeLog | 40 | ||||
-rw-r--r-- | net-mail/amavisd-new/Manifest | 5 | ||||
-rw-r--r-- | net-mail/amavisd-new/amavisd-new-20030616_p4.ebuild | 100 | ||||
-rw-r--r-- | net-mail/amavisd-new/files/amavisd.rc6 | 18 | ||||
-rw-r--r-- | net-mail/amavisd-new/files/digest-amavisd-new-20030616_p4 | 1 | ||||
-rw-r--r-- | net-mail/amavisd-new/metadata.xml | 9 |
6 files changed, 173 insertions, 0 deletions
diff --git a/net-mail/amavisd-new/ChangeLog b/net-mail/amavisd-new/ChangeLog new file mode 100644 index 000000000000..9dadec07d740 --- /dev/null +++ b/net-mail/amavisd-new/ChangeLog @@ -0,0 +1,40 @@ +# ChangeLog for net-mail/amavisd-new +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/amavisd-new/ChangeLog,v 1.1 2003/08/19 02:01:02 max Exp $ + +*amavisd-new-20030616_p4 (16 Aug 2003) + + 16 Aug 2003; Max Kalika <max@gentoo.org> amavisd-new-20030616_p2.ebuild, + amavisd-new-20030616_p4.ebuild: + Bump version to 20030616-p4. + + 21 Jul 2003; Max Kalika <max@gentoo.org> amavisd-new-20030616_p2.ebuild: + Force libnet RDEPEND to 1.12 as it requires Net::SMTP version 2.24 which is + first available in that package. + + 15 Jul 2003; Max Kalika <max@gentoo.org> amavisd-new-20030314_p2.ebuild, + amavisd-new-20030616.ebuild, amavisd-new-20030616_p2.ebuild: + Fix postgres depend. + +*amavisd-new-20030616_p2 (30 Jun 2003) + + 30 Jun 2003; Max Kalika <max@gentoo.org> amavisd-new-20030616_p2.ebuild: + Bump version to 20030616_p2. + + 26 Jun 2003; Max Kalika <max@gentoo.org> amavisd-new-20030314_p2.ebuild, + amavisd-new-20030616.ebuild: + Fix proper USE flag syntax. + +*amavisd-new-20030616 (23 Jun 2003) + + 23 Jun 2003; Max Kalika <max@gentoo.org> amavisd-new-20030314_p2.ebuild, + amavisd-new-20030616.ebuild: + Bump version to 20030616. Drop the no-longer-needed ldap patch. Drop + spamassassin use flag and force spamassassin dependency. Add temporary sed fix + as advised by the release note. Fix econf parameters for both versions. + +*amavisd-new-20030314_p2 (12 Jun 2003) + + 12 Jun 2003; Max Kalika <max@gentoo.org> amavisd-new-20030314_p2.ebuild: + Initial version. + diff --git a/net-mail/amavisd-new/Manifest b/net-mail/amavisd-new/Manifest new file mode 100644 index 000000000000..54e9c8fbc2a1 --- /dev/null +++ b/net-mail/amavisd-new/Manifest @@ -0,0 +1,5 @@ +MD5 e55897e83ff7ca1a45976e59b01ea854 amavisd-new-20030616_p4.ebuild 2489 +MD5 db8a2365d8f8ce8fc2f714d6a7823da4 ChangeLog 1540 +MD5 38a55a17275e0599e6aaea0e66b14aaf metadata.xml 258 +MD5 548121f873a95b7ab51248eed9d58e85 files/amavisd.rc6 292 +MD5 aaacf14c899eec1d21540060c1998ebe files/digest-amavisd-new-20030616_p4 75 diff --git a/net-mail/amavisd-new/amavisd-new-20030616_p4.ebuild b/net-mail/amavisd-new/amavisd-new-20030616_p4.ebuild new file mode 100644 index 000000000000..70af660d43aa --- /dev/null +++ b/net-mail/amavisd-new/amavisd-new-20030616_p4.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-mail/amavisd-new/amavisd-new-20030616_p4.ebuild,v 1.1 2003/08/19 02:01:02 max Exp $ + +inherit eutils + +DESCRIPTION="High-performance interface between the MTA and content checkers." +HOMEPAGE="http://www.ijs.si/software/amavisd/" +SRC_URI="http://www.ijs.si/software/amavisd/${PN}-${PV/_/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ldap mysql postgres milter" + +DEPEND=">=sys-apps/sed-4" + +RDEPEND="${DEPEND} + >=sys-apps/fileutils-3.41 + sys-apps/gzip + sys-apps/bzip2 + app-arch/arc + app-arch/lha + app-arch/unarj + app-arch/unrar + app-arch/zoo + dev-perl/Archive-Tar + dev-perl/Archive-Zip + dev-perl/Compress-Zlib + dev-perl/Convert-TNEF + dev-perl/Convert-UUlib + dev-perl/MIME-Base64 + dev-perl/MIME-tools + >=dev-perl/MailTools-1.58 + dev-perl/net-server + >=dev-perl/libnet-1.12 + dev-perl/Digest-MD5 + dev-perl/IO-stringy + dev-perl/Time-HiRes + dev-perl/Unix-Syslog + dev-perl/Mail-SpamAssassin + ldap? ( dev-perl/perl-ldap ) + mysql? ( dev-perl/DBD-mysql ) + postgres? ( dev-perl/DBD-Pg ) + virtual/antivirus + virtual/mta" + +S="${WORKDIR}/${PN}-${PV/_*/}" + +src_compile() { + if [ -n "`use milter`" ] ; then + cd "${S}/helper-progs" + + econf --with-runtime-dir=/var/run/amavis \ + --with-sockname=/var/run/amavis/amavis.sock \ + --with-user=amavis + emake || die "compile problem" + + cd "${S}" + fi +} + +src_install() { + enewgroup amavis + enewuser amavis -1 /bin/false /var/lib/amavis amavis + + dosbin amavisd + + insinto /etc + doins amavisd.conf + dosed "s:^#\\?\\\$MYHOME[^;]*;:\$MYHOME = '/var/run/amavis';:" \ + /etc/amavisd.conf + dosed "s:^#\\?\\\$daemon_user[^;]*;:\$daemon_user = 'amavis';:" \ + /etc/amavisd.conf + dosed "s:^#\\?\\\$daemon_group[^;]*;:\$daemon_group = 'amavis';:" \ + /etc/amavisd.conf + if [ "$(domainname)" = "(none)" ] ; then + dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(hostname)';:" \ + /etc/amavisd.conf + else + dosed "s:^#\\?\\\$mydomain[^;]*;:\$mydomain = '$(domainname)';:" \ + /etc/amavisd.conf + fi + + exeinto /etc/init.d + newexe "${FILESDIR}/amavisd.rc6" amavisd + + keepdir /var/spool/amavis /var/run/amavis + fowners amavis:amavis /var/spool/amavis /var/run/amavis + fperms 0750 /var/spool/amavis /var/run/amavis + + dodoc AAAREADME.first INSTALL LICENSE MANIFEST RELEASE_NOTES README_FILES/* + docinto samples + dodoc test-messages/* + + if [ -n "`use milter`" ] ; then + cd "${S}/helper-progs" + einstall + fi +} diff --git a/net-mail/amavisd-new/files/amavisd.rc6 b/net-mail/amavisd-new/files/amavisd.rc6 new file mode 100644 index 000000000000..a76a63953a54 --- /dev/null +++ b/net-mail/amavisd-new/files/amavisd.rc6 @@ -0,0 +1,18 @@ +#!/sbin/runscript + +depend() { + need net + need logger +} + +start() { + ebegin "Starting amavisd-new" + start-stop-daemon --start --quiet --exec /usr/sbin/amavisd + eend $? +} + +stop() { + ebegin "Stopping amavisd-new" + start-stop-daemon --stop --quiet --pidfile /var/run/amavis/amavisd.pid + eend $? +} diff --git a/net-mail/amavisd-new/files/digest-amavisd-new-20030616_p4 b/net-mail/amavisd-new/files/digest-amavisd-new-20030616_p4 new file mode 100644 index 000000000000..fe40d25cd164 --- /dev/null +++ b/net-mail/amavisd-new/files/digest-amavisd-new-20030616_p4 @@ -0,0 +1 @@ +MD5 fc313599e0fb4b91030b7b661d90794d amavisd-new-20030616-p4.tar.gz 287607 diff --git a/net-mail/amavisd-new/metadata.xml b/net-mail/amavisd-new/metadata.xml new file mode 100644 index 000000000000..38d4c015e7f9 --- /dev/null +++ b/net-mail/amavisd-new/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>net-mail</herd> +<maintainer> + <email>max@gentoo.org</email> + <name>Max Kalika</name> +</maintainer> +</pkgmetadata> |