ports/52856: Force files overwrite with USE_ZIP=yes
Alexey Dokuchaev
danfe at regency.nsu.ru
Mon Jun 2 11:40:14 UTC 2003
>Number: 52856
>Category: ports
>Synopsis: Force files overwrite with USE_ZIP=yes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Jun 02 04:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Alexey Dokuchaev
>Release: FreeBSD 4.8-RC i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.8-RC FreeBSD 4.8-RC #2: Fri Mar 7 17:30:50 NOVT 2003 root at regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
While, when [gb]ziped distfiles explicitly set to overwrite existing
files upon extraction, this is not the case with .zip-suffixed
distfiles, thus requiring explicit override of EXTRACT_BEFORE_ARGS for
some ports that need this. I therefore propose the following change to
/usr/ports/Mk/bsd.port.mk to make things easier for porters and general
consistency with GZIP/BZIP2 distfiles behavior.
>How-To-Repeat:
N/A
>Fix:
--- bsd.port.mk.orig Mon Jun 2 03:42:30 2003
+++ bsd.port.mk Mon Jun 2 03:42:10 2003
@@ -1743,7 +1743,7 @@
# EXTRACT_SUFX is defined in .pre.mk section
.if defined(USE_ZIP)
EXTRACT_CMD?= unzip
-EXTRACT_BEFORE_ARGS?= -q
+EXTRACT_BEFORE_ARGS?= -qo
EXTRACT_AFTER_ARGS?= -d ${WRKDIR}
.else
EXTRACT_BEFORE_ARGS?= -dc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list