Bug 185635 - Fix bug in ptree. There were situations where ptree shows duplicated processes in output.
Summary: Fix bug in ptree. There were situations where ptree shows duplicated processe...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 09:30 UTC by tmwalaszek
Modified: 2014-01-10 23:10 UTC (History)
0 users

See Also:


Attachments
file.diff (842 bytes, patch)
2014-01-10 09:30 UTC, tmwalaszek
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tmwalaszek 2014-01-10 09:30:00 UTC
Fix bug in ptree. There were situations where ptree shows duplicated processes in output.

Fix: Patch attached with submission follows:
Comment 1 Jason Helfman freebsd_committer freebsd_triage 2014-01-10 21:46:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-01-10 23:06:16 UTC
Author: jgh
Date: Fri Jan 10 23:06:09 2014
New Revision: 339390
URL: http://svnweb.freebsd.org/changeset/ports/339390

Log:
  - update to 0.4
    Fix bug in ptree where duplicated processes were in output
  - while here update for staging support, respect ${CC}, fix license clause
  
  PR:		185635
  Submitted by:	maintainer, tmwalaszek@gmail.com

Modified:
  head/sysutils/ptools/Makefile
  head/sysutils/ptools/distinfo

Modified: head/sysutils/ptools/Makefile
==============================================================================
--- head/sysutils/ptools/Makefile	Fri Jan 10 23:04:07 2014	(r339389)
+++ head/sysutils/ptools/Makefile	Fri Jan 10 23:06:09 2014	(r339390)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ptools
-PORTVERSION=	0.3
+PORTVERSION=	0.4
 CATEGORIES=	sysutils
 MASTER_SITES=	http://shewolf.com.pl/ptools/
 PKGNAMESUFFIX=	2
@@ -10,12 +10,24 @@ PKGNAMESUFFIX=	2
 MAINTAINER=	tmwalaszek@gmail.com
 COMMENT=	Toolset based on Solaris ptools functionality
 
-LICENSE=	BSD
+LICENSE=	BSD4CLAUSE
 
 PLIST_FILES=	bin/pargs \
 		bin/pwdx \
 		bin/pldd \
 		bin/ptree
 
-NO_STAGE=	yes
+NEED_ROOT=	yes
+
+post-patch-script:
+	@${REINPLACE_CMD} -e 's|/usr/local/bin|${STAGEDIR}${PREFIX}/bin|g' \
+		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|gcc|$${CC}|g' \
+		${WRKSRC}/Makefile
+
+post-install:
+.for file in pargs pwdx pldd ptree
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file}
+.endfor
+
 .include <bsd.port.mk>

Modified: head/sysutils/ptools/distinfo
==============================================================================
--- head/sysutils/ptools/distinfo	Fri Jan 10 23:04:07 2014	(r339389)
+++ head/sysutils/ptools/distinfo	Fri Jan 10 23:06:09 2014	(r339390)
@@ -1,2 +1,2 @@
-SHA256 (ptools-0.3.tar.gz) = 7fcf2177a277f40d320a44548809ce2e22bdacab1eacc95955f33046348101c8
-SIZE (ptools-0.3.tar.gz) = 3769
+SHA256 (ptools-0.4.tar.gz) = fb931551aed23ee96497e7495ae53194c47218919cc02de5a07eb526ec53dafa
+SIZE (ptools-0.4.tar.gz) = 3841
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jason Helfman freebsd_committer freebsd_triage 2014-01-10 23:06:24 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!