diff options
author | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-09 17:06:59 +0000 |
---|---|---|
committer | Radoslaw Stachowiak <radek@gentoo.org> | 2006-12-09 17:06:59 +0000 |
commit | 338533a93d84d2af48b44b003fc756ebd7fa6be1 (patch) | |
tree | a42190f7d2957d48f524f5b3c67cbd79520d1a33 | |
parent | initial commit (diff) | |
download | radek-338533a93d84d2af48b44b003fc756ebd7fa6be1.tar.gz radek-338533a93d84d2af48b44b003fc756ebd7fa6be1.tar.bz2 radek-338533a93d84d2af48b44b003fc756ebd7fa6be1.zip |
tumgreyspf-1.24 x86
svn path=/radek-portage/; revision=3
-rw-r--r-- | mail-filter/tumgreyspf/Manifest | 20 | ||||
-rw-r--r-- | mail-filter/tumgreyspf/files/digest-tumgreyspf-1.24 | 3 | ||||
-rw-r--r-- | mail-filter/tumgreyspf/tumgreyspf-1.24.ebuild | 96 |
3 files changed, 111 insertions, 8 deletions
diff --git a/mail-filter/tumgreyspf/Manifest b/mail-filter/tumgreyspf/Manifest index 9248245..277231e 100644 --- a/mail-filter/tumgreyspf/Manifest +++ b/mail-filter/tumgreyspf/Manifest @@ -1,12 +1,13 @@ DIST tumgreyspf-1.22.tar.gz 26246 RMD160 cdf916ebfe9f131170d25abf2d3b1cf36217c191 SHA1 3f47fecbd779fad3d2d614801d1815b762f814b9 SHA256 0ca7c464010e26319f5a6b0b0483900dca24d3b1733afb005505599e48efbf4c -EBUILD tumgreyspf-1.22.ebuild 2380 RMD160 8d451790dc701772233e90a6ad8ab4e3401dd2b7 SHA1 da1179006bb4f5afeb9cb625705a18769f32dae7 SHA256 6a2031b4aa7fab2630745632ee19ce8b6a4ab8a598a4950b82e32ab5cfca31c6 -MD5 b165f6a90c8d75bab5d37ee651b4602f tumgreyspf-1.22.ebuild 2380 -RMD160 8d451790dc701772233e90a6ad8ab4e3401dd2b7 tumgreyspf-1.22.ebuild 2380 -SHA256 6a2031b4aa7fab2630745632ee19ce8b6a4ab8a598a4950b82e32ab5cfca31c6 tumgreyspf-1.22.ebuild 2380 -MISC .tumgreyspf-1.22.ebuild.swp 12288 RMD160 7411a59aa31f78339ab11fd586f5caae88345262 SHA1 96ec3ee8e8d250c4ed12ebdaf11f0c5ee3d59422 SHA256 54ce453ee2c8fe836a3c176d113f9827d12126d05506ed42061fe6eca993b893 -MD5 7f3ec501ccfdd1b3db0d978be8b6f75c .tumgreyspf-1.22.ebuild.swp 12288 -RMD160 7411a59aa31f78339ab11fd586f5caae88345262 .tumgreyspf-1.22.ebuild.swp 12288 -SHA256 54ce453ee2c8fe836a3c176d113f9827d12126d05506ed42061fe6eca993b893 .tumgreyspf-1.22.ebuild.swp 12288 +DIST tumgreyspf-1.24.tar.gz 26488 RMD160 cf23b295a6bc3131e563b3433f191b6ed7330a48 SHA1 7ba9dadabf1dcdc9facbdfb8f233df9b14dc620b SHA256 06fab3f51aa7b859170770c7ee2cbd675747ac8b1662f5050844913c90c9d7a3 +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 +SHA256 c64242c0e25734691252ee5da4ecf0e5afe8218c9c683ab3d8088ff45b4b7bb8 tumgreyspf-1.22.ebuild 2499 +EBUILD tumgreyspf-1.24.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 SHA1 d160d611f96ed80578a9d08a98fce2e2d9959fab SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 +MD5 df5701082464dd43190e1f40a91af87e tumgreyspf-1.24.ebuild 2513 +RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 tumgreyspf-1.24.ebuild 2513 +SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 tumgreyspf-1.24.ebuild 2513 MISC ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 SHA1 3795a1edf0abd0f6a1952188c5ca1b71c9d14e95 SHA256 5e5f755c5487219eb1545b4f33cb3c446d98186973eb364f01f849e970d5b961 MD5 fa9f3e3f55d7077442513e26f8b79418 ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 ChangeLog 127 @@ -18,3 +19,6 @@ SHA256 db68fa156d3372dca096a89f031bf3dcf49b9b1b543a62bd9ef2e50a25bb0638 metadata MD5 ad78a31ee9be6c13f12727f6d909b82c files/digest-tumgreyspf-1.22 244 RMD160 955fdefad89df2dc64237212293ebbbf8f4a5f43 files/digest-tumgreyspf-1.22 244 SHA256 13f99c0aa93b12f6c92d2893221c03eebf46444d6de35988a9848768b7d82448 files/digest-tumgreyspf-1.22 244 +MD5 359d48c1b960841e6c6f2480349b2fd5 files/digest-tumgreyspf-1.24 244 +RMD160 2cc4cf46faed63a474118d58089bebbc16db74a9 files/digest-tumgreyspf-1.24 244 +SHA256 c878ee352d8d54baa066eb1ef64133c118044323e36fcca8ab13357504f65fe4 files/digest-tumgreyspf-1.24 244 diff --git a/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.24 b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.24 new file mode 100644 index 0000000..3c6470f --- /dev/null +++ b/mail-filter/tumgreyspf/files/digest-tumgreyspf-1.24 @@ -0,0 +1,3 @@ +MD5 17a9569d2db226d0d683053a609b76ce tumgreyspf-1.24.tar.gz 26488 +RMD160 cf23b295a6bc3131e563b3433f191b6ed7330a48 tumgreyspf-1.24.tar.gz 26488 +SHA256 06fab3f51aa7b859170770c7ee2cbd675747ac8b1662f5050844913c90c9d7a3 tumgreyspf-1.24.tar.gz 26488 diff --git a/mail-filter/tumgreyspf/tumgreyspf-1.24.ebuild b/mail-filter/tumgreyspf/tumgreyspf-1.24.ebuild new file mode 100644 index 0000000..18e9e61 --- /dev/null +++ b/mail-filter/tumgreyspf/tumgreyspf-1.24.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 "" +} + |