Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Oct 2004 22:21:09 +0200 (CEST)
From:      Lars Thegler <lth@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72401: [MAINTAINER] net/smokeping: fix 4.x breakage on pointyhat
Message-ID:  <20041006202109.B71063F00@dask.thegler.dk>
Resent-Message-ID: <200410062030.i96KUNJS002417@freefall.freebsd.org>

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

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006202109.B71063F00>