summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2010-07-05 16:41:13 +0000
committerMichał Górny <mgorny@gentoo.org>2010-07-05 16:41:13 +0000
commit6065580ec81ce7a56ae4253198e701f1ae5aff70 (patch)
tree9f5bc1cc2d08689a83c48dae5dce8d6f3cb08f3f
parentdev-lang/syx: Version bump, cleanup, added missing DEPEND. (diff)
downloadsunrise-6065580ec81ce7a56ae4253198e701f1ae5aff70.tar.gz
sunrise-6065580ec81ce7a56ae4253198e701f1ae5aff70.tar.bz2
sunrise-6065580ec81ce7a56ae4253198e701f1ae5aff70.zip
mail-filter/postwhite: Version bump, cleanup and moved the user/group creation to pkg_preinst() as they are not required during build-time.
svn path=/sunrise/; revision=10904
-rw-r--r--mail-filter/postwhite/ChangeLog9
-rw-r--r--mail-filter/postwhite/Manifest6
-rw-r--r--mail-filter/postwhite/postwhite-0.1.3.ebuild (renamed from mail-filter/postwhite/postwhite-0.1.0.ebuild)25
3 files changed, 23 insertions, 17 deletions
diff --git a/mail-filter/postwhite/ChangeLog b/mail-filter/postwhite/ChangeLog
index 8e22647f6..5ea2dfd2a 100644
--- a/mail-filter/postwhite/ChangeLog
+++ b/mail-filter/postwhite/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for mail-filter/postwhite
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*postwhite-0.1.3 (04 Jul 2010)
+
+ 04 Jul 2010; Michał Górny (sedzimir) <mgorny.3ehbo@mailnull.com>
+ -postwhite-0.1.0.ebuild, +postwhite-0.1.3.ebuild:
+ Version bump, cleanup and moved the user/group creation to pkg_preinst()
+ as they are not required during build-time.
+
19 Jan 2009; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
postwhite-0.1.0.ebuild:
Add suggested RDEPEND=${DEPEND}, add die statements
diff --git a/mail-filter/postwhite/Manifest b/mail-filter/postwhite/Manifest
index 1b9660f4d..afdd7843d 100644
--- a/mail-filter/postwhite/Manifest
+++ b/mail-filter/postwhite/Manifest
@@ -1,6 +1,6 @@
AUX 0.1.0/postwhite.conf 119 RMD160 a7edeaf643b9959aed15d08d115b9bb08a70e40d SHA1 bc4d3fb0519dae0a83365886be97bb96e6889c9d SHA256 1f76c3b215380ebb10c43937d396ea4eb64493edd2da4fb314bb04c168a9f0b5
AUX 0.1.0/postwhite.init 381 RMD160 4c88654798df114b4f06f473d8e95370974bf1df SHA1 d53272e643aa4cbea5a502e4f2403ef80f236d04 SHA256 71b7d5802f8fc3744f0a617621b8fa2b00921d7ff33d6e2d0dd280eef5a785fe
-DIST postwhite-0.1.0.tgz 6477 RMD160 fe64baf9dcd2c520332fffd796eb3837555e784c SHA1 27f5978623f1fa12853525e24e194b4f8a8d0bcb SHA256 6e399f332be9a6dc9b414111e648ac3f69deacd3de6270b1847962f364c19fdd
-EBUILD postwhite-0.1.0.ebuild 1852 RMD160 7d067e5c2e612d64d50cf70f39aa442d8b930a78 SHA1 b55a716d79cdef96fd412135c0602826a1ba6f6e SHA256 22bc96e25ca634d4fca50668311a000087f60c2e7487b5e416d0b9b84ec4f5fc
-MISC ChangeLog 577 RMD160 acd1b87d520b383f3a1628cd09ba5c65d95bee9d SHA1 2b5d04a6bf05bd5c1aea83fcb8f16c1e34bb2f08 SHA256 09ce5f90fa87a93dea44ab8abb43221fd270acd34b88359d720be6a8f2c41bed
+DIST postwhite-0.1.3.tgz 7409 RMD160 71b15e5980feda25d5317d3ee0eb7a892e771060 SHA1 89dca469c71105164578caea6ad087eea4611723 SHA256 8e45eac0b5cefed39e187fa4fc0875a5f31bc9f73ffe5b482407e85cf71645ee
+EBUILD postwhite-0.1.3.ebuild 1888 RMD160 36b8b5023db824f19297a7836724bb77fc10b411 SHA1 14208f25b5ddb0a3064a0d191324a9354b1891b9 SHA256 f47bfbee47b74668632f4bb6b1418e245af08163f9575363191f4acf321a0f54
+MISC ChangeLog 852 RMD160 a732cfcb573fa24d211e7eaae4466bc9d354f363 SHA1 2f1351d4e685b8e6a961185ded30e979fa2d853a SHA256 cb78ca4e8d84359906c79b58f83a5e1d58652e23d450f3dc19d6f791af85092a
MISC metadata.xml 1661 RMD160 7f5276dbb7f5079f940e0e0cdcfc405aac7a5920 SHA1 78b9e1f98b4621b470d3485b19ca809b158bf4ba SHA256 a3ba85c7ed9c7cb8c26be8d3e0dcb9030ad74fabab856a7ad2841f0e143a453f
diff --git a/mail-filter/postwhite/postwhite-0.1.0.ebuild b/mail-filter/postwhite/postwhite-0.1.3.ebuild
index 24a659387..a12a810a8 100644
--- a/mail-filter/postwhite/postwhite-0.1.0.ebuild
+++ b/mail-filter/postwhite/postwhite-0.1.3.ebuild
@@ -4,9 +4,9 @@
inherit eutils
-DESCRIPTION="Per-recipient whitelist policy server for Postfix MTA managed entirely by emails."
+DESCRIPTION="Per-recipient whitelist policy server for Postfix MTA managed entirely by emails"
HOMEPAGE="http://www.bitcetera.com/products/postwhite"
-SRC_URI="http://www.bitcetera.com/download/${P}.tgz"
+SRC_URI="http://www.bitcetera.com/page_attachments/0000/0014/${P}.tgz"
LICENSE="GPL-3"
SLOT="0"
@@ -16,25 +16,26 @@ IUSE=""
DEPEND="mail-mta/postfix
>=dev-lang/ruby-1.8.6
dev-ruby/rubygems
- dev-ruby/facets
+ >=dev-ruby/facets-2.8.4-r1
dev-ruby/trollop"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 /dev/null ${PN}
-}
+S=${WORKDIR}
src_install() {
dosbin ${PN} || die "installing binary failed"
- newinitd "${FILESDIR}"/${PVR}/${PN}.init ${PN}
- newconfd "${FILESDIR}"/${PVR}/${PN}.conf ${PN}
+ newinitd "${FILESDIR}"/0.1.0/${PN}.init ${PN} || die
+ newconfd "${FILESDIR}"/0.1.0/${PN}.conf ${PN} || die
"${S}"/${PN} --prefix "${D}" configure || die
keepdir /etc/postfix/postwhite
}
+pkg_preinst() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /dev/null ${PN}
+}
+
pkg_postinst() {
- elog
elog "The following steps are necessary to hook Postwhite into the Postfix"
elog "workflow:"
elog
@@ -52,6 +53,4 @@ pkg_postinst() {
elog " /etc/init.d/postfix reload"
elog "5) Make the Postwhite daemon start at boot time:"
elog " rc-update add postwhite default"
- elog
- epause 5
}