ports/190128: [patch] devel/dmalloc install exec, take maintainer
Matthew Luckie
mjl at luckie.org.nz
Thu May 22 23:30:01 UTC 2014
>Number: 190128
>Category: ports
>Synopsis: [patch] devel/dmalloc install exec, take maintainer
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu May 22 23:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Matthew Luckie
>Release: FreeBSD 10.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD sorcerer.caida.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 #0: Tue May 13 18:26:10 UTC 2014 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
bin/dmalloc is not installed executable, so it cannot be run.
fix this, take maintainer, silence strip warning.
>How-To-Repeat:
N/A
>Fix:
--- patch-dmalloc-exec begins here ---
diff -uNr dmalloc/Makefile dmalloc-new/Makefile
--- dmalloc/Makefile 2014-01-22 09:00:46.000000000 -0800
+++ dmalloc-new/Makefile 2014-05-22 15:49:54.000000000 -0700
@@ -3,12 +3,13 @@
PORTNAME= dmalloc
PORTVERSION= 5.5.2
+PORTREVISION= 1
CATEGORIES= devel
# Version 5.5.2 is only available at this URL
MASTER_SITES= http://dmalloc.com/releases/
EXTRACT_SUFX= .tgz
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= mjl at luckie.org.nz
COMMENT= Portable debug memory allocation library
HAS_CONFIGURE= yes
@@ -33,6 +34,7 @@
@${REINPLACE_CMD} -e 's|\. at shlibext@|\. at shlibext@.1|' ${WRKSRC}/Makefile.in
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dmalloc
@(cd ${STAGEDIR}${PREFIX}/lib; \
${STRIP_CMD} libdmalloc.so.1; \
${LN} -sf libdmalloc.so.1 libdmalloc.so; \
diff -uNr dmalloc/pkg-plist dmalloc-new/pkg-plist
--- dmalloc/pkg-plist 2014-01-22 07:16:56.000000000 -0800
+++ dmalloc-new/pkg-plist 2014-05-22 15:46:11.000000000 -0700
@@ -1,4 +1,6 @@
+ at mode 555
bin/dmalloc
+ at mode
include/dmalloc.h
lib/libdmalloc.a
lib/libdmalloc.so
--- patch-dmalloc-exec ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list