From e8a95f744dda2d368c8a124d2bdbb1d13cb9235b Mon Sep 17 00:00:00 2001 From: Radoslaw Stachowiak Date: Sun, 7 Oct 2007 11:38:59 +0000 Subject: mail-filter/tumgreyspf-1.28 x86 version bump svn path=/radek-portage/; revision=28 --- mail-filter/tumgreyspf/Manifest | 8 ++ .../tumgreyspf/files/digest-tumgreyspf-1.28 | 3 + mail-filter/tumgreyspf/tumgreyspf-1.28.ebuild | 96 ++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 mail-filter/tumgreyspf/files/digest-tumgreyspf-1.28 create mode 100644 mail-filter/tumgreyspf/tumgreyspf-1.28.ebuild diff --git a/mail-filter/tumgreyspf/Manifest b/mail-filter/tumgreyspf/Manifest index 23b61d9..9887d1a 100644 --- a/mail-filter/tumgreyspf/Manifest +++ b/mail-filter/tumgreyspf/Manifest @@ -1,6 +1,7 @@ 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 +DIST tumgreyspf-1.28.tar.gz 28946 RMD160 d420a71dec493e44b15381e7a64eb39ae6dca356 SHA1 599272b1544efa6d01e233b6f5b37b9071b29f4c SHA256 b898716f96e6e2ff9ad39ad7a74695e245ae91dc6dae5e214e94a7d137b8f177 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 @@ -13,6 +14,10 @@ EBUILD tumgreyspf-1.27.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a055 MD5 df5701082464dd43190e1f40a91af87e tumgreyspf-1.27.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 tumgreyspf-1.27.ebuild 2513 SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 tumgreyspf-1.27.ebuild 2513 +EBUILD tumgreyspf-1.28.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 SHA1 d160d611f96ed80578a9d08a98fce2e2d9959fab SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 +MD5 df5701082464dd43190e1f40a91af87e tumgreyspf-1.28.ebuild 2513 +RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 tumgreyspf-1.28.ebuild 2513 +SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 tumgreyspf-1.28.ebuild 2513 MISC ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 SHA1 3795a1edf0abd0f6a1952188c5ca1b71c9d14e95 SHA256 5e5f755c5487219eb1545b4f33cb3c446d98186973eb364f01f849e970d5b961 MD5 fa9f3e3f55d7077442513e26f8b79418 ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 ChangeLog 127 @@ -30,3 +35,6 @@ SHA256 c878ee352d8d54baa066eb1ef64133c118044323e36fcca8ab13357504f65fe4 files/di MD5 e5477e19f5cc731ca619159a6ba0d6c0 files/digest-tumgreyspf-1.27 244 RMD160 fc439cea9250c02d9bd4306d9ece423642536398 files/digest-tumgreyspf-1.27 244 SHA256 9a7951778e3057a790979757de4831febb6f695c49ef5d741304c23d58ad1214 files/digest-tumgreyspf-1.27 244 +MD5 8327bc3f6b4986b250353560bbaf58ee files/digest-tumgreyspf-1.28 244 +RMD160 9dd79c8c80d601c1237c28e49f21887841ca53ee files/digest-tumgreyspf-1.28 244 +SHA256 e58c63a80a7042968b3f46400904a7966dfe5a43d3d7d9df42c21268ff7d0753 files/digest-tumgreyspf-1.28 244 diff --git a/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.28 b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.28 new file mode 100644 index 0000000..90d679a --- /dev/null +++ b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.28 @@ -0,0 +1,3 @@ +MD5 acee652af070a3b65a940e17fe780d3c tumgreyspf-1.28.tar.gz 28946 +RMD160 d420a71dec493e44b15381e7a64eb39ae6dca356 tumgreyspf-1.28.tar.gz 28946 +SHA256 b898716f96e6e2ff9ad39ad7a74695e245ae91dc6dae5e214e94a7d137b8f177 tumgreyspf-1.28.tar.gz 28946 diff --git a/mail-filter/tumgreyspf/tumgreyspf-1.28.ebuild b/mail-filter/tumgreyspf/tumgreyspf-1.28.ebuild new file mode 100644 index 0000000..18e9e61 --- /dev/null +++ b/mail-filter/tumgreyspf/tumgreyspf-1.28.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 "" +} + -- cgit v1.2.3-65-gdbad