summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-09-01 16:52:01 +0000
committerIan Delaney <idella4@gentoo.org>2013-09-01 16:52:01 +0000
commita512cb6144dbe121229f78b9d92b6461f3896c29 (patch)
tree2af331fced1d14ebb46b010f91b2d967fd92a24a /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-a512cb6144dbe121229f78b9d92b6461f3896c29.tar.gz
gentoo-2-a512cb6144dbe121229f78b9d92b6461f3896c29.tar.bz2
gentoo-2-a512cb6144dbe121229f78b9d92b6461f3896c29.zip
revbump -> EAPI 5, add invocation of tests & install of docs folder content
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/razor/ChangeLog8
-rw-r--r--mail-filter/razor/razor-2.84.ebuild65
-rw-r--r--mail-filter/razor/razor-2.85-r2.ebuild (renamed from mail-filter/razor/razor-2.85.ebuild)26
3 files changed, 26 insertions, 73 deletions
diff --git a/mail-filter/razor/ChangeLog b/mail-filter/razor/ChangeLog
index 1d266e7c5489..13629b9edf65 100644
--- a/mail-filter/razor/ChangeLog
+++ b/mail-filter/razor/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-filter/razor
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/ChangeLog,v 1.98 2013/03/17 17:34:47 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/ChangeLog,v 1.99 2013/09/01 16:52:01 idella4 Exp $
+
+*razor-2.85-r2 (01 Sep 2013)
+
+ 01 Sep 2013; Ian Delaney <idella4@gentoo.org> +razor-2.85-r2.ebuild,
+ -razor-2.84.ebuild, -razor-2.85.ebuild:
+ revbump -> EAPI 5, add invocation of tests & install of docs folder content
17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml:
Add proxy-maintainers to metadata.xml
diff --git a/mail-filter/razor/razor-2.84.ebuild b/mail-filter/razor/razor-2.84.ebuild
deleted file mode 100644
index bcd09d54fc84..000000000000
--- a/mail-filter/razor/razor-2.84.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.84.ebuild,v 1.8 2012/03/25 15:01:01 armin76 Exp $
-
-inherit perl-app
-
-DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
-HOMEPAGE="http://razor.sourceforge.net/"
-SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.bz2"
-LICENSE="Artistic"
-SLOT="0"
-KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
-IUSE=""
-
-DEPEND="dev-lang/perl"
-
-RDEPEND="dev-perl/Net-DNS
- virtual/perl-net-ping
- virtual/perl-Time-HiRes
- dev-perl/Digest-SHA1
- dev-perl/URI
- dev-perl/Digest-Nilsimsa"
-
-S=${WORKDIR}/razor-agents-${PV}
-
-pkg_postinst() {
- elog
- elog "Run 'razor-admin -create' to create a default config file in your"
- elog "home directory under /home/user/.razor. (Remember to change user to"
- elog "your username from root before running razor-admin)"
- elog
- elog "Razor v2 requires reporters to be registered so their reputations can"
- elog "be computed over time and they can participate in the revocation"
- elog "mechanism. Registration is done with razor-admin -register. It has to be"
- elog "manually invoked in either of the following ways:"
- elog
- elog "To register user foo with 's1kr3t' as password: "
- elog
- elog "razor-admin -register -user=foo -pass=s1kr3t"
- elog
- elog "To register with an email address and have the password assigned:"
- elog
- elog "razor-admin -register -user=foo@bar.com "
- elog
- elog "To have both (random) username and password assgined: "
- elog
- elog "razor-admin -register "
- elog
- elog "razor-admin -register negotiates a registration with the Nomination Server"
- elog "and writes the identity information in"
- elog "/home/user/.razor/identity-username, or /etc/razor/identity-username"
- elog "when invoked as root."
- elog
- elog "You can edit razor-agent.conf to change the defaults. Config options"
- elog "and their values are defined in the razor-agent.conf(5) manpage."
- elog
- elog "The next step is to integrate razor-check, razor-report and"
- elog "razor-revoke in your mail system. If you are running Razor v1, the"
- elog "change will be transparent, new versions of razor agents will overwrite"
- elog "the old ones. You would still need to plugin razor-revoke in your MUA,"
- elog "since it's a new addition in Razor v2. If you are not running Razor v1,"
- elog "refer to manpages of razor-check(1), razor-report(1), and"
- elog "razor-revoke(1) for integration instructions."
- elog
-}
diff --git a/mail-filter/razor/razor-2.85.ebuild b/mail-filter/razor/razor-2.85-r2.ebuild
index 6413f4613f14..960cee987612 100644
--- a/mail-filter/razor/razor-2.85.ebuild
+++ b/mail-filter/razor/razor-2.85-r2.ebuild
@@ -1,18 +1,24 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.85.ebuild,v 1.2 2012/03/25 15:01:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/razor/razor-2.85-r2.ebuild,v 1.1 2013/09/01 16:52:01 idella4 Exp $
-inherit perl-app
+EAPI=5
+inherit perl-module
+
+MY_PN="razor-agents"
+MY_P="${MY_PN}-${PV}"
DESCRIPTION="Vipul's Razor is a distributed, collaborative spam detection and filtering network"
HOMEPAGE="http://razor.sourceforge.net/"
-SRC_URI="mirror://sourceforge/razor/razor-agents-${PV}.tar.bz2"
+SRC_URI="mirror://sourceforge/razor/${MY_P}.tar.bz2"
+
LICENSE="Artistic"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+# This package warrants IUSE doc
IUSE=""
-DEPEND="dev-lang/perl"
+DEPEND=""
RDEPEND="dev-perl/Net-DNS
virtual/perl-net-ping
@@ -21,9 +27,15 @@ RDEPEND="dev-perl/Net-DNS
dev-perl/URI
dev-perl/Digest-Nilsimsa"
-PATCHES=( "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-2.85-use-sha-not-sha1.patch"
+ "${FILESDIR}/${PN}-2.85-cosmetic-pv-fix.patch"
+ )
-S=${WORKDIR}/razor-agents-${PV}
+S=${WORKDIR}/${MY_P}
+# Install docs/ content
+mydoc="docs/*"
+SRC_TEST="do parallel"
pkg_postinst() {
elog