diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-14 12:29:53 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-14 12:30:44 +0000 |
commit | 11a8a5a336b81348c1647a8552b6a96c38a6d509 (patch) | |
tree | 07726479b64b4dbe0581efeffdcb5a44594835dd | |
parent | c4e35cd9abdfdf2414c51eadcfc2e2451c5d7f27 (diff) | |
download | aports-11a8a5a336b81348c1647a8552b6a96c38a6d509.tar.bz2 aports-11a8a5a336b81348c1647a8552b6a96c38a6d509.tar.xz |
main/perl-rt-authen-externalauth: remove aport
The features provided by this module have been made into core features
in RT 4.4 and greater.
https://github.com/bestpractical/rt-authen-externalauth
-rw-r--r-- | main/perl-rt-authen-externalauth/01-fix-plugindir.patch | 24 | ||||
-rw-r--r-- | main/perl-rt-authen-externalauth/APKBUILD | 76 |
2 files changed, 0 insertions, 100 deletions
diff --git a/main/perl-rt-authen-externalauth/01-fix-plugindir.patch b/main/perl-rt-authen-externalauth/01-fix-plugindir.patch deleted file mode 100644 index ea4fa485b2..0000000000 --- a/main/perl-rt-authen-externalauth/01-fix-plugindir.patch +++ /dev/null @@ -1,24 +0,0 @@ -Author: Tom Jampen <tom@cryptography.ch> -Description: - Using the PREFIX environment variable defined in rules to find debian's request - tracker installation and fixing the plugin path to install to DESTDIR. - -diff -Naurp a/inc/Module/Install/RTx.pm b/inc/Module/Install/RTx.pm ---- a/inc/Module/Install/RTx.pm 2014-10-15 08:41:45.631919231 +0200 -+++ b/inc/Module/Install/RTx.pm 2014-10-15 08:41:04.130328032 +0200 -@@ -42,12 +42,14 @@ sub RTx { - $ENV{RTHOME} =~ s{/RT\.pm$}{} if defined $ENV{RTHOME}; - $ENV{RTHOME} =~ s{/lib/?$}{} if defined $ENV{RTHOME}; - my @try = $ENV{RTHOME} ? ($ENV{RTHOME}, "$ENV{RTHOME}/lib") : (); -+ my $prefix = $ENV{PREFIX}; -+ push @INC, "$prefix/lib"; - while (1) { - my @look = @INC; - unshift @look, grep {defined and -d $_} @try; - push @look, grep {defined and -d $_} - map { ( "$_/rt4/lib", "$_/lib/rt4", "$_/lib" ) } @prefixes; -- last if eval {local @INC = @look; require RT; $RT::LocalLibPath}; -+ last if eval {local @INC = @look; require RT; $RT::LocalPluginPath = '$(DESTDIR)'."$prefix/plugins"; $RT::LocalLibPath}; - - warn - "Cannot find the location of RT.pm that defines \$RT::LocalPath in: @look\n"; diff --git a/main/perl-rt-authen-externalauth/APKBUILD b/main/perl-rt-authen-externalauth/APKBUILD deleted file mode 100644 index 60b9115194..0000000000 --- a/main/perl-rt-authen-externalauth/APKBUILD +++ /dev/null @@ -1,76 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=perl-rt-authen-externalauth -_realname=RT-Authen-ExternalAuth -pkgver=0.25 -pkgrel=0 -pkgdesc="RT Authentication using External Sources" -url="http://search.cpan.org/~tsibley" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends=" " -depends="$cpandepends rt4 perl-dbi perl-ldap perl-net-ssleay" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/${_realname}-${pkgver}.tar.gz - 01-fix-plugindir.patch - " - -_builddir="$srcdir/$_realname-$pkgver" - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) - msg "Applying $i" - patch -p1 -i "$srcdir"/$i || return 1 - ;; - esac - done - - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - export PREFIX="/usr/lib/rt4" \ - INSTALLDIRS=vendor \ - DESTDIR="$pkgdir" \ - RTHOME="/usr/lib/rt4" - - PERL_MM_USE_DEFAULT=1 perl Makefile.PL \ - INSTALLDIRS=vendor \ - DESTDIR="$pkgdir" \ - RTHOME="/usr/lib/rt4" \ - PREFIX="/usr/lib/rt4" \ - INSTALLSITEARCH="/usr/share/man" \ - INSTALLVENDORMAN1DIR="/usr/share/man/man1" \ - INSTALLVENDORMAN3DIR="/usr/share/man/man3" \ - INSTALLVENDORLIB="/usr/share/perl5/vendor_perl" - -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - make DESTDIR="$pkgdir" \ - RTHOME="/usr/lib/rt4" \ - PREFIX="/usr/lib/rt4" -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" \ - RTHOME="/usr/lib/rt4" \ - PREFIX="/usr/lib/rt4" \ - install || return 1 - mkdir -p "$pkgdir"/etc/rt4/plugins - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete - # leftover empty dirs - rm -rf "$pkgdir"/home -} - -md5sums="18563039f685cddb30259b8869682cac RT-Authen-ExternalAuth-0.25.tar.gz -bb86eb8fa789153221b020ab8ccb6ac4 01-fix-plugindir.patch" -sha256sums="ac22f33429af4b53c2a487a3fded19becc79ad538ca35753ec5fa3de27f5911c RT-Authen-ExternalAuth-0.25.tar.gz -e77b19ce51ab2ac1028d2d616d2dccaaefdf2fe0c4c83bd166b06887be1b93b5 01-fix-plugindir.patch" -sha512sums="82306cb4c483bace0e209eecd9b033fd97e57dcd424a4fd56cefb5e7fa7592078078a896c2e0e604547188f198876a03c72be80afcdf058bdcd351ea55687d26 RT-Authen-ExternalAuth-0.25.tar.gz -39411a0e0e3a8cc3de2386192e015bcc1044f529e814b5540df405e1b88b4a1569199d84afacaa78467c9d01b44060c02691777c0e9f013a527b0cd5782620ac 01-fix-plugindir.patch" |