Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 15:59:42 -0700
From:      Matthew Luckie <mjl@luckie.org.nz>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/190128: [patch] devel/dmalloc install exec, take maintainer
Message-ID:  <E1Wnbxe-000Dak-Ts@sorcerer.caida.org>
Resent-Message-ID: <201405222330.s4MNU0f9018003@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@FreeBSD.org
+MAINTAINER=	mjl@luckie.org.nz
 COMMENT=	Portable debug memory allocation library
 
 HAS_CONFIGURE=	yes
@@ -33,6 +34,7 @@
 	@${REINPLACE_CMD} -e 's|\.@shlibext@|\.@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 @@
+@mode 555
 bin/dmalloc
+@mode
 include/dmalloc.h
 lib/libdmalloc.a
 lib/libdmalloc.so
--- patch-dmalloc-exec ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Wnbxe-000Dak-Ts>