summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2017-05-12 19:00:37 -0300
committerDavid P <megver83@parabola.nu>2017-05-12 19:00:37 -0300
commitb5273d558094440b527a6b535068a38a063017e4 (patch)
treeda2de5d5dba665d91f3546e5a6fda4a2df1a4342 /pcr
parent3c48e8b994353668e2a1abd58a43e887091c65a3 (diff)
downloadabslibre-b5273d558094440b527a6b535068a38a063017e4.tar.gz
abslibre-b5273d558094440b527a6b535068a38a063017e4.tar.bz2
abslibre-b5273d558094440b527a6b535068a38a063017e4.zip
Updated fpdns
Diffstat (limited to 'pcr')
-rw-r--r--pcr/fpdns/PKGBUILD53
1 files changed, 33 insertions, 20 deletions
diff --git a/pcr/fpdns/PKGBUILD b/pcr/fpdns/PKGBUILD
index aa965362e..b143e8ce6 100644
--- a/pcr/fpdns/PKGBUILD
+++ b/pcr/fpdns/PKGBUILD
@@ -1,27 +1,40 @@
+# Maintainer: David P. <megver83@parabola.nu>
# Contributor (Arch): Ermak <ermak@email.it>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-pkgname=fpdns
-pkgver=0.9.3
-pkgrel=1.1
-pkgdesc="Program that remotely determines DNS server versions"
-url="http://code.google.com/p/fpdns/"
-depends=('')
-license=('BSD')
+# Contributor: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+pkgname='fpdns'
+pkgver='20130404'
+pkgrel=8
+epoch=1
+pkgdesc='Program that remotely determines DNS server versions.'
+groups=('blackarch' 'blackarch-fingerprint')
+url='https://github.com/kirei/fpdns'
+depends=('perl')
+license=('BSD3')
options=('!emptydirs')
-arch=('i686' 'x86_64')
-source=('http://fpdns.googlecode.com/files/Net-DNS-Fingerprint-0.9.3.tar.gz')
-md5sums=('16f1fbc9e5c8b935a0a48a509dc58899')
+arch=('any')
+source=("https://github.com/kirei/fpdns/archive/${pkgver}.tar.gz")
+sha1sums=('3c3b33df1861a1a9901601d6c2252b2427ba8763')
build() {
- cd ${srcdir}/Net-DNS-Fingerprint-0.9.3
- eval `perl -V:archname`
+ cd "$srcdir/fpdns-$pkgver"
+
+ eval $(perl -V:archname)
+
/usr/bin/perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- /usr/bin/make || return 1
- /usr/bin/make DESTDIR=${pkgdir} install
- /usr/bin/find ${pkgdir} -name '.packlist' -delete
- /usr/bin/find ${pkgdir} -name '*.pod' -delete
+
+ INSTALLARCHLIB=/usr/lib/perl5/current/$archname \
+ INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
+ INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/$archname
+
+ /usr/bin/make
}
+package() {
+ cd "$srcdir/fpdns-$pkgver"
+
+ install -Dm755 apps/fpdns "$pkgdir/usr/bin/fpdns"
+ install -Dm444 blib/lib/Net/DNS/Fingerprint.pm \
+ "$pkgdir/usr/lib/perl5/site_perl/Net/DNS/Fingerprint.pm"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/LICENSE"
+}