pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/libcap



Module Name:    pkgsrc
Committed By:   kamil
Date:           Fri Jul  8 14:29:53 UTC 2016

Added Files:
        pkgsrc/sysutils/libcap: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/libcap/DESCR \
    pkgsrc/sysutils/libcap/Makefile pkgsrc/sysutils/libcap/PLIST \
    pkgsrc/sysutils/libcap/buildlink3.mk pkgsrc/sysutils/libcap/distinfo

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

Added files:

Index: pkgsrc/sysutils/libcap/DESCR
diff -u /dev/null pkgsrc/sysutils/libcap/DESCR:1.1
--- /dev/null   Fri Jul  8 14:29:53 2016
+++ pkgsrc/sysutils/libcap/DESCR        Fri Jul  8 14:29:53 2016
@@ -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.
Index: pkgsrc/sysutils/libcap/Makefile
diff -u /dev/null pkgsrc/sysutils/libcap/Makefile:1.1
--- /dev/null   Fri Jul  8 14:29:53 2016
+++ pkgsrc/sysutils/libcap/Makefile     Fri Jul  8 14:29:53 2016
@@ -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"
Index: pkgsrc/sysutils/libcap/PLIST
diff -u /dev/null pkgsrc/sysutils/libcap/PLIST:1.1
--- /dev/null   Fri Jul  8 14:29:53 2016
+++ pkgsrc/sysutils/libcap/PLIST        Fri Jul  8 14:29:53 2016
@@ -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
Index: pkgsrc/sysutils/libcap/buildlink3.mk
diff -u /dev/null pkgsrc/sysutils/libcap/buildlink3.mk:1.1
--- /dev/null   Fri Jul  8 14:29:53 2016
+++ pkgsrc/sysutils/libcap/buildlink3.mk        Fri Jul  8 14:29:53 2016
@@ -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
Index: pkgsrc/sysutils/libcap/distinfo
diff -u /dev/null pkgsrc/sysutils/libcap/distinfo:1.1
--- /dev/null   Fri Jul  8 14:29:53 2016
+++ pkgsrc/sysutils/libcap/distinfo     Fri Jul  8 14:29:53 2016
@@ -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