summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-05-04 20:26:17 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-05-04 20:26:17 +0000
commit6c946e2a6dca3664ae8f3deadce4adc021e30d6d (patch)
treeb65fd652e85804c691cb9955e1d62d0dff42bc20 /mail-filter
parentstable on amd64, x86 and ppc (diff)
downloadgentoo-2-6c946e2a6dca3664ae8f3deadce4adc021e30d6d.tar.gz
gentoo-2-6c946e2a6dca3664ae8f3deadce4adc021e30d6d.tar.bz2
gentoo-2-6c946e2a6dca3664ae8f3deadce4adc021e30d6d.zip
cutting off old ebuilds and add a security-related ewarn
(Portage version: 2.0.51.19)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/maildrop/ChangeLog10
-rw-r--r--mail-filter/maildrop/Manifest34
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.4.0-r11
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.5.21
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.5.31
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.5.3-r11
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.01
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.0-r21
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.7.0.200409071
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.8.01
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.8.0-r11
-rw-r--r--mail-filter/maildrop/files/digest-maildrop-1.8.0-r21
-rw-r--r--mail-filter/maildrop/maildrop-1.4.0-r1.ebuild63
-rw-r--r--mail-filter/maildrop/maildrop-1.5.2.ebuild94
-rw-r--r--mail-filter/maildrop/maildrop-1.5.3-r1.ebuild89
-rw-r--r--mail-filter/maildrop/maildrop-1.5.3.ebuild93
-rw-r--r--mail-filter/maildrop/maildrop-1.7.0-r2.ebuild121
-rw-r--r--mail-filter/maildrop/maildrop-1.7.0.20040907.ebuild117
-rw-r--r--mail-filter/maildrop/maildrop-1.7.0.ebuild96
-rw-r--r--mail-filter/maildrop/maildrop-1.8.0-r1.ebuild111
-rw-r--r--mail-filter/maildrop/maildrop-1.8.0-r2.ebuild115
-rw-r--r--mail-filter/maildrop/maildrop-1.8.0-r3.ebuild19
-rw-r--r--mail-filter/maildrop/maildrop-1.8.0.ebuild123
23 files changed, 26 insertions, 1069 deletions
diff --git a/mail-filter/maildrop/ChangeLog b/mail-filter/maildrop/ChangeLog
index 1db649986a17..dcc3cc029686 100644
--- a/mail-filter/maildrop/ChangeLog
+++ b/mail-filter/maildrop/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for mail-filter/maildrop
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.24 2005/05/04 19:40:31 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/ChangeLog,v 1.25 2005/05/04 20:26:17 ferdy Exp $
+
+ 04 May 2005; Fernando J. Pereda <ferdy@gentoo.org>
+ -maildrop-1.4.0-r1.ebuild, -maildrop-1.5.2.ebuild, -maildrop-1.5.3.ebuild,
+ -maildrop-1.5.3-r1.ebuild, -maildrop-1.7.0.ebuild,
+ -maildrop-1.7.0-r2.ebuild, -maildrop-1.7.0.20040907.ebuild,
+ -maildrop-1.8.0.ebuild, -maildrop-1.8.0-r1.ebuild,
+ -maildrop-1.8.0-r2.ebuild, maildrop-1.8.0-r3.ebuild:
+ cutting off old ebuilds and add a security-related ewarn
*maildrop-1.7.0-r3 (04 May 2005)
diff --git a/mail-filter/maildrop/Manifest b/mail-filter/maildrop/Manifest
index 0c04a144424b..8def01150bdb 100644
--- a/mail-filter/maildrop/Manifest
+++ b/mail-filter/maildrop/Manifest
@@ -1,43 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 82c63c5d17a6b106d8d5b68f9998d2e6 maildrop-1.7.0.20040907.ebuild 3110
-MD5 9e67ce523864322ba8e622f5312b066c maildrop-1.5.2.ebuild 2531
MD5 b501675978a8520200f5d9a365108e3f maildrop-1.7.0-r3.ebuild 3316
-MD5 9450abd9af48a08d64cc44ae9896e9f3 maildrop-1.8.0-r1.ebuild 3094
-MD5 3e1454badff95e0e8a01a24260f77a06 maildrop-1.4.0-r1.ebuild 1617
-MD5 5f8fb2e1e1e2e6941232e47f31d1520c maildrop-1.7.0.ebuild 2580
-MD5 22ce6002802c6d0a3af4197249fa5cf3 maildrop-1.8.0-r3.ebuild 3201
-MD5 e02bab1f875ba079e6e5d2ad5d267851 maildrop-1.8.0.ebuild 3322
-MD5 288de83476470795423e4631cb9c6abf maildrop-1.5.3.ebuild 2508
-MD5 e42d4d7c6fe30f0bef7229527f2da340 maildrop-1.7.0-r2.ebuild 3296
-MD5 d7d4dcd6aaeea931bfcdfb353611c171 maildrop-1.5.3-r1.ebuild 2432
-MD5 d97ff5f53119225948cafbd3edeb86e6 ChangeLog 9227
+MD5 7bcfb0ebb9ae1c24ba4c1cbb992dad35 maildrop-1.8.0-r3.ebuild 3481
+MD5 9b8db42adfc92bd4530aa5c94b25891a ChangeLog 9640
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 8a32128755e871bc9134651be6f208a1 maildrop-1.8.0-r2.ebuild 3177
MD5 88b7f06e9f2d03007db22e431920e29c maildrop-1.7.0.20040907-r1.ebuild 3246
-MD5 be89a292c7c2bd4365fd160f4db22fb9 files/digest-maildrop-1.7.0.20040907 77
-MD5 a0e238f4cd5c4a52dfb06754051b6dfe files/digest-maildrop-1.5.2 67
-MD5 afbd9f7ee066fa84ac9efd57bce9f461 files/digest-maildrop-1.5.3 67
-MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0 68
-MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0 68
MD5 be89a292c7c2bd4365fd160f4db22fb9 files/digest-maildrop-1.7.0.20040907-r1 77
-MD5 953fc332e6ec019b91dba0b85d9745e9 files/digest-maildrop-1.4.0-r1 66
-MD5 afbd9f7ee066fa84ac9efd57bce9f461 files/digest-maildrop-1.5.3-r1 67
-MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0-r2 68
MD5 5db4117db5eca1f36f1778625e85d190 files/digest-maildrop-1.7.0-r3 68
MD5 72eeead0d2cb72de0ee2571af5c63bd5 files/maildrop-1.7.0-db4-configure.in.patch 1290
-MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r1 68
-MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r2 68
MD5 eb7acda28529a85c74150a140f143d75 files/digest-maildrop-1.8.0-r3 68
MD5 c9c1f6d4020a5fd19162f20c537eb5cf files/maildroprc 58
MD5 54e776919d1cd1729e5c6c1f27c40444 files/maildrop-1.7.0-0x0B-fix.patch 525
MD5 532cc225eb7ae73b01639168857445be files/maildrop-1.7.0-db4-bdbobj_configure.in.patch 1211
MD5 2f8014fea76e32d9bb682d00ee5ce7c7 files/maildrop-1.8.0-db4.patch 2501
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCeSVKViELBEf1JB0RAndyAJwPsKgXQLzTKdNRRlE2lm2OalSYGgCeNucT
-PglcheghN1JQSwm/dyMXt8w=
-=rZY1
------END PGP SIGNATURE-----
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.4.0-r1 b/mail-filter/maildrop/files/digest-maildrop-1.4.0-r1
deleted file mode 100644
index d3c39d7fd81d..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.4.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 7a2ad503be8d0bb6bbeb4a0422f4eb45 maildrop-1.4.0.tar.gz 638305
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.5.2 b/mail-filter/maildrop/files/digest-maildrop-1.5.2
deleted file mode 100644
index df842bd0ef94..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.5.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 45ce438482780861ec43ce3af55b99cd maildrop-1.5.2.tar.bz2 618115
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.5.3 b/mail-filter/maildrop/files/digest-maildrop-1.5.3
deleted file mode 100644
index 019de69a27d9..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.5.3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6c7d95b2af87ae471b4447d368e97bd4 maildrop-1.5.3.tar.bz2 632313
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.5.3-r1 b/mail-filter/maildrop/files/digest-maildrop-1.5.3-r1
deleted file mode 100644
index 019de69a27d9..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.5.3-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 6c7d95b2af87ae471b4447d368e97bd4 maildrop-1.5.3.tar.bz2 632313
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0 b/mail-filter/maildrop/files/digest-maildrop-1.7.0
deleted file mode 100644
index 3dee98c621e4..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.7.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fa2dbbb84795e459db36ea0013f6f214 maildrop-1.7.0.tar.bz2 1209721
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0-r2 b/mail-filter/maildrop/files/digest-maildrop-1.7.0-r2
deleted file mode 100644
index 3dee98c621e4..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.7.0-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 fa2dbbb84795e459db36ea0013f6f214 maildrop-1.7.0.tar.bz2 1209721
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907 b/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907
deleted file mode 100644
index 0ed5befa6046..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.7.0.20040907
+++ /dev/null
@@ -1 +0,0 @@
-MD5 19c3ee25c71e3508c953cfae2f1fb17e maildrop-1.7.0.20040907.tar.bz2 1210399
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.0 b/mail-filter/maildrop/files/digest-maildrop-1.8.0
deleted file mode 100644
index 70344e5442cc..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.8.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 caf59c78d6689b4cfba98d979af63407 maildrop-1.8.0.tar.bz2 2013203
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r1 b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r1
deleted file mode 100644
index 70344e5442cc..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 caf59c78d6689b4cfba98d979af63407 maildrop-1.8.0.tar.bz2 2013203
diff --git a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r2 b/mail-filter/maildrop/files/digest-maildrop-1.8.0-r2
deleted file mode 100644
index 70344e5442cc..000000000000
--- a/mail-filter/maildrop/files/digest-maildrop-1.8.0-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 caf59c78d6689b4cfba98d979af63407 maildrop-1.8.0.tar.bz2 2013203
diff --git a/mail-filter/maildrop/maildrop-1.4.0-r1.ebuild b/mail-filter/maildrop/maildrop-1.4.0-r1.ebuild
deleted file mode 100644
index 499fa751dc20..000000000000
--- a/mail-filter/maildrop/maildrop-1.4.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.4.0-r1.ebuild,v 1.5 2005/02/09 21:09:31 ferdy Exp $
-
-DESCRIPTION="Mail delivery agent/filter"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.gz"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-
-DEPEND=">=sys-libs/gdbm-1.8.0
- dev-lang/perl
- virtual/mta"
-PROVIDE="virtual/mda"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc"
-IUSE=""
-
-inherit flag-o-matic
-filter-flags -funroll-loops
-filter-flags -fomit-frame-pointer
-
-src_compile() {
- ./configure \
- --prefix=/usr \
- --with-devel \
- --enable-userdb \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --mandir=/usr/share/man \
- --with-etcdir=/etc \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- --host=${CHOST} || die "bad ./configure"
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc/maildrop
- doins ${FILESDIR}/maildroprc
-}
diff --git a/mail-filter/maildrop/maildrop-1.5.2.ebuild b/mail-filter/maildrop/maildrop-1.5.2.ebuild
deleted file mode 100644
index a55f878f88bc..000000000000
--- a/mail-filter/maildrop/maildrop-1.5.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.5.2.ebuild,v 1.6 2005/02/09 21:09:31 ferdy Exp $
-
-IUSE="mysql ldap gdbm berkdb"
-
-inherit flag-o-matic
-filter-flags -funroll-loops
-filter-flags -fomit-frame-pointer
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( >=sys-libs/db-3.2 )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-
-PROVIDE="virtual/mda"
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- use berkdb \
- && myconf="${myconf} --with-db=db"
- use gdbm \
- && myconf="${myconf} --with-db=gdbm"
-
- econf \
- --with-devel \
- --enable-userdb \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- use ldap \
- && emake LIBLDAP='-lldap -llber -lresolv' \
- || emake
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
diff --git a/mail-filter/maildrop/maildrop-1.5.3-r1.ebuild b/mail-filter/maildrop/maildrop-1.5.3-r1.ebuild
deleted file mode 100644
index 5cee90c1f293..000000000000
--- a/mail-filter/maildrop/maildrop-1.5.3-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.5.3-r1.ebuild,v 1.7 2005/02/09 21:09:31 ferdy Exp $
-
-IUSE="mysql ldap gdbm"
-
-inherit flag-o-matic
-filter-flags -funroll-loops
-filter-flags -fomit-frame-pointer
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc alpha ~ppc ~amd64"
-
-DEPEND="dev-lang/perl
- virtual/mta
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-PROVIDE="virtual/mda"
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use gdbm; then
- myconf="${myconf} --with-db=gdbm"
- fi
-
- econf \
- --with-devel \
- --enable-userdb \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
diff --git a/mail-filter/maildrop/maildrop-1.5.3.ebuild b/mail-filter/maildrop/maildrop-1.5.3.ebuild
deleted file mode 100644
index 4c158632fc58..000000000000
--- a/mail-filter/maildrop/maildrop-1.5.3.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.5.3.ebuild,v 1.6 2005/02/09 21:09:31 ferdy Exp $
-
-IUSE="mysql ldap gdbm berkdb"
-
-inherit flag-o-matic
-filter-flags -funroll-loops
-filter-flags -fomit-frame-pointer
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( >=sys-libs/db-3.2 )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-
-PROVIDE="virtual/mda"
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use berkdb; then
- myconf="${myconf} --with-db=db"
- elif use gdbm; then
- myconf="${myconf} --with-db=gdbm"
- fi
-
- econf \
- --with-devel \
- --enable-userdb \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
diff --git a/mail-filter/maildrop/maildrop-1.7.0-r2.ebuild b/mail-filter/maildrop/maildrop-1.7.0-r2.ebuild
deleted file mode 100644
index bd058f23a9ed..000000000000
--- a/mail-filter/maildrop/maildrop-1.7.0-r2.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.7.0-r2.ebuild,v 1.5 2005/02/09 21:09:31 ferdy Exp $
-
-
-inherit eutils
-IUSE="mysql ldap gdbm berkdb"
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc ~alpha ~amd64 ~ia64"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( >=sys-libs/db-3* )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-PROVIDE="virtual/mda"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # patch for db-4.x detection
- epatch ${FILESDIR}/maildrop-1.7.0-db4-configure.in.patch \
- || die "patch failed."
- epatch ${FILESDIR}/maildrop-1.7.0-db4-bdbobj_configure.in.patch \
- || die "patch failed."
-
- ebegin "Recreating configure."
- autoconf || die "recreate configure failed."
- eend $?
-
- ebegin "Recreating configure in bdbobj."
- cd ${S}/bdbobj
- autoconf || die "recreate configure failed."
- eend $?
- cd ${S}
-}
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use gdbm; then
- # both flags present; default to gdbm.
- einfo "build with GDBM support."
- myconf="${myconf} --with-db=gdbm \
- --enable-userdb"
- elif use berkdb; then
- einfo "build with DB support."
- myconf="${myconf} --with-db=db \
- --enable-userdb"
- else
- # without a db library support, can't build this.
- einfo "moving ${S}/makedat to ${S}/makedat.org"
- mv ${S}/makedat ${S}/makedat.org || "failed to move makedat."
- einfo "build without-db."
- myconf="${myconf} --without-db"
- fi
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
-
diff --git a/mail-filter/maildrop/maildrop-1.7.0.20040907.ebuild b/mail-filter/maildrop/maildrop-1.7.0.20040907.ebuild
deleted file mode 100644
index e416d7c8a90c..000000000000
--- a/mail-filter/maildrop/maildrop-1.7.0.20040907.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.7.0.20040907.ebuild,v 1.5 2005/02/09 21:09:31 ferdy Exp $
-
-
-inherit eutils
-IUSE="mysql ldap gdbm berkdb"
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="http://www.courier-mta.org/beta/${PN}/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc ~alpha ~amd64"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( >=sys-libs/db-3* )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-PROVIDE="virtual/mda"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # patch for db-4.x detection
- epatch ${FILESDIR}/maildrop-1.7.0-db4-configure.in.patch \
- || die "patch failed."
- epatch ${FILESDIR}/maildrop-1.7.0-db4-bdbobj_configure.in.patch \
- || die "patch failed."
-
- ebegin "Recreating configure."
- autoconf || die "recreate configure failed."
- eend $?
-
- ebegin "Recreating configure in bdbobj."
- cd ${S}/bdbobj
- autoconf || die "recreate configure failed."
- eend $?
- cd ${S}
-}
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use gdbm; then
- # both flags present; default to gdbm.
- einfo "build with GDBM support."
- myconf="${myconf} --with-db=gdbm \
- --enable-userdb"
- elif use berkdb; then
- einfo "build with DB support."
- myconf="${myconf} --with-db=db \
- --enable-userdb"
- else
- myconf="${myconf} --without-db"
- fi
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
-
diff --git a/mail-filter/maildrop/maildrop-1.7.0.ebuild b/mail-filter/maildrop/maildrop-1.7.0.ebuild
deleted file mode 100644
index 48a0a6fd480c..000000000000
--- a/mail-filter/maildrop/maildrop-1.7.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.7.0.ebuild,v 1.6 2005/02/09 21:09:31 ferdy Exp $
-
-IUSE="mysql ldap gdbm berkdb"
-
-inherit flag-o-matic
-filter-flags -funroll-loops
-filter-flags -fomit-frame-pointer
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc ~alpha ~amd64"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( =sys-libs/db-3* )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-PROVIDE="virtual/mda"
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use gdbm; then
- myconf="${myconf} --with-db=gdbm \
- --enable-userdb"
- elif use berkdb; then
- myconf="${myconf} --with-db=db \
- --enable-userdb"
- else
- myconf="${myconf} --without-db"
- fi
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
-
diff --git a/mail-filter/maildrop/maildrop-1.8.0-r1.ebuild b/mail-filter/maildrop/maildrop-1.8.0-r1.ebuild
deleted file mode 100644
index 28b31592d746..000000000000
--- a/mail-filter/maildrop/maildrop-1.8.0-r1.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0-r1.ebuild,v 1.1 2005/02/13 13:19:18 ferdy Exp $
-
-inherit eutils gnuconfig
-
-DESCRIPTION="Mail delivery agent/filter"
-[ -z "${PV/?.?/}" ] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-[ -z "${PV/?.?.?/}" ] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-[ -z "${SRC_URI}" ] && SRC_URI="http://www.courier-mta.org/beta/courier/${P%%_pre}.tar.bz2"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-S="${WORKDIR}/${P%%_pre}"
-
-SLOT="0"
-LICENSE="GPL-2"
-# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
-KEYWORDS="~x86 ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc"
-IUSE="mysql ldap gdbm berkdb uclibc debug mysql postgres ldap"
-
-PROVIDE="virtual/mda"
-
-DEPEND="dev-lang/perl
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- !gdbm? ( berkdb? ( >=sys-libs/db-3* ) )
- mysql? ( net-libs/courier-authlib )
- postgres? ( net-libs/courier-authlib )
- ldap? ( net-libs/courier-authlib )"
-
-RDEPEND="${DEPEND}
- dev-lang/perl
- virtual/mta"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- use uclibc && sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub
- if use gdbm ; then
- use berkdb && einfo "Both gdbm and berkdb selected. Using gdbm."
- else
- if use berkdb ; then
- epatch ${FILESDIR}/maildrop-1.8.0-db4.patch \
- || die "patch failed."
- export WANT_AUTOCONF="2.5"
- gnuconfig_update
- libtoolize --copy --force
- ebegin "Recreating configure."
- autoconf || die "recreate configure failed."
- eend $?
- cd ${S}/bdbobj
- libtoolize --copy --force
- ebegin "Recreating configure in bdbobj."
- autoconf || die "recreate configure failed."
- eend $?
- else
- einfo "Building without database support"
- fi
- fi
-}
-
-src_compile() {
- local myconf
-
- if use gdbm ; then
- myconf="${myconf} --with-db=gdbm"
- else
- [ use berkdb ] && myconf="${myconf} --with-db=db" || \
- myconf="${myconf} --without-db"
- fi
-
- myconf="${myconf} $(use_enable debug DEBUG)"
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- --cache-file=${S}/configuring.cache \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
-
- dodir /usr/share/doc/${PF}
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
-
- dohtml {INSTALL,README,UPGRADE}.html
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
diff --git a/mail-filter/maildrop/maildrop-1.8.0-r2.ebuild b/mail-filter/maildrop/maildrop-1.8.0-r2.ebuild
deleted file mode 100644
index 9c413cce1b28..000000000000
--- a/mail-filter/maildrop/maildrop-1.8.0-r2.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0-r2.ebuild,v 1.1 2005/02/16 09:13:58 ferdy Exp $
-
-inherit eutils gnuconfig
-
-DESCRIPTION="Mail delivery agent/filter"
-[ -z "${PV/?.?/}" ] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-[ -z "${PV/?.?.?/}" ] && SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-[ -z "${SRC_URI}" ] && SRC_URI="http://www.courier-mta.org/beta/courier/${P%%_pre}.tar.bz2"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-S="${WORKDIR}/${P%%_pre}"
-
-SLOT="0"
-LICENSE="GPL-2"
-# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
-KEYWORDS="~x86 ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc"
-IUSE="mysql ldap gdbm berkdb uclibc debug postgres"
-
-PROVIDE="virtual/mda"
-
-DEPEND="dev-lang/perl
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- !gdbm? ( berkdb? ( >=sys-libs/db-3* ) )
- mysql? ( net-libs/courier-authlib )
- postgres? ( net-libs/courier-authlib )
- ldap? ( net-libs/courier-authlib )"
-
-RDEPEND="${DEPEND}
- dev-lang/perl
- virtual/mta"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- use uclibc && sed -i -e 's:linux-gnu\*:linux-gnu\*\ \|\ linux-uclibc:' config.sub
- if use gdbm ; then
- use berkdb && einfo "Both gdbm and berkdb selected. Using gdbm."
- else
- if use berkdb ; then
- epatch ${FILESDIR}/maildrop-1.8.0-db4.patch \
- || die "patch failed."
- export WANT_AUTOCONF="2.5"
- gnuconfig_update
- libtoolize --copy --force
- ebegin "Recreating configure."
- autoconf || die "recreate configure failed."
- eend $?
- cd ${S}/bdbobj
- libtoolize --copy --force
- ebegin "Recreating configure in bdbobj."
- autoconf || die "recreate configure failed."
- eend $?
- else
- einfo "Building without database support"
- fi
- fi
-}
-
-src_compile() {
- local myconf
-
- if use gdbm ; then
- myconf="${myconf} --with-db=gdbm"
- else
- [ use berkdb ] && myconf="${myconf} --with-db=db" || \
- myconf="${myconf} --without-db"
- fi
-
- myconf="${myconf} $(use_enable debug DEBUG)"
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \
- --enable-maildrop-uid=root \
- --enable-maildrop-gid=mail \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- --cache-file=${S}/configuring.cache \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- fperms 4755 /usr/bin/maildrop
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
-
- dodir /usr/share/doc/${PF}
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
-
- dohtml {INSTALL,README,UPGRADE}.html
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
diff --git a/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild b/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild
index 4a92c695f407..473f33b1a432 100644
--- a/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild
+++ b/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild,v 1.1 2005/03/10 18:25:40 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0-r3.ebuild,v 1.2 2005/05/04 20:26:17 ferdy Exp $
inherit eutils gnuconfig
@@ -14,7 +14,7 @@ S="${WORKDIR}/${P%%_pre}"
SLOT="0"
LICENSE="GPL-2"
# not in keywords due to missing dependencies: ~arm ~s390 ~ppc64
-KEYWORDS="~x86 ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc"
+KEYWORDS="x86 ~alpha ~amd64 ~ia64 ~ppc ~sparc"
IUSE="mysql ldap gdbm berkdb uclibc debug postgres"
PROVIDE="virtual/mda"
@@ -105,11 +105,22 @@ src_install() {
doins ${FILESDIR}/maildroprc
insinto /etc/maildrop
- if use mysql
- then
+ insopts -m0640
+ if use mysql ; then
sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
${S}/maildropmysql.config > ${S}/maildropmysql.cf
newins ${S}/maildropmysql.cf maildropmysql.cf
fi
use ldap && newins ${S}/maildropldap.config maildropldap.cf
}
+
+pkg_postinst() {
+ echo
+ ewarn
+ ewarn "Due to a security bug (#91465) you should change the permissions of:"
+ use ldap && ewarn " /etc/maildrop/maildropldap.cf"
+ use mysql && ewarn " /etc/maildrop/maildropmysql.cf"
+ ewarn " by running chmod 0640 on them."
+ ewarn
+ echo
+}
diff --git a/mail-filter/maildrop/maildrop-1.8.0.ebuild b/mail-filter/maildrop/maildrop-1.8.0.ebuild
deleted file mode 100644
index b4c6186a7129..000000000000
--- a/mail-filter/maildrop/maildrop-1.8.0.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/maildrop/maildrop-1.8.0.ebuild,v 1.1 2005/02/09 21:09:31 ferdy Exp $
-
-
-inherit eutils
-IUSE="mysql ldap gdbm berkdb"
-
-DESCRIPTION="Mail delivery agent/filter"
-HOMEPAGE="http://www.courier-mta.org/maildrop/"
-SRC_URI="mirror://sourceforge/courier/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~alpha ~amd64 ~ia64"
-
-DEPEND="dev-lang/perl
- virtual/mta
- berkdb? ( >=sys-libs/db-3* )
- gdbm? ( >=sys-libs/gdbm-1.8.0 )
- mysql? ( >=dev-db/mysql-3.23.51 )
- ldap? ( >=net-nds/openldap-2.0.23 )"
-PROVIDE="virtual/mda"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- # patch for db-4.x detection
- epatch ${FILESDIR}/maildrop-1.7.0-db4-configure.in.patch \
- || die "patch failed."
- epatch ${FILESDIR}/maildrop-1.7.0-db4-bdbobj_configure.in.patch \
- || die "patch failed."
-
- ebegin "Recreating configure."
- autoconf || die "recreate configure failed."
- eend $?
-
- ebegin "Recreating configure in bdbobj."
- cd ${S}/bdbobj
- autoconf || die "recreate configure failed."
- eend $?
- cd ${S}
-}
-
-src_compile() {
- local myconf
- use mysql \
- && myconf="${myconf} --enable-maildropmysql \
- --with-mysqlconfig=/etc/maildrop/maildropmysql.cf" \
- || myconf="${myconf} --disable-maildropmysql"
-
- use ldap \
- && myconf="${myconf} --enable-maildropldap \
- --with-ldapconfig=/etc/maildrop/maildropldap.cf" \
- || myconf="${myconf} --disable-maildropldap"
-
- if use gdbm; then
- # both flags present; default to gdbm.
- einfo "build with GDBM support."
- myconf="${myconf} --with-db=gdbm \
- --enable-userdb"
- elif use berkdb; then
- einfo "build with DB support."
- myconf="${myconf} --with-db=db \
- --enable-userdb"
- else
- # without a db library support, can't build this.
- einfo "moving ${S}/makedat to ${S}/makedat.org"
- mv ${S}/makedat ${S}/makedat.org || "failed to move makedat."
- einfo "build without-db."
- myconf="${myconf} --without-db"
- fi
-
- libtoolize --copy --force
-
- econf \
- --with-devel \
- --disable-tempdir \
- --enable-syslog=1 \
- --enable-use-flock=1 \
- --enable-maildirquota \
- --enable-use-dotlock=1 \
- --enable-restrict-trusted=1 \
- --enable-trusted-users='apache dspam root mail daemon postmaster qmaild mmdf vmail' \
- --with-default-maildrop=./.maildir/ \
- --enable-sendmail=/usr/sbin/sendmail \
- ${myconf} || die
-
- emake || die "compile problem"
-}
-
-src_install() {
- local i
- make DESTDIR=${D} install || die
-
- dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README \
- README.postfix UPGRADE maildroptips.txt
- mv ${D}/usr/share/maildrop/html ${D}/usr/share/doc/${PF}
- dohtml {INSTALL,README,UPGRADE}.html
-
- # this just cleans up /usr/share/maildrop a little bit..
- for i in makedat makeuserdb pw2userdb userdb userdbpw vchkpw2userdb
- do
- rm -f ${D}/usr/bin/$i
- mv -f ${D}/usr/share/maildrop/scripts/$i \
- ${D}/usr/share/maildrop
- dosym /usr/share/maildrop/$i /usr/bin/$i
- done
- rm -rf ${D}/usr/share/maildrop/scripts
-
- insinto /etc
- doins ${FILESDIR}/maildroprc
-
- insinto /etc/maildrop
- if use mysql
- then
- sed -e "s:/var/lib/mysql/mysql.sock:/var/run/mysqld/mysqld.sock:" \
- ${S}/maildropmysql.config > ${S}/maildropmysql.cf
- newins ${S}/maildropmysql.cf maildropmysql.cf
- fi
- use ldap && newins ${S}/maildropldap.config maildropldap.cf
-}
-