summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-12-18 14:15:21 +0000
committerEray Aslan <eras@gentoo.org>2011-12-18 14:15:21 +0000
commit2a9396321f795211ba731cd33c984e7ff03f4e59 (patch)
tree2bbe3a2c23374160ed6b37b1166e890704449af9 /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-2a9396321f795211ba731cd33c984e7ff03f4e59.tar.gz
gentoo-2-2a9396321f795211ba731cd33c984e7ff03f4e59.tar.bz2
gentoo-2-2a9396321f795211ba731cd33c984e7ff03f4e59.zip
version bump
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/policyd-weight/ChangeLog7
-rw-r--r--mail-filter/policyd-weight/policyd-weight-0.1.15.2.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/mail-filter/policyd-weight/ChangeLog b/mail-filter/policyd-weight/ChangeLog
index 8cd280447542..fbb6e441742f 100644
--- a/mail-filter/policyd-weight/ChangeLog
+++ b/mail-filter/policyd-weight/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-filter/policyd-weight
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/ChangeLog,v 1.18 2011/12/18 06:27:28 eras Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd-weight/ChangeLog,v 1.19 2011/12/18 14:15:21 eras Exp $
+
+*policyd-weight-0.1.15.2 (18 Dec 2011)
+
+ 18 Dec 2011; Eray Aslan <eras@gentoo.org> +policyd-weight-0.1.15.2.ebuild:
+ version bump
18 Dec 2011; Eray Aslan <eras@gentoo.org> policyd-weight-0.1.15.1.ebuild:
die after sed. Don't call src_compile
diff --git a/mail-filter/policyd-weight/policyd-weight-0.1.15.2.ebuild b/mail-filter/policyd-weight/policyd-weight-0.1.15.2.ebuild
new file mode 100644
index 000000000000..170f06865958
--- /dev/null
+++ b/mail-filter/policyd-weight/policyd-weight-0.1.15.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 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.ebuild,v 1.1 2011/12/18 14:15:21 eras Exp $
+
+EAPI=4
+
+inherit eutils
+
+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/lib/postfix
+ doexe policyd-weight
+ fowners root:wheel /usr/lib/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" "${PN}"
+
+ dodir /var/run/policyd-weight
+ keepdir /var/run/policyd-weight
+ fowners polw:root /var/run/policyd-weight
+ fperms 700 /var/run/policyd-weight
+}