ports/84573: [PATCH] - security/bdc - fix for missing file in ${DISTDIR}
Adi Pircalabu
apircalabu at bitdefender.com
Fri Aug 5 06:40:17 UTC 2005
>Number: 84573
>Category: ports
>Synopsis: [PATCH] - security/bdc - fix for missing file in ${DISTDIR}
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 05 06:40:15 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Adi Pircalabu
>Release: 5.4-STABLE
>Organization:
BitDefender
>Environment:
FreeBSD apircalabu 5.4-STABLE FreeBSD 5.4-STABLE #2: Wed May 18 15:25:17 EEST 2005 root at apircalabu:/usr/obj/usr/src/sys/GERULA i386
>Description:
security/bdc is broken at this time since the distribution file is not automatically fetched and the return code is 1.
For references, see:
http://lists.freebsd.org/pipermail/freebsd-ports/2005-August/025195.html
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2005080108/bdc-7.0.1.log
>How-To-Repeat:
Delete (if exists) /usr/ports/distfiles/bdc-7.0.1-fbsd5.tar.gz and try to reinstall.
>Fix:
--- Makefile.orig Fri Aug 5 08:54:53 2005
+++ Makefile Fri Aug 5 09:13:50 2005
@@ -31,21 +31,16 @@
ONLY_FOR_ARCHS= i386
RESTRICTED= "License prohibits redistribution"
-do-fetch:
-.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
- @${ECHO} ""
- @${ECHO} "You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after"
- @${ECHO} "reading and agreeing to the license at:"
- @${ECHO} ""
- @${ECHO} "http://download.bitdefender.com/freebsd/${BDREL}/beta/LICENSE"
- @${ECHO} ""
- @${ECHO} "A direct link to the distribution file:"
- @${ECHO} "http://download.bitdefender.com/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}"
- @${ECHO} ""
- @${ECHO} "Once the file has been downloaded move it to"
- @${ECHO} "${DISTDIR} and restart the build."
- @${ECHO} ""
- @${FALSE}
+.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
+ECHO_MSG=/usr/bin/printf
+IGNORE= :\n\
+You have to fetch ${DISTNAME}${EXTRACT_SUFX} manually after\n\
+reading and agreeing to the license at:\n\
+http://download.bitdefender.com/freebsd/${BDREL}/beta/LICENSE\n\
+A direct link to the distribution file:\n\
+http://download.bitdefender.com/freebsd/${BDREL}/beta/${DISTNAME}${EXTRACT_SUFX}\n\
+Once the file has been downloaded move it to\n\
+${DISTDIR} and restart the build.\n
.endif
do-install:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list