pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libcap Import libcap-2.25 as sysutils/libcap



details:   https://anonhg.NetBSD.org/pkgsrc/rev/518af0e82b01
branches:  trunk
changeset: 349453:518af0e82b01
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Fri Jul 08 14:29:53 2016 +0000

description:
Import libcap-2.25 as sysutils/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.

diffstat:

 sysutils/libcap/DESCR         |   4 ++++
 sysutils/libcap/Makefile      |  27 +++++++++++++++++++++++++++
 sysutils/libcap/PLIST         |  41 +++++++++++++++++++++++++++++++++++++++++
 sysutils/libcap/buildlink3.mk |  12 ++++++++++++
 sysutils/libcap/distinfo      |   6 ++++++
 5 files changed, 90 insertions(+), 0 deletions(-)

diffs (110 lines):

diff -r a6e0a27757d7 -r 518af0e82b01 sysutils/libcap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libcap/DESCR     Fri Jul 08 14:29:53 2016 +0000
@@ -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 -r a6e0a27757d7 -r 518af0e82b01 sysutils/libcap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libcap/Makefile  Fri Jul 08 14:29:53 2016 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2016/07/08 14:29:53 kamil Exp $
+
+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-*-*
+
+PKGCONFIG_OVERRIDE+=   libcap/libcap.pc.in
+
+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 -r a6e0a27757d7 -r 518af0e82b01 sysutils/libcap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libcap/PLIST     Fri Jul 08 14:29:53 2016 +0000
@@ -0,0 +1,41 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/08 14:29:53 kamil Exp $
+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 -r a6e0a27757d7 -r 518af0e82b01 sysutils/libcap/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libcap/buildlink3.mk     Fri Jul 08 14:29:53 2016 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/08 14:29:53 kamil Exp $
+
+BUILDLINK_TREE+=       libcap
+
+.if !defined(LIBCAP_BUILDLINK3_MK)
+LIBCAP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcap+= libcap>=2.25
+BUILDLINK_PKGSRCDIR.libcap?=   ../../sysutils/libcap
+.endif # LIBCAP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libcap
diff -r a6e0a27757d7 -r 518af0e82b01 sysutils/libcap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/libcap/distinfo  Fri Jul 08 14:29:53 2016 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/08 14:29:53 kamil Exp $
+
+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