[arch-commits] Commit in gresolver/repos/community-any (5 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon Mar 11 10:26:55 UTC 2013
Date: Monday, March 11, 2013 @ 11:26:54
Author: spupykin
Revision: 86011
archrelease: copy trunk to community-any
Added:
gresolver/repos/community-any/PKGBUILD
(from rev 86010, gresolver/trunk/PKGBUILD)
gresolver/repos/community-any/desktop.patch
(from rev 86010, gresolver/trunk/desktop.patch)
gresolver/repos/community-any/ldns.patch
(from rev 86010, gresolver/trunk/ldns.patch)
Deleted:
gresolver/repos/community-any/PKGBUILD
gresolver/repos/community-any/desktop.patch
---------------+
PKGBUILD | 56 +++++++++++++++++++++++++++++++-------------------------
desktop.patch | 40 ++++++++++++++++++++--------------------
ldns.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 93 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-11 10:26:40 UTC (rev 86010)
+++ PKGBUILD 2013-03-11 10:26:54 UTC (rev 86011)
@@ -1,25 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: William Rea <sillywilly at gmail.com>
-
-pkgname=gresolver
-pkgver=0.0.5
-pkgrel=7
-pkgdesc="A graphical frontend for dig"
-arch=('any')
-license=('GPL')
-url="http://jodrell.net/projects/gresolver"
-depends=('gtk2-perl' 'perl-locale-gettext' 'perl-net-ipv6addr' 'dnsutils' 'glade-perl' 'perl-net-ipv4addr')
-#source=(http://jodrell.net/files/unsupported/gresolver/gresolver-$pkgver.tar.gz
-source=(http://arch.p5n.pp.ru/~sergej/dl/2012/gresolver-$pkgver.tar.gz
- desktop.patch)
-md5sums=('092adb0206423118357a93ce3f14afb1'
- 'db1e194234b66a6ab7cc7d0757471516')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- patch -p1 -i ../desktop.patch
- ./configure --prefix=/usr
- make
- make prefix=$pkgdir/usr install
-}
Copied: gresolver/repos/community-any/PKGBUILD (from rev 86010, gresolver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-03-11 10:26:54 UTC (rev 86011)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=gresolver
+pkgver=0.0.5
+pkgrel=8
+pkgdesc="A graphical frontend for dig"
+arch=('any')
+license=('GPL')
+url="http://jodrell.net/projects/gresolver"
+depends=('gtk2-perl' 'perl-locale-gettext' 'perl-net-ipv6addr' 'ldns' 'glade-perl' 'perl-net-ipv4addr')
+source=(http://arch.p5n.pp.ru/~sergej/dl/2012/gresolver-$pkgver.tar.gz
+ desktop.patch
+ ldns.patch)
+md5sums=('092adb0206423118357a93ce3f14afb1'
+ 'db1e194234b66a6ab7cc7d0757471516'
+ '7cb3789ab5d7642924637507cdaac75d')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -p1 -i ../desktop.patch
+ patch -p1 -i ../ldns.patch
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make prefix=$pkgdir/usr install
+}
Deleted: desktop.patch
===================================================================
--- desktop.patch 2013-03-11 10:26:40 UTC (rev 86010)
+++ desktop.patch 2013-03-11 10:26:54 UTC (rev 86011)
@@ -1,20 +0,0 @@
---- gresolver-0.0.5/gresolver.desktop 2005-07-04 08:24:33.000000000 -0700
-+++ gresolver-0.0.5-new/gresolver.desktop 2006-01-30 17:00:03.000000000 -0800
-@@ -1,15 +1,12 @@
- [Desktop Entry]
- Encoding=UTF-8
--Version=1.0
- Type=Application
- Exec=gresolver
--TryExec=
--X-GNOME-DocPath=
- Terminal=false
- StartupNotify=true
- Name=DNS Query Tool
- Name[en_GB]=DNS Query Tool
- Comment=Perform advanced DNS queries
- Comment[en_GB]=Perform advanced DNS queries
--Icon=gresolver
--Categories=Categories=Application;Network;
-+Icon=gresolver.png
-+Categories=Application;Network;
Copied: gresolver/repos/community-any/desktop.patch (from rev 86010, gresolver/trunk/desktop.patch)
===================================================================
--- desktop.patch (rev 0)
+++ desktop.patch 2013-03-11 10:26:54 UTC (rev 86011)
@@ -0,0 +1,20 @@
+--- gresolver-0.0.5/gresolver.desktop 2005-07-04 08:24:33.000000000 -0700
++++ gresolver-0.0.5-new/gresolver.desktop 2006-01-30 17:00:03.000000000 -0800
+@@ -1,15 +1,12 @@
+ [Desktop Entry]
+ Encoding=UTF-8
+-Version=1.0
+ Type=Application
+ Exec=gresolver
+-TryExec=
+-X-GNOME-DocPath=
+ Terminal=false
+ StartupNotify=true
+ Name=DNS Query Tool
+ Name[en_GB]=DNS Query Tool
+ Comment=Perform advanced DNS queries
+ Comment[en_GB]=Perform advanced DNS queries
+-Icon=gresolver
+-Categories=Categories=Application;Network;
++Icon=gresolver.png
++Categories=Application;Network;
Copied: gresolver/repos/community-any/ldns.patch (from rev 86010, gresolver/trunk/ldns.patch)
===================================================================
--- ldns.patch (rev 0)
+++ ldns.patch 2013-03-11 10:26:54 UTC (rev 86011)
@@ -0,0 +1,42 @@
+diff -wbBur gresolver-0.0.5/gresolver.pl gresolver-0.0.5.my/gresolver.pl
+--- gresolver-0.0.5/gresolver.pl 2006-01-30 23:54:10.000000000 +0300
++++ gresolver-0.0.5.my/gresolver.pl 2013-03-11 14:21:00.183262791 +0400
+@@ -63,7 +63,7 @@
+ $DIG = $OPTIONS->{dig};
+
+ } else {
+- chomp($DIG = `which dig 2>/dev/null`);
++ chomp($DIG = `which drill 2>/dev/null`);
+
+ }
+
+@@ -410,7 +410,7 @@
+ sub get_dig_version {
+ my $version;
+ # an un-argumented call to dig returns the root hints from the default server;
+- if (!open(DIG, "\"$DIG\"|")) {
++ if (!open(DIG, "\"$DIG\" -v|")) {
+ print STDERR "Cannot pipe from '$DIG': $!\n";
+ exit 1;
+
+@@ -421,16 +421,16 @@
+ my $line = <DIG>;
+ close(DIG);
+
+- if ($line =~ /DiG ([\d\.]+)/) {
++ if ($line =~ /drill version ([\d\.]+)/) {
+ $version = $1;
++ }
++ }
+
+- } else {
++ if(!defined $version) {
+ print STDERR "Error parsing version output from dig, got:\n\t$line\n";
+ exit 1;
+ }
+
+- }
+-
+ return split(/\./, $version, 3);
+ }
+
More information about the arch-commits
mailing list