pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/libcap libcap: update to 2.44



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a737e6ad067e
branches:  trunk
changeset: 440724:a737e6ad067e
user:      mcf <mcf%pkgsrc.org@localhost>
date:      Fri Oct 16 22:33:49 2020 +0000

description:
libcap: update to 2.44

Set prefix variable in MAKE_FLAGS so that the *.pc files use the
correct paths.

Use gsed tool since -i flag is used during build.

Disable Go library.

Skip portability check of contrib/pcaps4server; it is not installed
or used during build.

Upstream release notes:
https://sites.google.com/site/fullycapable/release-notes-for-libcap#h.bkhhw1fow1su

diffstat:

 sysutils/libcap/Makefile |  15 ++++++++-------
 sysutils/libcap/PLIST    |  17 ++++++++++++++++-
 sysutils/libcap/distinfo |  10 +++++-----
 3 files changed, 29 insertions(+), 13 deletions(-)

diffs (105 lines):

diff -r 4799635fb63c -r a737e6ad067e sysutils/libcap/Makefile
--- a/sysutils/libcap/Makefile  Fri Oct 16 16:31:43 2020 +0000
+++ b/sysutils/libcap/Makefile  Fri Oct 16 22:33:49 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/08/31 18:11:28 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2020/10/16 22:33:49 mcf Exp $
 
-DISTNAME=      libcap-2.25
-PKGREVISION=   3
+DISTNAME=      libcap-2.44
 CATEGORIES=    sysutils
 MASTER_SITES=  https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/
 
@@ -10,19 +9,21 @@
 COMMENT=       Library for getting and setting POSIX.1e capabilities
 LICENSE=       gnu-gpl-v2
 
-USE_TOOLS+=    pkg-config gmake perl
+USE_TOOLS+=    pkg-config gmake gsed perl
 
 ONLY_FOR_PLATFORM=     Linux-*-*
 
 PKGCONFIG_OVERRIDE+=   libcap/libcap.pc.in
+PKGCONFIG_OVERRIDE+=   libcap/libpsx.pc.in
 
+MAKE_FLAGS+=   prefix=${PREFIX}
 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
+MAKE_FLAGS+=   GOLANG=no
 
 INSTALL_MAKE_FLAGS+=   RAISE_SETFCAP=no
 INSTALL_MAKE_FLAGS+=   DESTDIR=${DESTDIR}
 
+CHECK_PORTABILITY_SKIP+=       contrib/pcaps4server
+
 .include "../../mk/bsd.pkg.mk"
diff -r 4799635fb63c -r a737e6ad067e sysutils/libcap/PLIST
--- a/sysutils/libcap/PLIST     Fri Oct 16 16:31:43 2020 +0000
+++ b/sysutils/libcap/PLIST     Fri Oct 16 22:33:49 2020 +0000
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2016/07/08 14:29:53 kamil Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/10/16 22:33:49 mcf Exp $
 include/sys/capability.h
+include/sys/psx_syscall.h
 lib/libcap.a
 lib/libcap.so
 lib/libcap.so.2
 lib/libcap.so.${PKGVERSION}
+lib/libpsx.a
 lib/pkgconfig/libcap.pc
+lib/pkgconfig/libpsx.pc
 man/man1/capsh.1
 man/man3/cap_clear.3
 man/man3/cap_clear_flag.3
@@ -20,20 +23,32 @@
 man/man3/cap_get_fd.3
 man/man3/cap_get_file.3
 man/man3/cap_get_flag.3
+man/man3/cap_get_mode.3
 man/man3/cap_get_pid.3
 man/man3/cap_get_proc.3
+man/man3/cap_get_secbits.3
 man/man3/cap_init.3
+man/man3/cap_mode_name.3
 man/man3/cap_set_fd.3
 man/man3/cap_set_file.3
 man/man3/cap_set_flag.3
+man/man3/cap_set_mode.3
 man/man3/cap_set_proc.3
+man/man3/cap_set_secbits.3
+man/man3/cap_setgroups.3
+man/man3/cap_setuid.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/man3/libpsx.3
+man/man3/psx_syscall.3
+man/man3/psx_syscall3.3
+man/man3/psx_syscall6.3
 man/man8/getcap.8
+man/man8/getpcaps.8
 man/man8/setcap.8
 sbin/capsh
 sbin/getcap
diff -r 4799635fb63c -r a737e6ad067e sysutils/libcap/distinfo
--- a/sysutils/libcap/distinfo  Fri Oct 16 16:31:43 2020 +0000
+++ b/sysutils/libcap/distinfo  Fri Oct 16 22:33:49 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2016/07/08 14:29:53 kamil Exp $
+$NetBSD: distinfo,v 1.2 2020/10/16 22:33:49 mcf 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
+SHA1 (libcap-2.44.tar.gz) = e6465b796f77f191e6603dda872abe8d5c4e4e02
+RMD160 (libcap-2.44.tar.gz) = f8d0b67ba0ede3b97ad17c9e9335c5ae9c4e49ae
+SHA512 (libcap-2.44.tar.gz) = 29feb4a503aee7b86dba882175b0b76f05aed39c63ddcf47a7db7d62ab517a40c506dadfc40ddd1911f551dbe5bb26e447bb4c1024b298658a86750caab67144
+Size (libcap-2.44.tar.gz) = 170931 bytes



Home | Main Index | Thread Index | Old Index