summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-12-23 19:56:15 +0000
committerEray Aslan <eras@gentoo.org>2011-12-23 19:56:15 +0000
commitf481b6966626eeabc1ca343858032454295d46c1 (patch)
treed5b04183201e19346d2b6c1a549d65572d1a315a /mail-filter/policyd
parentAdded md2k7-asyouwish license for icons (diff)
downloadgentoo-2-f481b6966626eeabc1ca343858032454295d46c1.tar.gz
gentoo-2-f481b6966626eeabc1ca343858032454295d46c1.tar.bz2
gentoo-2-f481b6966626eeabc1ca343858032454295d46c1.zip
remove old
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/policyd')
-rw-r--r--mail-filter/policyd/ChangeLog5
-rw-r--r--mail-filter/policyd/policyd-1.82.ebuild73
2 files changed, 4 insertions, 74 deletions
diff --git a/mail-filter/policyd/ChangeLog b/mail-filter/policyd/ChangeLog
index 1db582b37c93..ee5d8bde1664 100644
--- a/mail-filter/policyd/ChangeLog
+++ b/mail-filter/policyd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-filter/policyd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/ChangeLog,v 1.11 2011/12/14 20:33:46 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/ChangeLog,v 1.12 2011/12/23 19:56:15 eras Exp $
+
+ 23 Dec 2011; Eray Aslan <eras@gentoo.org> -policyd-1.82.ebuild:
+ remove old
14 Dec 2011; Agostino Sarubbo <ago@gentoo.org> policyd-1.82-r1.ebuild:
Stable for AMD64, wrt bug #323895
diff --git a/mail-filter/policyd/policyd-1.82.ebuild b/mail-filter/policyd/policyd-1.82.ebuild
deleted file mode 100644
index 5a86191aef97..000000000000
--- a/mail-filter/policyd/policyd-1.82.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/policyd-1.82.ebuild,v 1.5 2011/06/09 12:56:50 eras Exp $
-
-inherit eutils
-
-DESCRIPTION="Policy daemon for postfix and other MTAs"
-HOMEPAGE="http://policyd.sf.net/"
-
-# This is not available through SF mirrors
-SRC_URI="http://policyd.sourceforge.net/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-DEPEND="virtual/mysql
- dev-libs/openssl"
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-makefile.patch"
-
- ebegin "Applying config patches"
- sed -i -e s:UID=0:UID=65534:g \
- -e s:GID=0:GID=65534:g \
- -e s:DAEMON=0:DAEMON=1:g \
- -e s:DEBUG=3:DEBUG=0:g \
- -e s:DATABASE_KEEPALIVE=0:DATABASE_KEEPALIVE=1:g \
- policyd.conf || die "sed failed"
- eend
-}
-
-src_compile() {
- emake build || die "emake build failed"
-}
-
-src_install() {
- insopts -o root -g nobody -m 0750
- mv cleanup policyd_cleanup
- mv stats policyd_stats
-
- dosbin policyd policyd_cleanup policyd_stats
-
- insopts -o root -g nobody -m 0640
- insinto /etc
- doins policyd.conf
-
- insopts -o root -g nobody -m 0700
- exeinto /etc/cron.hourly
- newexe "${FILESDIR}/${PN}-cleanup.cron" ${PN}-cleanup.cron
-
- dodoc ChangeLog DATABASE.mysql README doc/support.txt
-
- newinitd "${FILESDIR}/${PN}.rc" ${PN}
- newconfd "${FILESDIR}/${PN}.confd" ${PN}
-}
-
-pkg_postinst() {
- elog "You will need to create the database using the script DATABASE.mysql"
- elog "in /usr/share/doc/${PF}/"
- elog "Read the mysql section of the README.txt for details."
- elog
- elog "To use policyd with postfix, update your /etc/postfix/main.cf file by adding"
- elog " check_policy_service inet:127.0.0.1:10031"
- elog "to your smtpd_recipient_restrictions line, or similar."
- elog
- elog "Also remember to start the daemon at boot:"
- elog " rc-update add policyd default"
- elog
- elog "Read the documentation for more info."
-}