ports/182879: sysutils/ts conflicts with security/openssl
Jimmy Olgeni
olgeni at FreeBSD.org
Thu Oct 10 17:40:01 UTC 2013
>Number: 182879
>Category: ports
>Synopsis: sysutils/ts conflicts with security/openssl
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 10 17:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Jimmy Olgeni
>Release: FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD olgeni 9.1-STABLE FreeBSD 9.1-STABLE #1 r249688: Sat Apr 20 13:28:27 CEST 2013 root at olgeni:/usr/obj/usr/src/sys/RELENG_9.amd64 amd64
>Description:
Both sysutils/ts and security/openssl install man/man1/ts.1.gz.
A quick fix would be to rename ts.1 to ts.8.
>How-To-Repeat:
>Fix:
(also includes staging support)
Index: Makefile
===================================================================
--- Makefile (revision 329980)
+++ Makefile (working copy)
@@ -10,21 +10,22 @@
COMMENT= Serial task spooler
USE_GMAKE= yes
-PLIST_FILES= bin/ts
+PLIST_FILES= bin/ts \
+ man/man8/ts.8.gz
PORTDOCS= OBJECTIVES PROTOCOL README TRICKS
-MAN1= ts.1
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/^GLIBCFLAGS/d;/^CFLAGS/d'\
${WRKSRC}/Makefile
+# Install man page as ts.8 to avoid conflict with security/openssl
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ts ${PREFIX}/bin/
- ${INSTALL_MAN} ${WRKSRC}/ts.1 ${MAN1PREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/ts ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ts.1 ${STAGEDIR}${MAN1PREFIX}/man/man8/ts.8
.ifndef NOPORTDOCS
- ${INSTALL} -d ${DOCSDIR}/
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+ ${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list