From 541eca7cf7b9950f0adaaf9158f94c76ba0aedc9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Oct 2022 19:30:29 +0100 Subject: gentoo auto-resync : 08:10:2022 - 19:30:29 --- net-mail/Manifest.gz | Bin 14572 -> 14575 bytes net-mail/ezmlm-idx/Manifest | 4 +- net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r4.ebuild | 58 ---------------- net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild | 58 ++++++++++++++++ net-mail/ezmlm-idx/ezmlm-idx-7.2.2-r1.ebuild | 58 ++++++++++++++++ net-mail/ezmlm-idx/ezmlm-idx-7.2.2.ebuild | 58 ---------------- net-mail/tpop3d/Manifest | 2 +- net-mail/tpop3d/tpop3d-1.5.5-r4.ebuild | 100 --------------------------- net-mail/tpop3d/tpop3d-1.5.5-r5.ebuild | 100 +++++++++++++++++++++++++++ 9 files changed, 219 insertions(+), 219 deletions(-) delete mode 100644 net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r4.ebuild create mode 100644 net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild create mode 100644 net-mail/ezmlm-idx/ezmlm-idx-7.2.2-r1.ebuild delete mode 100644 net-mail/ezmlm-idx/ezmlm-idx-7.2.2.ebuild delete mode 100644 net-mail/tpop3d/tpop3d-1.5.5-r4.ebuild create mode 100644 net-mail/tpop3d/tpop3d-1.5.5-r5.ebuild (limited to 'net-mail') diff --git a/net-mail/Manifest.gz b/net-mail/Manifest.gz index ee85d3bb2f84..391b60ccfcd4 100644 Binary files a/net-mail/Manifest.gz and b/net-mail/Manifest.gz differ diff --git a/net-mail/ezmlm-idx/Manifest b/net-mail/ezmlm-idx/Manifest index 3e5be53e96e2..18ee73a0c930 100644 --- a/net-mail/ezmlm-idx/Manifest +++ b/net-mail/ezmlm-idx/Manifest @@ -1,6 +1,6 @@ AUX ezmlm-idx-7.0.0-fno-common.patch 1007 BLAKE2B 9de98526ad5411e40a6b38099a4166e1cb24eea6a54f93df8b8aad4ce0e5769d2a9aa77e6f7396fc8d96f692c6b8c6c0115c990034aa66120d9ea626c82f7dce SHA512 dd172c7db7fae8f8278d462eea58e4d2213dc72079a9f021f1ce3ca7ed0923139d27d39d4bc8a2fed3e91a6df2f1145292acf0ebe255a89aa59a712e45043b91 DIST ezmlm-idx-7.0.0.tar.gz 689019 BLAKE2B 22c66a4a2fcc6c0c754061ff0d93bde8fd192266112da0516e936278610288dc11d44d1959cd135a90eacb4befa43d62f53b3bedb94e994afc13aed986834bce SHA512 c0fc35aef4a72aefa4cdaee4c1933cc00aab82ee81ad7577793952fbf57106c06e4a5844a2bbf3919ad2985d2062ba1edf8831e6aa66d7e762210e7e147210ef DIST ezmlm-idx-7.2.2.tar.gz 742451 BLAKE2B fd40b1216d34eba253ef00a53366c8a5f2d19edd9ef20ddea3047a6837263589ac8fc4911820836b49bf4c95b99a1c99d3d2808bc90dd8eb58bc262e6acc74d7 SHA512 4fdd30d6dc254fd0353f34675ea8baa91d95860de1fb23ff5517280c75a8d87405bdd7e180e25eb8f5c0b152a35a11a939f4e7364596e83d81053b1e6019245c -EBUILD ezmlm-idx-7.0.0-r4.ebuild 1480 BLAKE2B 3df36686d435c7b37141497940548b66585579ceaf81f5d9d3e1b4176dd2196a0ed730c72279e82e34c15562a94dfa8ffdb59e2e13bcbc96723bc5846c95a41d SHA512 37b982b59d8dd3583b36817769bf6495774184cf7eff4b69dbf31b6d6ff6bd4ae2b527f8a13242be45c0a67928a93cf114a70321ecf5df3635326e403820388e -EBUILD ezmlm-idx-7.2.2.ebuild 1505 BLAKE2B da0a1f58d18db96925af3db6f5e968254360ff486650cadd53997b30424224e10aab119df80165a1bcb25ad5234f6681d44cd62ab3641fbeb03e091cfec07513 SHA512 3298e62c2b50dd2b614d82cdb5364069406bf51a636c29202d4b57db0c5194a39d41cde4c69379b20490ed75f686d5e8e2bf2dd87248837f4037c37c69a8fd79 +EBUILD ezmlm-idx-7.0.0-r5.ebuild 1482 BLAKE2B 5121404ff8f39bee0508e6f7c9d904de2e171edfd0adf9218840ff9700119cb19a541cd57009f38ea60c80c963011deb4fdf25d48a7bd481aa1a77596c6b6f31 SHA512 4daef97066d815859e0399c2411710f9282be592108ae92968fe76515a6e095ed427c2e72b0fad5a84fd56de1dc7916cf364b8632aa5917a7993b78c04962ea7 +EBUILD ezmlm-idx-7.2.2-r1.ebuild 1505 BLAKE2B bc265da530399600c72837eedc15413aff8ca1748ebc8bf0008e46dd699b0224a4ccbe1565778e1968816ed4646dda85f8fd492522e46090016bf92a38e3a977 SHA512 d46b49a07e22c0f4a87853046537f913111cbe075112d9c9c3cc17f996ab5d431d698bd8d60da51bd7852831ee4c7864859bd7a201ca02855b088d9eedd740f4 MISC metadata.xml 167 BLAKE2B 868e3b584722eaacf68273db062bb773d8c7e5d7ab2b81ca7e8397643bf7cc106c3a1033594401c99c54f667bb45d6b73f9048fc335580bbd44b4589ad26a832 SHA512 30caadd1496c3b9969136038239a1d8e01f236726b4022c2d7e19ca7575f25f735e556835e581afbf44fbd3e4104c40f2b5ef5fa70118d75c881fdf871962d0a diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r4.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r4.ebuild deleted file mode 100644 index 0c0c7c20584a..000000000000 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r4.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmail toolchain-funcs - -DESCRIPTION="Simple yet powerful mailing list manager for qmail" -HOMEPAGE="http://www.ezmlm.org" -SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~mips ppc sparc x86" -IUSE="mysql postgres" - -DEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql )" -RDEPEND="${DEPEND} - virtual/qmail" -REQUIRED_USE="?? ( mysql postgres )" - -PATCHES=( "${FILESDIR}/${PN}-7.0.0-fno-common.patch" ) - -src_prepare() { - default - echo /usr/bin > conf-bin || die - echo /usr/$(get_libdir)/ezmlm > conf-lib || die - echo /etc/ezmlm > conf-etc || die - echo /usr/share/man > conf-man || die - echo ${QMAIL_HOME} > conf-qmail || die - - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die - echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld || die - - # fix DESTDIR and skip cat man-pages - sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ - -i Makefile || die -} - -src_compile() { - emake it man - - if use mysql; then - emake mysql - elif use postgres; then - emake pgsql - fi -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man - dobin ezmlm-{cgi,checksub,import,rmtab} - - make DESTDIR="${D}" setup || die "make setup failed" -} diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild new file mode 100644 index 000000000000..ce08d30a5cee --- /dev/null +++ b/net-mail/ezmlm-idx/ezmlm-idx-7.0.0-r5.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmail toolchain-funcs + +DESCRIPTION="Simple yet powerful mailing list manager for qmail" +HOMEPAGE="http://www.ezmlm.org" +SRC_URI="http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~mips ppc sparc x86" +IUSE="mysql postgres" + +DEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* )" +RDEPEND="${DEPEND} + virtual/qmail" +REQUIRED_USE="?? ( mysql postgres )" + +PATCHES=( "${FILESDIR}/${PN}-7.0.0-fno-common.patch" ) + +src_prepare() { + default + echo /usr/bin > conf-bin || die + echo /usr/$(get_libdir)/ezmlm > conf-lib || die + echo /etc/ezmlm > conf-etc || die + echo /usr/share/man > conf-man || die + echo ${QMAIL_HOME} > conf-qmail || die + + echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die + echo $(tc-getCC) ${CFLAGS} -Wl,-E > conf-ld || die + + # fix DESTDIR and skip cat man-pages + sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ + -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ + -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ + -i Makefile || die +} + +src_compile() { + emake it man + + if use mysql; then + emake mysql + elif use postgres; then + emake pgsql + fi +} + +src_install() { + dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man + dobin ezmlm-{cgi,checksub,import,rmtab} + + make DESTDIR="${D}" setup || die "make setup failed" +} diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.2.2-r1.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.2.2-r1.ebuild new file mode 100644 index 000000000000..78eefb1ed0c1 --- /dev/null +++ b/net-mail/ezmlm-idx/ezmlm-idx-7.2.2-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmail toolchain-funcs + +DESCRIPTION="Simple yet powerful mailing list manager for qmail" +HOMEPAGE="https://untroubled.org/ezmlm" +SRC_URI="https://untroubled.org/ezmlm/archive/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" +#KEYWORDS="~alpha amd64 ~hppa ~mips ppc sparc x86" +IUSE="mysql postgres sqlite" + +DEPEND="mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 )" +RDEPEND="${DEPEND} + virtual/qmail" +REQUIRED_USE="?? ( mysql postgres sqlite )" + +src_prepare() { + default + echo /usr/bin > conf-bin || die + echo /usr/$(get_libdir)/ezmlm > conf-lib || die + echo /etc/ezmlm > conf-etc || die + echo /usr/share/man > conf-man || die + echo ${QMAIL_HOME} > conf-qmail || die + + echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die + echo $(tc-getCC) ${LDFLAGS} -Wl,-E > conf-ld || die + + # fix DESTDIR and skip cat man-pages + sed -e "s:\(/installer\) \(\"\`head\):\1 ${D}\2:" \ + -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ + -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ + -i Makefile || die +} + +src_compile() { + emake it man installer + + if use mysql; then + emake mysql + elif use postgres; then + emake pgsql + elif use sqlite; then + emake sqlite3 + fi +} + +src_install() { + dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man + default +} diff --git a/net-mail/ezmlm-idx/ezmlm-idx-7.2.2.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-7.2.2.ebuild deleted file mode 100644 index eb1061057763..000000000000 --- a/net-mail/ezmlm-idx/ezmlm-idx-7.2.2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit qmail toolchain-funcs - -DESCRIPTION="Simple yet powerful mailing list manager for qmail" -HOMEPAGE="https://untroubled.org/ezmlm" -SRC_URI="https://untroubled.org/ezmlm/archive/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86" -#KEYWORDS="~alpha amd64 ~hppa ~mips ppc sparc x86" -IUSE="mysql postgres sqlite" - -DEPEND="mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql:= ) - sqlite? ( dev-db/sqlite:3 )" -RDEPEND="${DEPEND} - virtual/qmail" -REQUIRED_USE="?? ( mysql postgres sqlite )" - -src_prepare() { - default - echo /usr/bin > conf-bin || die - echo /usr/$(get_libdir)/ezmlm > conf-lib || die - echo /etc/ezmlm > conf-etc || die - echo /usr/share/man > conf-man || die - echo ${QMAIL_HOME} > conf-qmail || die - - echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc || die - echo $(tc-getCC) ${LDFLAGS} -Wl,-E > conf-ld || die - - # fix DESTDIR and skip cat man-pages - sed -e "s:\(/installer\) \(\"\`head\):\1 ${D}\2:" \ - -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ - -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ - -i Makefile || die -} - -src_compile() { - emake it man installer - - if use mysql; then - emake mysql - elif use postgres; then - emake pgsql - elif use sqlite; then - emake sqlite3 - fi -} - -src_install() { - dodir /usr/bin /usr/$(get_libdir)/ezmlm /etc/ezmlm /usr/share/man - default -} diff --git a/net-mail/tpop3d/Manifest b/net-mail/tpop3d/Manifest index 6baa54dac2f3..858cdada5de6 100644 --- a/net-mail/tpop3d/Manifest +++ b/net-mail/tpop3d/Manifest @@ -1,5 +1,5 @@ AUX tpop3d-1.5.4-gold.patch 730 BLAKE2B e3f30e0aae7ca80c3834dbe63216bff73de20981ad7b02b062b3f13d61c83e4183d0228a065139d2be5b2792f2bf5001b1bede35b7382a57ff895e7fc9437955 SHA512 cf4b2ab8b6f51bf749e32a8204e850ef97426a6de14f3d5d5128725791838717b5b8cbcc4fb80a5534d6820200ebef50dde8d2e20e44133f029be3a2d72a57c6 AUX tpop3d-1.5.4.init 607 BLAKE2B 8cc947bb35566f09236a5a6c06f6b1b8938d51f9dfe0ef3230507a5a6885bdee8eac11a3e90cdee52b24219cade824c45b15e5777a154a28b78167eaef6decce SHA512 004d2e5ca802ad7681c3f6392728602f54c13c6072d38b147be469e5f9ef09916f7c6c57af944c845e4b504f46fe4893323d5a125b7dc4bdfc2d479a5ee696e9 DIST tpop3d-1.5.5.tar.gz 285027 BLAKE2B e8cc76040757a5c8931ee34b27a57c52889f3533b71a53c7a2fe589823129ce5972f2ddfa9ecdb46d7a04ac77e8d735c02b07cf7e8192135e4ebea6c392b38ab SHA512 918a057c62d7518613daa6335d8fd5a2553d278dc4d6adbcf5ba3caa3ba561587f1d9e18f564690383e91f3ee2e5120af919d2799b69e93bfe3a3b8ea4f5d7e6 -EBUILD tpop3d-1.5.5-r4.ebuild 2976 BLAKE2B c420d44344b87310db584793044bd78c31dcf2008e41d8b639cc4031d90170a9f0de80f66ab6a1e0461d7f23f85486d64449ab08a586cf8b712a8b11c4cd5770 SHA512 2e3d4442cd2b3c21d47d7312b7e35ff08a230a6a5e28c2b93bf8d9e54915c74dfdac0b6dd06185b880a1187c6379b1208db668457e4d2ff97bc0b22278a17340 +EBUILD tpop3d-1.5.5-r5.ebuild 2978 BLAKE2B 278e29cfacd913666926cd2e6333e17c7d5d69af44999b17f9a9006f96f1b6de4762a18198da0ff2682d9c669c26a59d4c1709976199f49d22923d14ceea9d17 SHA512 77cbafe8ed996e641d312b4472bc2457f514b7e6efe3c62713710b0ca7aaa0bc2e60396897a656c2d84d6a4441514d1cd135e300e36ba865e0a559e8b2c5c4fc MISC metadata.xml 561 BLAKE2B 9c3cdb3234509f5fed875b4810633182b2b17a3a6a4034a9e83cd39ed89da9befe4658d76d2ce27042dcbd56452a9acd98baea3f7f65c65605fe95e37bff070e SHA512 27d747cbbc50936743aa9c09b98185004b59ad11aca5cc58ba6faf664ebe765eafe706d6423f41fb10c96146ee8c42078a57ff144ecdbef4cd9013df44f63321 diff --git a/net-mail/tpop3d/tpop3d-1.5.5-r4.ebuild b/net-mail/tpop3d/tpop3d-1.5.5-r4.ebuild deleted file mode 100644 index 9e0bca9a61fc..000000000000 --- a/net-mail/tpop3d/tpop3d-1.5.5-r4.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit flag-o-matic autotools - -DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support" -HOMEPAGE="https://savannah.nongnu.org/projects/tpop3d/" -SRC_URI="mirror://nongnu/tpop3d/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 x86" -IUSE="authexternal debug flatfile gdbm ldap maildir mbox mysql offensive - pam passwd perl postgres +sha1 shadow ssl tcpd" - -RDEPEND="virtual/libcrypt:= - gdbm? ( sys-libs/gdbm:= ) - sha1? ( >=dev-libs/openssl-0.9.6:0= ) - ssl? ( >=dev-libs/openssl-0.9.6:0= ) - ldap? ( >=net-nds/openldap-2.0.7:= ) - mysql? ( dev-db/mysql-connector-c:0= ) - postgres? ( dev-db/postgresql[server] ) - perl? ( >=dev-lang/perl-5.6.1:= ) - pam? ( - >=net-mail/mailbase-0.00-r8 - sys-libs/pam - ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" -DEPEND="${RDEPEND}" - -PATCHES=( "${FILESDIR}/${PN}-1.5.4-gold.patch" ) - -src_prepare() { - default - - mv configure.{in,ac} || die - - eautoreconf -} - -src_configure() { - local myconf="" - local noauth=0 - - # Various authentication methods - use authexternal && myconf="${myconf} --enable-auth-other" - use flatfile && myconf="${myconf} --enable-auth-flatfile" - use gdbm && myconf="${myconf} --enable-auth-gdbm" - use ldap && myconf="${myconf} --enable-auth-ldap" - use mysql && myconf="${myconf} --enable-auth-mysql --with-mysql-lib-dir=$(mysql_config --variable=pkglibdir)" - use pam || myconf="${myconf} --disable-auth-pam" - use passwd && myconf="${myconf} --enable-auth-passwd" - use perl && myconf="${myconf} --enable-auth-perl" - use postgres && myconf="${myconf} --enable-auth-pgsql" - use shadow && myconf="${myconf} --enable-auth-passwd --enable-shadow-passwords" - - use authexternal || use flatfile || use gdbm || use ldap || use mysql || - use pam || use passwd || use perl || use postgres || use shadow || - noauth=1 - - if [[ ${noauth} -eq 1 ]]; then - ewarn "None of tpop3d's authentication mechanism USE flags are set." - ewarn "As a result tpop3d will be built with /etc/passwd authentication only." - myconf="${myconf} --enable-auth-passwd" - fi - - # Other optional features - use debug && myconf="${myconf} --enable-backtrace" - use maildir && myconf="${myconf} --enable-mbox-maildir" - use mbox || myconf="${myconf} --disable-mbox-bsd" - use offensive || myconf="${myconf} --disable-snide-comments" - use sha1 || myconf="${myconf} --disable-sha1-passwords" - use ssl && myconf="${myconf} --enable-tls" - use tcpd && myconf="${myconf} --enable-tcp-wrappers" - - econf ${myconf} - - # Causes crash with "stack smashing attack" on connect, because of bug in - # SSP (bug #115285) - filter-flags -fstack-protector -} - -src_install() { - default - dodir /etc/tpop3d - - if use pam ; then - dodir /etc/pam.d - dosym pop3 /etc/pam.d/tpop3d - fi - - newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d -} - -pkg_postinst() { - elog "Read the tpop3d.conf manpage" - elog "Please create /etc/tpop3d/tpop3d.conf to fit your configuration" -} diff --git a/net-mail/tpop3d/tpop3d-1.5.5-r5.ebuild b/net-mail/tpop3d/tpop3d-1.5.5-r5.ebuild new file mode 100644 index 000000000000..546c0f2a23ed --- /dev/null +++ b/net-mail/tpop3d/tpop3d-1.5.5-r5.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic autotools + +DESCRIPTION="An extensible POP3 server with vmail-sql/MySQL support" +HOMEPAGE="https://savannah.nongnu.org/projects/tpop3d/" +SRC_URI="mirror://nongnu/tpop3d/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="authexternal debug flatfile gdbm ldap maildir mbox mysql offensive + pam passwd perl postgres +sha1 shadow ssl tcpd" + +RDEPEND="virtual/libcrypt:= + gdbm? ( sys-libs/gdbm:= ) + sha1? ( >=dev-libs/openssl-0.9.6:0= ) + ssl? ( >=dev-libs/openssl-0.9.6:0= ) + ldap? ( >=net-nds/openldap-2.0.7:= ) + mysql? ( dev-db/mysql-connector-c:0= ) + postgres? ( dev-db/postgresql:*[server] ) + perl? ( >=dev-lang/perl-5.6.1:= ) + pam? ( + >=net-mail/mailbase-0.00-r8 + sys-libs/pam + ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.5.4-gold.patch" ) + +src_prepare() { + default + + mv configure.{in,ac} || die + + eautoreconf +} + +src_configure() { + local myconf="" + local noauth=0 + + # Various authentication methods + use authexternal && myconf="${myconf} --enable-auth-other" + use flatfile && myconf="${myconf} --enable-auth-flatfile" + use gdbm && myconf="${myconf} --enable-auth-gdbm" + use ldap && myconf="${myconf} --enable-auth-ldap" + use mysql && myconf="${myconf} --enable-auth-mysql --with-mysql-lib-dir=$(mysql_config --variable=pkglibdir)" + use pam || myconf="${myconf} --disable-auth-pam" + use passwd && myconf="${myconf} --enable-auth-passwd" + use perl && myconf="${myconf} --enable-auth-perl" + use postgres && myconf="${myconf} --enable-auth-pgsql" + use shadow && myconf="${myconf} --enable-auth-passwd --enable-shadow-passwords" + + use authexternal || use flatfile || use gdbm || use ldap || use mysql || + use pam || use passwd || use perl || use postgres || use shadow || + noauth=1 + + if [[ ${noauth} -eq 1 ]]; then + ewarn "None of tpop3d's authentication mechanism USE flags are set." + ewarn "As a result tpop3d will be built with /etc/passwd authentication only." + myconf="${myconf} --enable-auth-passwd" + fi + + # Other optional features + use debug && myconf="${myconf} --enable-backtrace" + use maildir && myconf="${myconf} --enable-mbox-maildir" + use mbox || myconf="${myconf} --disable-mbox-bsd" + use offensive || myconf="${myconf} --disable-snide-comments" + use sha1 || myconf="${myconf} --disable-sha1-passwords" + use ssl && myconf="${myconf} --enable-tls" + use tcpd && myconf="${myconf} --enable-tcp-wrappers" + + econf ${myconf} + + # Causes crash with "stack smashing attack" on connect, because of bug in + # SSP (bug #115285) + filter-flags -fstack-protector +} + +src_install() { + default + dodir /etc/tpop3d + + if use pam ; then + dodir /etc/pam.d + dosym pop3 /etc/pam.d/tpop3d + fi + + newinitd "${FILESDIR}/${PN}-1.5.4.init" tpop3d +} + +pkg_postinst() { + elog "Read the tpop3d.conf manpage" + elog "Please create /etc/tpop3d/tpop3d.conf to fit your configuration" +} -- cgit v1.2.3