Summary: | [PATCH] net/rinetd: fails to install due to file name collision | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Frank Wall <freebsd> | ||||
Component: | Individual Port(s) | Assignee: | Doug Barton <dougb> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Frank Wall
2012-08-07 09:10:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->garga Over to maintainer (via the GNATS Auto Assign Tool) Responsible Changed From-To: garga->dougb you break, you fix Author: dougb Date: Tue Aug 7 19:19:02 2012 New Revision: 302255 URL: http://svn.freebsd.org/changeset/ports/302255 Log: Fix problem introduced in r302141. The directory for the unpacked source files is unversioned, so it conflicts with the name of the rc.d script in WRKDIR after SUB_FILES is applied. This is the same method as suggested in the PR (and that I've used previously), just slightly different in the details. PR: ports/170441 Submitted by: Frank Wall <fw@moov.de> Approved by: maintainer Modified: head/net/rinetd/Makefile Modified: head/net/rinetd/Makefile ============================================================================== --- head/net/rinetd/Makefile Tue Aug 7 18:37:01 2012 (r302254) +++ head/net/rinetd/Makefile Tue Aug 7 19:19:02 2012 (r302255) @@ -19,7 +19,7 @@ COMMENT= A simple TCP port redirector OPTIONS_DEFINE= DOCS -WRKSRC= ${WRKDIR}/rinetd/ +WRKSRC= ${WRKDIR}/rinetd-${PORTVERSION} MAKE_JOBS_SAFE= yes USE_DOS2UNIX= yes @@ -32,6 +32,9 @@ USE_RC_SUBR= rinetd .include <bsd.port.pre.mk> +post-extract: + @${MV} ${WRKDIR}/rinetd ${WRKSRC} + post-patch: @${REINPLACE_CMD} -E "s,(/etc/rinetd.conf),${PREFIX}\1," \ ${WRKSRC}/rinetd.[8c] _______________________________________________ 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" State Changed From-To: open->closed Fixed in r302255. Thanks! |