Updating sysutils/pstack ?

Juergen Lock nox at jelal.kn-bremen.de
Tue Jun 17 19:47:17 UTC 2014


This just came up on irc, seems zont has a newer pstack version on github
and the port is unmaintained...  Anything wrong with committing
this? :)  (also at:

	http://people.freebsd.org/~nox/tmp/pstack-github-001.patch

)

 Thanx!
	Juergen

Index: sysutils/pstack/Makefile
===================================================================
--- sysutils/pstack/Makefile	(revision 357923)
+++ sysutils/pstack/Makefile	(working copy)
@@ -2,22 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	pstack
-PORTVERSION=	1.2
-PORTREVISION=	1
+PORTVERSION=	1.3
 CATEGORIES=	sysutils
-MASTER_SITES=	SF/bsd-${PORTNAME}/bsd-${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Retrieve process/core file stack traces
 
-ONLY_FOR_ARCHS=	i386
+LICENSE=	BSD2CLAUSE
 
-MANCOMPRESSED=	yes
-MAN1=		pstack.1
-PLIST_FILES=	bin/pstack
+USE_GITHUB=	yes
+GH_ACCOUNT=	z0nt
+GH_PROJECT=	${PORTNAME}
+GH_COMMIT=	874a052
+GH_TAGNAME=	874a052
+USES=		uidfix
+ONLY_FOR_ARCHS=	amd64 i386
+MAKE_ARGS+=	BINDIR=${PREFIX}/bin
+MAKE_ARGS+=	MANDIR=${PREFIX}/man/man
+MAKE_ARGS+=	LIBDIR=${PREFIX}/lib
 
-NO_STAGE=	yes
-post-patch:
-	${REINPLACE_CMD} -e 's/DT_COUNT/DT_BIND_NOW/' ${WRKSRC}/elf.c
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
 .include <bsd.port.mk>
Index: sysutils/pstack/distinfo
===================================================================
--- sysutils/pstack/distinfo	(revision 357923)
+++ sysutils/pstack/distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (pstack-1.2.tar.gz) = 98f56383798353a6b867f61aaa99e004afd8b6f5359cb6c62c3a6d31f5c13e47
-SIZE (pstack-1.2.tar.gz) = 16699
+SHA256 (pstack-1.3.tar.gz) = cbafa975ef57204c94a3d5dd40260d84122655fb0d47731e6a5e3c2786b23b37
+SIZE (pstack-1.3.tar.gz) = 17121


More information about the freebsd-ports mailing list