ports/108068: [PATCH] Fix misuse of gzip(1) in sysutils/mcweject

Xin LI delphij at FreeBSD.org
Thu Jan 18 01:40:21 UTC 2007


>Number:         108068
>Category:       ports
>Synopsis:       [PATCH] Fix misuse of gzip(1) in sysutils/mcweject
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 18 01:40:20 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Xin LI
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD tarsier.delphij.net 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 12:23:27 CST 2007 delphij at tarsier.delphij.net:/usr/obj/usr/src/sys/TARSIER i386


>Description:
	In sysutils/mcweject, there is an instance of use of '-best'
option of gzip(1), which should be spelled as '--best'.  Because the
ports system already have '-9' in GZIP_CMD macro, the option should
be removed because it is useless.

	This would break the port after gzip(1) is replaced by a BSD
licensed one.
>How-To-Repeat:
	make install
>Fix:


--- patch-mcweject begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/mcweject/Makefile,v
retrieving revision 1.2
diff -u -p -u -r1.2 Makefile
--- Makefile	4 Jan 2006 06:23:41 -0000	1.2
+++ Makefile	18 Jan 2007 01:03:23 -0000
@@ -30,7 +30,7 @@ do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/eject ${PREFIX}/sbin
 	${CHMOD} 4511 ${PREFIX}/sbin/eject
 	${INSTALL_DATA} ${WRKSRC}/eject.1 ${PREFIX}/man/man1
-	${GZIP_CMD} -best ${PREFIX}/man/man1/eject.1
+	${GZIP_CMD} ${PREFIX}/man/man1/eject.1
 
 post-install:
 	@${CAT} ${PKGMESSAGE}
--- patch-mcweject ends here ---


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



More information about the freebsd-ports-bugs mailing list