Index: head/sysutils/procenv/Makefile =================================================================== --- head/sysutils/procenv/Makefile (revision 409234) +++ head/sysutils/procenv/Makefile (revision 409235) @@ -1,36 +1,37 @@ # Created by: James Hunt # $FreeBSD$ PORTNAME= procenv PORTVERSION= 0.36 +PORTREVISION= 1 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:${PORTSDIR}/textproc/expat2 USES= autoreconf gmake perl5 GNU_CONFIGURE= yes USE_PERL5= build +TEST_TARGET= check +PORTDOCS= AUTHORS ChangeLog NEWS README TODO PLIST_FILES= bin/procenv \ man/man1/procenv.1.gz -# Test to ensure procenv will actually run. -# -# This has the attractive side-effect of displaying the environment -# of the build system which may be of interest to those fixing FTBFS -# packages that build correctly locally. -regression-test: build - @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check +OPTIONS_DEFINE= DOCS -test: regression-test +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include Index: head/sysutils/procenv/files/patch-src_procenv.c =================================================================== --- head/sysutils/procenv/files/patch-src_procenv.c (nonexistent) +++ head/sysutils/procenv/files/patch-src_procenv.c (revision 409235) @@ -0,0 +1,30 @@ +--- 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 ___________________________________________________________________ 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