Index: head/sysutils/procenv/Makefile =================================================================== --- head/sysutils/procenv/Makefile (revision 490131) +++ head/sysutils/procenv/Makefile (revision 490132) @@ -1,37 +1,38 @@ # Created by: James Hunt # $FreeBSD$ PORTNAME= procenv -PORTVERSION= 0.36 -PORTREVISION= 1 +PORTVERSION= 0.50 CATEGORIES= sysutils -MASTER_SITES= https://launchpad.net/procenv/trunk/${PORTVERSION}/+download/ \ - http://people.canonical.com/~jhunt/debian/procenv/${PORTVERSION}/ \ - DEBIAN MAINTAINER= ports@FreeBSD.org COMMENT= Utility to show process environment LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xmlwf:textproc/expat2 USES= autoreconf gmake perl5 -GNU_CONFIGURE= yes USE_PERL5= build + +USE_GITHUB= yes +GH_ACCOUNT= jamesodhunt +GH_TAGNAME= d89b0ac + +GNU_CONFIGURE= yes TEST_TARGET= check PORTDOCS= AUTHORS ChangeLog NEWS README TODO PLIST_FILES= bin/procenv \ man/man1/procenv.1.gz OPTIONS_DEFINE= DOCS post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/sysutils/procenv/distinfo =================================================================== --- head/sysutils/procenv/distinfo (revision 490131) +++ head/sysutils/procenv/distinfo (revision 490132) @@ -1,2 +1,3 @@ -SHA256 (procenv-0.36.tar.gz) = 70550499d0602ffbb4bbbe91c1a6d468d44589ab29b74b5ccc42b9558f970fb4 -SIZE (procenv-0.36.tar.gz) = 264248 +TIMESTAMP = 1541557607 +SHA256 (jamesodhunt-procenv-0.50-d89b0ac_GH0.tar.gz) = c95de696984187e944cd7cdf098662124ca60023d3f8e6e5ebf3c254adf72ee8 +SIZE (jamesodhunt-procenv-0.50-d89b0ac_GH0.tar.gz) = 244613 Index: head/sysutils/procenv/files/patch-src_procenv.c =================================================================== --- head/sysutils/procenv/files/patch-src_procenv.c (revision 490131) +++ head/sysutils/procenv/files/patch-src_procenv.c (nonexistent) @@ -1,30 +0,0 @@ ---- src/procenv.c.orig 2014-08-16 19:06:54 UTC -+++ src/procenv.c -@@ -5361,8 +5361,13 @@ show_capabilities_bsd (int fd) - show_capsicum_cap (rights, CAP_KQUEUE); - show_capsicum_cap (rights, CAP_KQUEUE_CHANGE); - show_capsicum_cap (rights, CAP_KQUEUE_EVENT); -+#if __FreeBSD__ > 10 -+ show_capsicum_cap (rights, CAP_LINKAT_TARGET); -+ show_capsicum_cap (rights, CAP_LINKAT_SOURCE); -+#else - show_capsicum_cap (rights, CAP_LINKAT); - #endif -+#endif - show_capsicum_cap (rights, CAP_LISTEN); - show_capsicum_cap (rights, CAP_LOOKUP); - show_capsicum_cap (rights, CAP_MAC_GET); -@@ -5392,8 +5397,13 @@ show_capabilities_bsd (int fd) - show_capsicum_cap (rights, CAP_READ); - #if __FreeBSD__ > 9 - show_capsicum_cap (rights, CAP_RECV); -+#if __FreeBSD__ > 10 -+ show_capsicum_cap (rights, CAP_RENAMEAT_TARGET); -+ show_capsicum_cap (rights, CAP_RENAMEAT_SOURCE); -+#else - show_capsicum_cap (rights, CAP_RENAMEAT); - #endif -+#endif - show_capsicum_cap (rights, CAP_SEEK); - #if __FreeBSD__ > 9 - show_capsicum_cap (rights, CAP_SEEK_TELL); Property changes on: head/sysutils/procenv/files/patch-src_procenv.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/sysutils/procenv/files/patch-configure.ac =================================================================== --- head/sysutils/procenv/files/patch-configure.ac (nonexistent) +++ head/sysutils/procenv/files/patch-configure.ac (revision 490132) @@ -0,0 +1,15 @@ +--- configure.ac.orig 2017-10-16 17:35:19 UTC ++++ configure.ac +@@ -26,10 +26,10 @@ AC_PROG_CC + AC_PROG_INSTALL + AM_PROG_CC_C_O + +-PKG_PROG_PKG_CONFIG ++#PKG_PROG_PKG_CONFIG + + # Look for C unit test framework (http://check.sourceforge.net/). +-PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=yes], [HAVE_CHECK=no]) ++#PKG_CHECK_MODULES([CHECK], [check], [HAVE_CHECK=yes], [HAVE_CHECK=no]) + + #--------------------------------------------------------------------- + # Checks for header files. Property changes on: head/sysutils/procenv/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/procenv/files/patch-src_platform-headers.h =================================================================== --- head/sysutils/procenv/files/patch-src_platform-headers.h (nonexistent) +++ head/sysutils/procenv/files/patch-src_platform-headers.h (revision 490132) @@ -0,0 +1,24 @@ +--- src/platform-headers.h.orig 2017-10-16 17:35:19 UTC ++++ src/platform-headers.h +@@ -97,10 +97,6 @@ typedef struct statfs procenv_mnt_type; + #include + #endif + +-#if defined (HAVE_SYS_CAPABILITY_H) +-#include +-#endif +- + #if defined (__GLIBC__) + #include + #endif +@@ -261,10 +257,6 @@ typedef struct statfs procenv_mnt_type; + #include + #include + #include +- +-#if defined (HAVE_SYS_CAPABILITY_H) +-#include +-#endif + + #define PROCENV_CPU_TYPE int + #define PROCENV_CPU_SET_TYPE cpu_set_t Property changes on: head/sysutils/procenv/files/patch-src_platform-headers.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +ON \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h =================================================================== --- head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h (nonexistent) +++ head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h (revision 490132) @@ -0,0 +1,12 @@ +--- src/platform/freebsd/platform-freebsd.h.orig 2017-10-16 17:35:19 UTC ++++ src/platform/freebsd/platform-freebsd.h +@@ -23,7 +23,8 @@ + #include "util.h" + + #if defined (HAVE_SYS_CAPABILITY_H) +-#include ++/* #include */ ++#include + + #if __FreeBSD__ == 9 + Property changes on: head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/procenv/pkg-descr =================================================================== --- head/sysutils/procenv/pkg-descr (revision 490131) +++ head/sysutils/procenv/pkg-descr (revision 490132) @@ -1,6 +1,6 @@ This package contains a command-line tool that displays as much detail about itself and its environment as possible. It can be used as a test tool, to understand the type of environment a process runs in, and for comparing system environments. -WWW: https://code.launchpad.net/procenv/ +WWW: https://github.com/jamesodhunt/procenv