diff options
Diffstat (limited to 'mail-filter')
-rw-r--r-- | mail-filter/tumgreyspf/Manifest | 8 | ||||
-rw-r--r-- | mail-filter/tumgreyspf/files/digest-tumgreyspf-1.27 | 3 | ||||
-rw-r--r-- | mail-filter/tumgreyspf/tumgreyspf-1.27.ebuild | 96 |
3 files changed, 107 insertions, 0 deletions
diff --git a/mail-filter/tumgreyspf/Manifest b/mail-filter/tumgreyspf/Manifest index 277231e..23b61d9 100644 --- a/mail-filter/tumgreyspf/Manifest +++ b/mail-filter/tumgreyspf/Manifest @@ -1,5 +1,6 @@ DIST tumgreyspf-1.22.tar.gz 26246 RMD160 cdf916ebfe9f131170d25abf2d3b1cf36217c191 SHA1 3f47fecbd779fad3d2d614801d1815b762f814b9 SHA256 0ca7c464010e26319f5a6b0b0483900dca24d3b1733afb005505599e48efbf4c DIST tumgreyspf-1.24.tar.gz 26488 RMD160 cf23b295a6bc3131e563b3433f191b6ed7330a48 SHA1 7ba9dadabf1dcdc9facbdfb8f233df9b14dc620b SHA256 06fab3f51aa7b859170770c7ee2cbd675747ac8b1662f5050844913c90c9d7a3 +DIST tumgreyspf-1.27.tar.gz 28869 RMD160 1376c8d883e98bb0c26109f2e54f336883758a8d SHA1 06155b0c40abb2ef995f77b97c4b7e43ad3426d7 SHA256 6dc546658b78d6e880386e2ce2a10c972d038dcab00ebc8a3af5eab9802d387c EBUILD tumgreyspf-1.22.ebuild 2499 RMD160 65fb715bb3ad42168eea0f8e46d0f97139d0a56c SHA1 ff7386299e62c2da0a2ee438001d050c4809f5e9 SHA256 c64242c0e25734691252ee5da4ecf0e5afe8218c9c683ab3d8088ff45b4b7bb8 MD5 0e72e0e606ee37ba4b1b853b08199529 tumgreyspf-1.22.ebuild 2499 RMD160 65fb715bb3ad42168eea0f8e46d0f97139d0a56c tumgreyspf-1.22.ebuild 2499 @@ -8,6 +9,10 @@ EBUILD tumgreyspf-1.24.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a055 MD5 df5701082464dd43190e1f40a91af87e tumgreyspf-1.24.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 tumgreyspf-1.24.ebuild 2513 SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 tumgreyspf-1.24.ebuild 2513 +EBUILD tumgreyspf-1.27.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 SHA1 d160d611f96ed80578a9d08a98fce2e2d9959fab SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 +MD5 df5701082464dd43190e1f40a91af87e tumgreyspf-1.27.ebuild 2513 +RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 tumgreyspf-1.27.ebuild 2513 +SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 tumgreyspf-1.27.ebuild 2513 MISC ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 SHA1 3795a1edf0abd0f6a1952188c5ca1b71c9d14e95 SHA256 5e5f755c5487219eb1545b4f33cb3c446d98186973eb364f01f849e970d5b961 MD5 fa9f3e3f55d7077442513e26f8b79418 ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 ChangeLog 127 @@ -22,3 +27,6 @@ SHA256 13f99c0aa93b12f6c92d2893221c03eebf46444d6de35988a9848768b7d82448 files/di MD5 359d48c1b960841e6c6f2480349b2fd5 files/digest-tumgreyspf-1.24 244 RMD160 2cc4cf46faed63a474118d58089bebbc16db74a9 files/digest-tumgreyspf-1.24 244 SHA256 c878ee352d8d54baa066eb1ef64133c118044323e36fcca8ab13357504f65fe4 files/digest-tumgreyspf-1.24 244 +MD5 e5477e19f5cc731ca619159a6ba0d6c0 files/digest-tumgreyspf-1.27 244 +RMD160 fc439cea9250c02d9bd4306d9ece423642536398 files/digest-tumgreyspf-1.27 244 +SHA256 9a7951778e3057a790979757de4831febb6f695c49ef5d741304c23d58ad1214 files/digest-tumgreyspf-1.27 244 diff --git a/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.27 b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.27 new file mode 100644 index 0000000..132f59b --- /dev/null +++ b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.27 @@ -0,0 +1,3 @@ +MD5 bf4337e85575dee1cb59e0a608e81151 tumgreyspf-1.27.tar.gz 28869 +RMD160 1376c8d883e98bb0c26109f2e54f336883758a8d tumgreyspf-1.27.tar.gz 28869 +SHA256 6dc546658b78d6e880386e2ce2a10c972d038dcab00ebc8a3af5eab9802d387c tumgreyspf-1.27.tar.gz 28869 diff --git a/mail-filter/tumgreyspf/tumgreyspf-1.27.ebuild b/mail-filter/tumgreyspf/tumgreyspf-1.27.ebuild new file mode 100644 index 0000000..18e9e61 --- /dev/null +++ b/mail-filter/tumgreyspf/tumgreyspf-1.27.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +DESCRIPTION="External policy checker for the postfix mail server (greylister + SPF)" +HOMEPAGE="http://www.tummy.com/Community/software/tumgreyspf/" +SRC_URI="ftp://ftp.tummy.com/pub/tummy/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +IUSE="" + +RESTRICT="primaryuri" + +KEYWORDS="x86" + +DEPEND="" + +RDEPEND=" + >=dev-lang/python-2.4 + >=dev-python/pyspf-1.6" + +src_unpack() { + unpack ${A} + cd "${S}" + #-e "/^CXX=/s:g++:$(tc-getCXX):" \ + sed -i \ + -e 's:^sys.path.append.*:sys.path.append("/usr/lib/tumgreyspf"):' \ + -e 's:^defaultConfigFilename.*:defaultConfigFilename = "/etc/tumgreyspf.conf":' \ + tumgreyspf tumgreyspf-* tumgreyspf*.py || die "changing hardcoded directory paths" + + sed -i \ + -e 's|^configPath.*|configPath="file:///var/lib/tumgreyspf/config"|' \ + -e 's|^greylistDir.*|greylistDir="/var/lib/tumgreyspf/data"|' \ + tumgreyspf.conf || die "changing hardcoded directory paths" +} + +src_install() { + + # this directories are installed with normal perms + dodir /usr/bin + dodir /usr/lib/${PN} + + insinto /usr/lib/${PN} + exeinto /usr/lib/${PN} + + doins ${PN}-test.conf + doins ${PN}supp.py + + doexe ${PN}-stat + doexe ${PN}-clean + doexe ${PN}-configtest + doexe ${PN} + + dosym ${D}/usr/lib/${PN}/${PN} /usr/sbin/${PN} + dosym ${D}/usr/lib/${PN}/${PN}-clean /usr/sbin/${PN}-clean + dosym ${D}/usr/lib/${PN}/${PN}-stat /usr/sbin/${PN}-stat + dosym ${D}/usr/lib/${PN}/${PN}-configtest /usr/sbin/${PN}-configtest + + dodoc TODO WHATSNEW README README.QuickStart README.performance + + dodir /etc + insinto /etc + doins ${PN}.conf + + dodir /etc/cron.daily + echo -e "#!/bin/sh\n/usr/sbin/${PN}-clean" >> ${D}/etc/cron.daily/${PN}.cron + fperms 755 /etc/cron.daily/${PN}.cron + + dodir /var/lib/${PN} + dodir /var/lib/${PN}/config + insinto /var/lib/${PN}/config + newins __default__.dist __default__ + + diropts -m750 + insopts -m640 + dodir /var/lib/${PN}/data + dodir /var/lib/${PN}/blackhole + fowners nobody /var/lib/${PN}/data + fowners nobody /var/lib/${PN}/blackhole + + keepdir /var/lib/${PN}/data + keepdir /var/lib/${PN}/blackhole +} + +pkg_postinst() { + einfo "" + einfo "Configuration file is located: /etc/${PN}.conf" + einfo "File system configuration is in: /var/lib/${PN}/config" + einfo "Cron file was installed under: /etc/cron.daily/${PN}.cron" + einfo "" + einfo "Do not forget to modify postfix (master.cf and main.cf)" + einfo "You can find more detailed instruction in /usr/share/doc/${P}" + einfo "" +} + |