From 38b7258d086dd5e263c3bbe3880c8c956676bc71 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 26 Jan 2018 15:48:02 +0000 Subject: gentoo resync : 25.01.2018 --- net-mail/Manifest.gz | Bin 18255 -> 18266 bytes net-mail/cyrus-imapd/Manifest | 7 +- net-mail/cyrus-imapd/cyrus-imapd-2.5.11.ebuild | 178 ------------- net-mail/cyrus-imapd/cyrus-imapd-3.0.3-r1.ebuild | 216 --------------- net-mail/cyrus-imapd/cyrus-imapd-3.0.3.ebuild | 215 --------------- net-mail/cyrus-imapd/cyrus-imapd-3.0.5.ebuild | 221 ++++++++++++++++ net-mail/cyrus-imapd/files/cyrus.rc7 | 22 -- net-mail/dovecot/Manifest | 3 + net-mail/dovecot/dovecot-2.2.33.2-r1.ebuild | 291 +++++++++++++++++++++ net-mail/dovecot/dovecot-2.3.0-r2.ebuild | 286 ++++++++++++++++++++ .../files/dovecot-2.2.33.2-CVE-2017-15132.patch | 14 + net-mail/mailbase/Manifest | 4 +- net-mail/mailbase/mailbase-1.1.ebuild | 4 +- net-mail/mailbase/mailbase-1.ebuild | 4 +- net-mail/mailfront/Manifest | 4 - net-mail/mailfront/mailfront-0.88.ebuild | 69 ----- net-mail/mailfront/mailfront-1.12.ebuild | 63 ----- net-mail/mailshears/Manifest | 2 +- net-mail/mailshears/mailshears-0.0.3-r1.ebuild | 30 +++ net-mail/mailshears/mailshears-0.0.3.ebuild | 30 --- net-mail/queue-repair/Manifest | 3 +- net-mail/queue-repair/queue-repair-0.9.0-r1.ebuild | 4 +- net-mail/queue-repair/queue-repair-0.9.0.ebuild | 24 -- 23 files changed, 857 insertions(+), 837 deletions(-) delete mode 100644 net-mail/cyrus-imapd/cyrus-imapd-2.5.11.ebuild delete mode 100644 net-mail/cyrus-imapd/cyrus-imapd-3.0.3-r1.ebuild delete mode 100644 net-mail/cyrus-imapd/cyrus-imapd-3.0.3.ebuild create mode 100644 net-mail/cyrus-imapd/cyrus-imapd-3.0.5.ebuild delete mode 100644 net-mail/cyrus-imapd/files/cyrus.rc7 create mode 100644 net-mail/dovecot/dovecot-2.2.33.2-r1.ebuild create mode 100644 net-mail/dovecot/dovecot-2.3.0-r2.ebuild create mode 100644 net-mail/dovecot/files/dovecot-2.2.33.2-CVE-2017-15132.patch delete mode 100644 net-mail/mailfront/mailfront-0.88.ebuild delete mode 100644 net-mail/mailfront/mailfront-1.12.ebuild create mode 100644 net-mail/mailshears/mailshears-0.0.3-r1.ebuild delete mode 100644 net-mail/mailshears/mailshears-0.0.3.ebuild delete mode 100644 net-mail/queue-repair/queue-repair-0.9.0.ebuild (limited to 'net-mail') diff --git a/net-mail/Manifest.gz b/net-mail/Manifest.gz index dbf16743fc0c..dc9e4811406f 100644 Binary files a/net-mail/Manifest.gz and b/net-mail/Manifest.gz differ diff --git a/net-mail/cyrus-imapd/Manifest b/net-mail/cyrus-imapd/Manifest index f8fab73bb314..2af490ed7573 100644 --- a/net-mail/cyrus-imapd/Manifest +++ b/net-mail/cyrus-imapd/Manifest @@ -7,17 +7,14 @@ AUX cyrus.conf 1236 BLAKE2B 291a113314a0b89b200360473aed65d6542caeae02e251e2eb88 AUX cyrus.confd 164 BLAKE2B dde11def651971e4b8f52bf2aa1f32db8c7ab7697eecb66a73fbe6f30b0b7954d21e97c3afda7a61c1400079a91de7df24e0a7beb83d3501092f132ba62142cd SHA512 52fda6a61a3cd1a4fa7579ea0eb1c9cba857f59b8ca9145f8bb73731c2a7e7f798663ef38b8c646aca066b0f571928fd13b2463415f8afd142fa45626ad8db20 AUX cyrus.pam-include 109 BLAKE2B f241d45aead08952c5c7cbd6a8a25ca6926ec99703b0e879de2176b1d348efaab0b6547200f10e65a18f1926dcbabe74e5d7eaa9b9a7c7039a35421671b5ada0 SHA512 4c96d5b0a675ddb83f26200a8cbd18c7b663aec39eb78f8509751425fb062e39e6d13e4d06090c6765b32e1cce609db075d725a18cbd4638a7f8ce5c858c47a4 AUX cyrus.rc6 460 BLAKE2B ea05165af565d6362ec23b08c80b03573ba8ef6aa72a17631dc2f795cafa96a7f992c00115cf3c438e6ff61138f245adedb614195ae51faf01281475d994335d SHA512 926aa90c5285ed05bbc0cef5c4351acef26e70772bb7a0e490c05a9a4ce9e808e250e19bac1640a61852fa394e42368d33f88ea9b0b8d1751224daef04350920 -AUX cyrus.rc7 459 BLAKE2B ad164576c7bfb70b4086ac077e6bf0407888365e1c196d4f849097f8bd5a4fc60152006d764f6d535a5c4dc526cbe84553e6abbb767d431a0d50250aa63f03dd SHA512 acd561be944aa5ebfe4f89f19552b61416ee2355f37cf2c3d6e44294d7079e382a3e4ba2ce606842c283ce8c02cdc8c6dbbd4b08758d8e99f74fe8a258b89ca3 AUX cyrus.rc8 699 BLAKE2B b1a7cca8f7ee5a23870108550c990dad79c76a729c82efc77713939a537141df8b1ace2bfc6f3a384c28e155bece1bec480bbaf90fcd1899af854d441b518eee SHA512 9340877dd83cd4d5770c12a7f107ee697b42736a57cf304695f03f9f673c5c53b4477f20832ee4815515b2e33e8b33335b298cf5dd48015a6a581b8ab4f4f240 AUX imapd.conf 1471 BLAKE2B 5373950ac08b630a82fc00b5bf3fed9d400e092458310b64cb669e46470527b864dd5c960bae38f10fac10ca884291ee05203f4c380db57f750fb49217ca7a96 SHA512 dd19551b6e254c5e132f28748435ee61f2df86d6503643cd4946efcfba998d7bd487818ceaab1ca320289077eddd2531f6b05a493a5b5040ee5121165c3a712f DIST cyrus-imapd-2.5.10.tar.gz 3103914 BLAKE2B 588764d47b3d458633e0ced2619cc1cccdf26c18d54effd38d4f9f6df12ad98f554efa632af9c7e4b43d7899b04a14a8a71fc152ea360a38cdab6a50685ddf5e SHA512 78b85e37c63f1dbb60898da229f70f45810326a01244067d23b1317e2c2ae3326e48b6944787d59024e44c48c441ed2b848d6a83c451c192a3bb95c8f37880fa DIST cyrus-imapd-2.5.11.tar.gz 3109188 BLAKE2B 9382d8e4b9317f7fa12f63f7262eb0c6a1571d405665694f735fb72b6de76058ea586172f2001babe280170f122c887374b1378f51fe9c89a522aaeb74b885c9 SHA512 bbb0e11f31d91d85037306321165e3608f8d5e2699b971fc4fbdd1630ec0a1485c8f6f17900142dec584ab41b0ec0c65c11cfaf8c5bbf1054b194a8f5f361538 -DIST cyrus-imapd-3.0.3.tar.gz 10819454 BLAKE2B 5f86378e37c39c5f6fb6f6280d0b0a500e671cbe29968f1579c6be59e15335e1b36b0d119e03bc683ed17b594ddebc7d0cd5588f762062ee9a01f8633e7f12f7 SHA512 0b5c3167d80d91371e3f07e64b8bc8c085481946e6536dd407976f6f8ae66405fd1f6d2ff5ad51e5e0eb827a64d90d93daf72d5a1afa409782a287bec29665df DIST cyrus-imapd-3.0.4.tar.gz 10819487 BLAKE2B 209e379731c996ee083b0de61d6122b3756d1f6880071ebf015157057cf45845961d762ee762ae56213f72f15c01df29ab2d2661c4e352c6b4a680924d15d7b0 SHA512 9ceb7ac837c932c70fa0c1583bf8700b3ec27568d72538ae8d59f2f551e3007b3c2fc68fd29c009597c3949345dbe1bf2eb614bea038d70a5b49e5507df6b69a +DIST cyrus-imapd-3.0.5.tar.gz 10910080 BLAKE2B a7914ab189a290427ddc0d013c19ff0c36f3a6c4fc016f50013d0f6abb11ae2f7d067b71df99b7f00ba4e8a2170e0f068baa170458b0dc1e94d69d8e4b814873 SHA512 262806729d5ee5d753732603aa7af33c6f96bc5145b7a951b8668ffdee0dcd4a90bd287da0949e85c4596cccb471a688f7f8b6f3e39194e1cff311950d4d4410 EBUILD cyrus-imapd-2.5.10.ebuild 4676 BLAKE2B 4e3960ade8b08e85a9beec894dd11bd144b218ca665fb4ddd762db8e881dbaa8a1f814fdf8e811e7d54e5d4f6456d601898f2fd1b7065be6edfa6c38dd83b965 SHA512 80bd9c18c80d5408862f4ad20b4f0f82c21b3a11f5ef54e504cdea454e0a7fde5f0cd8ffbf455665b0a907eadc243c45d5ccae9a08dde5faca7ff2f9cddb1ceb EBUILD cyrus-imapd-2.5.11-r1.ebuild 4772 BLAKE2B 72c2a8d1927728dfb638eac22ed3ecff4651dcee12250e169683dc910c8132320ec23b09408eace65799be99629c529a37298f5cb51d91817fa7c44899d02fac SHA512 c14ac12b41bb9594b7686ff6f1fe44e9af160f8eed4cfa7e1c94d1c5098fb55ec160b7b6bfe30bfca494278d18bfd3c9c37a8ed3991e02889512d43f9dd4ceb1 -EBUILD cyrus-imapd-2.5.11.ebuild 4709 BLAKE2B b747381e94ddf12d2a9728a8587e90e1a95bcb6acc1c9a50c3c12dff9263556159626a83f753190978cb2b5d8178c317ced0cbb0b0d98cc9a9f54fc460faf3fe SHA512 a07326ba69a7f81d900838e4796f85c90c00aaf16385818b8d3f47f70e77ff9a2de135a76effda42db5656b96f70c3369632c1138cb5fd377a2b8507da6e9d71 -EBUILD cyrus-imapd-3.0.3-r1.ebuild 5754 BLAKE2B f0f0ce5188675cdcf38facdc6c12ddb92322087475fc035b9b3c5084a39de64b6a50bff295ba01eb504634a4d7bada65421fcd0d5a8854ad8c09acf83570b866 SHA512 d345ee957cbeca761b6bc6f60fa4c010e2887f73a08cec49c16fb7082450258d3d900856e6773ba9ffa7fdba5ddf061616adc626c61b44e6f98b1dea8c218a1b -EBUILD cyrus-imapd-3.0.3.ebuild 5702 BLAKE2B 49532668ab5fc591f0d35862afc61e73f9ab00faaef944595d64a82fcbe404a1e00cc166c592e13f902d6cb3bab86fedc651397b94f9625ff2642526187608eb SHA512 35aaa7a6d27ac8186fde64371b9866cd1683e923d31a04cf2a11207955e0b92a181fba5a2707ccf8e4dd3906a7041046c9254fd09b18e6f110a58416e98cdecb EBUILD cyrus-imapd-3.0.4.ebuild 5896 BLAKE2B 933086d8d6d45ec33a5a82a0a4a90b1c83848a9d59e39d2027da4ea52a28e9302040e39f61a28ef6112d012cd7bd4b9934506993cb2b8d6a1de75a15a59828d0 SHA512 e0ebe34958c93003798a045c64287dda83d97d1d829889f4601446567ac2f0334a03acd554f0cacdd86b90fbf167f13c020e5b3edbdf78f3d9f9a9d871ea140f +EBUILD cyrus-imapd-3.0.5.ebuild 5946 BLAKE2B 47bd3523d9a8f915df052c40cd9145bc60ee5acefa39bdb0921b983790d48c1692b365beded17e765f68dc04fc56b1a48597cfa95aa47cfee99b2a9925f042da SHA512 93e5f2d9c9410f157aabbe3abcd8e415628a412ea55a2f74493c03700e1d4180e108aaaee9a3d1a7020c81fd5cf0054f67d67a55d15976ff95f9469b73744f7a MISC metadata.xml 871 BLAKE2B 4fe48aebf6e59d75cf53cafc92d5bf4668c4a489dba3a43d6df6c4efaeb74590c49f083e03ee9d5eed32ee09b324d8116bcb0fc77576f8aa77a96c56a739dfae SHA512 25449c1218dfad7b692b37b799a659b6a10e0e31bb003fbed27b3b43ce3610f9ee5f17a995cf9244d5027ad84889a8e79a774f63101bb6ea35054ce9dbb1fe20 diff --git a/net-mail/cyrus-imapd/cyrus-imapd-2.5.11.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-2.5.11.ebuild deleted file mode 100644 index 5ed4f1309661..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-2.5.11.ebuild +++ /dev/null @@ -1,178 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools multilib pam ssl-cert user toolchain-funcs - -MY_P=${P/_/} - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://www.cyrusimap.org/" -SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz" - -LICENSE="BSD-with-attribution" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="afs berkdb clamav http kerberos mysql nntp pam perl postgres \ - replication +server sieve snmp sqlite ssl static-libs tcpd" - -# virtual/mysql-5.5 added for the --variable= option below -DEPEND="sys-libs/zlib - dev-libs/libpcre - >=dev-libs/cyrus-sasl-2.1.13 - dev-libs/jansson - afs? ( net-fs/openafs ) - berkdb? ( >=sys-libs/db-3.2:* ) - clamav? ( app-antivirus/clamav ) - http? ( dev-libs/libxml2 dev-libs/libical ) - kerberos? ( virtual/krb5 ) - mysql? ( >=virtual/mysql-5.5 ) - nntp? ( !net-nntp/leafnode ) - pam? ( - virtual/pam - >=net-mail/mailbase-1 - ) - perl? ( dev-lang/perl:= ) - postgres? ( dev-db/postgresql:* ) - snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) - sqlite? ( dev-db/sqlite:3 ) - ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) )" - -# all blockers really needed? -RDEPEND="${DEPEND} - !mail-mta/courier - !net-mail/bincimap - !net-mail/courier-imap - !net-mail/uw-imap - !net-mail/cyrus-imap-admin" - -REQUIRED_USE="afs? ( kerberos ) - http? ( sqlite )" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewuser cyrus -1 -1 /usr/cyrus mail -} - -src_prepare() { - eapply -p0 "${FILESDIR}/${PN}-db.patch" - # Fix master(8)->cyrusmaster(8) manpage. - for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do - sed -i -e 's:master\.8:cyrusmaster.8:g' \ - -e 's:master(8):cyrusmaster(8):g' \ - "${i}" || die "sed failed" || die "sed failed" - done - mv man/master.8 man/cyrusmaster.8 || die "mv failed" - sed -i -e "s:MASTER:CYRUSMASTER:g" \ - -e "s:Master:Cyrusmaster:g" \ - -e "s:master:cyrusmaster:g" \ - man/cyrusmaster.8 || die "sed failed" - - # lock.h to afs/lock.h - sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \ - ptclient/afskrb.c || die - - eapply_user - eautoreconf -} - -src_configure() { - local myconf - if use afs ; then - myconf+=" --with-afs-libdir=/usr/$(get_libdir)" - myconf+=" --with-afs-incdir=/usr/include/afs" - fi - econf \ - --enable-murder \ - --enable-netscapehack \ - --enable-idled \ - --enable-event-notification \ - --enable-autocreate \ - --enable-pcre \ - --with-service-path=/usr/$(get_libdir)/cyrus \ - --with-cyrus-user=cyrus \ - --with-cyrus-group=mail \ - --with-com_err=yes \ - --with-sasl \ - --without-krb \ - --without-krbdes \ - --with-zlib \ - $(use_enable afs) \ - $(use_enable afs krb5afspts) \ - $(use_with berkdb bdb) \ - $(use_with clamav) \ - $(use_enable nntp) \ - $(use_enable http) \ - $(use_enable replication) \ - $(use_enable kerberos gssapi) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_with perl) \ - $(use_with sqlite) \ - $(use_with ssl openssl) \ - $(use_enable server) \ - $(use_enable sieve) \ - $(use_with snmp) \ - $(use_enable static-libs static) \ - $(use_with tcpd libwrap) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" INSTALLDIRS=vendor install - - dodoc README* - dodoc -r doc - cp doc/cyrusv2.mc "${D}/usr/share/doc/${PF}/html" - cp -r contrib tools "${D}/usr/share/doc/${PF}" - rm -f doc/text/Makefile* - - insinto /etc - doins "${FILESDIR}/cyrus.conf" "${FILESDIR}/imapd.conf" - - # turn off sieve if not installed - if ! use sieve; then - sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die - fi - - newinitd "${FILESDIR}/cyrus.rc6" cyrus - newconfd "${FILESDIR}/cyrus.confd" cyrus - newpamd "${FILESDIR}/cyrus.pam-include" sieve - - for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do - keepdir "/var/${subdir}" - fowners cyrus:mail "/var/${subdir}" - fperms 0750 "/var/${subdir}" - done - for subdir in imap/{user,quota,sieve} spool/imap ; do - for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do - keepdir "/var/${subdir}/${i}" - fowners cyrus:mail "/var/${subdir}/${i}" - fperms 0750 "/var/${subdir}/${i}" - done - done -} - -pkg_preinst() { - if ! has_version ${CATEGORY}/${PN} ; then - elog "For correct logging add the following to /etc/syslog.conf:" - elog " local6.* /var/log/imapd.log" - elog " auth.debug /var/log/auth.log" - echo - - elog "You have to add user cyrus to the sasldb2. Do this with:" - elog " saslpasswd2 cyrus" - fi -} - -pkg_postinst() { - # do not install server.{key,pem) if they exist. - if use ssl ; then - if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then - install_cert /etc/ssl/cyrus/server - chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem} - fi - fi -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.0.3-r1.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.0.3-r1.ebuild deleted file mode 100644 index 6743077fa02e..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-3.0.3-r1.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools pam ssl-cert user - -MY_P=${P/_/} - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://www.cyrusimap.org/" -SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz" - -LICENSE="BSD-with-attribution" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="afs backup calalarm caps clamav http jmap kerberos ldap lmdb \ - mysql nntp pam perl postgres replication +server sieve snmp \ - sphinx sqlite ssl static-libs tcpd test xapian" - -# virtual/mysql-5.5 added for the --variable= option below -CDEPEND="sys-libs/zlib - dev-libs/libpcre - >=dev-libs/cyrus-sasl-2.1.13 - dev-libs/jansson - dev-libs/icu:= - afs? ( net-fs/openafs ) - caps? ( sys-libs/libcap ) - clamav? ( app-antivirus/clamav ) - http? ( dev-libs/libxml2 dev-libs/libical ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - lmdb? ( dev-db/lmdb ) - mysql? ( >=virtual/mysql-5.5 ) - nntp? ( !net-nntp/leafnode ) - pam? ( - virtual/pam - >=net-mail/mailbase-1 - ) - perl? ( dev-lang/perl:= ) - postgres? ( dev-db/postgresql:* ) - snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) - ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) - sqlite? ( dev-db/sqlite:3 ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) - xapian? ( >=dev-libs/xapian-1.4.0 )" - -DEPEND="${CDEPEND} - test? ( dev-util/cunit )" - -# all blockers really needed? -RDEPEND="${CDEPEND} - !mail-mta/courier - !net-mail/bincimap - !net-mail/courier-imap - !net-mail/uw-imap - !net-mail/cyrus-imap-admin" - -REQUIRED_USE="afs? ( kerberos ) - backup? ( sqlite ) - calalarm? ( http ) - http? ( sqlite ) - jmap? ( http xapian ) - sphinx? ( mysql )" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewuser cyrus -1 -1 /usr/cyrus mail -} - -src_prepare() { - # bug 604470 - eapply -p1 "${FILESDIR}/${PN}-sieve-libs-v4.patch" - eapply -p1 "${FILESDIR}/${PN}-libcap-libs.patch" - eapply -p1 "${FILESDIR}/${PN}-fix-tests.patch" - # Fix master(8)->cyrusmaster(8) manpage. - for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do - sed -i -e 's:master\.8:cyrusmaster.8:g' \ - -e 's:master(8):cyrusmaster(8):g' \ - "${i}" || die "sed failed" || die "sed failed" - done - mv man/master.8 man/cyrusmaster.8 || die "mv failed" - sed -i -e "s:MASTER:CYRUSMASTER:g" \ - -e "s:Master:Cyrusmaster:g" \ - -e "s:master:cyrusmaster:g" \ - man/cyrusmaster.8 || die "sed failed" - - # lock.h to afs/lock.h - sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \ - ptclient/afskrb.c || die - - eapply_user - eautoreconf -} - -src_configure() { - local myconf - if use afs ; then - myconf+=" --with-afs-libdir=/usr/$(get_libdir)" - myconf+=" --with-afs-incdir=/usr/include/afs" - fi - econf \ - --enable-unit-tests \ - --enable-murder \ - --enable-idled \ - --enable-event-notification \ - --enable-autocreate \ - --enable-pcre \ - --with-cyrus-user=cyrus \ - --with-cyrus-group=mail \ - --with-com_err=yes \ - --with-sasl \ - --without-krb \ - --without-krbdes \ - --enable-squat \ - --with-zlib \ - $(use_enable afs) \ - $(use_enable afs krb5afspts) \ - $(use_enable backup) \ - $(use_enable calalarm calalarmd) \ - $(use_with caps libcap) \ - $(use_with clamav) \ - $(use_enable jmap) \ - $(use_enable nntp) \ - $(use_enable http) \ - $(use_enable replication) \ - $(use_enable kerberos gssapi) \ - $(use_with ldap) \ - $(use_with lmdb) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_with perl) \ - $(use_with sqlite) \ - $(use_with ssl openssl) \ - $(use_enable server) \ - $(use_enable sieve) \ - $(use_with snmp) \ - $(use_enable sphinx) \ - $(use_enable static-libs static) \ - $(use_with tcpd libwrap) \ - $(use_enable xapian) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" INSTALLDIRS=vendor install - - dodoc README* - dodoc -r doc - cp -r contrib tools "${D}/usr/share/doc/${PF}" - rm -f doc/text/Makefile* - - mv "${D}"usr/libexec/{master,cyrusmaster} || die - - insinto /etc - newins "${D}usr/share/doc/${PF}/doc/examples/cyrus_conf/normal.conf" cyrus.conf - newins "${D}usr/share/doc/${PF}/doc/examples/imapd_conf/normal.conf" imapd.conf - - sed -i -e '/^configdirectory/s|/var/.*|/var/imap|' \ - -e '/^partition-default/s|/var/.*|/var/spool/imap|' \ - -e '/^sievedir/s|/var/.*|/var//imap/sieve|' \ - "${D}"etc/imapd.conf - - # turn off sieve if not installed - if ! use sieve; then - sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die - fi - # same thing for http(s) as well - if ! use http; then - sed -i -e "/http/s/^/#/" "${D}/etc/cyrus.conf" || die - fi - - newinitd "${FILESDIR}/cyrus.rc7" cyrus - newconfd "${FILESDIR}/cyrus.confd" cyrus - newpamd "${FILESDIR}/cyrus.pam-include" sieve - - for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do - keepdir "/var/${subdir}" - fowners cyrus:mail "/var/${subdir}" - fperms 0750 "/var/${subdir}" - done - for subdir in imap/{user,quota,sieve} spool/imap ; do - for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do - keepdir "/var/${subdir}/${i}" - fowners cyrus:mail "/var/${subdir}/${i}" - fperms 0750 "/var/${subdir}/${i}" - done - done -} - -pkg_preinst() { - if ! has_version ${CATEGORY}/${PN} ; then - elog "For correct logging add the following to /etc/syslog.conf:" - elog " local6.* /var/log/imapd.log" - elog " auth.debug /var/log/auth.log" - echo - - elog "You have to add user cyrus to the sasldb2. Do this with:" - elog " saslpasswd2 cyrus" - fi -} - -pkg_postinst() { - # do not install server.{key,pem) if they exist - if use ssl ; then - if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then - install_cert /etc/ssl/cyrus/server - chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem} - fi - fi - - echo - ewarn "Please see http://www.cyrusimap.org/imap/download/upgrade.html" - ewarn "for upgrade instructions." - echo -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.0.3.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.0.3.ebuild deleted file mode 100644 index f4638e0cc79e..000000000000 --- a/net-mail/cyrus-imapd/cyrus-imapd-3.0.3.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools pam ssl-cert user - -MY_P=${P/_/} - -DESCRIPTION="The Cyrus IMAP Server" -HOMEPAGE="http://www.cyrusimap.org/" -SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz" - -LICENSE="BSD-with-attribution" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="afs backup calalarm caps clamav http jmap kerberos ldap lmdb \ - mysql nntp pam perl postgres replication +server sieve snmp \ - sphinx sqlite ssl static-libs tcpd test xapian" - -# virtual/mysql-5.5 added for the --variable= option below -CDEPEND="sys-libs/zlib - dev-libs/libpcre - >=dev-libs/cyrus-sasl-2.1.13 - dev-libs/jansson - dev-libs/icu:= - afs? ( net-fs/openafs ) - caps? ( sys-libs/libcap ) - clamav? ( app-antivirus/clamav ) - http? ( dev-libs/libxml2 dev-libs/libical ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - lmdb? ( dev-db/lmdb ) - mysql? ( >=virtual/mysql-5.5 ) - nntp? ( !net-nntp/leafnode ) - pam? ( - virtual/pam - >=net-mail/mailbase-1 - ) - perl? ( dev-lang/perl:= ) - postgres? ( dev-db/postgresql:* ) - snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) - ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) - sqlite? ( dev-db/sqlite:3 ) - tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) - xapian? ( >=dev-libs/xapian-1.4.0 )" - -DEPEND="${CDEPEND} - test? ( dev-util/cunit )" - -# all blockers really needed? -RDEPEND="${CDEPEND} - !mail-mta/courier - !net-mail/bincimap - !net-mail/courier-imap - !net-mail/uw-imap - !net-mail/cyrus-imap-admin" - -REQUIRED_USE="afs? ( kerberos ) - backup? ( sqlite ) - calalarm? ( http ) - http? ( sqlite ) - jmap? ( http xapian ) - sphinx? ( mysql )" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - enewuser cyrus -1 -1 /usr/cyrus mail -} - -src_prepare() { - # bug 604470 - eapply -p1 "${FILESDIR}/${PN}-sieve-libs-v4.patch" - eapply -p1 "${FILESDIR}/${PN}-fix-tests.patch" - # Fix master(8)->cyrusmaster(8) manpage. - for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do - sed -i -e 's:master\.8:cyrusmaster.8:g' \ - -e 's:master(8):cyrusmaster(8):g' \ - "${i}" || die "sed failed" || die "sed failed" - done - mv man/master.8 man/cyrusmaster.8 || die "mv failed" - sed -i -e "s:MASTER:CYRUSMASTER:g" \ - -e "s:Master:Cyrusmaster:g" \ - -e "s:master:cyrusmaster:g" \ - man/cyrusmaster.8 || die "sed failed" - - # lock.h to afs/lock.h - sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \ - ptclient/afskrb.c || die - - eapply_user - eautoreconf -} - -src_configure() { - local myconf - if use afs ; then - myconf+=" --with-afs-libdir=/usr/$(get_libdir)" - myconf+=" --with-afs-incdir=/usr/include/afs" - fi - econf \ - --enable-unit-tests \ - --enable-murder \ - --enable-idled \ - --enable-event-notification \ - --enable-autocreate \ - --enable-pcre \ - --with-cyrus-user=cyrus \ - --with-cyrus-group=mail \ - --with-com_err=yes \ - --with-sasl \ - --without-krb \ - --without-krbdes \ - --enable-squat \ - --with-zlib \ - $(use_enable afs) \ - $(use_enable afs krb5afspts) \ - $(use_enable backup) \ - $(use_enable calalarm calalarmd) \ - $(use_with caps libcap) \ - $(use_with clamav) \ - $(use_enable jmap) \ - $(use_enable nntp) \ - $(use_enable http) \ - $(use_enable replication) \ - $(use_enable kerberos gssapi) \ - $(use_with ldap) \ - $(use_with lmdb) \ - $(use_with mysql) \ - $(use_with postgres pgsql) \ - $(use_with perl) \ - $(use_with sqlite) \ - $(use_with ssl openssl) \ - $(use_enable server) \ - $(use_enable sieve) \ - $(use_with snmp) \ - $(use_enable sphinx) \ - $(use_enable static-libs static) \ - $(use_with tcpd libwrap) \ - $(use_enable xapian) \ - ${myconf} -} - -src_install() { - emake DESTDIR="${D}" INSTALLDIRS=vendor install - - dodoc README* - dodoc -r doc - cp -r contrib tools "${D}/usr/share/doc/${PF}" - rm -f doc/text/Makefile* - - mv "${D}"usr/libexec/{master,cyrusmaster} || die - - insinto /etc - newins "${D}usr/share/doc/${P}/doc/examples/cyrus_conf/normal.conf" cyrus.conf - newins "${D}usr/share/doc/${P}/doc/examples/imapd_conf/normal.conf" imapd.conf - - sed -i -e '/^configdirectory/s|/var/.*|/var/imap|' \ - -e '/^partition-default/s|/var/.*|/var/spool/imap|' \ - -e '/^sievedir/s|/var/.*|/var//imap/sieve|' \ - "${D}"etc/imapd.conf - - # turn off sieve if not installed - if ! use sieve; then - sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die - fi - # same thing for http(s) as well - if ! use http; then - sed -i -e "/http/s/^/#/" "${D}/etc/cyrus.conf" || die - fi - - newinitd "${FILESDIR}/cyrus.rc7" cyrus - newconfd "${FILESDIR}/cyrus.confd" cyrus - newpamd "${FILESDIR}/cyrus.pam-include" sieve - - for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do - keepdir "/var/${subdir}" - fowners cyrus:mail "/var/${subdir}" - fperms 0750 "/var/${subdir}" - done - for subdir in imap/{user,quota,sieve} spool/imap ; do - for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do - keepdir "/var/${subdir}/${i}" - fowners cyrus:mail "/var/${subdir}/${i}" - fperms 0750 "/var/${subdir}/${i}" - done - done -} - -pkg_preinst() { - if ! has_version ${CATEGORY}/${PN} ; then - elog "For correct logging add the following to /etc/syslog.conf:" - elog " local6.* /var/log/imapd.log" - elog " auth.debug /var/log/auth.log" - echo - - elog "You have to add user cyrus to the sasldb2. Do this with:" - elog " saslpasswd2 cyrus" - fi -} - -pkg_postinst() { - # do not install server.{key,pem) if they exist - if use ssl ; then - if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then - install_cert /etc/ssl/cyrus/server - chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem} - fi - fi - - echo - ewarn "Please see http://www.cyrusimap.org/imap/download/upgrade.html" - ewarn "for upgrade instructions." - echo -} diff --git a/net-mail/cyrus-imapd/cyrus-imapd-3.0.5.ebuild b/net-mail/cyrus-imapd/cyrus-imapd-3.0.5.ebuild new file mode 100644 index 000000000000..13ed85c3a1d6 --- /dev/null +++ b/net-mail/cyrus-imapd/cyrus-imapd-3.0.5.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools flag-o-matic pam ssl-cert user + +MY_P=${P/_/} + +DESCRIPTION="The Cyrus IMAP Server" +HOMEPAGE="http://www.cyrusimap.org/" +SRC_URI="ftp://ftp.cyrusimap.org/cyrus-imapd/${MY_P}.tar.gz" + +LICENSE="BSD-with-attribution" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="afs backup calalarm caps clamav http jmap kerberos ldap lmdb \ + mysql nntp pam perl postgres replication +server sieve snmp \ + sphinx sqlite ssl static-libs tcpd test xapian" + +# virtual/mysql-5.5 added for the --variable= option below +CDEPEND="sys-libs/zlib + dev-libs/libpcre + >=dev-libs/cyrus-sasl-2.1.13 + dev-libs/jansson + dev-libs/icu:= + afs? ( net-fs/openafs ) + caps? ( sys-libs/libcap ) + clamav? ( app-antivirus/clamav ) + http? ( dev-libs/libxml2 dev-libs/libical ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + lmdb? ( dev-db/lmdb ) + mysql? ( >=virtual/mysql-5.5 ) + nntp? ( !net-nntp/leafnode ) + pam? ( + virtual/pam + >=net-mail/mailbase-1 + ) + perl? ( dev-lang/perl:= ) + postgres? ( dev-db/postgresql:* ) + snmp? ( >=net-analyzer/net-snmp-5.2.2-r1 ) + ssl? ( >=dev-libs/openssl-1.0.1e:0[-bindist] ) + sqlite? ( dev-db/sqlite:3 ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6 snmp? ( net-analyzer/net-snmp[tcpd=] ) ) + xapian? ( >=dev-libs/xapian-1.4.0 )" + +DEPEND="${CDEPEND} + test? ( dev-util/cunit )" + +# all blockers really needed? +RDEPEND="${CDEPEND} + !mail-mta/courier + !net-mail/bincimap + !net-mail/courier-imap + !net-mail/uw-imap + !net-mail/cyrus-imap-admin" + +REQUIRED_USE="afs? ( kerberos ) + backup? ( sqlite ) + calalarm? ( http ) + http? ( sqlite ) + jmap? ( http xapian ) + sphinx? ( mysql )" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + enewuser cyrus -1 -1 /usr/cyrus mail + append-ldflags $(no-as-needed) +} + +src_prepare() { + # bug 604470 + eapply -p1 "${FILESDIR}/${PN}-sieve-libs-v4.patch" + eapply -p1 "${FILESDIR}/${PN}-libcap-libs.patch" + eapply -p1 "${FILESDIR}/${PN}-fix-tests.patch" + # Fix master(8)->cyrusmaster(8) manpage. + for i in `grep -rl -e 'master\.8' -e 'master(8)' "${S}"` ; do + sed -i -e 's:master\.8:cyrusmaster.8:g' \ + -e 's:master(8):cyrusmaster(8):g' \ + "${i}" || die "sed failed" || die "sed failed" + done + mv man/master.8 man/cyrusmaster.8 || die "mv failed" + sed -i -e "s:MASTER:CYRUSMASTER:g" \ + -e "s:Master:Cyrusmaster:g" \ + -e "s:master:cyrusmaster:g" \ + man/cyrusmaster.8 || die "sed failed" + + # lock.h to afs/lock.h + sed -i -e '/lock.h/s:lock.h:afs/lock.h:' \ + ptclient/afskrb.c || die + + eapply_user + eautoreconf +} + +src_configure() { + local myconf + if use afs ; then + myconf+=" --with-afs-libdir=/usr/$(get_libdir)" + myconf+=" --with-afs-incdir=/usr/include/afs" + fi + econf \ + --enable-unit-tests \ + --enable-murder \ + --enable-idled \ + --enable-event-notification \ + --enable-autocreate \ + --enable-pcre \ + --with-cyrus-user=cyrus \ + --with-cyrus-group=mail \ + --with-com_err=yes \ + --with-sasl \ + --without-krb \ + --without-krbdes \ + --enable-squat \ + --with-zlib \ + $(use_enable afs) \ + $(use_enable afs krb5afspts) \ + $(use_enable backup) \ + $(use_enable calalarm calalarmd) \ + $(use_with caps libcap) \ + $(use_with clamav) \ + $(use_enable jmap) \ + $(use_enable nntp) \ + $(use_enable http) \ + $(use_enable replication) \ + $(use_enable kerberos gssapi) \ + $(use_with ldap) \ + $(use_with lmdb) \ + $(use_with mysql) \ + $(use_with postgres pgsql) \ + $(use_with perl) \ + $(use_with sqlite) \ + $(use_with ssl openssl) \ + $(use_enable server) \ + $(use_enable sieve) \ + $(use_with snmp) \ + $(use_enable sphinx) \ + $(use_enable static-libs static) \ + $(use_with tcpd libwrap) \ + $(use_enable xapian) \ + ${myconf} +} + +src_install() { + emake DESTDIR="${D}" INSTALLDIRS=vendor install + + dodoc README* + dodoc -r doc + cp -r contrib tools "${D}/usr/share/doc/${PF}" + rm -f doc/text/Makefile* + + mv "${D}"usr/libexec/{master,cyrusmaster} || die + + insinto /etc + newins "${D}usr/share/doc/${PF}/doc/examples/cyrus_conf/normal.conf" cyrus.conf + newins "${D}usr/share/doc/${PF}/doc/examples/imapd_conf/normal.conf" imapd.conf + + sed -i -e '/^configdirectory/s|/var/.*|/var/imap|' \ + -e '/^partition-default/s|/var/.*|/var/spool/imap|' \ + -e '/^sievedir/s|/var/.*|/var/imap/sieve|' \ + "${D}"etc/imapd.conf + + sed -i -e 's|/var/imap/socket/lmtp|/run/cyrus/socket/lmtp|' \ + -e 's|/var/imap/socket/notify|/run/cyrus/socket/notify|' \ + "${D}"etc/cyrus.conf + + # turn off sieve if not installed + if ! use sieve; then + sed -i -e "/sieve/s/^/#/" "${D}/etc/cyrus.conf" || die + fi + # same thing for http(s) as well + if ! use http; then + sed -i -e "/http/s/^/#/" "${D}/etc/cyrus.conf" || die + fi + + newinitd "${FILESDIR}/cyrus.rc8" cyrus + newconfd "${FILESDIR}/cyrus.confd" cyrus + newpamd "${FILESDIR}/cyrus.pam-include" sieve + + for subdir in imap/{,db,log,msg,proc,socket,sieve} spool/imap/{,stage.} ; do + keepdir "/var/${subdir}" + fowners cyrus:mail "/var/${subdir}" + fperms 0750 "/var/${subdir}" + done + for subdir in imap/{user,quota,sieve} spool/imap ; do + for i in a b c d e f g h i j k l m n o p q r s t v u w x y z ; do + keepdir "/var/${subdir}/${i}" + fowners cyrus:mail "/var/${subdir}/${i}" + fperms 0750 "/var/${subdir}/${i}" + done + done +} + +pkg_preinst() { + if ! has_version ${CATEGORY}/${PN} ; then + elog "For correct logging add the following to /etc/syslog.conf:" + elog " local6.* /var/log/imapd.log" + elog " auth.debug /var/log/auth.log" + echo + + elog "You have to add user cyrus to the sasldb2. Do this with:" + elog " saslpasswd2 cyrus" + fi +} + +pkg_postinst() { + # do not install server.{key,pem) if they exist + if use ssl ; then + if [ ! -f "${ROOT}"etc/ssl/cyrus/server.key ]; then + install_cert /etc/ssl/cyrus/server + chown cyrus:mail "${ROOT}"etc/ssl/cyrus/server.{key,pem} + fi + fi + + echo + ewarn "Please see http://www.cyrusimap.org/imap/download/upgrade.html" + ewarn "for upgrade instructions." + echo +} diff --git a/net-mail/cyrus-imapd/files/cyrus.rc7 b/net-mail/cyrus-imapd/files/cyrus.rc7 deleted file mode 100644 index 348b01c04921..000000000000 --- a/net-mail/cyrus-imapd/files/cyrus.rc7 +++ /dev/null @@ -1,22 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use net - use dns logger - after drac saslauthd -} - -start() { - ebegin "Starting cyrus imapd" - start-stop-daemon --start --quiet --background \ - --exec /usr/libexec/cyrusmaster -- ${CYRUS_OPTS} - eend $? -} - -stop() { - ebegin "Stopping cyrus imapd" - start-stop-daemon --stop --quiet --pidfile /run/cyrus-master.pid - eend $? -} diff --git a/net-mail/dovecot/Manifest b/net-mail/dovecot/Manifest index a042c90f112d..9b3ca7b1e8fa 100644 --- a/net-mail/dovecot/Manifest +++ b/net-mail/dovecot/Manifest @@ -1,4 +1,5 @@ AUX dovecot-10-ssl.patch 550 BLAKE2B 5317b802113e6dd711056684bb2de8167113c95ea28ea805fd3a1f688878505d02d85bd9ab69fc222cb2debdc1b5186f48f3c2cbea2f1df24714482939284f46 SHA512 7acc31dd4a3f51a9c13d590fd2803c2cb98c281e0595ca2a800539a143f89b95f923a3678beb0aa2b254a54385522329e0f3e1e8ba4c5852e7b51f8f111122a9 +AUX dovecot-2.2.33.2-CVE-2017-15132.patch 582 BLAKE2B fdc4cf138c3c943ed34b520a3935fc3d941063fdd64c4dd50a1d03f9374e79062a14b35b9894bd8744e640377c493fc0641c451a0da695a52f893386cbb3a443 SHA512 be433223e55859199c5dd651286a634fec03b7efcb0221297139154383dc71c30a75fa8484ae338babc8ec2f9a1a4cf0aeebc53cf1d7286272a663068537ccfd AUX dovecot.init-r4 1499 BLAKE2B 9c05fd7da0409b0944b0204bdcd683ab889190effc8cb7b072dcab140f52e2f39336a344deb74b63ef184152604412ca4c2b3d79c3d63341386e7952c54b0a26 SHA512 8fbc80bc0efa6b83685da19b6a5c2a2d2ca7e59be7f1f7352984fe30004175330e53f3db1c4c2471f1d7d5e088bef0b4dced97d29d32be8b50d000987b6eeb09 DIST dovecot-2.2-pigeonhole-0.4.18.tar.gz 1742357 BLAKE2B 8f9fc54e6effb233f7e8543a560b474dd4cd028d0a7bd1cc02e45c879bc2e7d636c2543e8aed3bd8e0b49b260703590be44fd1032ba3e1f4eb87a8e6f8ecf396 SHA512 6f49a6a6435b0e4dcbe29f852ce17c016df2f367f5460301a2a2c6bd5f5ba6260b23bfe1c5e78b91c6041554ee67d1ce14ad3adf219505f692c61681d9e70cc4 DIST dovecot-2.2-pigeonhole-0.4.20.tar.gz 1745121 BLAKE2B 4a320d7340f3a7fbb92f911c16abb49561692310c7c9224842065b9830f057e442e6ae27010232d615a06f6fdd889ef8619c555516e2d843802297644b935a27 SHA512 84a28842be206e05cb96c07cf1c1b62c9c378ba4c952caa47cf79a44b9428e076f4182eadd9c4fb8f45d3605b881f91e8e520c41705017ac4039240d4bcace39 @@ -14,7 +15,9 @@ DIST dovecot-2.3.0.tar.gz 6635541 BLAKE2B 3c76ccc0fac19511c9852aabd5d86c2fb81589 EBUILD dovecot-2.2.19.ebuild 9085 BLAKE2B 6f0bcda9ec145e8ad90e024fbe38f4036ca4ff632a7281bdaf1f292d148b63df587ea380a7df8bcf0bde2e5aa9e4ca6200f2159b61923fe93710f7c30dc230d3 SHA512 cb619f9f5588ab1be1b5de749663e4798044d695a359c96182037c8b3cdb94c8a7b41eac93054f2979b30d09405a3396e83d0d08cad3ad964654ae98f7632098 EBUILD dovecot-2.2.29.1.ebuild 9214 BLAKE2B 4107278bc4fe19d5ea04f1e7218ba4ce7f4fbcc7521d04d018433934b23f46480bb62a2c00f6ec324e8d32ca2fdc7064f19c927d4285460f8f357e28f5f4f307 SHA512 e278bb8f734cc648ae10b34615ef08b3bbd4e070dda898c85ec5b48dde22b6475b266470cbba41f82b33969ad2f55fc523d6a2df9a3f74dceaa14e015b8b5ccf EBUILD dovecot-2.2.32.ebuild 8654 BLAKE2B 46aa411f0cab5d3ef96127912d59e23d72a8b4149afed4f9e7fbbb39397f75ff1a4369d10e259287ff0c5bf6b8bbcfe8de19f4940645ba315ab2a0c9c692668e SHA512 570c9c5e20344a3c941e7b13a3dd1be6150967a108f15150d56dbcd6852e08a67a4b975259fabb8bdb9ecfd1a5dd3cbf94b19c13c5482cc39dc2fe23bfb77a80 +EBUILD dovecot-2.2.33.2-r1.ebuild 8717 BLAKE2B 293456634a74b240d0dd8e06f2929b53a101fd1d91ac1faff53b89449bdab7b5c3d3223a2761188123010738e8e7607f138a6db6f6f29a6139d5efcde682e93b SHA512 4dd6f96f611668fcac174ee055529fd910f42d79fedd3bce465a9ce354a650a4062b7fe202b1a2a3edd1fd1cc5fe74ef64ecce3e437a0d8671202a8e652126f6 EBUILD dovecot-2.2.33.2.ebuild 8659 BLAKE2B cbfd45f4ac3642de86f543fafb39e91c67ee27eec6d67f8e862670f8a125e7d4c9dab55771100db357dd8576c6fba1d6ae825c240f7cf803a95e141955a183ce SHA512 6c86a0ade4f80b658e162b7518f5bc543c2b51008ecc33894432a22b7de1b2b78a11fb38483630f1277bd89c60d6a119f5a4400d11d5d4f9c9505b2484d2ad47 EBUILD dovecot-2.3.0-r1.ebuild 8684 BLAKE2B c8f291c972ea59fe10c7cfe1dc4bbe49998aa9e1764c18ee95825a9dc91e05eec64e4e73956a61860989341b94a4c3688ff6ead414bd36bc63c7ae01ec7efe73 SHA512 ea6b08be76fb43c4a66355daf9ae1e73e51bf5f6b39d9638cfad112e434721a58fcea99936fff6a332c9a39518c797daa8e023bbdca96d1633a508460977ae4d +EBUILD dovecot-2.3.0-r2.ebuild 8747 BLAKE2B 2e89b81e959b7e7350a407f41a6a826d34b5b087c3d2f6e4b112248084cef9fef1337140b299ee42dfcac016e302b98dfefe733b27a54064252309ef9b05744f SHA512 76ce6c3d0cc7b22189d51c6f87a631f44381bdbc23c3dd29c9f94b40fcaf9e481b8e8a91d55816e9d1c6807a878f4362dc8fb3034c4d066ff0677cc265a95577 EBUILD dovecot-2.3.0.ebuild 8682 BLAKE2B 8e68158b78c35696390ceb4d9d235e2b42b3c021d42104edc02a1b0b7317194ba8ff378ad13e1dc2b440ca9bb7bba6cb77f7bc27e1468468a9ca5b733ef73be2 SHA512 c0623ef0de56297328fddb614364e2500bda86237997042b0e3f75692e994d23f743769333c050cc13b7d0cb71ba67cdbaf15df6be1aefd2cdcae1bd94467a4b MISC metadata.xml 1374 BLAKE2B 629969318c5bcbdf0521d2293c6ead5e735ba5a113db3166e4df82103a3a84cbc62f3a2843082c9d5bdb635f25353ac7d3a4fcdf80d45e07b11b98754e744506 SHA512 16bdf15120dd8c957cd6e4957910acf21440dd0b8774cac9d9c5a48635cd46c7093850974b592ebbcd49085607fff2051691a42112f4ab9df44c51b9fea6d180 diff --git a/net-mail/dovecot/dovecot-2.2.33.2-r1.ebuild b/net-mail/dovecot/dovecot-2.2.33.2-r1.ebuild new file mode 100644 index 000000000000..c45f29c7a8b2 --- /dev/null +++ b/net-mail/dovecot/dovecot-2.2.33.2-r1.ebuild @@ -0,0 +1,291 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit ssl-cert systemd user versionator + +MY_P="${P/_/.}" +major_minor="$(get_version_component_range 1-2)" +sieve_version="0.4.21" +if [[ ${PV} == *_rc* ]] ; then + rc_dir="rc/" +else + rc_dir="" +fi +SRC_URI="https://dovecot.org/releases/${major_minor}/${rc_dir}${MY_P}.tar.gz + sieve? ( + https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz + ) + managesieve? ( + https://pigeonhole.dovecot.org/releases/${major_minor}/${PN}-${major_minor}-pigeonhole-${sieve_version}.tar.gz + ) " +DESCRIPTION="An IMAP and POP3 server written with security primarily in mind" +HOMEPAGE="http://www.dovecot.org/" + +SLOT="0" +LICENSE="LGPL-2.1 MIT" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +IUSE_DOVECOT_AUTH="kerberos ldap mysql pam postgres sqlite vpopmail" +IUSE_DOVECOT_COMPRESS="bzip2 lzma lz4 zlib" +IUSE_DOVECOT_OTHER="caps doc ipv6 libressl lucene managesieve selinux sieve solr +ssl static-libs suid tcpd textcat" + +IUSE="${IUSE_DOVECOT_AUTH} ${IUSE_DOVECOT_STORAGE} ${IUSE_DOVECOT_COMPRESS} ${IUSE_DOVECOT_OTHER}" + +DEPEND="bzip2? ( app-arch/bzip2 ) + caps? ( sys-libs/libcap ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + lucene? ( >=dev-cpp/clucene-2.3 ) + lzma? ( app-arch/xz-utils ) + lz4? ( app-arch/lz4 ) + mysql? ( virtual/mysql ) + pam? ( virtual/pam ) + postgres? ( dev-db/postgresql:* !dev-db/postgresql[ldap,threads] ) + selinux? ( sec-policy/selinux-dovecot ) + solr? ( net-misc/curl dev-libs/expat ) + sqlite? ( dev-db/sqlite:* ) + ssl? ( + !libressl? ( dev-libs/openssl:0 ) + libressl? ( dev-libs/libressl ) + ) + tcpd? ( sys-apps/tcp-wrappers ) + textcat? ( app-text/libexttextcat ) + vpopmail? ( net-mail/vpopmail ) + zlib? ( sys-libs/zlib ) + virtual/libiconv + dev-libs/icu:=" + +RDEPEND="${DEPEND} + net-mail/mailbase" + +# Dovecot does not support building without ssl. Force it for now +REQUIRED_USE="ssl" + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + if use managesieve && ! use sieve; then + ewarn "managesieve USE flag selected but sieve USE flag unselected" + ewarn "sieve USE flag will be turned on" + fi + # default internal user + enewgroup dovecot 97 + enewuser dovecot 97 -1 /dev/null dovecot + # default login user + enewuser dovenull -1 -1 /dev/null + # add "mail" group for suid'ing. Better security isolation. + if use suid; then + enewgroup mail + fi +} + +src_prepare() { + eapply -p0 "${FILESDIR}/${PN}-10-ssl.patch" + eapply "${FILESDIR}/${PN}-2.2.33.2-CVE-2017-15132.patch" + eapply_user +} + +src_configure() { + local conf="" + + if use postgres || use mysql || use sqlite; then + conf="${conf} --with-sql" + fi + + # turn valgrind tests off. Bug #340791 + VALGRIND=no econf \ + --localstatedir="${EPREFIX}/var" \ + --runstatedir="${EPREFIX}/run" \ + --with-moduledir="${EPREFIX}/usr/$(get_libdir)/dovecot" \ + --without-stemmer \ + --disable-rpath \ + --with-icu \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ + $( use_with bzip2 bzlib ) \ + $( use_with caps libcap ) \ + $( use_with kerberos gssapi ) \ + $( use_with ldap ) \ + $( use_with lucene ) \ + $( use_with lz4 ) \ + $( use_with lzma ) \ + $( use_with mysql ) \ + $( use_with pam ) \ + $( use_with postgres pgsql ) \ + $( use_with sqlite ) \ + $( use_with solr ) \ + $( use_with ssl ) \ + $( use_with tcpd libwrap ) \ + $( use_with textcat ) \ + $( use_with vpopmail ) \ + $( use_with zlib ) \ + $( use_enable static-libs static ) \ + ${conf} + + if use sieve || use managesieve ; then + # The sieve plugin needs this file to be build to determine the plugin + # directory and the list of libraries to link to. + emake dovecot-config + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + econf \ + $( use_enable static-libs static ) \ + --localstatedir="${EPREFIX}/var" \ + --enable-shared \ + --with-dovecot="../${MY_P}" \ + $( use_with managesieve ) + fi +} + +src_compile() { + default + if use sieve || use managesieve ; then + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" + fi +} + +src_test() { + default + if use sieve || use managesieve ; then + cd "../dovecot-${major_minor}-pigeonhole-${sieve_version}" || die "cd failed" + default + fi +} + +src_install () { + default + + # insecure: + # use suid && fperms u+s /usr/libexec/dovecot/deliver + # better: + if use suid;then + einfo "Changing perms to allow deliver to be suided" + fowners root:mail "${EPREFIX}/usr/libexec/dovecot/dovecot-lda" + fperms 4750 "${EPREFIX}/usr/libexec/dovecot/dovecot-lda" + fi + + newinitd "${FILESDIR}"/dovecot.init-r4 dovecot + + rm -rf "${ED}"/usr/share/doc/dovecot + + dodoc AUTHORS NEWS README TODO + dodoc doc/*.{txt,cnf,xml,sh} + docinto example-config + dodoc doc/example-config/*.{conf,ext} + docinto example-config/conf.d + dodoc doc/example-config/conf.d/*.{conf,ext} + docinto wiki + dodoc doc/wiki/* + doman doc/man/*.{1,7} + + # Create the dovecot.conf file from the dovecot-example.conf file that + # the dovecot folks nicely left for us.... + local conf="${ED}/etc/dovecot/dovecot.conf" + local confd="${ED}/etc/dovecot/conf.d" + + insinto /etc/dovecot + doins doc/example-config/*.{conf,ext} + insinto /etc/dovecot/conf.d + doins doc/example-config/conf.d/*.{conf,ext} + fperms 0600 "${EPREFIX}"/etc/dovecot/dovecot-{ldap,sql}.conf.ext + rm -f "${confd}/../README" + + # .maildir is the Gentoo default + local mail_location="maildir:~/.maildir" + sed -i -e \ + "s|#mail_location =|mail_location = ${mail_location}|" \ + "${confd}/10-mail.conf" \ + || die "failed to update mail location settings in 10-mail.conf" + + # We're using pam files (imap and pop3) provided by mailbase + if use pam; then + sed -i -e '/driver = pam/,/^[ \t]*}/ s|#args = dovecot|args = "\*"|' \ + "${confd}/auth-system.conf.ext" \ + || die "failed to update PAM settings in auth-system.conf.ext" + # mailbase does not provide a sieve pam file + use managesieve && dosym imap /etc/pam.d/sieve + sed -i -e \ + 's/#!include auth-system.conf.ext/!include auth-system.conf.ext/' \ + "${confd}/10-auth.conf" \ + || die "failed to update PAM settings in 10-auth.conf" + fi + + # Disable ipv6 if necessary + if ! use ipv6; then + sed -i -e 's/^#listen = \*, ::/listen = \*/g' "${conf}" \ + || die "failed to update listen settings in dovecot.conf" + fi + + # Update ssl cert locations + if use ssl; then + sed -i -e 's:^#ssl = yes:ssl = yes:' "${confd}/10-ssl.conf" \ + || die "ssl conf failed" + sed -i -e 's:^ssl_cert =.*:ssl_cert = conn->client, request->id); + call_callback(request, AUTH_REQUEST_STATUS_ABORT, NULL, NULL); ++ pool_unref(&request->pool); + } + + unsigned int auth_client_request_get_id(struct auth_client_request *request) diff --git a/net-mail/mailbase/Manifest b/net-mail/mailbase/Manifest index b1cb2faec9da..e833b563a8c3 100644 --- a/net-mail/mailbase/Manifest +++ b/net-mail/mailbase/Manifest @@ -2,6 +2,6 @@ AUX aliases 809 BLAKE2B bc6295e7cddae8ee29450f4054992b6fe47f301303be7ea284d42f9e AUX common-pamd 308 BLAKE2B 95a2b44b1bd2112da1160cf5c3f993debb85692111e046a79c14f89a83cd82eebc5580ea0375f6548d373a04ac17f214a0135047d99f7ed3cf62f5500953bf6a SHA512 5b7d878969e644aac8aa9355e1a8ff9e2a9c1b07edb5a62c694bd7a4f87961242db7c85b1030540c9ad733a4d3d4c5367a047a188b21517d1d077bec6e620ec7 AUX common-pamd-include 245 BLAKE2B 3c2a5133b232869a5749df49a7e1f94a51f68d3bd37037d3ea10bfab18fb48fae565304bd2eba6fc686da3f3bf71249975e8f8bc9deada66eb3665d20929020d SHA512 3516815034b419bf4fd57a43536e7a25b820013d5339cb818bbbee3f0e8e26651f6b4aefae0177240219e05010ba8a2aaf6d0337220cf176801992204c3216f0 AUX mailcap 2235 BLAKE2B 3cf2cba9c1f67feab3b63246f21f8aa78b808a42b2368add9f77c36cca8d92c13122f53663ac3fe4d8b0968a66a35803d98cce6197110f1efe08562e9f837e74 SHA512 1461deb4f065c0d1778acbbcb1e08db821740de0363d3905a569d45d459a76d8813ef1c2c052d6e84b4b9b5576c89e524ecf44a9fffd8e05e91f85eb917557b0 -EBUILD mailbase-1.1.ebuild 1661 BLAKE2B 8ad4b2aad1f2f6832c4001f882222bfc8dfd4951d4ad03bd69043d7ea9a5d6bd1aaca919b349ebd5833c28fbec147ab4c6c9518e8321dfdcf3bf4c726b5b3d49 SHA512 85c9fbb1cf3ee6fb0725d810bb81eb5304e63b38dd5c9ec80006c26610ba02d632cc365d8ec04771c641642a26c58744f009a8ee3f5313fa92814901a5b25047 -EBUILD mailbase-1.ebuild 1612 BLAKE2B 9ea211a170b8fa75fe5d6017dd28acdb464923e3240961a900a32d997dc38cbde7dd6bfc41b28c1ea91b2b14c272348ace87f830889214b051036e4f5d4887f5 SHA512 ecc5194b4e35b628e9527883795f34c458550b4400ce97d37524bb0b92487f7607dd08c011f042fbfcece3cbe03d57f2476140b2436414c759e016bf096c2f4e +EBUILD mailbase-1.1.ebuild 1649 BLAKE2B ff86ef5635b5949e5206a1440f83a88470e196e582f24c3edf42df8785945478ebeb86a3a100b7bc21c67cb4b7192c4ab229c697e9b96435c4c1db23f216641a SHA512 aeb1691751341563425227aa59bb9a37d3757cd49d46b0acc6226ef5da6c10748724f30f53c27894e2f3d3e25ddaeb9dc80ad51e1e09fe954a5750b60244107f +EBUILD mailbase-1.ebuild 1600 BLAKE2B 7e88dbe5a9ba19db0d7d20c74d4c65aeba7eea4649e7305217c37173c8a8b7d8f8e9fe6f64c9ba6846fcd20118b3f6e7af96bb190523598c7acf634b3e678c05 SHA512 2e7f91fefd121b0bc11ca452b58dfca0775ced5052ddebabdfc4faec8e37ed7e65046f0c22180a2dc18acc64299f1859e6a67b9e7a67456052e96e08c3ae29fd MISC metadata.xml 240 BLAKE2B eeb6099e7ebc29b81588528b970830d2461fa16783bda673672d405615e46d240dcd806b3d18b6207ef8e5365f8860aa20c304394c3f5b267c5ea4dc739cb94b SHA512 97824dbce22630efb21e647b55212b7a8a19d8e38b5bf05cb0b8078530bbbaaf4dc91284e2a11beab7dfcfb779df82b87b49d11a746c7a4f6dc71f2fda8942db diff --git a/net-mail/mailbase/mailbase-1.1.ebuild b/net-mail/mailbase/mailbase-1.1.ebuild index 27f616b73131..b52feae98d2a 100644 --- a/net-mail/mailbase/mailbase-1.1.ebuild +++ b/net-mail/mailbase/mailbase-1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit pam eutils user @@ -9,7 +9,7 @@ HOMEPAGE="https://www.gentoo.org/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="pam" RDEPEND="pam? ( virtual/pam )" diff --git a/net-mail/mailbase/mailbase-1.ebuild b/net-mail/mailbase/mailbase-1.ebuild index b7b4232af149..ac83f04559d2 100644 --- a/net-mail/mailbase/mailbase-1.ebuild +++ b/net-mail/mailbase/mailbase-1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit pam eutils user @@ -9,7 +9,7 @@ HOMEPAGE="https://www.gentoo.org/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" IUSE="pam" RDEPEND="pam? ( virtual/pam )" diff --git a/net-mail/mailfront/Manifest b/net-mail/mailfront/Manifest index a74042d67848..282bae023275 100644 --- a/net-mail/mailfront/Manifest +++ b/net-mail/mailfront/Manifest @@ -1,11 +1,7 @@ AUX run-pop3front 269 BLAKE2B 6b5489f24331cc059359c07919efad67759854508e8f544ad50bb567940a7fd62730b61f92652e7e91af147c6911058ec91c16960e2d3b68cf25b0f043fbc292 SHA512 87515965e39f8436965704054cdb35a1665ea21080b01a27a4442af7c939307e093ddc85edeae2398b29b21bd867f9ef557c9abccc6b4318304f620ed13e3a11 AUX run-smtpfront 461 BLAKE2B 6b247811ecb101995a3ba6e7b7a15174020a8a16296e7d5ff93f3e7bb6f4d18998b79ed4aca4135ed3f4dea71dcc681d23e30bb35f493735f47da91e666633b3 SHA512 c8c1301d1972d4a415e549f0b9702e3670b44d258ceca606e868592d36f9cdc15ed587c25d24f17577a4d2934d59a3639a6ec66e11f9f00ed54716bdbd6dc4da -DIST mailfront-0.88.tar.gz 61406 BLAKE2B efe303944da6d80e020ef307189bdf4c4e4b34b0abcc659896c307443c058a802d6cad0a00ef655d54b740eee2bfa4b83162689f084fd9336c3c33f91b446234 SHA512 551b9f515f3a06dd203ed353cc2623a9b1612834b1e6126a075ae2e5a1f6e1f4b2742e7458e26df6d09cf72d1fc512b585bafe03b7f93e069fe33af738b21d0e DIST mailfront-0.98.tar.gz 77981 BLAKE2B 1729dc60954fa3337bd7be841050886d091fce4a685e928e61c71e70ff30c473f1dfa7e8d59298ef5790cfe165e91c6827c885c423a74cd9cbe5b0bf4dead233 SHA512 ea0e4352219cedad650787dc38ff11d76484cdaef0a4fbd3e51e68f0c0a7676cd591608658ee4f342dfa7e801c67c8a9bd862243fc9b1e776c8b2fe863faf178 -DIST mailfront-1.12.tar.gz 104598 BLAKE2B 1499d3c79641f54a06b101e4d50fc5e3cece0694d0b6f566e75f4f09d84a035e90758eae57532f301c9bd938a1fb0fc7e750abfe3da3d87cc5fe983ab84c8661 SHA512 26a5dc791b810ecb9fa262d7263499774201d1a2aeaad997e959daa2cb9ed35b49a12800df29ea17136e32877a4b81bd93998da3748f7e25403f35507a9ca898 DIST mailfront-1.16.tar.gz 108212 BLAKE2B 3b3bd3481b572eb48701a2df71a455838430f615332d7de2d4b3c6beea2a0d3b677cf6907bf975c31e7b2fb6cd60aab5ca45a566c515d2b645553a90391d773a SHA512 7f718e9c3b0f0cb4c5fcae967858f2d3597081c9e8e11c5c5e86f147c3e49e338d20acecccfb83d2db4b7e7a5b33f4cc21b0a0c2f71bb6ab8c71c76189281b2b -EBUILD mailfront-0.88.ebuild 1850 BLAKE2B ecc69cd457c02a72dbaddd0ad20d3dd8326ee3f332800cb0ea97d067d67733640ddb2c984397c3f3ee43a761892482b0dd3099406fb5e6fce8f2a8cadd079b64 SHA512 bf0d2bbee2bb92b71f15579cc2e4d47da0ceebebf6dfeb25c3e08b1686781dd903054885d3a49f209072c666514797d5af6cede49ef695ec3752033a15f30686 EBUILD mailfront-0.98.ebuild 1552 BLAKE2B 8a49a3ccd3cf0ec4cdebd01335deb0b6a64618d67278895b427e8dd06dc9ba166c19e08b4036cbceb80b153b796217beba80fb504a20d952b77c01f95f5f5b66 SHA512 cef2578f463f5828e65726a3c5aa3a3363f410f9cfc15493f4e4bcc6267e68bb03a280708992e4d9f504eac95b75ed107792c3a96d7e5bfc43851f16c473a8eb -EBUILD mailfront-1.12.ebuild 1731 BLAKE2B 26b82aed89530b8c7678bd1062933c9c097d12f02f0e27f967139f106f7b8fa9e0bfc7539a4eac19e8aa8b8c565f0a8095f5b5fbf71706b8258bf6fbab97ce7e SHA512 7bba4392e6f535fd71ef00c2fa1a6e4852c6a5285f0c4002a15cec032a85da301045e986e07ed75f117c2785d0710943b325c5d289a710ee22c18ecd9e16ea93 EBUILD mailfront-1.16.ebuild 1721 BLAKE2B 748ed1ea88a1db8ac72945f88b3bcbfafbdcb7d723495453bddd60f335679df4dd8aaa4f87b15b07ca93f79900cb87c49bd96faf19bce3885c7ca1d8471ac5b9 SHA512 a2b45ef2e4bdbd042af29745c0f8aa44d18d968e023678a8f31afb8bf96f3352c341370be474e6b1bb565374b578e2b82a187d30724d30980f2c4de985fa6cfb MISC metadata.xml 564 BLAKE2B c0b74f117dcbd1697fc64d36b6d9df70a01fa755f710b44eddcd9c4b8db7d0ddb6a3f5e727db81f09d41cb59fa2fac5aa17b7cc54af76c65df1383b20c14a185 SHA512 5815bd67c538d4105eb0c38089caabc01ed5b02f79f9382253b92a0720c6ff5aeae8dac311db316c91c8558b14b0febb14c8fa4b97347f1e235d987acf2e862c diff --git a/net-mail/mailfront/mailfront-0.88.ebuild b/net-mail/mailfront/mailfront-0.88.ebuild deleted file mode 100644 index f95422c8171b..000000000000 --- a/net-mail/mailfront/mailfront-0.88.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit fixheadtails toolchain-funcs - -DESCRIPTION="Mail server network protocol front-ends" -HOMEPAGE="http://untroubled.org/mailfront/" -SRC_URI="http://untroubled.org/mailfront/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~sparc ~ppc" -IUSE="" - -DEPEND=">=dev-libs/bglibs-1.006" -RDEPEND=" - ${DEPEND} - net-libs/cvm - virtual/qmail -" - -src_unpack() { - unpack ${A} - ht_fix_file "${S}"/Makefile -} - -src_compile() { - echo "/usr/lib/bglibs/include" > conf-bgincs - echo "/usr/lib/bglibs/lib" > conf-bglibs - echo "/var/qmail/bin" > conf-bin - echo "$(tc-getCC) ${CFLAGS}" > conf-cc - echo "$(tc-getCC) " > conf-ld - emake || die -} - -src_install() { - exeinto /var/qmail/bin - doexe pop3front-auth pop3front-maildir smtpfront-echo \ - smtpfront-qmail smtpfront-reject imapfront-auth \ - qmqpfront-qmail qmtpfront-qmail || die - - #install new run files for qmail-smtpd and qmail-pop3 - exeinto /var/qmail/supervise/qmail-smtpd - newexe "${FILESDIR}"/run-smtpfront run.mailfront - exeinto /var/qmail/supervise/qmail-pop3d - newexe "${FILESDIR}"/run-pop3front run.mailfront - - dodoc ANNOUNCEMENT FILES NEWS README TARGETS TODO VERSION - - dohtml cvm-sasl.html imapfront.html mailfront.html mailrules.html \ - mailrules2.html pop3front.html qmail-backend.html \ - qmail-validate.html smtpfront.html -} - -pkg_config() { - cd /var/qmail/supervise/qmail-smtpd/ - cp run run.qmail-smtpd.`date +%Y%m%d%H%M%S` && cp run.mailfront run - cd /var/qmail/supervise/qmail-pop3d/ - cp run run.qmail-pop3d.`date +%Y%m%d%H%M%S` && cp run.mailfront run -} - -pkg_postinst() { - echo - elog "Run emerge --config =${CATEGORY}/${PF}" - elog "to update you run files (backup are created) in" - elog " /var/qmail/supervise/qmail-pop3d and" - elog " /var/qmail/supervise/qmail-smtpd" - echo -} diff --git a/net-mail/mailfront/mailfront-1.12.ebuild b/net-mail/mailfront/mailfront-1.12.ebuild deleted file mode 100644 index 3ff971dea19a..000000000000 --- a/net-mail/mailfront/mailfront-1.12.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="2" - -inherit toolchain-funcs multilib - -DESCRIPTION="Mail server network protocol front-ends" -HOMEPAGE="http://untroubled.org/mailfront/" -SRC_URI="http://untroubled.org/mailfront/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~sparc ~x86" -IUSE="" - -DEPEND=">=dev-libs/bglibs-1.106 - >=net-libs/cvm-0.81" - -RDEPEND="${DEPEND} - virtual/qmail - net-libs/cvm" - -src_configure() { - echo "/usr/include/bglibs/" > conf-bgincs - echo "/usr/$(get_libdir)/bglibs/" > conf-bglibs - echo "/var/qmail" > conf-qmail - echo "/var/qmail/bin" > conf-bin - echo "/usr/$(get_libdir)/mailfront" > conf-modules - echo "/usr/include/mailfront" > conf-include - echo "$(tc-getCC) ${CFLAGS}" > conf-cc - echo "$(tc-getCC) ${CFLAGS} -fPIC -shared" > conf-ccso - echo "$(tc-getCC) ${LDFLAGS}" > conf-ld -} - -src_install() { - #dodir /var/qmail/bin - emake install install_prefix="${D}" || die "install failed" - exeinto /var/qmail/supervise/qmail-smtpd - newexe "${FILESDIR}"/run-smtpfront run.mailfront - exeinto /var/qmail/supervise/qmail-pop3d - newexe "${FILESDIR}"/run-pop3front run.mailfront - - dodoc ANNOUNCEMENT ChangeLog NEWS README VERSION - dohtml *.html -} - -pkg_config() { - cd "${ROOT}"/var/qmail/supervise/qmail-smtpd/ - cp run run.qmail-smtpd.`date +%Y%m%d%H%M%S` && cp run.mailfront run - cd "${ROOT}"/var/qmail/supervise/qmail-pop3d/ - cp run run.qmail-pop3d.`date +%Y%m%d%H%M%S` && cp run.mailfront run -} - -pkg_postinst() { - echo - elog "Run" - elog "emerge --config =${CATEGORY}/${PF}" - elog "to update your run files (backups are created) in" - elog " /var/qmail/supervise/qmail-pop3d and" - elog " /var/qmail/supervise/qmail-smtpd" - echo -} diff --git a/net-mail/mailshears/Manifest b/net-mail/mailshears/Manifest index da5dc2d72d6d..5efe0e03876e 100644 --- a/net-mail/mailshears/Manifest +++ b/net-mail/mailshears/Manifest @@ -1,3 +1,3 @@ DIST mailshears-0.0.3.gem 68608 BLAKE2B 9130661793dff215bf2e4d98574a5a001f48a60dd2fc66475edaf1e381eda4cbcac7687158b2103958bce4954ebe23b8a1398029be779f7c716e33ca95c500b5 SHA512 4adeaf78c610111e6b32f5d5fd090476cec228a89462d6f70f0360d4492e08c49f672051b2520a98b07958b865b28593c31f595e4283c334eb97eab1d7c3e5aa -EBUILD mailshears-0.0.3.ebuild 662 BLAKE2B 8dffefd5f4c13c035789e5e5760baa65dfbae6f382ec8c70ba12b7d70952cf82bc7927e3d66ddf14d08417eaaf7fb175ccef3fd809aba18ec958a2f55be3ab61 SHA512 c80ce1cd34adf73151d69ac2ab5491b8112e496ad6ff8907c009b7c408b26b8fa5b0e8cf73096aed426c92dba40fb5f279fa92dd96c641abad37f9c3edc7d191 +EBUILD mailshears-0.0.3-r1.ebuild 664 BLAKE2B 9bfe2663b753bcfa6d47b940d0dce192f686cb37dd71c11c891053435423dd9a526738d767db52490b0adfdae5007677cce5b78335665dfef8df27f0ea2f7ab5 SHA512 da8f81879a0acc81b702a0a6f9f2234340984c827cb756fa6eaa954103883eaddabc393672f12dfd97ff276b1bab13d8291bec807252561da6673debcb58f5ca MISC metadata.xml 252 BLAKE2B fa9e1dbdc0de3313b50ecd9de7ac59006074b8b75ecb97a8fc4de5fb14609cb00dc1b24ba95a2e7fb11cbc6f8c8f0c068bd0311713cc2aa7e6016992dbd6e8bd SHA512 92f660063c96ac5b3e24e58733006d4a72a7e2f41605988efb575546a2539a92b1ceb3a37e018fcb5c08264a42af26950d6520ea80ba60130ad25ce6092ce742 diff --git a/net-mail/mailshears/mailshears-0.0.3-r1.ebuild b/net-mail/mailshears/mailshears-0.0.3-r1.ebuild new file mode 100644 index 000000000000..bd4f4aeb5b6e --- /dev/null +++ b/net-mail/mailshears/mailshears-0.0.3-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24" + +# The tests are dangerous and shouldn't be run by anyone! +# They mess with your local postgres databases. +RUBY_FAKEGEM_RECIPE_TEST=none +RUBY_FAKEGEM_RECIPE_DOC=yard +RUBY_FAKEGEM_EXTRADOC="doc/${PN}.example.conf.yml" + +inherit ruby-fakegem + +DESCRIPTION="Mangle your mail garden" +HOMEPAGE="http://michael.orlitzky.com/code/mailshears.xhtml" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +ruby_add_rdepend ">=dev-ruby/pg-0.17 =dev-ruby/pg-0.17