CVE and update status of the FreeBSD ports tree3,864 unaddressed CVEs in 671 portsAll times are CET
Port details

net/libnet 1.3,1

C library for creating IP packets

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 1.3,1
Upstream
up to date
Last update
to 1.3,1 · c928ff6a4b
Quarterly
2026Q4: 1.3,1
Formerly
net/libnet-devel until 2013-02-18
WWW
https://github.com/libnet/libnet
Links
cgit · VuXML

Install

Package
# pkg install libnet
installs 1.3,1 from latest; from quarterly (2026Q4) 1.3,1
Port
# cd /usr/ports/net/libnet && make install clean
# make -C /usr/ports/net/libnet config  # change options first
Size
136 KiB download · 900 KiB installed
Depends on
nothing
License
BSD2CLAUSE
Options
3 of 3 on in the package: BPF DOCS EXAMPLES

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.3,11.3,1–
FreeBSD 151.3,11.3,1–
FreeBSD 141.3,11.3,11.3,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.3,11.3,1–
FreeBSD 141.3,11.3,11.3,1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.3,1.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (99)

Dirk Meyer (dinoex) · 1.1.2.1_2,1
- take maintanership
f41ceb7717
Mark Linimon (linimon) · 1.1.2.1_2,1
Reset shipley@dis.org due to maintainer-timeouts and no response to email.

Hat:	portmgr
e0f259ff97
Rong-En Fan (rafan) · 1.1.2.1_2,1
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script. Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
741aa71483
Edwin Groothuis (edwin) · 1.1.2.1_2,1
patch net/libnet's configure to not do anymore checks of bpf device

when building net/libnet, bpf has been there since FreeBSD
	3.X, so do not do anymore checks. this is useful when
	building in jails as they don't have bpf. this is somewhat
	like #113893

PR:		ports/123213
Submitted by:	Mars G Miro <spry@anarchy.in.the.ph>
Approved by:	maintainer timeout
a5f9c5b347
Ion-Mihai Tetcu (itetcu) · 1.1.3.r1_2 · as net/libnet-devel
USE_LDCONFIG for the lib an bump PORTREVISION

PR:		ports/123056
Submitted by:	Antoine Brodin
ba9bb9ba80
Gabor Kovesdan (gabor) · 1.1.3.r1_1 · as net/libnet-devel
- Remove FreeBSD 4.X support from unmaintained ports in categories starting   with letter n-p
c7611291ca
Kris Kennaway (kris) · 1.1.3.r1_1 · as net/libnet-devel
Use libtool port instead of included version to avoid objformat a.out botch
ae994c8ea8
Pav Lucistnik (pav) · 1.1.2.1_1,1
- Patch net/libnet* to versioned libraries and header files, so they can   coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
eb81a88093
Erwin Lansing (erwin) · 1.1.3.r1 · as net/libnet-devel
- Deprecate - Set EXPIRATION_DATE

PR:		106328
Submitted by:	gabor
bb414fa8dc
Edwin Groothuis (edwin) · 1.1.3.r1 · as net/libnet-devel
Remove USE_REINPLACE from all categories starting with N
0f12b488a5
Edwin Groothuis (edwin) · 1.1.2.1,1
SHA256ify

Approved by: krion@
dbef3380d2
Sergey Matveychuk (sem) · 1.1.3.r1 · as net/libnet-devel
- Fix build on 4.x (stdint.h -> inttypes.h)

Submitted by:	mnag
b73497debe
Sergey Matveychuk (sem) · 1.1.2.1,1
libnet update: - move 1.0 obsoleted version to net/libnet10   net/libnet is latest Stable Version   net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
e1c4707bab
Kirill Ponomarev (krion) · 1.1.2.1 · as net/libnet-devel
Drop maintainership, since I'm buried in the $REALLIFE stuff.
6b4c016cab
David E. O'Brien (obrien) · 1.1.2.1 · as net/libnet-devel
At Kris's request, back out the MACHINE_ARCH spelling correction until after 5.4-RELEASE.
c3d8037aeb
David E. O'Brien (obrien) · 1.1.2.1 · as net/libnet-devel
Assist getting more ports working on AMD64 by obeying the Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
f2fc2d60ae
Kirill Ponomarev (krion) · 1.1.2.1 · as net/libnet-devel
Tarball seems to be broken on the main MASTER_SITE, so change it temporary.
58ef315c7f
Trevor Johnson (trevor) · 1.0.2a,1
SIZEify (maintainer timeout)
8232e82f85
Ade Lovett (ade) · 1.0.2a,1
Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
3f651573ad
Kirill Ponomarev (krion) · 1.0.2a,1
- Utilize CONFLICTS with net/libnet-devel
f135498d0a
Sergei Kolobov (sergei) · 1.1.1 · as net/libnet-devel
- Update to 1.1.1 - Removed dependency on automake and autoconf - Use PKGNAMESUFFIX - Use CONFLICTS to prevent installation over stable version - Install examples and documentation - Use DOCSDIR/EXAMPLESDIR - Reword COMMENT and pkg-descr, add Author tag

PR:		54421
Submitted by:	sergei
Approved by:	maintainer timeout (5 months)
3db99d4149
Kirill Ponomarev (krion) · 1.0.2a,1
Fix build on -current

PR:		54612
Submitted by:	krion
Approved by:	fjoe (mentor) (implicit)
Maintainer timeout: 	8 days
323b1a6867
Jun Kuriyama (kuriyama) · 1.0.2a,1
Back out last commit. 1.1.0 is already in net/libnet-devel and has different API. Bump $PORTEPOCH for my mistake.

Spotted by:	sheldonh
86f5027b08
Jun Kuriyama (kuriyama) · 1.1.0
Upgrade to 1.1.0.

No response from:	maintainer
8c5311b85d
Ade Lovett (ade) · 1.1.0 · as net/libnet-devel
Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
7e52725f2a
Akinori MUSHA (knu) · 1.0.2a
De-pkg-comment.
4c2e4f1862
Scott Mace (smace) · 1.1.0 · as net/libnet-devel
Add libnet-devel

libnet-devel will maintain libnet-1.1.x.  A limited number of ports currently
support or will require libnet-1.1.x in the future.  The API is not backwards
compatible.  Unfortunately many ports still require libnet-1.0.x and do not
support the new API (and may never support it).  libnet-devel will fill the
gap until the API change settles out and 1.0.x is fully deprecated.
82ef4f9f49
Kris Kennaway (kris) · 1.0.2a
Tag the libnet_error() function with __printflike()
346f657803
Ying-Chieh Liao (ijliao) · 1.0.2a
make WWW correct
75f7d279f0
Michael C . Wu (keichii) · 1.0.2a
Update this port and close the PR that has been open for a long time.  Maintainer has not responded to the PR at all.

PR: 28656
Submitted by:	cnh@netVmg.com
831c2fb2b6
Maxim Sobolev (sobomax) · 1.0.1b
Massive style enforcement - use ^I instead of spaces for variables identation.
2b1a883dc4
Kris Kennaway (kris) · 1.0.1b
Update to libnet-1.0.1b and portlint

No response from:	Maintainer
2e079a0471
Michael Haro (mharo) · 0.99g
white space fixes and add WWW: (portlint)
4118d21e64
Chris Piazza (cpiazza) · 0.99g
Update with the new PORTNAME/PORTVERSION variables
93a61d6874
Chris Piazza (cpiazza)
Err, the last commit was actually a downgrade. Actually upgrade to version 0.99g
47cdbc4c93
Chris Piazza (cpiazza)
Update to version 0.10a
4093236db0
Peter Wemm (peter)
$Id$ -> $FreeBSD$
a6c3f62331
Satoshi Asami (asami)
Upgrade to fix build problem.

Submitted by:	maintainer
34cffc3d20
Steve Price (steve)
Hopefully a little bit better worded COMMENT. :)
fd79e90fca
Steve Price (steve)
A C library for creating IP packets.

PR:		9901
Submitted by:	Peter Shipley <shipley@dis.org>
253c687d8f