pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libnl: Initial import (v3.2.25)



Module Name:	pkgsrc-wip
Committed By:	Sijmen J. Mulder <sjmulder%NetBSD.org@localhost>
Pushed By:	sjmulder
Date:		Fri Aug 6 12:53:18 2021 +0200
Changeset:	ba10c8e393855cdcc545a3ac67b969c439b30b88

Modified Files:
	Makefile
Added Files:
	libnl/DESCR
	libnl/Makefile
	libnl/PLIST
	libnl/distinfo

Log Message:
libnl: Initial import (v3.2.25)

Collection of libraries providing APIs to netlink protocol based Linux
kernel interfaces.

Netlink is a IPC mechanism primarly between the kernel and user space
processes. It was designed to be a more flexible successor to ioctl to
provide mainly networking related kernel configuration and monitoring
interfaces.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba10c8e393855cdcc545a3ac67b969c439b30b88

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |   1 +
 libnl/DESCR    |   7 +++
 libnl/Makefile |  35 ++++++++++++++
 libnl/PLIST    | 146 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 libnl/distinfo |   6 +++
 5 files changed, 195 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5d25ed439b..d20edea805 100644
--- a/Makefile
+++ b/Makefile
@@ -2099,6 +2099,7 @@ SUBDIR+=	libncl
 SUBDIR+=	libnestedsums
 SUBDIR+=	libneural
 SUBDIR+=	libnfo
+SUBDIR+=	libnl
 SUBDIR+=	libntfs
 SUBDIR+=	libode
 SUBDIR+=	liboglappth
diff --git a/libnl/DESCR b/libnl/DESCR
new file mode 100644
index 0000000000..9b23659cff
--- /dev/null
+++ b/libnl/DESCR
@@ -0,0 +1,7 @@
+Collection of libraries providing APIs to netlink protocol based Linux
+kernel interfaces.
+
+Netlink is a IPC mechanism primarly between the kernel and user space
+processes. It was designed to be a more flexible successor to ioctl to
+provide mainly networking related kernel configuration and monitoring
+interfaces.
diff --git a/libnl/Makefile b/libnl/Makefile
new file mode 100644
index 0000000000..ea9613618e
--- /dev/null
+++ b/libnl/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME=	libnl-3.2.25
+CATEGORIES=	devel
+MASTER_SITES=	https://www.infradead.org/~tgr/libnl/files/
+
+MAINTAINER=	sjmulder%NetBSD.org@localhost
+HOMEPAGE=	https://www.infradead.org/~tgr/libnl/
+COMMENT=	APIs to netlink protocol based Linux kernel interfaces
+LICENSE=	gnu-lgpl-v2.1
+
+# Linux-specific library
+ONLY_FOR_PLATFORM=	Linux-*-*
+
+EGDIR=		${PREFIX}/share/examples/${PKGBASE}
+CONFS=		classid pktloc
+.for f in ${CONFS}
+CONF_FILES+=	${EGDIR}/${f} ${PKG_SYSCONFDIR}/libnl/${f}
+.endfor
+
+USE_TOOLS+=	gmake
+USE_LIBTOOL=	yes
+GNU_CONFIGURE=	yes
+
+CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+
+INSTALLATION_DIRS+=	${EGDIR}
+
+post-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+.for f in ${CONFS}
+	${MV} ${DESTDIR}${PREFIX}/etc/libnl/${f} ${DESTDIR}${EGDIR}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libnl/PLIST b/libnl/PLIST
new file mode 100644
index 0000000000..b08b7ec310
--- /dev/null
+++ b/libnl/PLIST
@@ -0,0 +1,146 @@
+@comment $NetBSD$
+include/libnl3/netlink/addr.h
+include/libnl3/netlink/attr.h
+include/libnl3/netlink/cache-api.h
+include/libnl3/netlink/cache.h
+include/libnl3/netlink/cli/addr.h
+include/libnl3/netlink/cli/class.h
+include/libnl3/netlink/cli/cls.h
+include/libnl3/netlink/cli/ct.h
+include/libnl3/netlink/cli/exp.h
+include/libnl3/netlink/cli/link.h
+include/libnl3/netlink/cli/neigh.h
+include/libnl3/netlink/cli/qdisc.h
+include/libnl3/netlink/cli/route.h
+include/libnl3/netlink/cli/rule.h
+include/libnl3/netlink/cli/tc.h
+include/libnl3/netlink/cli/utils.h
+include/libnl3/netlink/data.h
+include/libnl3/netlink/errno.h
+include/libnl3/netlink/fib_lookup/lookup.h
+include/libnl3/netlink/fib_lookup/request.h
+include/libnl3/netlink/genl/ctrl.h
+include/libnl3/netlink/genl/family.h
+include/libnl3/netlink/genl/genl.h
+include/libnl3/netlink/genl/mngt.h
+include/libnl3/netlink/handlers.h
+include/libnl3/netlink/hash.h
+include/libnl3/netlink/hashtable.h
+include/libnl3/netlink/idiag/idiagnl.h
+include/libnl3/netlink/idiag/meminfo.h
+include/libnl3/netlink/idiag/msg.h
+include/libnl3/netlink/idiag/req.h
+include/libnl3/netlink/idiag/vegasinfo.h
+include/libnl3/netlink/list.h
+include/libnl3/netlink/msg.h
+include/libnl3/netlink/netfilter/ct.h
+include/libnl3/netlink/netfilter/exp.h
+include/libnl3/netlink/netfilter/log.h
+include/libnl3/netlink/netfilter/log_msg.h
+include/libnl3/netlink/netfilter/netfilter.h
+include/libnl3/netlink/netfilter/nfnl.h
+include/libnl3/netlink/netfilter/queue.h
+include/libnl3/netlink/netfilter/queue_msg.h
+include/libnl3/netlink/netlink-compat.h
+include/libnl3/netlink/netlink-kernel.h
+include/libnl3/netlink/netlink.h
+include/libnl3/netlink/object-api.h
+include/libnl3/netlink/object.h
+include/libnl3/netlink/route/act/mirred.h
+include/libnl3/netlink/route/action.h
+include/libnl3/netlink/route/addr.h
+include/libnl3/netlink/route/class.h
+include/libnl3/netlink/route/classifier.h
+include/libnl3/netlink/route/cls/basic.h
+include/libnl3/netlink/route/cls/cgroup.h
+include/libnl3/netlink/route/cls/ematch.h
+include/libnl3/netlink/route/cls/ematch/cmp.h
+include/libnl3/netlink/route/cls/ematch/meta.h
+include/libnl3/netlink/route/cls/ematch/nbyte.h
+include/libnl3/netlink/route/cls/ematch/text.h
+include/libnl3/netlink/route/cls/fw.h
+include/libnl3/netlink/route/cls/police.h
+include/libnl3/netlink/route/cls/u32.h
+include/libnl3/netlink/route/link.h
+include/libnl3/netlink/route/link/api.h
+include/libnl3/netlink/route/link/bonding.h
+include/libnl3/netlink/route/link/bridge.h
+include/libnl3/netlink/route/link/can.h
+include/libnl3/netlink/route/link/inet.h
+include/libnl3/netlink/route/link/info-api.h
+include/libnl3/netlink/route/link/ip6tnl.h
+include/libnl3/netlink/route/link/ipgre.h
+include/libnl3/netlink/route/link/ipip.h
+include/libnl3/netlink/route/link/ipvti.h
+include/libnl3/netlink/route/link/macvlan.h
+include/libnl3/netlink/route/link/sit.h
+include/libnl3/netlink/route/link/veth.h
+include/libnl3/netlink/route/link/vlan.h
+include/libnl3/netlink/route/link/vxlan.h
+include/libnl3/netlink/route/neighbour.h
+include/libnl3/netlink/route/neightbl.h
+include/libnl3/netlink/route/nexthop.h
+include/libnl3/netlink/route/pktloc.h
+include/libnl3/netlink/route/qdisc.h
+include/libnl3/netlink/route/qdisc/cbq.h
+include/libnl3/netlink/route/qdisc/dsmark.h
+include/libnl3/netlink/route/qdisc/fifo.h
+include/libnl3/netlink/route/qdisc/fq_codel.h
+include/libnl3/netlink/route/qdisc/htb.h
+include/libnl3/netlink/route/qdisc/netem.h
+include/libnl3/netlink/route/qdisc/plug.h
+include/libnl3/netlink/route/qdisc/prio.h
+include/libnl3/netlink/route/qdisc/red.h
+include/libnl3/netlink/route/qdisc/sfq.h
+include/libnl3/netlink/route/qdisc/tbf.h
+include/libnl3/netlink/route/route.h
+include/libnl3/netlink/route/rtnl.h
+include/libnl3/netlink/route/rule.h
+include/libnl3/netlink/route/tc-api.h
+include/libnl3/netlink/route/tc.h
+include/libnl3/netlink/socket.h
+include/libnl3/netlink/types.h
+include/libnl3/netlink/utils.h
+include/libnl3/netlink/version.h
+lib/libnl-3.la
+lib/libnl-cli-3.la
+lib/libnl-genl-3.la
+lib/libnl-idiag-3.la
+lib/libnl-nf-3.la
+lib/libnl-route-3.la
+lib/libnl/cli/cls/basic.la
+lib/libnl/cli/cls/cgroup.la
+lib/libnl/cli/qdisc/bfifo.la
+lib/libnl/cli/qdisc/blackhole.la
+lib/libnl/cli/qdisc/fq_codel.la
+lib/libnl/cli/qdisc/htb.la
+lib/libnl/cli/qdisc/ingress.la
+lib/libnl/cli/qdisc/pfifo.la
+lib/libnl/cli/qdisc/plug.la
+lib/pkgconfig/libnl-3.0.pc
+lib/pkgconfig/libnl-cli-3.0.pc
+lib/pkgconfig/libnl-genl-3.0.pc
+lib/pkgconfig/libnl-nf-3.0.pc
+lib/pkgconfig/libnl-route-3.0.pc
+man/man8/genl-ctrl-list.8
+man/man8/nl-classid-lookup.8
+man/man8/nl-pktloc-lookup.8
+man/man8/nl-qdisc-add.8
+man/man8/nl-qdisc-delete.8
+man/man8/nl-qdisc-list.8
+sbin/genl-ctrl-list
+sbin/nl-class-add
+sbin/nl-class-delete
+sbin/nl-class-list
+sbin/nl-classid-lookup
+sbin/nl-cls-add
+sbin/nl-cls-delete
+sbin/nl-cls-list
+sbin/nl-link-list
+sbin/nl-pktloc-lookup
+sbin/nl-qdisc-add
+sbin/nl-qdisc-delete
+sbin/nl-qdisc-list
+share/examples/libnl/classid
+share/examples/libnl/pktloc
+@pkgdir etc/libnl
diff --git a/libnl/distinfo b/libnl/distinfo
new file mode 100644
index 0000000000..4c0ec905cd
--- /dev/null
+++ b/libnl/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libnl-3.2.25.tar.gz) = b7a4981f7edf7398256d35fd3c0b87bc84ae27d1
+RMD160 (libnl-3.2.25.tar.gz) = eddd2f22f9294d058bd507a6c77d4706178e1631
+SHA512 (libnl-3.2.25.tar.gz) = 3f9649577e9282cf41d2d4894aaecb2d53b4a1c51f9e674a6fb73393e9482f9f45e6f0ffa5815e606f972916e369774bfd85141a96c0e3d9d4ead3adea796286
+Size (libnl-3.2.25.tar.gz) = 832513 bytes


Home | Main Index | Thread Index | Old Index