Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2019 12:46:49 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490132 - in head/sysutils/procenv: . files
Message-ID:  <201901131246.x0DCknvL066382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Jan 13 12:46:49 2019
New Revision: 490132
URL: https://svnweb.freebsd.org/changeset/ports/490132

Log:
  sysutils/procenv: update 0.36 -> 0.50
  
  PR:		233176
  Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
  Relnotes:	https://github.com/jamesodhunt/procenv/blob/master/NEWS

Added:
  head/sysutils/procenv/files/patch-configure.ac   (contents, props changed)
  head/sysutils/procenv/files/patch-src_platform-headers.h   (contents, props changed)
  head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h   (contents, props changed)
Deleted:
  head/sysutils/procenv/files/patch-src_procenv.c
Modified:
  head/sysutils/procenv/Makefile
  head/sysutils/procenv/distinfo
  head/sysutils/procenv/pkg-descr

Modified: head/sysutils/procenv/Makefile
==============================================================================
--- head/sysutils/procenv/Makefile	Sun Jan 13 12:21:31 2019	(r490131)
+++ head/sysutils/procenv/Makefile	Sun Jan 13 12:46:49 2019	(r490132)
@@ -2,12 +2,8 @@
 # $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
@@ -18,8 +14,13 @@ 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
@@ -29,7 +30,7 @@ PLIST_FILES=	bin/procenv \
 OPTIONS_DEFINE=	DOCS
 
 post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor

Modified: head/sysutils/procenv/distinfo
==============================================================================
--- head/sysutils/procenv/distinfo	Sun Jan 13 12:21:31 2019	(r490131)
+++ head/sysutils/procenv/distinfo	Sun Jan 13 12:46:49 2019	(r490132)
@@ -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

Added: head/sysutils/procenv/files/patch-configure.ac
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/procenv/files/patch-configure.ac	Sun Jan 13 12:46:49 2019	(r490132)
@@ -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.

Added: head/sysutils/procenv/files/patch-src_platform-headers.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/procenv/files/patch-src_platform-headers.h	Sun Jan 13 12:46:49 2019	(r490132)
@@ -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 <selinux/selinux.h>
+ #endif
+ 
+-#if defined (HAVE_SYS_CAPABILITY_H)
+-#include <sys/capability.h>
+-#endif
+-
+ #if defined (__GLIBC__)
+ #include <sys/sysmacros.h>
+ #endif
+@@ -261,10 +257,6 @@ typedef struct statfs procenv_mnt_type;
+ #include <sys/statvfs.h>
+ #include <net/if.h>
+ #include <link.h>
+-
+-#if defined (HAVE_SYS_CAPABILITY_H)
+-#include <sys/capability.h>
+-#endif
+ 
+ #define PROCENV_CPU_TYPE     int
+ #define PROCENV_CPU_SET_TYPE cpu_set_t

Added: head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/procenv/files/patch-src_platform_freebsd_platform-freebsd.h	Sun Jan 13 12:46:49 2019	(r490132)
@@ -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 <sys/capability.h>
++/* #include <sys/capability.h> */
++#include <sys/capsicum.h>
+ 
+ #if __FreeBSD__ == 9
+ 

Modified: head/sysutils/procenv/pkg-descr
==============================================================================
--- head/sysutils/procenv/pkg-descr	Sun Jan 13 12:21:31 2019	(r490131)
+++ head/sysutils/procenv/pkg-descr	Sun Jan 13 12:46:49 2019	(r490132)
@@ -3,4 +3,4 @@ about itself and its environment as possible.  It can 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901131246.x0DCknvL066382>