summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-01-03 08:45:22 +0000
committerEray Aslan <eras@gentoo.org>2013-01-03 08:45:22 +0000
commit43ddb3c011d8c64dc8d6fb186e9a3e0d45e0a38a (patch)
treefb975c17983d4e03ec5acc033fdf4a6f728e7e3e /mail-filter/policyd-weight
parentRemove more dead code, spotted by Arfrever. (diff)
downloadhistorical-43ddb3c011d8c64dc8d6fb186e9a3e0d45e0a38a.tar.gz
historical-43ddb3c011d8c64dc8d6fb186e9a3e0d45e0a38a.tar.bz2
historical-43ddb3c011d8c64dc8d6fb186e9a3e0d45e0a38a.zip
Assign package to net-mail herd. Do not keepdir /var/run directory - bug #449858. Fix init script
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'mail-filter/policyd-weight')
-rw-r--r--mail-filter/policyd-weight/ChangeLog12
-rw-r--r--mail-filter/policyd-weight/Manifest34
-rw-r--r--mail-filter/policyd-weight/files/policyd-weight.init.d-r129
-rw-r--r--mail-filter/policyd-weight/metadata.xml4
-rw-r--r--mail-filter/policyd-weight/policyd-weight-0.1.15.2-r1.ebuild43
5 files changed, 104 insertions, 18 deletions
diff --git a/mail-filter/policyd-weight/ChangeLog b/mail-filter/policyd-weight/ChangeLog
index 85132f16241f..b5a7047a56b9 100644
--- a/mail-filter/policyd-weight/ChangeLog
+++ b/mail-filter/policyd-weight/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for mail-filter/policyd-weight
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/ChangeLog,v 1.22 2012/06/05 00:02:12 zmedico Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/ChangeLog,v 1.23 2013/01/03 08:45:10 eras Exp $
+
+*policyd-weight-0.1.15.2-r1 (03 Jan 2013)
+
+ 03 Jan 2013; Eray Aslan <eras@gentoo.org> +files/policyd-weight.init.d-r1,
+ +policyd-weight-0.1.15.2-r1.ebuild, metadata.xml:
+ Assign package to net-mail herd. Do not keepdir /var/run directory - bug
+ #449858. Fix init script
05 Jun 2012; Zac Medico <zmedico@gentoo.org> policyd-weight-0.1.15.1.ebuild,
policyd-weight-0.1.15.2.ebuild:
@@ -106,4 +113,3 @@
+policyd-weight-0.1.14.3.ebuild:
Initial import. Ebuild written by Brian E <grknight at scent-team.com> in
bug #169646.
-
diff --git a/mail-filter/policyd-weight/Manifest b/mail-filter/policyd-weight/Manifest
index 1d61cb2f6127..cc3b4bd5a24c 100644
--- a/mail-filter/policyd-weight/Manifest
+++ b/mail-filter/policyd-weight/Manifest
@@ -1,17 +1,29 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX policyd-weight.init.d 365 RMD160 b4b690348e683282aa03f07ae3922724336d2921 SHA1 6984f4d27b87dc89a4a7ad48f720373beea11683 SHA256 45de0c05f0496d15f5dd49c36142b455de16d4e56b5783b59f506d99e8feb3ba
-DIST policyd-weight-0.1.15.1.tar.gz 55787 RMD160 1bfc7ac612b2b9178de8d64f9a9a86023ca7cc92 SHA1 8d2b3ae5c79aa855aa7b73082b9772b65dcbd974 SHA256 aadbb7c62b5e5975167044d8567589b37199d7b3b983ad09d237ffdce830e0e5
-DIST policyd-weight-0.1.15.2.tar.gz 75347 RMD160 ff435eb888e3285ce9b68c658328f046ff123c32 SHA1 4635a3f6e07763a07a2fa565a859d24012e67192 SHA256 7aee2b5b71a89dd774d8dfff761e0ddc7910b38dbe42f895ca21e8af7a30bb42
-EBUILD policyd-weight-0.1.15.1.ebuild 1225 RMD160 3475d5d0c6cdc35bdba864a72c91c0224b09c413 SHA1 c4422b4a06660cb57aaf294c6acc2bdc2ec1b819 SHA256 97d1929ea771af6f097d6ae44eac6294b56bfe68da49411034479ef92e165a6a
-EBUILD policyd-weight-0.1.15.2.ebuild 1227 RMD160 926c3ce1e3b5892b5fdeb5b0b87f90a2b17d0774 SHA1 cbe8ac20b6aeb289a580b1514d2d51f8988cc71d SHA256 98b3cd63e09c8d81059221e26bdd3043823e5831e8533f0645a0f8373bb8b8e1
-MISC ChangeLog 3722 RMD160 2742385d8f0f9fba4fda815f80a61b4903f43727 SHA1 9b570044cb5813c149278a78bbe2781e4c55ef06 SHA256 328df325a1a77c3c32efb0f4e490d656738f30d087967ee45319484573222f66
-MISC metadata.xml 867 RMD160 17f5a8a261d61097a5ae500c09f7deadce369952 SHA1 bb0eec3b9786957507d93904230ecdc275db2792 SHA256 fd32ebca6e38b4a30d8ec162e3c913fb1ed5dacd642245c6e64f2810cb91db15
+AUX policyd-weight.init.d 365 SHA256 45de0c05f0496d15f5dd49c36142b455de16d4e56b5783b59f506d99e8feb3ba SHA512 d20f7caafdd57b3377e2db4863b6161439dd15e4add128d6bee5976b54a9eece0c5edb49c6e1367cdee2b06fa981a9c6b47748b82045fecf7b9fde55f315f70a WHIRLPOOL c96a5bde46d65d2b18e214e2b6a6acd081f0583b46a2961d91a54b7ac8a55f939c3c96132daf25c13aba509240a9271ced9baafa2ba1212684e212d662b9b86d
+AUX policyd-weight.init.d-r1 356 SHA256 64a781983fb26f8af9455f413d36a6f4390f4a4d94de17eab8c4fc935074b8db SHA512 5cb2b555f90d9926bd66d54d50cf49e0a502ef8012ad59c515f9f73e8e761f8f4c2c009bbb197d6b1795510138985a4ea63075c5dc1aa82a0b9e950c28f271ab WHIRLPOOL 19f9cbf32e12f8f533e48b76b13b481b9fe968d4a7b85de0c45413d0eba789c001175fef48811f16f7427b6f9218796e455566736eed0a98207531a70096ca2f
+DIST policyd-weight-0.1.15.1.tar.gz 55787 SHA256 aadbb7c62b5e5975167044d8567589b37199d7b3b983ad09d237ffdce830e0e5
+DIST policyd-weight-0.1.15.2.tar.gz 75347 SHA256 7aee2b5b71a89dd774d8dfff761e0ddc7910b38dbe42f895ca21e8af7a30bb42 SHA512 37702762c171b208d37651b2051b521e4f44708b7bb7e0d3001fd2ba123b227c847bad8dd479d7a56f9aeab02fdfd957d34b2c4d7f3a9fd727614cd4031f8b78 WHIRLPOOL 0f606e509ef2f1b8c4b049e5fe45a7c52ebaac64af5b6928b6e1f0fc4e8ff520f724d871124590147993c20315c6d43e4c210abae3e67986fa15134666a3a404
+EBUILD policyd-weight-0.1.15.1.ebuild 1225 SHA256 97d1929ea771af6f097d6ae44eac6294b56bfe68da49411034479ef92e165a6a SHA512 995e71014cd08599d3cef118e3821d6e77172192d85976856aa34c8ebdbd15195890a5f2a68c6e2aac79f8e6725041fd84e46be99b5a78e0b3904e13f3ab8db6 WHIRLPOOL 9b1fb1c86139b873cdda78891b9109b3f250bebd440f6b4006f086006d4cb0d3c6e49b6f524269735fd0f301d6a93f32a188c8d0b61ea9fc787833833055cbe4
+EBUILD policyd-weight-0.1.15.2-r1.ebuild 1094 SHA256 7d72d05a882ce4038823da13102278c6040c0bc03c0337e52686f0ecd45b889b SHA512 83f79bc4df266cafe7fd38079b71f75b34aa58dd985224c8ad2ad0c455224c073e4b675b9238dd86fd310e2e5d4d453b57f991a22c044506b3986cb782da9c79 WHIRLPOOL f2320bf306fa0fa20f5270a96640b3671ad25c669795f60e9c077ca87b01ff72b4945233bd21d34209814da5717d90fb40c47f8c6d8777bc7fa4930cc0b07379
+EBUILD policyd-weight-0.1.15.2.ebuild 1227 SHA256 98b3cd63e09c8d81059221e26bdd3043823e5831e8533f0645a0f8373bb8b8e1 SHA512 1d8865722d0de84684518e01619ca3b5cb6bf5a93ed601889463326dbc86c8e6f3a975a18574058b487f02ce064affdbd1fb7cf2bf6abdeb0f149bdd5d939043 WHIRLPOOL 6abfd79bb2905c5daa5dbabb66a7480ae04481d9496814659736bd819580625c575f701d477c93eb2b95f68d9f4d4d88b0333a36cd11d4ee2adcf8a3c6b49283
+MISC ChangeLog 3995 SHA256 097a2fa10168681b0b2cb742c38f1c6f6f94f69d6749cb2b42614532b96cb7f7 SHA512 5846cf7f8d7bccea132c57fac72a1033a6e6c13bc4c271f09b6665463e5aa4402a0e69bf74caaf9f00aead601b449caa50de37ea7247a38609c346e4f2607acb WHIRLPOOL 4150f9e895d67c2c142e9d171e2fbebcd7126ed5623b2c15bfa71f01c92c6e92337d72c91addd0e1af59e0e1ff8b04a29a0959a7e93fe55b811e440ecaa805d0
+MISC metadata.xml 744 SHA256 6d4173216d97f80ab2b0b4a7323032cabcd124c48d3fc10306340e7be5e36a83 SHA512 987fd0ac6e707f959fcfb2e5115760ab5468e6169b463d1323d9f548de538896d0e34a70cfe241665989fc7b2dbb282f2b733018b85f6be0d08f0ff3608011c8 WHIRLPOOL b1ec1056fa505b7f28af5877665a2228a4d3c17814f43f11056f7518d5ec5cece2da24dde3208312787dfa54843a10249447813594a118dd802289f3c203b9ad
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk/NTIoACgkQ/ejvha5XGaOgnQCg2/qeLndxXjEhiCvr4cRfgXRK
-LDAAoLMeIFM0kW9/plqFgHFfZVMxOnxC
-=TnPs
+iQIcBAEBCAAGBQJQ5UUhAAoJEHfx8XVYajsfiZUP/2hBD9wHJYD8itxzY2h1Qp4B
+QBDohdhwLAtGXl2S/OD44RGe+/YvDZAbT34F9a2wmYOeCABmnYRe+bd6j+mrhivQ
+paAroaCWDucJN2KwbO83wCLn8S+FYhxDrpIl6jmMWlUT4q70S69r4d7f21s6DmKa
+rMaZaK/XIrGeh8pMEw74Lb29OjyH4oD0gsGIp9ilBOELBgNcz94FCAfMXqwC/T79
+JPJpGoE+WSXZ9KQrN0bIwVMjvbr34o6tyDUMK3vqC05juiQ36Bb7d6b2qKYqDfbs
+mCBPvMF6hDJyf1/IfL41PPsp2dXtEZ7mp+zfzuHVArHS69IEqbR7BZgr3pOwaDk+
+xBMc0DAevTOy39900XQd3znQ2QGM8v4iBXMM88GUVDHu/455nsP69CiTYSngcYZO
+eaVB/nzqsQ4l298MH2ahqj+uwpCqVoYajEl6XILsRBugd17APBB7NP6gDiE0Smlv
+EhDgUe/CHv9Wxf1Tp8+/xuRTpoXGDUYgs9LBKYemuPXEQoYlci7yAKvAUDQpx35n
+d6Ft9ONNyMKlSxUtPyU6Q7eNdzsPd7nJOqwNYFJqCprKjd2qBTu1JcB9a6ZDVwxt
+guk+QhpV2b/F4xgsfQwUIfJzGLvakanlbVh3OZGxBW//5C/nM+KaJ1oOJTBGX9Kr
+G+CcAWZ7ZtLrvMkgxzBO
+=4T7E
-----END PGP SIGNATURE-----
diff --git a/mail-filter/policyd-weight/files/policyd-weight.init.d-r1 b/mail-filter/policyd-weight/files/policyd-weight.init.d-r1
new file mode 100644
index 000000000000..ffcc17a82b08
--- /dev/null
+++ b/mail-filter/policyd-weight/files/policyd-weight.init.d-r1
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+
+extra_started_commands="reload"
+
+daemon="policyd-weight"
+exec="/usr/libexec/postfix/policyd-weight"
+
+depend(){
+ before postfix
+ use net
+}
+
+start(){
+ ebegin "Starting ${daemon}"
+ ${exec} start
+ eend $?
+}
+
+stop(){
+ ebegin "Stopping ${daemon}"
+ ${exec} -k stop
+ eend $?
+}
+
+reload(){
+ ebegin "Reloading ${daemon}"
+ ${exec} reload
+ eend $?
+}
diff --git a/mail-filter/policyd-weight/metadata.xml b/mail-filter/policyd-weight/metadata.xml
index 80c4cb0ea203..84785fb4e4f3 100644
--- a/mail-filter/policyd-weight/metadata.xml
+++ b/mail-filter/policyd-weight/metadata.xml
@@ -2,10 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-mail</herd>
- <maintainer>
- <email>grknight@scent-team.com</email>
- <description>Real package maintainer</description>
- </maintainer>
<longdescription lang="en">
policyd-weight is a Perl policy daemon for the Postfix MTA (2.1 and
later) intended to eliminate forged envelope senders and HELOs (i.e. in
diff --git a/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r1.ebuild b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r1.ebuild
new file mode 100644
index 000000000000..0d4e35274a0e
--- /dev/null
+++ b/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/policyd-weight-0.1.15.2-r1.ebuild,v 1.1 2013/01/03 08:45:10 eras Exp $
+
+EAPI=4
+
+inherit eutils user
+
+DESCRIPTION="Weighted Policy daemon for Postfix"
+HOMEPAGE="http://www.policyd-weight.org/"
+SRC_URI="http://www.policyd-weight.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="virtual/perl-Sys-Syslog
+ dev-perl/Net-DNS
+ >=mail-mta/postfix-2.1"
+
+pkg_setup() {
+ enewgroup 'polw'
+ enewuser 'polw' -1 -1 -1 'polw'
+}
+
+src_compile() { :; }
+
+src_install() {
+ exeinto /usr/libexec/postfix
+ doexe policyd-weight
+ fowners root:wheel /usr/libexec/postfix/policyd-weight
+
+ doman man/man5/*.5 man/man8/*.8
+ dodoc *.txt
+
+ sed -i -e "s:^ \$LOCKPATH.*: \$LOCKPATH = '/var/run/policyd-weight/'; # must be a directory (add:" policyd-weight.conf.sample || die
+ insinto /etc
+ newins policyd-weight.conf.sample policyd-weight.conf
+
+ newinitd "${FILESDIR}/${PN}.init.d-r1" "${PN}"
+}