View | Details | Raw Unified | Return to bug 233176 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-6 / +9 lines)
Lines 2-13 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	procenv
4
PORTNAME=	procenv
5
PORTVERSION=	0.36
5
PORTVERSION=	0.50
6
PORTREVISION=	1
7
CATEGORIES=	sysutils
6
CATEGORIES=	sysutils
8
MASTER_SITES=	https://launchpad.net/procenv/trunk/${PORTVERSION}/+download/ \
7
#MASTER_SITES=   https://launchpad.net/procenv/trunk/${PORTVERSION}/+download/ \
9
		http://people.canonical.com/~jhunt/debian/procenv/${PORTVERSION}/ \
8
#                DEBIAN
10
		DEBIAN
11
9
12
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	ports@FreeBSD.org
13
COMMENT=	Utility to show process environment
11
COMMENT=	Utility to show process environment
Lines 18-25 Link Here
18
BUILD_DEPENDS=	xmlwf:textproc/expat2
16
BUILD_DEPENDS=	xmlwf:textproc/expat2
19
17
20
USES=		autoreconf gmake perl5
18
USES=		autoreconf gmake perl5
19
USE_PERL5=	build
20
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	jamesodhunt
23
GH_TAGNAME=	d89b0ac
24
21
GNU_CONFIGURE=	yes
25
GNU_CONFIGURE=	yes
22
USE_PERL5=	build
23
TEST_TARGET=	check
26
TEST_TARGET=	check
24
27
25
PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
28
PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (procenv-0.36.tar.gz) = 70550499d0602ffbb4bbbe91c1a6d468d44589ab29b74b5ccc42b9558f970fb4
1
TIMESTAMP = 1541557607
2
SIZE (procenv-0.36.tar.gz) = 264248
2
SHA256 (jamesodhunt-procenv-0.50-d89b0ac_GH0.tar.gz) = c95de696984187e944cd7cdf098662124ca60023d3f8e6e5ebf3c254adf72ee8
3
SIZE (jamesodhunt-procenv-0.50-d89b0ac_GH0.tar.gz) = 244613
(-)files/patch-src_platform-headers.h (+24 lines)
Line 0 Link Here
1
--- src/platform-headers.h.orig	2018-11-07 02:39:39 UTC
2
+++ src/platform-headers.h
3
@@ -97,10 +97,6 @@ typedef struct statfs procenv_mnt_type;
4
 #include <selinux/selinux.h>
5
 #endif
6
 
7
-#if defined (HAVE_SYS_CAPABILITY_H)
8
-#include <sys/capability.h>
9
-#endif
10
-
11
 #if defined (__GLIBC__)
12
 #include <sys/sysmacros.h>
13
 #endif
14
@@ -262,10 +258,6 @@ typedef struct statfs procenv_mnt_type;
15
 #include <net/if.h>
16
 #include <link.h>
17
 
18
-#if defined (HAVE_SYS_CAPABILITY_H)
19
-#include <sys/capability.h>
20
-#endif
21
-
22
 #define PROCENV_CPU_TYPE     int
23
 #define PROCENV_CPU_SET_TYPE cpu_set_t
24
 
(-)files/patch-src_procenv.c (-30 lines)
Lines 1-30 Link Here
1
--- src/procenv.c.orig	2014-08-16 19:06:54 UTC
2
+++ src/procenv.c
3
@@ -5361,8 +5361,13 @@ show_capabilities_bsd (int fd)
4
 	show_capsicum_cap (rights, CAP_KQUEUE);
5
 	show_capsicum_cap (rights, CAP_KQUEUE_CHANGE);
6
 	show_capsicum_cap (rights, CAP_KQUEUE_EVENT);
7
+#if __FreeBSD__ > 10
8
+	show_capsicum_cap (rights, CAP_LINKAT_TARGET);
9
+	show_capsicum_cap (rights, CAP_LINKAT_SOURCE);
10
+#else
11
 	show_capsicum_cap (rights, CAP_LINKAT);
12
 #endif
13
+#endif
14
 	show_capsicum_cap (rights, CAP_LISTEN);
15
 	show_capsicum_cap (rights, CAP_LOOKUP);
16
 	show_capsicum_cap (rights, CAP_MAC_GET);
17
@@ -5392,8 +5397,13 @@ show_capabilities_bsd (int fd)
18
 	show_capsicum_cap (rights, CAP_READ);
19
 #if __FreeBSD__ > 9
20
 	show_capsicum_cap (rights, CAP_RECV);
21
+#if __FreeBSD__ > 10
22
+	show_capsicum_cap (rights, CAP_RENAMEAT_TARGET);
23
+	show_capsicum_cap (rights, CAP_RENAMEAT_SOURCE);
24
+#else
25
 	show_capsicum_cap (rights, CAP_RENAMEAT);
26
 #endif
27
+#endif
28
 	show_capsicum_cap (rights, CAP_SEEK);
29
 #if __FreeBSD__ > 9
30
 	show_capsicum_cap (rights, CAP_SEEK_TELL);

Return to bug 233176