From owner-svn-ports-all@freebsd.org Mon Dec 16 05:11:52 2019 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EE741D8D0C; Mon, 16 Dec 2019 05:11:52 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47bqBb70lgz4MQY; Mon, 16 Dec 2019 05:11:51 +0000 (UTC) (envelope-from araujo@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 EB86320644; Mon, 16 Dec 2019 05:11:51 +0000 (UTC) (envelope-from araujo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBG5BpVf015179; Mon, 16 Dec 2019 05:11:51 GMT (envelope-from araujo@FreeBSD.org) Received: (from araujo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBG5Bpnb015177; Mon, 16 Dec 2019 05:11:51 GMT (envelope-from araujo@FreeBSD.org) Message-Id: <201912160511.xBG5Bpnb015177@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: araujo set sender to araujo@FreeBSD.org using -f From: Marcelo Araujo Date: Mon, 16 Dec 2019 05:11:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520217 - head/sysutils/pftop X-SVN-Group: ports-head X-SVN-Commit-Author: araujo X-SVN-Commit-Paths: head/sysutils/pftop X-SVN-Commit-Revision: 520217 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.29 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: Mon, 16 Dec 2019 05:11:52 -0000 Author: araujo Date: Mon Dec 16 05:11:51 2019 New Revision: 520217 URL: https://svnweb.freebsd.org/changeset/ports/520217 Log: - Move the project to github and mark it as fetchable again. - While here, do some cosmetic changes on ports Makefile. - Bump PORTREVISION. Reported by: many Modified: head/sysutils/pftop/Makefile head/sysutils/pftop/distinfo head/sysutils/pftop/pkg-descr Modified: head/sysutils/pftop/Makefile ============================================================================== --- head/sysutils/pftop/Makefile Mon Dec 16 04:34:08 2019 (r520216) +++ head/sysutils/pftop/Makefile Mon Dec 16 05:11:51 2019 (r520217) @@ -3,17 +3,17 @@ PORTNAME= pftop PORTVERSION= 0.7 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils net -MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ MAINTAINER= araujo@FreeBSD.org COMMENT= Utility for real-time display of statistics for pf -BROKEN= unfetchable - LICENSE= BSD2CLAUSE +USE_GITHUB= yes +GH_ACCOUNT= araujobsd + OPTIONS_DEFINE= ALTQ ALTQ_DESC= ALTQ support for queue statistics @@ -23,14 +23,16 @@ ALTQ_DESC= ALTQ support for queue statistics EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bpf_dump.c \ ${FILESDIR}/extra-patch-sf-gencode.h -MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=45 +MAKE_ARGS= LOCALBASE="${PREFIX}" \ + OSLEVEL=45 CFLAGS+= -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 \ -DHAVE_FINE_GRAINED_LOCKING=1 + .if ${PORT_OPTIONS:MALTQ} CFLAGS+= -DHAVE_ALTQ=1 .endif -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c \ - ${FILESDIR}/extra-patch-cache.h \ + +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c ${FILESDIR}/extra-patch-cache.h \ ${FILESDIR}/extra-patch-config.h \ ${FILESDIR}/extra-patch-pftop.c \ ${FILESDIR}/extra-patch-sf-gencode.c @@ -40,19 +42,23 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-engine.c MAKE_ARGS+= CSTD=gnu89 MAKE_ENV+= __MAKE_CONF=/dev/null -PLIST_FILES= sbin/pftop man/man8/pftop.8.gz +PLIST_FILES= sbin/pftop \ + man/man8/pftop.8.gz post-patch: @${ECHO_MSG} "===> Applying FairQ/Codel patches to ${PORTNAME}." @${CAT} ${FILESDIR}/extra-patch-fairq_codel.diff | \ ${PATCH} -d ${PATCH_WRKSRC} ${PATCH_ARGS} @${REINPLACE_CMD} -e 's||"${FILESDIR}/queue.h"|g' \ - ${WRKSRC}/engine.c - @${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.h - @${REINPLACE_CMD} -e 's|__dead|__dead2|g' ${WRKSRC}/sf-gencode.c + ${WRKSRC}/engine.c + @${REINPLACE_CMD} -e 's|__dead|__dead2|g' \ + ${WRKSRC}/sf-gencode.h + @${REINPLACE_CMD} -e 's|__dead|__dead2|g' \ + ${WRKSRC}/sf-gencode.c @${REINPLACE_CMD} -e 's|#include ||g' \ - ${WRKSRC}/sf-gencode.c - @${REINPLACE_CMD} -e 's|altq/|net/&|' ${WRKSRC}/pftop.c + ${WRKSRC}/sf-gencode.c + @${REINPLACE_CMD} -e 's|altq/|net/&|' \ + ${WRKSRC}/pftop.c @${REINPLACE_CMD} -e 's|#include .pcap-int.h.|#include |g' \ ${WRKSRC}/bpf_image.c \ ${WRKSRC}/bpf_optimize.c \ @@ -63,7 +69,9 @@ post-patch: ${WRKSRC}/sf-scanner.l do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pftop ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${STAGEDIR}${MANPREFIX}/man/man8 + ${INSTALL_PROGRAM} ${WRKSRC}/pftop \ + ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/pftop.8 \ + ${STAGEDIR}${MANPREFIX}/man/man8 .include Modified: head/sysutils/pftop/distinfo ============================================================================== --- head/sysutils/pftop/distinfo Mon Dec 16 04:34:08 2019 (r520216) +++ head/sysutils/pftop/distinfo Mon Dec 16 05:11:51 2019 (r520217) @@ -1,2 +1,3 @@ -SHA256 (pftop-0.7.tar.gz) = afde859fab77597e4aae1ef6b87f1bb26a5ad8cb2b1d7316a12e5098153492af -SIZE (pftop-0.7.tar.gz) = 59765 +TIMESTAMP = 1576472707 +SHA256 (araujobsd-pftop-0.7_GH0.tar.gz) = 965cda963082746d7c14bf062f0200baf5b365bebdbc11b0642715f905701e9c +SIZE (araujobsd-pftop-0.7_GH0.tar.gz) = 59594 Modified: head/sysutils/pftop/pkg-descr ============================================================================== --- head/sysutils/pftop/pkg-descr Mon Dec 16 04:34:08 2019 (r520216) +++ head/sysutils/pftop/pkg-descr Mon Dec 16 05:11:51 2019 (r520217) @@ -1,4 +1,4 @@ Pftop is a small, curses-based utility for real-time display of active states and rule statistics for pf, the packet filter (for OpenBSD) -WWW: http://www.eee.metu.edu.tr/~canacar/pftop/ +WWW: https://github.com/araujobsd/pftop/