diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-05-22 20:12:04 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-05-22 20:12:04 +0000 |
commit | 9ffa749526eb92ee68114e3ae81c3c868d91025b (patch) | |
tree | 337d1f08e2ec26441becb9408ce3246f61454221 /mail-filter/policyd | |
parent | Version bump (#270856) and install libripmime/headers (#197400) (diff) | |
download | gentoo-2-9ffa749526eb92ee68114e3ae81c3c868d91025b.tar.gz gentoo-2-9ffa749526eb92ee68114e3ae81c3c868d91025b.tar.bz2 gentoo-2-9ffa749526eb92ee68114e3ae81c3c868d91025b.zip |
Clean up and change dep on dev-db/mysql to virtual/mysql (i.e. mysql-community works too) #268321
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter/policyd')
-rw-r--r-- | mail-filter/policyd/ChangeLog | 7 | ||||
-rw-r--r-- | mail-filter/policyd/policyd-1.80.ebuild | 76 | ||||
-rw-r--r-- | mail-filter/policyd/policyd-1.81.ebuild | 73 | ||||
-rw-r--r-- | mail-filter/policyd/policyd-1.82.ebuild | 4 |
4 files changed, 8 insertions, 152 deletions
diff --git a/mail-filter/policyd/ChangeLog b/mail-filter/policyd/ChangeLog index 3e45684825fd..e34ac8fc0b9d 100644 --- a/mail-filter/policyd/ChangeLog +++ b/mail-filter/policyd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for mail-filter/policyd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/ChangeLog,v 1.6 2009/05/16 00:18:30 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/ChangeLog,v 1.7 2009/05/22 20:12:04 dertobi123 Exp $ + + 22 May 2009; Tobias Scherbaum <dertobi123@gentoo.org> + -policyd-1.80.ebuild, -policyd-1.81.ebuild, policyd-1.82.ebuild: + Clean up and change dep on dev-db/mysql to virtual/mysql (i.e. + mysql-community works too) #268321 16 May 2009; Mark Loeser <halcy0n@gentoo.org> policyd-1.80.ebuild, policyd-1.81.ebuild, policyd-1.82.ebuild: diff --git a/mail-filter/policyd/policyd-1.80.ebuild b/mail-filter/policyd/policyd-1.80.ebuild deleted file mode 100644 index 9caed3e4eaaa..000000000000 --- a/mail-filter/policyd/policyd-1.80.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/policyd-1.80.ebuild,v 1.4 2009/05/16 00:18:30 halcy0n 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/${PN}-v${PV}.tar.gz" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" -DEPEND="dev-db/mysql - dev-libs/openssl" -RDEPEND="${DEPEND}" - -MY_P=${PN}-v${PV} -S="${WORKDIR}/${MY_P}" - -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.txt DATABASE.mysql License.txt README.txt doc/support.txt - - newinitd "${FILESDIR}/${PN}.rc" ${PN} - newconfd "${FILESDIR}/${PN}.confd" ${PN} -} - -pkg_postinst() { - einfo "You will need to create the database using the script DATABASE.mysql" - einfo "in /usr/share/doc/${PF}/" - einfo "Read the mysql section of the README.txt for details." - einfo - einfo "To use policyd with postfix, update your /etc/postfix/main.cf file by adding" - einfo " check_policy_service inet:127.0.0.1:10031" - einfo "to your smtpd_recipient_restrictions line, or similar." - einfo - einfo "Also remember to start the daemon at boot:" - einfo " rc-update add policyd default" - einfo - einfo "Read the documentation for more info." -} diff --git a/mail-filter/policyd/policyd-1.81.ebuild b/mail-filter/policyd/policyd-1.81.ebuild deleted file mode 100644 index 9e9c66eb8352..000000000000 --- a/mail-filter/policyd/policyd-1.81.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/policyd-1.81.ebuild,v 1.3 2009/05/16 00:18:30 halcy0n 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="dev-db/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() { - einfo "You will need to create the database using the script DATABASE.mysql" - einfo "in /usr/share/doc/${PF}/" - einfo "Read the mysql section of the README.txt for details." - einfo - einfo "To use policyd with postfix, update your /etc/postfix/main.cf file by adding" - einfo " check_policy_service inet:127.0.0.1:10031" - einfo "to your smtpd_recipient_restrictions line, or similar." - einfo - einfo "Also remember to start the daemon at boot:" - einfo " rc-update add policyd default" - einfo - einfo "Read the documentation for more info." -} diff --git a/mail-filter/policyd/policyd-1.82.ebuild b/mail-filter/policyd/policyd-1.82.ebuild index 0d7cbd290293..1a0a72527f0f 100644 --- a/mail-filter/policyd/policyd-1.82.ebuild +++ b/mail-filter/policyd/policyd-1.82.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 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.3 2009/05/16 00:18:30 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-filter/policyd/policyd-1.82.ebuild,v 1.4 2009/05/22 20:12:04 dertobi123 Exp $ inherit eutils @@ -13,7 +13,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" -DEPEND="dev-db/mysql +DEPEND="virtual/mysql dev-libs/openssl" RDEPEND="${DEPEND}" |