pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import libcap-2.25 as wip/libcap.
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Jul 8 15:44:59 2016 +0200
Changeset: 937a371672d7e7e1775eb7643026cd9ccb872072
Added Files:
libcap/DESCR
libcap/Makefile
libcap/PLIST
libcap/buildlink3.mk
libcap/distinfo
Log Message:
Import libcap-2.25 as wip/libcap.
libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
draft 15 capabilities.
This package is restricted for the Linux environment.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=937a371672d7e7e1775eb7643026cd9ccb872072
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libcap/DESCR | 4 ++++
libcap/Makefile | 30 ++++++++++++++++++++++++++++++
libcap/PLIST | 41 +++++++++++++++++++++++++++++++++++++++++
libcap/buildlink3.mk | 12 ++++++++++++
libcap/distinfo | 6 ++++++
5 files changed, 93 insertions(+)
diffs:
diff --git a/libcap/DESCR b/libcap/DESCR
new file mode 100644
index 0000000..d0fe7f6
--- /dev/null
+++ b/libcap/DESCR
@@ -0,0 +1,4 @@
+libcap is a library for getting and setting POSIX.1e (formerly POSIX 6)
+draft 15 capabilities.
+
+This package is restricted for the Linux environment.
diff --git a/libcap/Makefile b/libcap/Makefile
new file mode 100644
index 0000000..0f8e959
--- /dev/null
+++ b/libcap/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME= libcap-2.25
+CATEGORIES= sysutils
+MASTER_SITES= https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://sites.google.com/site/fullycapable/
+COMMENT= Library for getting and setting POSIX.1e capabilities
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config gmake perl
+
+ONLY_FOR_PLATFORM= Linux-*-*
+NOT_FOR_UNPRIVILEGED= yes
+
+PKGCONFIG_OVERRIDE+= libcap/libcap.pc.in
+
+MAKE_FLAGS+= prefix=${PREFIX}
+MAKE_FLAGS+= lib=${PREFIX}/lib
+MAKE_FLAGS+= LIBDIR=${PREFIX}/lib
+MAKE_FLAGS+= SBINDIR=${PREFIX}/sbin
+MAKE_FLAGS+= INCDIR=${PREFIX}/include
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+= PKGCONFIGDIR=${PREFIX}/lib/pkgconfig
+
+INSTALL_MAKE_FLAGS+= RAISE_SETFCAP=no
+INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libcap/PLIST b/libcap/PLIST
new file mode 100644
index 0000000..163782a
--- /dev/null
+++ b/libcap/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD$
+include/sys/capability.h
+lib/libcap.a
+lib/libcap.so
+lib/libcap.so.2
+lib/libcap.so.${PKGVERSION}
+lib/pkgconfig/libcap.pc
+man/man1/capsh.1
+man/man3/cap_clear.3
+man/man3/cap_clear_flag.3
+man/man3/cap_compare.3
+man/man3/cap_copy_ext.3
+man/man3/cap_copy_int.3
+man/man3/cap_drop_bound.3
+man/man3/cap_dup.3
+man/man3/cap_free.3
+man/man3/cap_from_name.3
+man/man3/cap_from_text.3
+man/man3/cap_get_bound.3
+man/man3/cap_get_fd.3
+man/man3/cap_get_file.3
+man/man3/cap_get_flag.3
+man/man3/cap_get_pid.3
+man/man3/cap_get_proc.3
+man/man3/cap_init.3
+man/man3/cap_set_fd.3
+man/man3/cap_set_file.3
+man/man3/cap_set_flag.3
+man/man3/cap_set_proc.3
+man/man3/cap_size.3
+man/man3/cap_to_name.3
+man/man3/cap_to_text.3
+man/man3/capgetp.3
+man/man3/capsetp.3
+man/man3/libcap.3
+man/man8/getcap.8
+man/man8/setcap.8
+sbin/capsh
+sbin/getcap
+sbin/getpcaps
+sbin/setcap
diff --git a/libcap/buildlink3.mk b/libcap/buildlink3.mk
new file mode 100644
index 0000000..68dd31b
--- /dev/null
+++ b/libcap/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+BUILDLINK_TREE+= libcap
+
+.if !defined(LIBCAP_BUILDLINK3_MK)
+LIBCAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcap+= libcap>=2.25
+BUILDLINK_PKGSRCDIR.libcap?= ../../local/libcap
+.endif # LIBCAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libcap
diff --git a/libcap/distinfo b/libcap/distinfo
new file mode 100644
index 0000000..5add88a
--- /dev/null
+++ b/libcap/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (libcap-2.25.tar.gz) = 0d6e242d70e80c243a7abeb787e007835b3f0d3d
+RMD160 (libcap-2.25.tar.gz) = b2f07c4f6e84c078ab16a87441d27b6d618f1960
+SHA512 (libcap-2.25.tar.gz) = 000d1dbcc1a30857ec269f761f04e04ca362c5d3090cdf64e54ec4c1b3af6ad2db464187250b368c71deb9a257a84679cbcb9ca69c301de80b16782a67288083
+Size (libcap-2.25.tar.gz) = 73732 bytes
Home |
Main Index |
Thread Index |
Old Index