ports/99237: ports/aaccli fails to install on 6.x [patch]
Helge Oldach
aacclijun06 at oldach.net
Wed Jun 21 11:00:55 UTC 2006
The following reply was made to PR ports/99237; it has been noted by GNATS.
From: Helge Oldach <aacclijun06 at oldach.net>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: ports/99237: ports/aaccli fails to install on 6.x [patch]
Date: Wed, 21 Jun 2006 06:12:18 +0200 (CEST)
>Number: 99237
>Category: ports
>Synopsis: sysutils/aaccli fails to install on 6.x [patch]
>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: Wed Jun 21 04:20:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Helge Oldach
>Release: FreeBSD 6.1-413 i386
>Organization:
>Environment:
System: FreeBSD localhost 6.1-413 FreeBSD 6.1-413 #0: Fri Jun 16 19:56:31 CEST 2006 toor at localhost:/usr/obj/usr/src/sys/HMO i386
>Description:
The POST-INSTALL script of the binary package tries to execute MAKEDEV
which is a no-op on 5.x, but nonsense on 6.x and above:
===> Vulnerability check disabled, database not found
===> Extracting for aaccli-1.0
=> MD5 Checksum OK for 5400s_fbsd_cli_v10.zip.
=> No SHA256 checksum recorded for 5400s_fbsd_cli_v10.zip.
===> aaccli-1.0 depends on executable: unzip - found
/bin/mkdir -p /usr/obj/usr/ports/sysutils/aaccli/work
cd /usr/obj/usr/ports/sysutils/aaccli/work && unzip /usr/ports/distfiles/5400s_fbsd_cli_v10.zip
Archive: /usr/ports/distfiles/5400s_fbsd_cli_v10.zip
inflating: TRANS.TBL
inflating: aaccli-1.0_0.tgz
===> Patching for aaccli-1.0
===> Configuring for aaccli-1.0
===> Installing for aaccli-1.0
===> Generating temporary packing list
===> Checking if sysutils/aaccli already installed
/usr/sbin/pkg_add -R /usr/obj/usr/ports/sysutils/aaccli/work/aaccli-1.0_0.tgz
Creating device node aacch0
./+POST-INSTALL: ./MAKEDEV: not found
pkg_add: install script returned error status
*** Error code 1
Stop in /usr/ports/sysutils/aaccli.
>How-To-Repeat:
make install
>Fix:
Execution of POST-INSTALL can be safely disabled.
--- /usr/ports/sysutils/aaccli/Makefile.ctm Tue Dec 13 01:15:59 2005
+++ /usr/ports/sysutils/aaccli/Makefile Wed Jun 21 05:58:43 2006
@@ -30,11 +30,17 @@
UNZIP= unzip
+.include <bsd.port.pre.mk>
+
do-extract:
${MKDIR} ${WRKSRC}
cd ${WRKSRC} && ${UNZIP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
+.if ${OSVERSION} >= 600000
+IGNORE_POST_INSTALL= I
+.endif
+
do-install:
- ${PKG_ADD} -R ${WRKSRC}/${PKGNAME}_${PORTREVISION}.tgz
+ ${PKG_ADD} -R${IGNORE_POST_INSTALL} ${WRKSRC}/${PKGNAME}_${PORTREVISION}.tgz
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
More information about the freebsd-ports-bugs
mailing list