From owner-svn-ports-all@freebsd.org Sat Feb 24 09:03:00 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0AD84F24F92; Sat, 24 Feb 2018 09:03:00 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B3DBD76828; Sat, 24 Feb 2018 09:02:59 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AEBEC236AF; Sat, 24 Feb 2018 09:02:59 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1O92x1p032432; Sat, 24 Feb 2018 09:02:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1O92x4U032428; Sat, 24 Feb 2018 09:02:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201802240902.w1O92x4U032428@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 24 Feb 2018 09:02:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462778 - head/dns/ghtool X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: head/dns/ghtool X-SVN-Commit-Revision: 462778 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 09:03:00 -0000 Author: amdmi3 Date: Sat Feb 24 09:02:59 2018 New Revision: 462778 URL: https://svnweb.freebsd.org/changeset/ports/462778 Log: - Add LICENSE - Simplify Makefile and pkg-descr - Update WWW Approved by: portmgr blanket Modified: head/dns/ghtool/Makefile head/dns/ghtool/pkg-descr Modified: head/dns/ghtool/Makefile ============================================================================== --- head/dns/ghtool/Makefile Sat Feb 24 08:57:20 2018 (r462777) +++ head/dns/ghtool/Makefile Sat Feb 24 09:02:59 2018 (r462778) @@ -6,25 +6,23 @@ PORTVERSION= 1.0 CATEGORIES= dns MASTER_SITES= SF/gh-tool/gh-tool/1 DISTNAME= ghmain.c -EXTRACT_SUFX= +EXTRACT_SUFX= # none MAINTAINER= ports@FreeBSD.org COMMENT= Command-line interface to the resolver library -WRKSRC= ${WRKDIR} +LICENSE= NONE -TGT= gh -SRC= gh.c - -EXTRACT_CMD= ${CP} -EXTRACT_BEFORE_ARGS= -EXTRACT_AFTER_ARGS= ${WRKSRC}/${SRC} PLIST_FILES= bin/gh +do-extract: + @${MKDIR} ${WRKDIR} + ${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/ + do-build: - ${CC} ${CFLAGS} -o ${WRKSRC}/${TGT} ${WRKSRC}/${SRC} + ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKDIR}/gh ${WRKDIR}/ghmain.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${TGT} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKDIR}/gh ${STAGEDIR}${PREFIX}/bin .include Modified: head/dns/ghtool/pkg-descr ============================================================================== --- head/dns/ghtool/pkg-descr Sat Feb 24 08:57:20 2018 (r462777) +++ head/dns/ghtool/pkg-descr Sat Feb 24 09:02:59 2018 (r462778) @@ -1,8 +1,6 @@ -To quote from the SourceForge project description: +gh-tool is a command-line interface to gethostby*, in libresolv/libc. +It allows one to check the local system's notion of an IP->DNS or +DNS->IP mapping, including aliases, directly, rather than digging for +mappings in DNS, which may or may not be relevant. - gh-tool is a command-line interface to gethostby*, in libresolv/libc. - It allows one to check the local system's notion of an IP->DNS or - DNS->IP mapping, including aliases, directly, rather than digging for - mappings in DNS, which may or may not be relevant. - -WWW: http://www.sourceforge.net/projects/gh-tool/ +WWW: https://sourceforge.net/projects/gh-tool/