ports/99237: ports/aaccli fails to install on 6.x [patch]

Helge Oldach aacclijun06 at oldach.net
Wed Jun 21 04:20:20 UTC 2006

>Number:         99237
>Category:       ports
>Synopsis:       ports/aaccli fails to install on 6.x [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 21 04:20:10 GMT 2006
>Originator:     Helge Oldach
>Release:        FreeBSD 6.1-413 i386

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


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.


make install


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>
+.if ${OSVERSION} >= 600000
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the freebsd-ports-bugs mailing list