Date: Monday, May 20, 2013 @ 13:37:58 Author: spupykin Revision: 91237
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: perl-crypt-blowfish/repos/community-staging-i686/ perl-crypt-blowfish/repos/community-staging-i686/PKGBUILD (from rev 91236, perl-crypt-blowfish/trunk/PKGBUILD) perl-crypt-blowfish/repos/community-staging-i686/perl-5.18.patch (from rev 91236, perl-crypt-blowfish/trunk/perl-5.18.patch) perl-crypt-blowfish/repos/community-staging-x86_64/ perl-crypt-blowfish/repos/community-staging-x86_64/PKGBUILD (from rev 91236, perl-crypt-blowfish/trunk/PKGBUILD) perl-crypt-blowfish/repos/community-staging-x86_64/perl-5.18.patch (from rev 91236, perl-crypt-blowfish/trunk/perl-5.18.patch) ------------------------------------------+ community-staging-i686/PKGBUILD | 33 +++++++++++++++++++++++++++++ community-staging-i686/perl-5.18.patch | 13 +++++++++++ community-staging-x86_64/PKGBUILD | 33 +++++++++++++++++++++++++++++ community-staging-x86_64/perl-5.18.patch | 13 +++++++++++ 4 files changed, 92 insertions(+) Copied: perl-crypt-blowfish/repos/community-staging-i686/PKGBUILD (from rev 91236, perl-crypt-blowfish/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-05-20 11:37:58 UTC (rev 91237) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> + +pkgname=perl-crypt-blowfish +pkgver=2.12 +pkgrel=6 +pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Crypt-Blowfish" +license=("GPL" "PerlArtistic") +source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz" + "perl-5.18.patch") +md5sums=('a0eca17addc8bdaf38c044c365a8800c' + '700129e690f239f9c1a318fffd3504c7') + +prepare() { + cd $srcdir/Crypt-Blowfish-$pkgver + patch -p1 <$srcdir/perl-5.18.patch +} + +build() { + cd $srcdir/Crypt-Blowfish-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Crypt-Blowfish-$pkgver + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} Copied: perl-crypt-blowfish/repos/community-staging-i686/perl-5.18.patch (from rev 91236, perl-crypt-blowfish/trunk/perl-5.18.patch) =================================================================== --- community-staging-i686/perl-5.18.patch (rev 0) +++ community-staging-i686/perl-5.18.patch 2013-05-20 11:37:58 UTC (rev 91237) @@ -0,0 +1,13 @@ +diff -wbBur Crypt-Blowfish-2.12.org/Blowfish.xs Crypt-Blowfish-2.12/Blowfish.xs +--- Crypt-Blowfish-2.12.org/Blowfish.xs 2000-11-30 09:25:21.000000000 +0300 ++++ Crypt-Blowfish-2.12/Blowfish.xs 2013-05-20 15:31:52.481940353 +0400 +@@ -63,8 +63,7 @@ + output = sv_newmortal(); + output_len = 8; + +- if (!SvUPGRADE(output, SVt_PV)) +- croak("cannot use output argument as lvalue"); ++ SvUPGRADE(output, SVt_PV); + + /* blowfish_crypt_8bytes(input, SvGROW(output, 8), ks, dir); */ + /* HP-UX (HP cc) fix below, thanks Addi! */ Copied: perl-crypt-blowfish/repos/community-staging-x86_64/PKGBUILD (from rev 91236, perl-crypt-blowfish/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-05-20 11:37:58 UTC (rev 91237) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Charles Mauch <cma...@gmail.com> + +pkgname=perl-crypt-blowfish +pkgver=2.12 +pkgrel=6 +pkgdesc="Perl/CPAN Module Crypt::Blowfish : XSbased implementation of Blowfish" +arch=("i686" "x86_64") +url="http://search.cpan.org/dist/Crypt-Blowfish" +license=("GPL" "PerlArtistic") +source=("http://search.cpan.org/CPAN/authors/id/D/DP/DPARIS/Crypt-Blowfish-$pkgver.tar.gz" + "perl-5.18.patch") +md5sums=('a0eca17addc8bdaf38c044c365a8800c' + '700129e690f239f9c1a318fffd3504c7') + +prepare() { + cd $srcdir/Crypt-Blowfish-$pkgver + patch -p1 <$srcdir/perl-5.18.patch +} + +build() { + cd $srcdir/Crypt-Blowfish-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd $srcdir/Crypt-Blowfish-$pkgver + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} Copied: perl-crypt-blowfish/repos/community-staging-x86_64/perl-5.18.patch (from rev 91236, perl-crypt-blowfish/trunk/perl-5.18.patch) =================================================================== --- community-staging-x86_64/perl-5.18.patch (rev 0) +++ community-staging-x86_64/perl-5.18.patch 2013-05-20 11:37:58 UTC (rev 91237) @@ -0,0 +1,13 @@ +diff -wbBur Crypt-Blowfish-2.12.org/Blowfish.xs Crypt-Blowfish-2.12/Blowfish.xs +--- Crypt-Blowfish-2.12.org/Blowfish.xs 2000-11-30 09:25:21.000000000 +0300 ++++ Crypt-Blowfish-2.12/Blowfish.xs 2013-05-20 15:31:52.481940353 +0400 +@@ -63,8 +63,7 @@ + output = sv_newmortal(); + output_len = 8; + +- if (!SvUPGRADE(output, SVt_PV)) +- croak("cannot use output argument as lvalue"); ++ SvUPGRADE(output, SVt_PV); + + /* blowfish_crypt_8bytes(input, SvGROW(output, 8), ks, dir); */ + /* HP-UX (HP cc) fix below, thanks Addi! */