ports/72401: [MAINTAINER] net/smokeping: fix 4.x breakage on pointyhat

Lars Thegler lth at FreeBSD.org
Wed Oct 6 20:30:24 UTC 2004


>Number:         72401
>Category:       ports
>Synopsis:       [MAINTAINER] net/smokeping: fix 4.x breakage on pointyhat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 06 20:30:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Lars Thegler
>Release:        FreeBSD 4.10-BETA i386
>Organization:
>Environment:
System: FreeBSD dask.thegler.dk 4.10-BETA FreeBSD 4.10-BETA #3: Mon Apr 12 17:02:50 CEST 2004
>Description:
It seems there is something with the chrooted environment on pointyhat
which prevents chmod of cp -p from working correctly. This patch
avoids the use of -p.  This doesn't appear to be affecting 5.X, so
it can wait until the thaw.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- smokeping-1.31.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/smokeping/Makefile,v
retrieving revision 1.23
diff -u -u -r1.23 Makefile
--- Makefile	15 Aug 2004 16:19:59 -0000	1.23
+++ Makefile	6 Oct 2004 20:09:39 -0000
@@ -143,8 +143,9 @@
 		${INSTALL_DATA} ${WRKSRC}/etc/${FILE}.dist ${PREFIX}/etc/smokeping/${FILE} ; \
 	fi
 .endfor
-	@${MKDIR} ${PREFIX}/smokeping
-	@${CP} -Rp ${WRKSRC}/[hl]* ${PREFIX}/smokeping/
+	@${MKDIR} ${PREFIX}/smokeping/htdocs
+	@${INSTALL_SCRIPT} ${WRKSRC}/htdocs/smokeping.cgi ${PREFIX}/smokeping/htdocs/smokeping.cgi
+	@${CP} -R ${WRKSRC}/lib ${PREFIX}/smokeping/
 	@${MKDIR} ${PREFIX}/var/smokeping
 	@${CHOWN} ${USER}:${GROUP} ${PREFIX}/var/smokeping
 	@${MKDIR} ${PREFIX}/smokeping/htdocs/img
--- smokeping-1.31.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list