Date: Sat, 23 Oct 2004 08:40:07 +0200 (CEST) From: Jean-Yves Lefort <jylefort@brutele.be> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/73030: New port: dns/gresolver, a graphical DNS query tool using GTK+ Message-ID: <20041023064007.99CE722E09@jsite.lefort.net> Resent-Message-ID: <200410230640.i9N6eKfa008155@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 73030 >Category: ports >Synopsis: New port: dns/gresolver, a graphical DNS query tool using GTK+ >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Oct 23 06:40:20 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jean-Yves Lefort >Release: FreeBSD 5.3-BETA6 i386 >Organization: >Environment: System: FreeBSD jsite.lefort.net 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Tue Sep 28 00:10:28 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386 >Description: Depends on 70682. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # gresolver # gresolver/pkg-plist # gresolver/pkg-descr # gresolver/distinfo # gresolver/Makefile # gresolver/files # gresolver/files/bind9.diff # echo c - gresolver mkdir -p gresolver > /dev/null 2>&1 echo x - gresolver/pkg-plist sed 's/^X//' >gresolver/pkg-plist << 'END-of-gresolver/pkg-plist' Xbin/gresolver Xshare/gnome/applications/gresolver.desktop Xshare/gnome/pixmaps/gresolver.png Xshare/gresolver/gresolver.glade X@dirrm share/gresolver END-of-gresolver/pkg-plist echo x - gresolver/pkg-descr sed 's/^X//' >gresolver/pkg-descr << 'END-of-gresolver/pkg-descr' XGResolver is a graphical DNS query tool using GTK+. It allows system Xadministrators to quickly and easily make the most common DNS queries Xwithout constructing lengthy dig commands. X XGResolver supports all the main resource record types, including AAAA, XAXFR, MX and TXT, and the appropriate in-addr.arpa address is Xconstructed from dotted-quad IP addresses when doing PTR Xqueries. There are checkboxes for controlling the most commonly-used Xoptions. X XWWW: http://jodrell.net/projects/gresolver/ X X- Jean-Yves Lefort Xjylefort@brutele.be END-of-gresolver/pkg-descr echo x - gresolver/distinfo sed 's/^X//' >gresolver/distinfo << 'END-of-gresolver/distinfo' XMD5 (gresolver-0.0.1.tar.gz) = 27870d7a1b3ac7308644c4cf4ff50807 XSIZE (gresolver-0.0.1.tar.gz) = 19137 END-of-gresolver/distinfo echo x - gresolver/Makefile sed 's/^X//' >gresolver/Makefile << 'END-of-gresolver/Makefile' X# New ports collection makefile for: gresolver X# Date created: 23 Oct 2004 X# Whom: Jean-Yves Lefort <jylefort@brutele.be> X# X# $FreeBSD$ X# X XPORTNAME= gresolver XPORTVERSION= 0.0.1 XCATEGORIES= dns XMASTER_SITES= http://jodrell.net/files/gresolver/ X XMAINTAINER= jylefort@brutele.be XCOMMENT= A graphical DNS query tool using GTK+ X XRUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \ X ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \ X ${SITE_PERL}/${PERL_ARCH}/Gtk2/GladeXML.pm:${PORTSDIR}/x11-toolkits/p5-Glade2 X XUSE_X_PREFIX= yes XNO_BUILD= yes XUSE_REINPLACE= yes X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} >= 503000 X# extra patch for BIND 9 XEXTRA_PATCHES= ${FILESDIR}/bind9.diff X.endif X Xpost-patch: X @${SED} -e \ X 's|share/pixmaps|share/gnome/pixmaps| ; \ X s|@PREFIX@|${PREFIX}|' \ X ${WRKSRC}/gresolver.pl > ${WRKSRC}/gresolver X @${REINPLACE_CMD} -e 's|Icon=gresolver|&.png|' ${WRKSRC}/gresolver.desktop X Xdo-install: X ${MKDIR} ${PREFIX}/bin X ${INSTALL_SCRIPT} ${WRKSRC}/gresolver ${PREFIX}/bin X ${MKDIR} ${PREFIX}/share/gnome/applications X ${INSTALL_DATA} ${WRKSRC}/gresolver.desktop ${PREFIX}/share/gnome/applications X ${MKDIR} ${PREFIX}/share/gnome/pixmaps X ${INSTALL_DATA} ${WRKSRC}/gresolver.png ${PREFIX}/share/gnome/pixmaps X ${MKDIR} ${PREFIX}/share/gresolver X ${INSTALL_DATA} ${WRKSRC}/gresolver.glade ${PREFIX}/share/gresolver X X.include <bsd.port.post.mk> END-of-gresolver/Makefile echo c - gresolver/files mkdir -p gresolver/files > /dev/null 2>&1 echo x - gresolver/files/bind9.diff sed 's/^X//' >gresolver/files/bind9.diff << 'END-of-gresolver/files/bind9.diff' X--- gresolver.pl.orig Sat Oct 23 07:47:39 2004 X+++ gresolver.pl Sat Oct 23 07:47:53 2004 X@@ -160,7 +160,7 @@ X ### build the dig query: X my $cmd = join(' ', ( X $dig, X- '+'.($recursive == 1 ? '' : 'no').'recursive', X+ '+'.($recursive == 1 ? '' : 'no').'recurse', X '+'.($additional == 1 ? '' : 'no').'additional', X '+'.($authoritative == 1 ? '' : 'no').'authority', X '+'.($trace == 1 ? '' : 'no').'trace', END-of-gresolver/files/bind9.diff exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041023064007.99CE722E09>