diff options
author | 2009-09-20 14:24:30 +0000 | |
---|---|---|
committer | 2009-09-20 14:24:30 +0000 | |
commit | b4c1ea6d6eca6cb1759a96d0847c04ae7ced4da2 (patch) | |
tree | 14042de3c7769ed932f54ae6930bf033b98bc362 | |
parent | added repo name (diff) | |
download | radek-b4c1ea6d6eca6cb1759a96d0847c04ae7ced4da2.tar.gz radek-b4c1ea6d6eca6cb1759a96d0847c04ae7ced4da2.tar.bz2 radek-b4c1ea6d6eca6cb1759a96d0847c04ae7ced4da2.zip |
tumgreyspf v1.35
svn path=/radek-portage/; revision=36
-rw-r--r-- | mail-filter/tumgreyspf/Manifest | 32 | ||||
-rw-r--r-- | mail-filter/tumgreyspf/tumgreyspf-1.35.ebuild | 96 |
2 files changed, 98 insertions, 30 deletions
diff --git a/mail-filter/tumgreyspf/Manifest b/mail-filter/tumgreyspf/Manifest index 9887d1a..d81f8d7 100644 --- a/mail-filter/tumgreyspf/Manifest +++ b/mail-filter/tumgreyspf/Manifest @@ -2,39 +2,11 @@ DIST tumgreyspf-1.22.tar.gz 26246 RMD160 cdf916ebfe9f131170d25abf2d3b1cf36217c19 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 +DIST tumgreyspf-1.35.tar.gz 29739 RMD160 42885fa542862d5383cee678c4f195052b6dddd1 SHA1 a07642eab7ccfc031db3f2bae055b160dde719a5 SHA256 31e67f406dd3b760f5b6f2e504e868110437bb0bc2e251bf937bd622ebb31b68 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 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 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 +EBUILD tumgreyspf-1.35.ebuild 2513 RMD160 34d191cf8d98f001eb41049073a893a2a6a05587 SHA1 d160d611f96ed80578a9d08a98fce2e2d9959fab SHA256 6f6f7fcc1cd6bd59f1fdc726786dcfca835b76b40ffd3973c44f097ca0c51dc0 MISC ChangeLog 127 RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 SHA1 3795a1edf0abd0f6a1952188c5ca1b71c9d14e95 SHA256 5e5f755c5487219eb1545b4f33cb3c446d98186973eb364f01f849e970d5b961 -MD5 fa9f3e3f55d7077442513e26f8b79418 ChangeLog 127 -RMD160 83e481c724c2f1ce66d1312b1c56a163b6016321 ChangeLog 127 -SHA256 5e5f755c5487219eb1545b4f33cb3c446d98186973eb364f01f849e970d5b961 ChangeLog 127 MISC metadata.xml 200 RMD160 665acf5e79c91b69b0bc59f5aa0ee1c4f42e6c54 SHA1 d349122431aef7dedcf5f49dd9502d5ced79b774 SHA256 db68fa156d3372dca096a89f031bf3dcf49b9b1b543a62bd9ef2e50a25bb0638 -MD5 8a4b6655aa96c3be6b605135ac6f93a1 metadata.xml 200 -RMD160 665acf5e79c91b69b0bc59f5aa0ee1c4f42e6c54 metadata.xml 200 -SHA256 db68fa156d3372dca096a89f031bf3dcf49b9b1b543a62bd9ef2e50a25bb0638 metadata.xml 200 -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 -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/tumgreyspf-1.35.ebuild b/mail-filter/tumgreyspf/tumgreyspf-1.35.ebuild new file mode 100644 index 0000000..18e9e61 --- /dev/null +++ b/mail-filter/tumgreyspf/tumgreyspf-1.35.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 "" +} + |