diff options
Diffstat (limited to 'mail-filter/amavisd-milter')
-rw-r--r-- | mail-filter/amavisd-milter/Manifest | 5 | ||||
-rw-r--r-- | mail-filter/amavisd-milter/amavisd-milter-1.7.0-r1.ebuild | 27 | ||||
-rw-r--r-- | mail-filter/amavisd-milter/files/amavisd-milter.initd-r2 | 18 | ||||
-rw-r--r-- | mail-filter/amavisd-milter/metadata.xml | 7 |
4 files changed, 54 insertions, 3 deletions
diff --git a/mail-filter/amavisd-milter/Manifest b/mail-filter/amavisd-milter/Manifest index 28f26ff3adaa..ca93c700b2ab 100644 --- a/mail-filter/amavisd-milter/Manifest +++ b/mail-filter/amavisd-milter/Manifest @@ -2,8 +2,11 @@ AUX amavisd-milter-1.6.0-policybank.patch 937 BLAKE2B 54cd7ffbbdc0396874a3fb8672 AUX amavisd-milter.confd 357 BLAKE2B 4c584ef42c9c1f135160d574dabed9882978930ddf1051161ca7a8ac64a926390ce3aa693957b786cf0f8e83a41b325574c4a19e82b638c2f96726e335ae654d SHA512 354c7e1a0224bd0f8bd40e35dca99fc5c489f9b7ecc2292d992e5594ac969800ab19e99a784957bcc76e3b06788b0623fc5019d8965f002a67c3e01681c541de AUX amavisd-milter.initd 678 BLAKE2B 75c31115806da7e9f7fd2746e26cd2ebff55edec6611349f2321e99eba7588a69f005ce810595aad2e70bc54576ff870184974bd6bb91af6e3924fb955387499 SHA512 017cc4e2461b524768f2c7f69a1d16b99c08ebf39d024913e79e5ffb2033a2dbd5eb64cedb3b9e370a0143256fdb17652492385f996f0dbe4baaaa96557a16c6 AUX amavisd-milter.initd-r1 679 BLAKE2B c6d8d8a8b23c01923e2909f5b58cc8228ac693d210a6bd65d9048aa9ac40dadcfb74bb67eded81315fb4c8545bbc652c90e3db1d61f733d1687deb58795f152d SHA512 c043d41da85b206705c5e58204904b30d2076d9563ca52cac60b31eb9638f4574e5b0b771e43e74e83af1f417944ed737f10699a82933cfbee07e9d69a529695 +AUX amavisd-milter.initd-r2 399 BLAKE2B bf842ef6bca77bebe76fe6969676669c97454eee977e67ccf455b09c2ddc2e290739dbb8dbc525625c82eec690826ce39224f188d3e9819fdd8d55169290dc12 SHA512 2021255da427782854b5b0de670359a7f955491bb4de5e6ec0a961cd571183c81c07468559a7f9c9289b069ada3b8c05dab1e07c8d3beb0e4b01199f24794052 DIST amavisd-milter-1.5.0.tar.gz 175759 BLAKE2B c9de40eadbfca71a3a35c340372163ed7b685ff7150cdb85ab073cc78abcbc5dfb5fcaccc0b1518fa3a354d6ddcf19b6690d5a125e0f2ccb3ea190be57348b88 SHA512 ef206cd2c64cf48edb8a679b92a960451e0edbec11e0c207942bf6f435f7d14538a409d8197774ea4bbf63f27ed73d52a7c51531155be6d8724981b5dd9e0037 DIST amavisd-milter-1.6.0.tar.gz 187994 BLAKE2B 87d3d870236b50e9c8c7bf3876fc476fb28ff6ee208c8da77c2f9ab2f1ccc0b883cc551718f4f9639125484965180100088d94557f065c7bf904fc912dd2794a SHA512 2e0b39b733f88742fcb2f4e884e528b70731ad5950bd56d3af1391d666dc018d2f6c1ad4212e787872a503bccbc65c52d55ae195c384e9333e4f39d25b1d1a34 +DIST amavisd-milter-1.7.0.tar.gz 192688 BLAKE2B 882ecdc1f4b1b3fba2f7f82ffb3e7f4ecf27ce42fc14df926a508b852dd142161af9ce65bc367a5968f64a29a40cb362a0783bdbaf4dff2559715bfd53170f73 SHA512 52fdfe4acdd94e387de63d93aa3347dce46e7e16b8ab51679c7bbfc4f6faba160de5ca55aae141cbd06f3d9d1122dea67fdd67562dd5b8314055f7f6071545af EBUILD amavisd-milter-1.5.0-r1.ebuild 681 BLAKE2B fd6a954e839da2eb92d023615cdc8d65358e6ee22a7c29aed0f4adfaaa6f04cc70024818fa1005cc71c7d0e16e9841c57c62672cb73d0870f5138cf28bc0cf55 SHA512 0f9c5b732a70a3e9a9206e62c6d92115f9c998c642bdbfa7f6813b4b29865dc793d41de0c27c95a48febbf1e312ef2960efa34f79aa84c2b7a3ad9ba28a2cc92 EBUILD amavisd-milter-1.6.0-r1.ebuild 730 BLAKE2B 1a451372ba7008105209790587ee1560346a694e4752b7db09fd6b920e8e8a78c633a087baeb57f7c629b4a5e55a4827002ba1f653560877f14a04d6858b0769 SHA512 43e7ce94bea93f1b4b08966f43669715ee7545c5ab176421aa19fd1dff3741c82bcd4725fd64884fa83b25a074ccdd75be3af2dcf736a011e44b1cc8b59776b5 -MISC metadata.xml 251 BLAKE2B e1367be44411f535beb8cbf57139e7b0fb032a7ddd9cc49ff85de4b4b884822b0b0b61f0bbd3663fd5af8aa2ab14bf0aba2eeff35cf68322549ca27c82ef703c SHA512 b3b1e3c58e9c9f9774ced1b8358ecba8fd4c8f69f8feafbadec5d6e58c820cbbd4971472dd61039fa75279c5f4f33ccc3de950cb2aeac14c2fe0b307ee80697b +EBUILD amavisd-milter-1.7.0-r1.ebuild 683 BLAKE2B fec5ac2a2ee5628af601666da5b8f9a0344d3c117e5df7221ccd194282602b67509713998ede1c26a16dc7558750a7c809b4a040d63290934d43ee49a0d99413 SHA512 c48343bed9a8faa06d0214ca7e9aa1d8ad3426e5b10d4939d3773c6d1c5b5aafbf3a7ba17c69caf88b9642cd8053f8bf7ce94eda2465db93a6132e2d63188174 +MISC metadata.xml 332 BLAKE2B 5bc31a7148c73721bd5563f2c951ea025db1387cf6dcee67fecc9dbde770199b8d3e1659b34ae8f07dc039880cf2b9484f20afe799983b2837c28bd2b03c1733 SHA512 ae325c6633d2d141416bf0953de89fe177c0afb04e2396ff22e2d1afd258d2a1ac756a868fd3b00466cd9ac80de858a1730d34d4d8e9930d67296ed0e3986101 diff --git a/mail-filter/amavisd-milter/amavisd-milter-1.7.0-r1.ebuild b/mail-filter/amavisd-milter/amavisd-milter-1.7.0-r1.ebuild new file mode 100644 index 000000000000..3e8aa64faa2e --- /dev/null +++ b/mail-filter/amavisd-milter/amavisd-milter-1.7.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="sendmail milter for amavisd-new" +HOMEPAGE="https://github.com/prehor/amavisd-milter/" +SRC_URI="https://github.com/prehor/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="|| ( mail-filter/libmilter mail-mta/sendmail ) + elibc_uclibc? ( net-libs/libnsl:0= )" +RDEPEND="${DEPEND} + mail-filter/amavisd-new" + +DOCS=( AMAVISD-MILTER.md CHANGES INSTALL ) + +src_install() { + default + + newinitd "${FILESDIR}/amavisd-milter.initd-r2" amavisd-milter + newconfd "${FILESDIR}/amavisd-milter.confd" amavisd-milter +} diff --git a/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2 b/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2 new file mode 100644 index 000000000000..4acd7992258f --- /dev/null +++ b/mail-filter/amavisd-milter/files/amavisd-milter.initd-r2 @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="amavisd-milter" +command="/usr/sbin/${name}" +command_args="${DOPTIONS}" +command_user="amavis" +pidfile="${PIDFILE}" + +depend() { + use logger dns amavisd sendmail +} + +start_pre() { + # needed to avoid potential mi_stop errors + [ "${RC_CMD}" = "restart" ] && sleep 4 +} diff --git a/mail-filter/amavisd-milter/metadata.xml b/mail-filter/amavisd-milter/metadata.xml index 22b1528aa1fd..ec6b90fcfa96 100644 --- a/mail-filter/amavisd-milter/metadata.xml +++ b/mail-filter/amavisd-milter/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>grknight@gentoo.org</email> + <name>Brian Evans</name> + </maintainer> <upstream> - <remote-id type="sourceforge">amavisd-milter</remote-id> + <remote-id type="github">prehor/amavisd-milter</remote-id> </upstream> </pkgmetadata> |