diff options
author | marcus <marcus@FreeBSD.org> | 2004-10-24 02:12:40 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-10-24 02:12:40 +0800 |
commit | 0ec543e28e1971585cb0c647f78c55e6d3a53c65 (patch) | |
tree | d968b868c91a986e8134f87636cf9b2c1f325a86 /dns/gresolver | |
parent | 26119d807bc52b3596c2c23bb3b294b62113bd52 (diff) | |
download | freebsd-ports-gnome-0ec543e28e1971585cb0c647f78c55e6d3a53c65.tar.gz freebsd-ports-gnome-0ec543e28e1971585cb0c647f78c55e6d3a53c65.tar.zst freebsd-ports-gnome-0ec543e28e1971585cb0c647f78c55e6d3a53c65.zip |
Add gresolver, a graphical DNS query tool using GTK+. It allows system
administrators to quickly and easily make the most common DNS queries
without constructing lengthy dig commands.
PR: 73030
Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'dns/gresolver')
-rw-r--r-- | dns/gresolver/Makefile | 48 | ||||
-rw-r--r-- | dns/gresolver/distinfo | 2 | ||||
-rw-r--r-- | dns/gresolver/files/bind9.diff | 11 | ||||
-rw-r--r-- | dns/gresolver/pkg-descr | 14 | ||||
-rw-r--r-- | dns/gresolver/pkg-plist | 5 |
5 files changed, 80 insertions, 0 deletions
diff --git a/dns/gresolver/Makefile b/dns/gresolver/Makefile new file mode 100644 index 000000000000..b495ad334e46 --- /dev/null +++ b/dns/gresolver/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: gresolver +# Date created: 23 Oct 2004 +# Whom: Jean-Yves Lefort <jylefort@brutele.be> +# +# $FreeBSD$ +# + +PORTNAME= gresolver +PORTVERSION= 0.0.1 +CATEGORIES= dns +MASTER_SITES= http://jodrell.net/files/gresolver/ + +MAINTAINER= jylefort@brutele.be +COMMENT= A graphical DNS query tool using GTK+ + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \ + ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ + ${SITE_PERL}/${PERL_ARCH}/Gtk2/GladeXML.pm:${PORTSDIR}/x11-toolkits/p5-Glade2 + +USE_X_PREFIX= yes +NO_BUILD= yes +USE_REINPLACE= yes + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 503000 +# extra patch for BIND 9 +EXTRA_PATCHES= ${FILESDIR}/bind9.diff +.endif + +post-patch: + @${SED} -e \ + 's|share/pixmaps|share/gnome/pixmaps| ; \ + s|@PREFIX@|${PREFIX}|' \ + ${WRKSRC}/gresolver.pl > ${WRKSRC}/gresolver + @${REINPLACE_CMD} -e 's|Icon=gresolver|&.png|' ${WRKSRC}/gresolver.desktop + +do-install: + ${MKDIR} ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/gresolver ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/gnome/applications + ${INSTALL_DATA} ${WRKSRC}/gresolver.desktop ${PREFIX}/share/gnome/applications + ${MKDIR} ${PREFIX}/share/gnome/pixmaps + ${INSTALL_DATA} ${WRKSRC}/gresolver.png ${PREFIX}/share/gnome/pixmaps + ${MKDIR} ${PREFIX}/share/gresolver + ${INSTALL_DATA} ${WRKSRC}/gresolver.glade ${PREFIX}/share/gresolver + +.include <bsd.port.post.mk> diff --git a/dns/gresolver/distinfo b/dns/gresolver/distinfo new file mode 100644 index 000000000000..94a539cb1a66 --- /dev/null +++ b/dns/gresolver/distinfo @@ -0,0 +1,2 @@ +MD5 (gresolver-0.0.1.tar.gz) = 27870d7a1b3ac7308644c4cf4ff50807 +SIZE (gresolver-0.0.1.tar.gz) = 19137 diff --git a/dns/gresolver/files/bind9.diff b/dns/gresolver/files/bind9.diff new file mode 100644 index 000000000000..a5eea697e0c3 --- /dev/null +++ b/dns/gresolver/files/bind9.diff @@ -0,0 +1,11 @@ +--- gresolver.pl.orig Sat Oct 23 07:47:39 2004 ++++ gresolver.pl Sat Oct 23 07:47:53 2004 +@@ -160,7 +160,7 @@ + ### build the dig query: + my $cmd = join(' ', ( + $dig, +- '+'.($recursive == 1 ? '' : 'no').'recursive', ++ '+'.($recursive == 1 ? '' : 'no').'recurse', + '+'.($additional == 1 ? '' : 'no').'additional', + '+'.($authoritative == 1 ? '' : 'no').'authority', + '+'.($trace == 1 ? '' : 'no').'trace', diff --git a/dns/gresolver/pkg-descr b/dns/gresolver/pkg-descr new file mode 100644 index 000000000000..f94993bb930b --- /dev/null +++ b/dns/gresolver/pkg-descr @@ -0,0 +1,14 @@ +GResolver is a graphical DNS query tool using GTK+. It allows system +administrators to quickly and easily make the most common DNS queries +without constructing lengthy dig commands. + +GResolver supports all the main resource record types, including AAAA, +AXFR, MX and TXT, and the appropriate in-addr.arpa address is +constructed from dotted-quad IP addresses when doing PTR +queries. There are checkboxes for controlling the most commonly-used +options. + +WWW: http://jodrell.net/projects/gresolver/ + +- Jean-Yves Lefort +jylefort@brutele.be diff --git a/dns/gresolver/pkg-plist b/dns/gresolver/pkg-plist new file mode 100644 index 000000000000..ba6b25f6892a --- /dev/null +++ b/dns/gresolver/pkg-plist @@ -0,0 +1,5 @@ +bin/gresolver +share/gnome/applications/gresolver.desktop +share/gnome/pixmaps/gresolver.png +%%DATADIR%%/gresolver.glade +@dirrm %%DATADIR%% |