[arch-commits] Commit in razor/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 10:58:13 UTC 2019
Date: Saturday, May 25, 2019 @ 10:58:13
Author: foutrelis
Revision: 354222
archrelease: copy trunk to staging-x86_64
Added:
razor/repos/staging-x86_64/
razor/repos/staging-x86_64/PKGBUILD
(from rev 354220, razor/trunk/PKGBUILD)
razor/repos/staging-x86_64/razor-2.85-cosmetic-pv-fix.patch
(from rev 354220, razor/trunk/razor-2.85-cosmetic-pv-fix.patch)
razor/repos/staging-x86_64/razor-2.85-makefile-quoting-fix.patch
(from rev 354221, razor/trunk/razor-2.85-makefile-quoting-fix.patch)
---------------------------------------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++
razor-2.85-cosmetic-pv-fix.patch | 22 ++++++++++++++++
razor-2.85-makefile-quoting-fix.patch | 15 ++++++++++
3 files changed, 81 insertions(+)
Copied: razor/repos/staging-x86_64/PKGBUILD (from rev 354220, razor/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-05-25 10:58:13 UTC (rev 354222)
@@ -0,0 +1,44 @@
+# Maintainer:
+# Contributor: Dale Blount <dale at archlinux.org>
+# Contributor: Manolis Tzanidakis
+
+pkgname=razor
+pkgver=2.85
+pkgrel=12
+pkgdesc="A distributed, collaborative, spam detection and filtering network"
+arch=('x86_64')
+url="http://razor.sourceforge.net"
+license=('PerlArtistic')
+depends=('perl-net-dns' 'perl-digest-sha1' 'perl-uri' 'perl-digest-nilsimsa' 'perl')
+options=('!emptydirs')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-agents-${pkgver}.tar.bz2"
+ razor-2.85-cosmetic-pv-fix.patch
+ razor-2.85-makefile-quoting-fix.patch)
+md5sums=('014d08db40187cb1316482191566b012'
+ '850645e088b21845f4b6653623d59515'
+ '6543caaf0a4086e65de1fb61c8dd5b7b')
+
+prepare() {
+ cd ${pkgname}-agents-${pkgver}
+
+ patch -p1 -i ../razor-2.85-cosmetic-pv-fix.patch
+
+ # ExtUtils::MakeMaker >= 6.99_09 has quotes around paths
+ patch -p1 -i ../razor-2.85-makefile-quoting-fix.patch
+}
+
+build() {
+ cd ${pkgname}-agents-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd ${pkgname}-agents-${pkgver}
+ make test
+}
+
+package() {
+ cd ${pkgname}-agents-${pkgver}
+ make DESTDIR="${pkgdir}" install
+}
Copied: razor/repos/staging-x86_64/razor-2.85-cosmetic-pv-fix.patch (from rev 354220, razor/trunk/razor-2.85-cosmetic-pv-fix.patch)
===================================================================
--- staging-x86_64/razor-2.85-cosmetic-pv-fix.patch (rev 0)
+++ staging-x86_64/razor-2.85-cosmetic-pv-fix.patch 2019-05-25 10:58:13 UTC (rev 354222)
@@ -0,0 +1,22 @@
+--- a/lib/Razor2/Client/Version.pm 2007-05-10 22:32:10.000000000 +0200
++++ b/lib/Razor2/Client/Version.pm 2010-03-25 11:11:36.911409707 +0100
+@@ -14,7 +14,7 @@
+
+ $PROTOCOL = 3;
+
+-$VERSION = '2.84';
++$VERSION = '2.85';
+
+ 1;
+
+--- a/META.yml 2007-05-23 20:29:34.000000000 +0200
++++ b/META.yml 2010-03-25 11:11:43.691408628 +0100
+@@ -1,7 +1,7 @@
+ # http://module-build.sourceforge.net/META-spec.html
+ #XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
+ name: razor-agents
+-version: 2.84
++version: 2.85
+ version_from: lib/Razor2/Client/Version.pm
+ installdirs: site
+ requires:
Copied: razor/repos/staging-x86_64/razor-2.85-makefile-quoting-fix.patch (from rev 354221, razor/trunk/razor-2.85-makefile-quoting-fix.patch)
===================================================================
--- staging-x86_64/razor-2.85-makefile-quoting-fix.patch (rev 0)
+++ staging-x86_64/razor-2.85-makefile-quoting-fix.patch 2019-05-25 10:58:13 UTC (rev 354222)
@@ -0,0 +1,15 @@
+diff -uprw razor-agents-2.85.orig/Makefile.PL razor-agents-2.85/Makefile.PL
+--- razor-agents-2.85.orig/Makefile.PL 2007-05-09 01:47:53.000000000 +0300
++++ razor-agents-2.85/Makefile.PL 2015-06-14 20:36:23.677213987 +0300
+@@ -140,9 +140,9 @@ sub MY::install {
+ my $inherited = $self->SUPER::install(@_);
+
+ my $man5 = q{ \\
+- $(INST_MAN5DIR) $(INSTALLMAN5DIR)};
++ "$(INST_MAN5DIR)" "$(INSTALLMAN5DIR)"};
+
+- $inherited =~ s/(\$\((?:DEST)?INSTALL\w*MAN1DIR\))/$1$man5/gm;
++ $inherited =~ s/("?\$\((?:DEST)?INSTALL\w*MAN1DIR\)"?)/$1$man5/gm;
+
+ return $inherited;
+ }
More information about the arch-commits
mailing list