head 1.19; access; symbols pkgsrc-2023Q4:1.19.0.14 pkgsrc-2023Q4-base:1.19 pkgsrc-2023Q3:1.19.0.12 pkgsrc-2023Q3-base:1.19 pkgsrc-2023Q2:1.19.0.10 pkgsrc-2023Q2-base:1.19 pkgsrc-2023Q1:1.19.0.8 pkgsrc-2023Q1-base:1.19 pkgsrc-2022Q4:1.19.0.6 pkgsrc-2022Q4-base:1.19 pkgsrc-2022Q3:1.19.0.4 pkgsrc-2022Q3-base:1.19 pkgsrc-2022Q2:1.19.0.2 pkgsrc-2022Q2-base:1.19 pkgsrc-2022Q1:1.18.0.20 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.18 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.18.0.16 pkgsrc-2021Q3-base:1.18 pkgsrc-2021Q2:1.18.0.14 pkgsrc-2021Q2-base:1.18 pkgsrc-2021Q1:1.18.0.12 pkgsrc-2021Q1-base:1.18 pkgsrc-2020Q4:1.18.0.10 pkgsrc-2020Q4-base:1.18 pkgsrc-2020Q3:1.18.0.8 pkgsrc-2020Q3-base:1.18 pkgsrc-2020Q2:1.18.0.6 pkgsrc-2020Q2-base:1.18 pkgsrc-2020Q1:1.18.0.2 pkgsrc-2020Q1-base:1.18 pkgsrc-2019Q4:1.18.0.4 pkgsrc-2019Q4-base:1.18 pkgsrc-2019Q3:1.17.0.20 pkgsrc-2019Q3-base:1.17 pkgsrc-2019Q2:1.17.0.18 pkgsrc-2019Q2-base:1.17 pkgsrc-2019Q1:1.17.0.16 pkgsrc-2019Q1-base:1.17 pkgsrc-2018Q4:1.17.0.14 pkgsrc-2018Q4-base:1.17 pkgsrc-2018Q3:1.17.0.12 pkgsrc-2018Q3-base:1.17 pkgsrc-2018Q2:1.17.0.10 pkgsrc-2018Q2-base:1.17 pkgsrc-2018Q1:1.17.0.8 pkgsrc-2018Q1-base:1.17 pkgsrc-2017Q4:1.17.0.6 pkgsrc-2017Q4-base:1.17 pkgsrc-2017Q3:1.17.0.4 pkgsrc-2017Q3-base:1.17 pkgsrc-2017Q2:1.16.0.36 pkgsrc-2017Q2-base:1.16 pkgsrc-2017Q1:1.16.0.34 pkgsrc-2017Q1-base:1.16 pkgsrc-2016Q4:1.16.0.32 pkgsrc-2016Q4-base:1.16 pkgsrc-2016Q3:1.16.0.30 pkgsrc-2016Q3-base:1.16 pkgsrc-2016Q2:1.16.0.28 pkgsrc-2016Q2-base:1.16 pkgsrc-2016Q1:1.16.0.26 pkgsrc-2016Q1-base:1.16 pkgsrc-2015Q4:1.16.0.24 pkgsrc-2015Q4-base:1.16 pkgsrc-2015Q3:1.16.0.22 pkgsrc-2015Q3-base:1.16 pkgsrc-2015Q2:1.16.0.20 pkgsrc-2015Q2-base:1.16 pkgsrc-2015Q1:1.16.0.18 pkgsrc-2015Q1-base:1.16 pkgsrc-2014Q4:1.16.0.16 pkgsrc-2014Q4-base:1.16 pkgsrc-2014Q3:1.16.0.14 pkgsrc-2014Q3-base:1.16 pkgsrc-2014Q2:1.16.0.12 pkgsrc-2014Q2-base:1.16 pkgsrc-2014Q1:1.16.0.10 pkgsrc-2014Q1-base:1.16 pkgsrc-2013Q4:1.16.0.8 pkgsrc-2013Q4-base:1.16 pkgsrc-2013Q3:1.16.0.6 pkgsrc-2013Q3-base:1.16 pkgsrc-2013Q2:1.16.0.4 pkgsrc-2013Q2-base:1.16 pkgsrc-2013Q1:1.16.0.2 pkgsrc-2013Q1-base:1.16 pkgsrc-2012Q4:1.15.0.2 pkgsrc-2012Q4-base:1.15 pkgsrc-2012Q3:1.14.0.14 pkgsrc-2012Q3-base:1.14 pkgsrc-2012Q2:1.14.0.12 pkgsrc-2012Q2-base:1.14 pkgsrc-2012Q1:1.14.0.10 pkgsrc-2012Q1-base:1.14 pkgsrc-2011Q4:1.14.0.8 pkgsrc-2011Q4-base:1.14 pkgsrc-2011Q3:1.14.0.6 pkgsrc-2011Q3-base:1.14 pkgsrc-2011Q2:1.14.0.4 pkgsrc-2011Q2-base:1.14 pkgsrc-2011Q1:1.14.0.2 pkgsrc-2011Q1-base:1.14 pkgsrc-2010Q4:1.13.0.6 pkgsrc-2010Q4-base:1.13 pkgsrc-2010Q3:1.13.0.4 pkgsrc-2010Q3-base:1.13 pkgsrc-2010Q2:1.13.0.2 pkgsrc-2010Q2-base:1.13 pkgsrc-2010Q1:1.12.0.20 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.18 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.16 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.14 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.12 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.10 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.8 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.6 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.4 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.2 pkgsrc-2008Q1:1.8.0.8 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.6 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.4 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.2 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.7.0.2 pkgsrc-2007Q1-base:1.7 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.2 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.4.0.4 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.2 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.1.1.1.0.4 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.2 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.19 date 2022.04.02.10.50.26; author nia; state Exp; branches; next 1.18; commitid pcT9D6vX3XVCaCyD; 1.18 date 2019.11.04.21.28.50; author rillig; state Exp; branches; next 1.17; commitid P8zvC5DaquV1ZzJB; 1.17 date 2017.09.03.08.37.00; author wiz; state Exp; branches; next 1.16; commitid WMTcdUJCUnzRaJ5A; 1.16 date 2013.02.06.19.31.05; author jperkin; state Exp; branches; next 1.15; 1.15 date 2012.10.23.19.51.19; author asau; state Exp; branches; next 1.14; 1.14 date 2011.02.09.22.51.38; author rumko; state Exp; branches; next 1.13; 1.13 date 2010.05.25.21.06.29; author wiz; state Exp; branches; next 1.12; 1.12 date 2008.06.26.20.59.51; author peter; state Exp; branches; next 1.11; 1.11 date 2008.06.20.01.09.36; author joerg; state Exp; branches; next 1.10; 1.10 date 2008.06.15.14.09.03; author peter; state Exp; branches; next 1.9; 1.9 date 2008.06.12.02.14.46; author joerg; state Exp; branches; next 1.8; 1.8 date 2007.05.18.10.03.32; author peter; state Exp; branches; next 1.7; 1.7 date 2007.01.07.09.14.12; author rillig; state Exp; branches; next 1.6; 1.6 date 2006.03.06.23.02.07; author peter; state Exp; branches; next 1.5; 1.5 date 2005.12.07.12.50.30; author peter; state Exp; branches; next 1.4; 1.4 date 2005.06.17.03.50.34; author jlam; state Exp; branches; next 1.3; 1.3 date 2005.06.01.18.03.22; author jlam; state Exp; branches; next 1.2; 1.2 date 2005.04.11.21.47.28; author tv; state Exp; branches; next 1.1; 1.1 date 2004.11.05.15.08.33; author peter; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.11.05.15.08.33; author peter; state Exp; branches; next ; desc @@ 1.19 log @pftop: Mark BROKEN on NetBSD-current @ text @# $NetBSD: Makefile,v 1.18 2019/11/04 21:28:50 rillig Exp $ DISTNAME= pftop-0.7 PKGREVISION= 2 CATEGORIES= sysutils net MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ MAINTAINER= pkgsrc-users@@NetBSD.org #HOMEPAGE= http://www.eee.metu.edu.tr/~canacar/pftop/ COMMENT= Utility for real-time display of statistics for PF NO_CONFIGURE= yes MAKE_ENV+= OSLEVEL=${PF_VERSION:S/.//} CFLAGS+= -I${PREFIX}/include OSVERSION_SPECIFIC= yes INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} > 099974 BROKEN+= "Depends on removed CIRCLEQ API" .endif post-patch: @@${ECHO} "#include " > ${WRKSRC}/pcap-int.h do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pftop ${DESTDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 .include "../../net/libpcap/buildlink3.mk" .include "../../mk/pf.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.18 log @sysutils: align variable assignments pkglint -Wall -F --only aligned --only indent -r Manually excluded consolekit and dc-tools since pkglint didn't get the formatting correct. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2017/09/03 08:37:00 wiz Exp $ d20 6 @ 1.17 log @Comment out dead MASTER_SITES/HOMEPAGEs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2013/02/06 19:31:05 jperkin Exp $ d14 2 a15 2 MAKE_ENV+= OSLEVEL=${PF_VERSION:S/.//} CFLAGS+= -I${PREFIX}/include @ 1.16 log @PKGREVISION bumps for net/libpcap update. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2012/10/23 19:51:19 asau Exp $ d9 1 a9 1 HOMEPAGE= http://www.eee.metu.edu.tr/~canacar/pftop/ @ 1.15 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2011/02/09 22:51:38 rumko Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.14 log @sysutils/pftop: support newer PF and depend on osabi * In order for pftop to be built successfully with newer PF versions (> 4.1), additional patches are necessary which were taken from OpenBSD's ports as seen in PR pkg/44339 * Pftop compiled for another PF version will not work (properly), so to avoid any problems we must depend on the OS version ok@@ wiz @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2010/05/25 21:06:29 wiz Exp $ a11 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.13 log @Reset maintainer (resigned a few years ago). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2008/06/26 20:59:51 peter Exp $ d4 1 d18 1 @ 1.12 log @Switch to mk/pf.buildlink3.mk. Approved by agc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2008/06/20 01:09:36 joerg Exp $ d7 1 a7 1 MAINTAINER= peter@@NetBSD.org @ 1.11 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2008/06/15 14:09:03 peter Exp $ d28 1 a28 1 .include "../../security/pflkm/buildlink3.mk" @ 1.10 log @Update pftop to version 0.7. Tested on NetBSD 3.1, 4.0 and yamt-pf42. Changes in version 0.7: This version adds state filtering, which is funded by backcountry.com, many thanks. It is now possible to select which states are displayed using a tcpdump(8) like filtering language. The filter can be specified on the command line, using the '-f' switch. It is also possible to change the filter interactively using the 'f' command key. Some sample, not necessarily practical, filters are given below: - Do not show pfsync or carp traffic: not (pfsync or carp) not pfsync and not carp - DNS traffic not going to or coming from the DNS servers: port 53 and not host (10.0.0.10 or 10.0.0.11) - States with input bytes greater than 1M: inb > 1000000 - Traffic with very small average packet size: ((inb / inp) + (outb / outp))/2 < 100 inb / inp + outb / outp < 200 Changes in version 0.6: No functional changes. It now compiles and runs on OpenBSD 4.1-current after pf interface changes. This version also contains separated pf and display code. This should make adding new views easier. Changes in version 0.5: This version displays all active pf rules by traversing the ruleset tree. In addition HFSC queues are now displayed correctly thanks to Jared Spiegel. This version also incorporates other patches and comments I have received since the previous release. Many thanks to all who have contributed. - New command-line switch 'S' to start the display at a given state. - Display HFCS statistics in the queue page. - Fixed state and rule byte and packet counters - Fixed state sorting by packets and bytes - Fixed some minor display problems - The rule view now traverses all rulesets, and displays all active rules, together with anchor (ruleset) names. - Anchor and Label fields dynamically resize themselves @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2008/06/12 02:14:46 joerg Exp $ d11 2 @ 1.9 log @Add DESTDIR support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2007/05/18 10:03:32 peter Exp $ d3 1 a3 1 DISTNAME= pftop-0.4 d7 1 a7 1 MAINTAINER= pkgsrc-users@@NetBSD.org d18 3 d25 1 @ 1.8 log @Remove myself as maintainer, I don't have the time anymore to keep these packages up to date. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2007/01/07 09:14:12 rillig Exp $ d19 2 a20 2 ${INSTALL_PROGRAM} ${WRKSRC}/pftop ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/${PKGMANDIR}/man8 @ 1.7 log @Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with ${PREFIX}/${PKGMANDIR}. Fixes PR 35265, although I did not use the patch provided therein. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2006/03/06 23:02:07 peter Exp $ d7 1 a7 1 MAINTAINER= peter@@pointless.nl @ 1.6 log @The previous commit to fix the include path didn't worked so well on NetBSD 2 + pflkm, because the path was substituted by "__nonexistent__". So to fix this properly, add a patch with CPP conditional which fixes the path for __DragonFly__. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2005/12/07 12:50:30 peter Exp $ d16 1 a16 1 INSTALLATION_DIRS= man/man8 sbin d20 1 a20 1 ${INSTALL_MAN} ${WRKSRC}/pftop.8 ${PREFIX}/man/man8 @ 1.5 log @Fix the include path for the pfvar.h header. Should now build on DragonFly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2005/06/17 03:50:34 jlam Exp $ a17 6 SUBST_CLASSES+= path SUBST_STAGE.path= post-patch SUBST_FILES.path= cache.c pftop.c SUBST_SED.path= -e 's,net/pfvar.h,${H_PFLKM:S/\/usr\/include\///},g' SUBST_MESSAGE.path= "Fixing include path." @ 1.4 log @Create directories before installing files into them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2005/06/01 18:03:22 jlam Exp $ d18 6 @ 1.3 log @Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc. Several changes are involved since they are all interrelated. These changes affect about 1000 files. The first major change is rewriting bsd.builtin.mk as well as all of the builtin.mk files to follow the new example in bsd.builtin.mk. The loop to include all of the builtin.mk files needed by the package is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk is now included by each of the individual builtin.mk files and provides some common logic for all of the builtin.mk files. Currently, this includes the computation for whether the native or pkgsrc version of the package is preferred. This causes USE_BUILTIN.* to be correctly set when one builtin.mk file includes another. The second major change is teach the builtin.mk files to consider files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most of the builtin.mk files test for the presence of built-in software by checking for the existence of certain files, e.g. , and we now assume that if that file is under ${LOCALBASE}, then it must be from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The exceptions to this new check are the X11 distribution packages, which are handled specially as noted below. The third major change is providing builtin.mk and version.mk files for each of the X11 distribution packages in pkgsrc. The builtin.mk file can detect whether the native X11 distribution is the same as the one provided by pkgsrc, and the version.mk file computes the version of the X11 distribution package, whether it's built-in or not. The fourth major change is that the buildlink3.mk files for X11 packages that install parts which are part of X11 distribution packages, e.g. Xpm, Xcursor, etc., now use imake to query the X11 distribution for whether the software is already provided by the X11 distribution. This is more accurate than grepping for a symbol name in the imake config files. Using imake required sprinkling various builtin-imake.mk helper files into pkgsrc directories. These files are used as input to imake since imake can't use stdin for that purpose. The fifth major change is in how packages note that they use X11. Instead of setting USE_X11, package Makefiles should now include x11.buildlink3.mk instead. This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed. Package buildlink3.mk should also include x11.buildlink3.mk when linking against the package libraries requires also linking against the X11 libraries. Where it was obvious, redundant inclusions of x11.buildlink3.mk have been removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2005/04/11 21:47:28 tv Exp $ d16 2 @ 1.2 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2004/11/05 15:08:33 peter Exp $ d13 1 a13 1 MAKE_ENV+= OSLEVEL=${_PF_VERSION:S/.//} @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a10 1 USE_BUILDLINK3= yes @ 1.1.1.1 log @Initial import of pftop-0.4 into the NetBSD Packages Collection. Pftop is a small, curses-based utility for real-time display of active states and rule statistics for PF, the packet filter from OpenBSD. @ text @@