summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jackson <mjo@gentoo.org>2011-07-12 17:15:48 +0000
committerMartin Jackson <mjo@gentoo.org>2011-07-12 17:15:48 +0000
commit0abd7913783d19d13279e9a958e733344c9eb02a (patch)
treeecbdccc7bdc4e4f8d7e6165baafcfd8f814d642a /net-mail
parentnet-mail/amavis-logwatch: Bump for EAPI=4. (diff)
downloadsunrise-reviewed-0abd7913783d19d13279e9a958e733344c9eb02a.tar.gz
sunrise-reviewed-0abd7913783d19d13279e9a958e733344c9eb02a.tar.bz2
sunrise-reviewed-0abd7913783d19d13279e9a958e733344c9eb02a.zip
net-mail/amavis-logwatch: Patch the default config location, and remove an unnecessary dohtml.
svn path=/sunrise/; revision=12223
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/amavis-logwatch/ChangeLog4
-rw-r--r--net-mail/amavis-logwatch/Manifest5
-rw-r--r--net-mail/amavis-logwatch/amavis-logwatch-1.50.03.ebuild7
-rw-r--r--net-mail/amavis-logwatch/files/default_config_location.patch11
4 files changed, 24 insertions, 3 deletions
diff --git a/net-mail/amavis-logwatch/ChangeLog b/net-mail/amavis-logwatch/ChangeLog
index 59d2e40d2..6571f849b 100644
--- a/net-mail/amavis-logwatch/ChangeLog
+++ b/net-mail/amavis-logwatch/ChangeLog
@@ -3,6 +3,10 @@
# $Header: $
12 Jul 2011; Michael Orlitzky <michael@orlitzky.com>
+ amavis-logwatch-1.50.03.ebuild, +files/default_config_location.patch:
+ Patch the default config location, and remove an unnecessary dohtml.
+
+ 12 Jul 2011; Michael Orlitzky <michael@orlitzky.com>
amavis-logwatch-1.50.03.ebuild:
Bump for EAPI=4.
diff --git a/net-mail/amavis-logwatch/Manifest b/net-mail/amavis-logwatch/Manifest
index 2639deb4f..678e492ab 100644
--- a/net-mail/amavis-logwatch/Manifest
+++ b/net-mail/amavis-logwatch/Manifest
@@ -1,4 +1,5 @@
+AUX default_config_location.patch 439 RMD160 b52d9755cba8847ba0cdc48c246f65b9ebc44fa0 SHA1 27535cbc226431a6fef4c4661e7f454d8dfe5a21 SHA256 661abd73a49b83d47ca87f9ac61ef1b64e27f0baa279e2598a247e59ee4b744b
DIST amavis-logwatch-1.50.03.tgz 81650 RMD160 d3e69a9bbcc2471bfdc8ce3ddad074679aec2357 SHA1 3c1fdf200520443cc60ae777d9479e18f444b071 SHA256 a5f14922d18785419183d6a9f2603e5f5e226370ac6cb37925f4408af11b4558
-EBUILD amavis-logwatch-1.50.03.ebuild 1283 RMD160 bb937001b3f9597d77984ff263e5aa36cdd82079 SHA1 773cbf08d7c85d0547aafdd7bf09ff61ee19770d SHA256 ea9bd2da78697d7409b946a35aa195988a0157da68ff0561edf21247b6113ecf
-MISC ChangeLog 651 RMD160 e651a29f64b620ad6c445e93aff323b35ab2e7ef SHA1 738b0d529b4b9a2060b08d76c89e3abc7e60aebf SHA256 015aa399db79ef46150c16f6f56d570fbdb38b26f9986427d5a3586bb9670074
+EBUILD amavis-logwatch-1.50.03.ebuild 1349 RMD160 f55a70d4ebdc8d65ef30b66ec3aa2e30d22b886e SHA1 6ab51c2e612999067691d6578ab67894c6726f6e SHA256 2bf97e79befd7f3536fd007c153013c0f43770e89cdd953ee709cc6009759d79
+MISC ChangeLog 850 RMD160 1de239ec39ab5f08356f34ec29cf3e2ec9d55f1a SHA1 11d34d221792504f0cae5bfbe4aaa498765c13e7 SHA256 4246dae3541d8d792a3647bf77f1e94243320207989a93f5f6768245a0230b66
MISC metadata.xml 332 RMD160 6074b01e23fa8466a267fbb81c72ecc631790347 SHA1 dd9d9cdf764ea1f70254ea9f2efb68a6c3709e88 SHA256 57da5d7a964dda64e3214bb6cf069677b617626df50993962a72f25bc9c2bde6
diff --git a/net-mail/amavis-logwatch/amavis-logwatch-1.50.03.ebuild b/net-mail/amavis-logwatch/amavis-logwatch-1.50.03.ebuild
index 9a6fec2fa..9a9c27b34 100644
--- a/net-mail/amavis-logwatch/amavis-logwatch-1.50.03.ebuild
+++ b/net-mail/amavis-logwatch/amavis-logwatch-1.50.03.ebuild
@@ -4,6 +4,8 @@
EAPI=4
+inherit eutils
+
DESCRIPTION="A log analyzer for amavisd-new"
HOMEPAGE="http://logreporters.sourceforge.net/"
SRC_URI="mirror://sourceforge/logreporters/${P}.tgz"
@@ -16,6 +18,10 @@ IUSE="logwatch"
DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}/default_config_location.patch"
+}
+
src_compile() {
# The default make target just outputs instructions. We don't want
# the user to see these, so we avoid emake.
@@ -29,7 +35,6 @@ src_install() {
# only installed with USE="logwatch".
dodoc Bugs Changes README
doman ${PN}.1
- dohtml ${PN}.1.html
dobin ${PN}
insinto /etc
doins ${PN}.conf
diff --git a/net-mail/amavis-logwatch/files/default_config_location.patch b/net-mail/amavis-logwatch/files/default_config_location.patch
new file mode 100644
index 000000000..bf6a459c7
--- /dev/null
+++ b/net-mail/amavis-logwatch/files/default_config_location.patch
@@ -0,0 +1,11 @@
+--- a/amavis-logwatch 2010-11-12 21:35:02.000000000 -0500
++++ b/amavis-logwatch 2011-07-12 12:57:18.005618573 -0400
+@@ -50,7 +50,7 @@
+ our $progname_prefix = 'amavis';
+
+ # Specifies the default configuration file for use in standalone mode.
+-my $config_file = "/usr/local/etc/${progname_prefix}-logwatch.conf";
++my $config_file = "/etc/${progname_prefix}-logwatch.conf";
+
+ #MODULE: ../Logreporters/Utils.pm
+ package Logreporters::Utils;