From nobody Sat Jul 30 06:01:42 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lvv0Q4zTjz4XPkT; Sat, 30 Jul 2022 06:01:42 +0000 (UTC) (envelope-from git@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lvv0Q4bdvz3GbL; Sat, 30 Jul 2022 06:01:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659160902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KkselFA7P0xGzHJDfXyutjDyxvSNVMNqY3l0tF9s5UE=; b=trJ/mDxS+nKsPPmursE7XwCAUnyuVuabH04PvTg3MG34HfIf3+b38vheaBK7AoGDOXtTqo JVhGeYZnSwniBoA1B4w9mB0Um7mYPGA0UamGP+sOX38n704dkzxxvhNZZZnbzmanB5Ph8u DwOLVQp/yCvAn4Aw0j3B9KaAXGxaTkrrqnzRn1oFILPkhU9cUsRK5yWLG7q0U8Q6s6lo1W fK9vyKL5eTooCHCL/7wEvGVrcU8fX+EbaJYgRIR9/1MZDTX9Ey2LbCFAiq4jatXZ4j98rc +WFo/7hLW/HrBRPRgJv1yXK6Vjzwlxyf2ukzvu0detmlVXLncZ+RTftGUfwvew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lvv0Q3dsCz14F1; Sat, 30 Jul 2022 06:01:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26U61gCb047889; Sat, 30 Jul 2022 06:01:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26U61gTj047888; Sat, 30 Jul 2022 06:01:42 GMT (envelope-from git) Date: Sat, 30 Jul 2022 06:01:42 GMT Message-Id: <202207300601.26U61gTj047888@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 9f7a28532c59 - main - net/libnet: Update to 1.2 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9f7a28532c5900f3aa5096db51fd7ecf1bbe83d5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659160902; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KkselFA7P0xGzHJDfXyutjDyxvSNVMNqY3l0tF9s5UE=; b=pr7cuY85X6jCcubotf7PmECZ0WV9ocWcj8nvVLYKweEsNJgwipep0k9xZZCENNuuV8I40z tzYy5msHtwoIYsd48TzxD3rJNTFY8Gem2iiUXWpr3kYnfv9POa2xJAnR+wUDT1jkRmA52r ck6CF18K7+pRfn7mz6jNytlbaV1QL94WWYar3BAQKW54O0vuVjCWWWPIC+FVqO5MgyIk/m KFVPhddCtYWGV1HjQH5Hy2mKaIl+Zq6dpkFw2ihTmcNpePW2CgwCnm0GJupmPvbd5uCwHA aQnLGVEb8Q3fIrpYmSSrChy8yVec51uikSx0CkdOQMuw/EObNF5WyYPanSMx+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659160902; a=rsa-sha256; cv=none; b=euPsclEZuEMYv1MHuSqm0JDRoNuQqxjxrKkyZGW1a7VN2Ufj/cpIrm3Zc7b6pMw6mttOB/ 1bw+kJgQbqAMNhz0U+w9PVteISezWBIRdqVmfasQVC2EW/wMnjPsS+3wK/3GmCXsXJlGp+ cmI886K7+qNN/R42+PIHgVvwq7+TXyXdLKNXia65ZCZisiUl1soj3ahXOlJzLBLTucc4gj avMOlcFWZF8UrberKAXXowG9kQ7rHFF0QhVrXujb3w/qLVVifXK0ITo9tGmmU412n0O0J8 F7OUwOXKOiC5TttdPZq4AqE3TgHWL3i2p24lDwBG2D5G5xORLHacMkiz5znB2g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f7a28532c5900f3aa5096db51fd7ecf1bbe83d5 commit 9f7a28532c5900f3aa5096db51fd7ecf1bbe83d5 Author: Po-Chuan Hsieh AuthorDate: 2022-07-30 05:57:11 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-07-30 05:57:11 +0000 net/libnet: Update to 1.2 - Update pkg-descr - Update WWW - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/libnet/libnet/releases --- mail/procmail-bgrb/Makefile | 1 + net-mgmt/dhcp_probe/Makefile | 2 +- net-mgmt/ettercap/Makefile | 1 + net-mgmt/isic/Makefile | 2 +- net-mgmt/packit/Makefile | 1 + net/arp-sk/Makefile | 2 +- net/arping/Makefile | 1 + net/arpoison/Makefile | 1 + net/arprelease/Makefile | 2 +- net/gspoof/Makefile | 2 +- net/libfb/Makefile | 2 +- net/libnet/Makefile | 24 ++--------- net/libnet/distinfo | 5 ++- net/libnet/files/patch-Makefile.in | 11 ++++++ net/libnet/files/patch-configure | 17 -------- net/libnet/files/patch-include-libnet.h.in | 22 +++++------ net/libnet/files/patch-src-libnet_cq.c | 15 ------- net/libnet/files/patch-src-libnet_if_addr.c | 34 ---------------- net/libnet/files/patch-src-libnet_link_bpf.c | 32 --------------- net/libnet/pkg-descr | 23 +++-------- net/libnet/pkg-plist | 59 +++++++++++++++++++++++++--- net/libnids/Makefile | 2 +- net/nast/Makefile | 2 +- net/nemesis/Makefile | 1 + net/netwib/Makefile | 2 +- net/olsrd/Makefile | 1 + net/tcptraceroute/Makefile | 1 + net/vortex/Makefile | 2 +- security/dsniff/Makefile | 2 +- security/fiked/Makefile | 2 +- security/gvm-libs/Makefile | 1 + security/ipguard/Makefile | 2 +- security/sasp/Makefile | 2 +- security/scanlogd/Makefile | 1 + security/sslproxy/Makefile | 1 + security/sslsplit/Makefile | 1 + security/suricata/Makefile | 1 + security/yersinia/Makefile | 2 +- sysutils/cluster-glue/Makefile | 2 +- sysutils/syslog-ng/Makefile | 1 + 40 files changed, 119 insertions(+), 169 deletions(-) diff --git a/mail/procmail-bgrb/Makefile b/mail/procmail-bgrb/Makefile index 668caad53ce5..80f4890b14b5 100644 --- a/mail/procmail-bgrb/Makefile +++ b/mail/procmail-bgrb/Makefile @@ -1,6 +1,7 @@ PORTNAME= procmail DISTVERSIONPREFIX= v DISTVERSION= 3.24 +PORTREVISION= 1 CATEGORIES= mail PKGNAMESUFFIX= -bgrb diff --git a/net-mgmt/dhcp_probe/Makefile b/net-mgmt/dhcp_probe/Makefile index 89e29e50a8b0..026bc7df2258 100644 --- a/net-mgmt/dhcp_probe/Makefile +++ b/net-mgmt/dhcp_probe/Makefile @@ -1,6 +1,6 @@ PORTNAME= dhcp_probe PORTVERSION= 1.3.1 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= https://www.net.princeton.edu/software/dhcp_probe/ diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile index 68ef502321a6..f46189ac315f 100644 --- a/net-mgmt/ettercap/Makefile +++ b/net-mgmt/ettercap/Makefile @@ -1,5 +1,6 @@ PORTNAME= ettercap PORTVERSION= 0.8.3.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-mgmt security MASTER_SITES= https://github.com/Ettercap/ettercap/releases/download/v${PORTVERSION}/ diff --git a/net-mgmt/isic/Makefile b/net-mgmt/isic/Makefile index dff5fb428531..6c368490ff2b 100644 --- a/net-mgmt/isic/Makefile +++ b/net-mgmt/isic/Makefile @@ -1,6 +1,6 @@ PORTNAME= isic PORTVERSION= 0.07 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/ISIC%20v${PORTVERSION} diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile index 71461b96b7d6..ee9cc777ee4b 100644 --- a/net-mgmt/packit/Makefile +++ b/net-mgmt/packit/Makefile @@ -1,5 +1,6 @@ PORTNAME= packit PORTVERSION= 1.8 +PORTREVISION= 1 CATEGORIES= net-mgmt MAINTAINER= ehaupt@FreeBSD.org diff --git a/net/arp-sk/Makefile b/net/arp-sk/Makefile index 840ffaa61f03..82988154bfc7 100644 --- a/net/arp-sk/Makefile +++ b/net/arp-sk/Makefile @@ -1,6 +1,6 @@ PORTNAME= arp-sk PORTVERSION= 0.0.16 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net MASTER_SITES= http://sid.rstack.org/arp-sk/files/ EXTRACT_SUFX= .tgz diff --git a/net/arping/Makefile b/net/arping/Makefile index 0a68ccc5bdf8..30e20d490d00 100644 --- a/net/arping/Makefile +++ b/net/arping/Makefile @@ -1,5 +1,6 @@ PORTNAME= arping DISTVERSION= 2.21 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.habets.pp.se/synscan/files/ diff --git a/net/arpoison/Makefile b/net/arpoison/Makefile index 059ae2f575a3..b1a06890a882 100644 --- a/net/arpoison/Makefile +++ b/net/arpoison/Makefile @@ -1,5 +1,6 @@ PORTNAME= arpoison DISTVERSION= 0.7 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.arpoison.net/ diff --git a/net/arprelease/Makefile b/net/arprelease/Makefile index 0bf51c79d142..c6836d6138da 100644 --- a/net/arprelease/Makefile +++ b/net/arprelease/Makefile @@ -1,6 +1,6 @@ PORTNAME= arprelease PORTVERSION= 1.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net MASTER_SITES= SF diff --git a/net/gspoof/Makefile b/net/gspoof/Makefile index c0411f06a85f..acbc9e044aee 100644 --- a/net/gspoof/Makefile +++ b/net/gspoof/Makefile @@ -1,6 +1,6 @@ PORTNAME= gspoof PORTVERSION= 3.2 -PORTREVISION= 16 +PORTREVISION= 17 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Gspoof-3/${PORTVERSION} diff --git a/net/libfb/Makefile b/net/libfb/Makefile index 51d72c266eeb..c27b3eccc71f 100644 --- a/net/libfb/Makefile +++ b/net/libfb/Makefile @@ -1,6 +1,6 @@ PORTNAME= libfb PORTVERSION= 2.0.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net net-mgmt MASTER_SITES= http://support.red-fone.com/downloads/fonulator/ diff --git a/net/libnet/Makefile b/net/libnet/Makefile index aba081eccef7..a57f23c44747 100644 --- a/net/libnet/Makefile +++ b/net/libnet/Makefile @@ -1,27 +1,22 @@ PORTNAME= libnet -PORTVERSION= 1.1.6 -PORTREVISION= 5 +PORTVERSION= 1.2 PORTEPOCH= 1 CATEGORIES= net -MASTER_SITES= SF/libnet-dev +MASTER_SITES= https://github.com/libnet/libnet/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= C library for creating IP packets LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/doc/COPYING +LICENSE_FILE= ${WRKSRC}/LICENSE USES= cpe libtool +CONFIGURE_ARGS= --disable-doxygen-doc --disable-doxygen-dot --disable-doxygen-html --disable-doxygen-man GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USE_CSTD= gnu89 USE_LDCONFIG= yes -DOCS= CHANGELOG CONTRIB DESIGN_NOTES MIGRATION PACKET_BUILDING PORTED RAWSOCKET_NON_SEQUITUR README TODO -PORTDOCS= * -PORTEXAMPLES= * - CPE_VENDOR= libnet_project OPTIONS_DEFINE= BPF DOCS EXAMPLES @@ -31,17 +26,6 @@ BPF_DESC= link layer bpf BPF_CONFIGURE_OFF= --with-link-layer=none BPF_CONFIGURE_ON= --with-link-layer=bpf -post-patch: - @${MV} ${WRKSRC}/README ${WRKSRC}/doc/ - @${REINPLACE_CMD} \ - -e 's|@LIBNET_CONFIG_LIBS@|@LIBNET_CONFIG_LIBS@ -L@prefix@/lib|' \ - -e 's|@LIBNET_CONFIG_CFLAGS@|@LIBNET_CONFIG_CFLAGS@ -I@prefix@/include|' \ - ${WRKSRC}/libnet-config.in - -post-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR}/ - cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}/ - post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${INSTALL_DATA} ${WRKSRC}/sample/*.c ${STAGEDIR}${EXAMPLESDIR}/ diff --git a/net/libnet/distinfo b/net/libnet/distinfo index a68fdb318450..a0d48de1fc02 100644 --- a/net/libnet/distinfo +++ b/net/libnet/distinfo @@ -1,2 +1,3 @@ -SHA256 (libnet-1.1.6.tar.gz) = d392bb5825c4b6b672fc93a0268433c86dc964e1500c279dc6d0711ea6ec467a -SIZE (libnet-1.1.6.tar.gz) = 1202970 +TIMESTAMP = 1598091310 +SHA256 (libnet-1.2.tar.gz) = caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7 +SIZE (libnet-1.2.tar.gz) = 649191 diff --git a/net/libnet/files/patch-Makefile.in b/net/libnet/files/patch-Makefile.in new file mode 100644 index 000000000000..b872584a1cc2 --- /dev/null +++ b/net/libnet/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2019-10-15 19:00:48 UTC ++++ Makefile.in +@@ -405,7 +405,7 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} + bin_SCRIPTS = libnet-config + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libnet.pc +-dist_doc_DATA = README.md ChangeLog.md LICENSE ++dist_doc_DATA = README.md ChangeLog.md # LICENSE + EXTRA_DIST = README.win32 autogen.sh libnet-config.in + SUBDIRS = include src win32 $(am__append_1) $(am__append_2) + MD5 = md5sum diff --git a/net/libnet/files/patch-configure b/net/libnet/files/patch-configure deleted file mode 100644 index 7aff7de28b7f..000000000000 --- a/net/libnet/files/patch-configure +++ /dev/null @@ -1,17 +0,0 @@ ---- configure.orig 2012-03-29 21:18:48 UTC -+++ configure -@@ -12165,13 +12165,12 @@ done - $as_echo "#define LIBNET_BSDISH_OS 1" >>confdefs.h - - --$as_echo "#define LIBNET_BSD_BYTE_SWAP 1" >>confdefs.h - - - $as_echo "#define HAVE_SOCKADDR_SA_LEN 1" >>confdefs.h - - -- LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN" -+ LIBNET_CONFIG_DEFINES="-DLIBNET_BSDISH_OS -DHAVE_SOCKADDR_SA_LEN" - ;; - - *netbsd*) diff --git a/net/libnet/files/patch-include-libnet.h.in b/net/libnet/files/patch-include-libnet.h.in index dc79cc8f36b4..c17a11011c3d 100644 --- a/net/libnet/files/patch-include-libnet.h.in +++ b/net/libnet/files/patch-include-libnet.h.in @@ -1,12 +1,12 @@ ---- include/libnet.h.in.orig 2012-03-06 00:45:46 UTC +--- include/libnet.h.in.orig 2019-10-06 06:18:52 UTC +++ include/libnet.h.in -@@ -81,6 +81,9 @@ extern "C" { - #if !defined(__WIN32__) - # include - # include -+# if defined (__FreeBSD__) || defined (__DragonFly__) -+# include -+# endif - #else /* __WIN32__ */ - # if (__CYGWIN__) - # include +@@ -75,6 +75,9 @@ extern "C" { + #include + #include + #include ++#if defined (__FreeBSD__) || defined (__DragonFly__) ++#include ++#endif + #include + #include + #include diff --git a/net/libnet/files/patch-src-libnet_cq.c b/net/libnet/files/patch-src-libnet_cq.c deleted file mode 100644 index 75013612ddeb..000000000000 --- a/net/libnet/files/patch-src-libnet_cq.c +++ /dev/null @@ -1,15 +0,0 @@ -- Reset global cq state after destroying it. - -Obtained from: https://github.com/sam-github/libnet/commit/c9390bf8f3379c280ba8ceec67fbd8e908675d96 - ---- src/libnet_cq.c.orig 2012-03-19 16:59:50 UTC -+++ src/libnet_cq.c -@@ -344,6 +344,8 @@ libnet_cq_destroy() - libnet_destroy(tmp->context); - free(tmp); - } -+ l_cq = NULL; -+ memset(&l_cqd, 0, sizeof(l_cqd)); - } - - libnet_t * diff --git a/net/libnet/files/patch-src-libnet_if_addr.c b/net/libnet/files/patch-src-libnet_if_addr.c deleted file mode 100644 index 723aa9380327..000000000000 --- a/net/libnet/files/patch-src-libnet_if_addr.c +++ /dev/null @@ -1,34 +0,0 @@ -- memory leak fixed, device list needs to freed after use. [2] -- Properly set l->err_buf if libnet_ifaddrlist() fails. [3] - -Obtained from: https://github.com/sam-github/libnet/commit/18cbe497dd84afc471a5320e4ef3a7cde87c2c4e [1] - https://github.com/sam-github/libnet/commit/2e724b2f5cd614d7362f8dcbc57dc1fca6e437b3 [2] - ---- src/libnet_if_addr.c.orig 2012-03-19 16:59:50 UTC -+++ src/libnet_if_addr.c -@@ -330,6 +330,8 @@ register char *errbuf) - ++nipaddr; - } - -+ pcap_freealldevs(alldevs); -+ - *ipaddrp = ifaddrlist; - return (nipaddr); - } -@@ -339,7 +341,6 @@ int - libnet_select_device(libnet_t *l) - { - int c, i; -- char err_buf[LIBNET_ERRBUF_SIZE]; - struct libnet_ifaddr_list *address_list, *al; - uint32_t addr; - -@@ -364,7 +365,7 @@ libnet_select_device(libnet_t *l) - /* - * Number of interfaces. - */ -- c = libnet_ifaddrlist(&address_list, l->device, err_buf); -+ c = libnet_ifaddrlist(&address_list, l->device, l->err_buf); - if (c < 0) - { - /* err msg set in libnet_ifaddrlist() */ diff --git a/net/libnet/files/patch-src-libnet_link_bpf.c b/net/libnet/files/patch-src-libnet_link_bpf.c deleted file mode 100644 index 8e61c05a9ae0..000000000000 --- a/net/libnet/files/patch-src-libnet_link_bpf.c +++ /dev/null @@ -1,32 +0,0 @@ -- Make libnet_get_hwaddr() work with 802.1q interfaces in bpf (BSD). - -Obtained from: https://github.com/sam-github/libnet/commit/408fa2266a4af402152cc0f1e9a40b56477b995a - ---- src/libnet_link_bpf.c.orig 2012-03-19 16:59:50 UTC -+++ src/libnet_link_bpf.c -@@ -316,7 +316,11 @@ libnet_get_hwaddr(libnet_t *l) - if (ifm->ifm_type == RTM_IFINFO) - { - sdl = (struct sockaddr_dl *)(ifm + 1); -- if (sdl->sdl_type != IFT_ETHER) -+ if (sdl->sdl_type != IFT_ETHER -+ && sdl->sdl_type != IFT_FASTETHER -+ && sdl->sdl_type != IFT_FASTETHERFX -+ && sdl->sdl_type != IFT_GIGABITETHERNET -+ && sdl->sdl_type != IFT_L2VLAN) - continue; - if (strncmp(&sdl->sdl_data[0], l->device, sdl->sdl_nlen) == 0) - { -@@ -326,6 +330,12 @@ libnet_get_hwaddr(libnet_t *l) - } - } - free(buf); -+ if (next == end) { -+ snprintf(l->err_buf, LIBNET_ERRBUF_SIZE, -+ "%s(): interface %s of known type not found.", -+ __func__, l->device); -+ return NULL; -+ } - return (&ea); - } - diff --git a/net/libnet/pkg-descr b/net/libnet/pkg-descr index cc9b2c0873fa..4003617eebbf 100644 --- a/net/libnet/pkg-descr +++ b/net/libnet/pkg-descr @@ -1,18 +1,7 @@ -Libnet is a high-level API (toolkit) allowing the application programmer to -construct and inject network packets. It provides a portable and simplified -interface for low-level network packet shaping, handling and injection. +Libnet is an API to help with the construction and injection of network packets. +It provides a portable framework for low-level network packet writing and +handling (use libnet in conjunction with libpcap and you can write some really +cool stuff). Libnet includes packet creation at the IP layer and at the link +layer as well as a host of supplementary and complementary functionality. -Libnet hides much of the tedium of packet creation from the application -programmer such as multiplexing, buffer management, arcane packet header -information, byte-ordering, OS-dependent issues, and much more. - -Libnet features portable packet creation interfaces at the IP layer -and link layer, as well as a host of supplementary and complementary -functionality. - -Using libnet, quick and simple packet assembly applications can be whipped up -with little effort. With a bit more time, more complex programs can be written -(Traceroute and ping were easily rewritten using libnet and libpcap). - -WWW: https://sourceforge.net/projects/libnet-dev/ -WWW: https://github.com/sam-github/libnet +WWW: https://github.com/libnet/libnet diff --git a/net/libnet/pkg-plist b/net/libnet/pkg-plist index d3c877184b08..6cd47b877925 100644 --- a/net/libnet/pkg-plist +++ b/net/libnet/pkg-plist @@ -8,8 +8,57 @@ include/libnet/libnet-structures.h include/libnet/libnet-types.h lib/libnet.a lib/libnet.so -lib/libnet.so.1 -lib/libnet.so.1.7.0 -man/man3/libnet-functions.h.3.gz -man/man3/libnet-macros.h.3.gz -man/man3/libnet.h.3.gz +lib/libnet.so.9 +lib/libnet.so.9.0.0 +libdata/pkgconfig/libnet.pc +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.md +%%PORTDOCS%%%%DOCSDIR%%/README.md +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp-new.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_hdr.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_notification.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_open.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bgp4_update.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cdp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dhcp_discover.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dns.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot1x.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fddi_tcp2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/get_addr.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gre.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hsrp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_echoreq.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp6_unreach.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_echo_cq.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_redirect.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timeexceed.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_timestamp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/icmp_unreach.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ieee.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_link.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ip_raw.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/isl.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mpls.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ntp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_hello.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ospf_lsa.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ping_of_death.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_tcp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rpc_udp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sebek.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smurf.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/stp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synflood6_frag.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tcp2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv4.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv4_options.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_ipv6_icmpv4.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tftp.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tring_tcp2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/udp2.c diff --git a/net/libnids/Makefile b/net/libnids/Makefile index eafd0e859c76..50de708df07a 100644 --- a/net/libnids/Makefile +++ b/net/libnids/Makefile @@ -1,6 +1,6 @@ PORTNAME= libnids PORTVERSION= 1.24 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net security MASTER_SITES= SF diff --git a/net/nast/Makefile b/net/nast/Makefile index 4d8c51303043..91eacfd7f44c 100644 --- a/net/nast/Makefile +++ b/net/nast/Makefile @@ -1,6 +1,6 @@ PORTNAME= nast PORTVERSION= 0.2.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net MASTER_SITES= BERLIOS diff --git a/net/nemesis/Makefile b/net/nemesis/Makefile index 09f7239cf5dd..1814ebeda51d 100644 --- a/net/nemesis/Makefile +++ b/net/nemesis/Makefile @@ -1,6 +1,7 @@ PORTNAME= nemesis DISTVERSIONPREFIX= v DISTVERSION= 1.8-5 +PORTREVISION= 1 DISTVERSIONSUFFIX= -gb1d398c PORTEPOCH= 1 CATEGORIES= net diff --git a/net/netwib/Makefile b/net/netwib/Makefile index e5e1f211ef95..99e1e760d917 100644 --- a/net/netwib/Makefile +++ b/net/netwib/Makefile @@ -1,6 +1,6 @@ PORTNAME= netwib PORTVERSION= 5.38.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net devel MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \ http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \ diff --git a/net/olsrd/Makefile b/net/olsrd/Makefile index ea472313987d..7032047e1dd9 100644 --- a/net/olsrd/Makefile +++ b/net/olsrd/Makefile @@ -1,6 +1,7 @@ PORTNAME= olsrd DISTVERSIONPREFIX= v DISTVERSION= 0.9.8 +PORTREVISION= 1 CATEGORIES= net MAINTAINER= decke@FreeBSD.org diff --git a/net/tcptraceroute/Makefile b/net/tcptraceroute/Makefile index fd1dd75046d9..06d4a473f5b3 100644 --- a/net/tcptraceroute/Makefile +++ b/net/tcptraceroute/Makefile @@ -1,5 +1,6 @@ PORTNAME= tcptraceroute PORTVERSION= 1.5beta7 +PORTREVISION= 1 DISTVERSIONPREFIX= tcptraceroute- CATEGORIES= net diff --git a/net/vortex/Makefile b/net/vortex/Makefile index f58ef1e23be7..79f7e452a6c8 100644 --- a/net/vortex/Makefile +++ b/net/vortex/Makefile @@ -1,6 +1,6 @@ PORTNAME= vortex DISTVERSION= 2.9.0-59 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}-ids/${PORTNAME}/2.9.0/ EXTRACT_SUFX= .tgz diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile index b0d84ed509b7..01f1bc83f213 100644 --- a/security/dsniff/Makefile +++ b/security/dsniff/Makefile @@ -1,6 +1,6 @@ PORTNAME= dsniff DISTVERSION= 2.4b1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security MASTER_SITES= http://www.monkey.org/~dugsong/${PORTNAME}/beta/ \ LOCAL/sbz diff --git a/security/fiked/Makefile b/security/fiked/Makefile index be640b75488a..263e138de06a 100644 --- a/security/fiked/Makefile +++ b/security/fiked/Makefile @@ -1,6 +1,6 @@ PORTNAME= fiked PORTVERSION= 0.0.5 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= security net-vpn MASTER_SITES= https://mirror.roe.ch/rel/fiked/ diff --git a/security/gvm-libs/Makefile b/security/gvm-libs/Makefile index 6fd3d8408e65..abf9d4fa6e5d 100644 --- a/security/gvm-libs/Makefile +++ b/security/gvm-libs/Makefile @@ -1,5 +1,6 @@ PORTNAME= gvm DISTVERSION= 21.4.4 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security PKGNAMESUFFIX= -libs diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile index d3c1fe99a3a3..816e1d4f5233 100644 --- a/security/ipguard/Makefile +++ b/security/ipguard/Makefile @@ -1,6 +1,6 @@ PORTNAME= ipguard PORTVERSION= 1.04 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security net MASTER_SITES= http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/ diff --git a/security/sasp/Makefile b/security/sasp/Makefile index 09ec29961ad9..046eb337a96f 100644 --- a/security/sasp/Makefile +++ b/security/sasp/Makefile @@ -1,6 +1,6 @@ PORTNAME= sasp PORTVERSION= 0.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security MASTER_SITES= LOCAL/ahze \ http://people.freebsd.org/~ahze/distfiles/ diff --git a/security/scanlogd/Makefile b/security/scanlogd/Makefile index edd50311e578..b9f2e47e3b75 100644 --- a/security/scanlogd/Makefile +++ b/security/scanlogd/Makefile @@ -1,5 +1,6 @@ PORTNAME= scanlogd PORTVERSION= 2.2.8 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://openwall.com/scanlogd/ \ ftp://ftp.openwall.com/pub/projects/scanlogd/ \ diff --git a/security/sslproxy/Makefile b/security/sslproxy/Makefile index 27c2e19b52f2..77119df7a5c0 100644 --- a/security/sslproxy/Makefile +++ b/security/sslproxy/Makefile @@ -1,5 +1,6 @@ PORTNAME= sslproxy PORTVERSION= 0.9.3 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= security diff --git a/security/sslsplit/Makefile b/security/sslsplit/Makefile index 28eb56eec12e..a4f9718a709e 100644 --- a/security/sslsplit/Makefile +++ b/security/sslsplit/Makefile @@ -1,5 +1,6 @@ PORTNAME= sslsplit PORTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= http://mirror.roe.ch/rel/sslsplit/ diff --git a/security/suricata/Makefile b/security/suricata/Makefile index acf643949ba8..826b2ded7795 100644 --- a/security/suricata/Makefile +++ b/security/suricata/Makefile @@ -1,5 +1,6 @@ PORTNAME= suricata DISTVERSION= 6.0.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://www.openinfosecfoundation.org/download/ diff --git a/security/yersinia/Makefile b/security/yersinia/Makefile index afec4a5777f0..09c78e6e438f 100644 --- a/security/yersinia/Makefile +++ b/security/yersinia/Makefile @@ -1,6 +1,6 @@ PORTNAME= yersinia PORTVERSION= 0.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security # MASTER_SITES= http://www.yersinia.net/download/ PKGNAMESUFFIX= -gtk diff --git a/sysutils/cluster-glue/Makefile b/sysutils/cluster-glue/Makefile index 1e11d2d84550..eef02dfd5ec3 100644 --- a/sysutils/cluster-glue/Makefile +++ b/sysutils/cluster-glue/Makefile @@ -1,6 +1,6 @@ PORTNAME= cluster-glue PORTVERSION= 1.0.12 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= sysutils MASTER_SITES= http://hg.linux-ha.org/glue/archive/ DISTNAME= 0a7add1d9996 diff --git a/sysutils/syslog-ng/Makefile b/sysutils/syslog-ng/Makefile index 0e92b5462e57..af19a793a8be 100644 --- a/sysutils/syslog-ng/Makefile +++ b/sysutils/syslog-ng/Makefile @@ -1,5 +1,6 @@ PORTNAME= syslog-ng DISTVERSION= 3.37.1 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://github.com/balabit/syslog-ng/releases/download/syslog-ng-${DISTVERSION}/