Date: Saturday, August 26, 2017 @ 17:46:34 Author: felixonmars Revision: 304055
archrelease: copy trunk to staging-i686, staging-x86_64 Added: razor/repos/staging-i686/ razor/repos/staging-i686/PKGBUILD (from rev 304054, razor/trunk/PKGBUILD) razor/repos/staging-i686/razor-2.85-cosmetic-pv-fix.patch (from rev 304054, razor/trunk/razor-2.85-cosmetic-pv-fix.patch) razor/repos/staging-i686/razor-2.85-makefile-quoting-fix.patch (from rev 304054, razor/trunk/razor-2.85-makefile-quoting-fix.patch) razor/repos/staging-x86_64/ razor/repos/staging-x86_64/PKGBUILD (from rev 304054, razor/trunk/PKGBUILD) razor/repos/staging-x86_64/razor-2.85-cosmetic-pv-fix.patch (from rev 304054, razor/trunk/razor-2.85-cosmetic-pv-fix.patch) razor/repos/staging-x86_64/razor-2.85-makefile-quoting-fix.patch (from rev 304054, razor/trunk/razor-2.85-makefile-quoting-fix.patch) ------------------------------------------------------+ staging-i686/PKGBUILD | 53 +++++++++++++++++ staging-i686/razor-2.85-cosmetic-pv-fix.patch | 22 +++++++ staging-i686/razor-2.85-makefile-quoting-fix.patch | 15 ++++ staging-x86_64/PKGBUILD | 53 +++++++++++++++++ staging-x86_64/razor-2.85-cosmetic-pv-fix.patch | 22 +++++++ staging-x86_64/razor-2.85-makefile-quoting-fix.patch | 15 ++++ 6 files changed, 180 insertions(+) Copied: razor/repos/staging-i686/PKGBUILD (from rev 304054, razor/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-08-26 17:46:34 UTC (rev 304055) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: +# Contributor: Dale Blount <d...@archlinux.org> +# Contributor: Manolis Tzanidakis + +pkgname=razor +pkgver=2.85 +pkgrel=10 +pkgdesc="A distributed, collaborative, spam detection and filtering network" +arch=('i686' '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=("http://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 + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} Copied: razor/repos/staging-i686/razor-2.85-cosmetic-pv-fix.patch (from rev 304054, razor/trunk/razor-2.85-cosmetic-pv-fix.patch) =================================================================== --- staging-i686/razor-2.85-cosmetic-pv-fix.patch (rev 0) +++ staging-i686/razor-2.85-cosmetic-pv-fix.patch 2017-08-26 17:46:34 UTC (rev 304055) @@ -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-i686/razor-2.85-makefile-quoting-fix.patch (from rev 304054, razor/trunk/razor-2.85-makefile-quoting-fix.patch) =================================================================== --- staging-i686/razor-2.85-makefile-quoting-fix.patch (rev 0) +++ staging-i686/razor-2.85-makefile-quoting-fix.patch 2017-08-26 17:46:34 UTC (rev 304055) @@ -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; + } Copied: razor/repos/staging-x86_64/PKGBUILD (from rev 304054, razor/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-08-26 17:46:34 UTC (rev 304055) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: +# Contributor: Dale Blount <d...@archlinux.org> +# Contributor: Manolis Tzanidakis + +pkgname=razor +pkgver=2.85 +pkgrel=10 +pkgdesc="A distributed, collaborative, spam detection and filtering network" +arch=('i686' '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=("http://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 + +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} Copied: razor/repos/staging-x86_64/razor-2.85-cosmetic-pv-fix.patch (from rev 304054, 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 2017-08-26 17:46:34 UTC (rev 304055) @@ -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 304054, 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 2017-08-26 17:46:34 UTC (rev 304055) @@ -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; + }