[arch-commits] Commit in gnome-nettool/trunk (PKGBUILD ldns.patch)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Mar 13 11:39:09 UTC 2013
Date: Wednesday, March 13, 2013 @ 12:39:09
Author: heftig
Revision: 179950
replace dig with drill (ldns)
Added:
gnome-nettool/trunk/ldns.patch
Modified:
gnome-nettool/trunk/PKGBUILD
------------+
PKGBUILD | 11 +++++++----
ldns.patch | 21 +++++++++++++++++++++
2 files changed, 28 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-13 11:07:49 UTC (rev 179949)
+++ PKGBUILD 2013-03-13 11:39:09 UTC (rev 179950)
@@ -5,22 +5,25 @@
pkgname=gnome-nettool
pkgver=3.2.0
-pkgrel=1
+pkgrel=2
pkgdesc="A Collection of GNOME3 Networking Tools."
arch=(i686 x86_64)
license=('GPL')
-depends=('gtk3' 'libgtop' 'dnsutils' 'iputils' 'dconf' 'whois' 'hicolor-icon-theme')
+depends=('gtk3' 'libgtop' 'ldns' 'iputils' 'dconf' 'whois' 'hicolor-icon-theme')
makedepends=('gnome-doc-utils' 'intltool' 'nmap' 'net-tools')
optdepends=('nmap: Port scanning'
'net-tools: Network statistics')
groups=('gnome-extra')
url="http://www.gnome.org"
install=gnome-nettool.install
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('9888202f1c13f98fd26b417468e6f2345f885557f3a98fb365eeea52d792bf79')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ ldns.patch)
+sha256sums=('9888202f1c13f98fd26b417468e6f2345f885557f3a98fb365eeea52d792bf79'
+ '8bd83fe863d2945689afd753e5908a2bc033206e25f28d88783ae8d859d6bfeb')
build() {
cd $pkgname-$pkgver
+ patch -Np1 -i ../ldns.patch
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-schemas-compile
make
Added: ldns.patch
===================================================================
--- ldns.patch (rev 0)
+++ ldns.patch 2013-03-13 11:39:09 UTC (rev 179950)
@@ -0,0 +1,21 @@
+diff -u -r gnome-nettool-3.2.0/src/lookup.c gnome-nettool-3.2.0-ldns/src/lookup.c
+--- gnome-nettool-3.2.0/src/lookup.c 2012-01-03 10:38:09.000000000 +0100
++++ gnome-nettool-3.2.0-ldns/src/lookup.c 2013-03-13 12:32:31.551213914 +0100
+@@ -98,7 +98,7 @@
+
+ parent = gtk_widget_get_toplevel (netinfo->output);
+
+- program = util_find_program_dialog ("dig", parent);
++ program = util_find_program_dialog ("drill", parent);
+
+ if (program != NULL) {
+ use_reverse_lookup = pattern_match (host, address_regular_expression);
+@@ -116,7 +116,7 @@
+ command_line = g_new (gchar *, num_terms + 1);
+ i = 0;
+ command_line[i++] = g_strdup (program);
+- command_line[i++] = g_strdup ("dig");
++ command_line[i++] = g_strdup ("drill");
+ if (command_options != NULL) {
+ for (j = 0; command_options[j] != NULL; j++)
+ command_line[i++] = g_strdup (command_options[j]);
More information about the arch-commits
mailing list