Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 14:37:00 GMT
From:      pluknet <pluknet@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147724: [patch] sysutils/arcconf: add the ability to run on FreeBSD 8.x
Message-ID:  <201006091437.o59Eb0Di043539@www.freebsd.org>
Resent-Message-ID: <201006091440.o59Ee6sm056124@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147724
>Category:       ports
>Synopsis:       [patch] sysutils/arcconf: add the ability to run on FreeBSD 8.x
>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 09 14:40:06 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     pluknet
>Release:        8.0-RELEASE-p3
>Organization:
>Environment:
FreeBSD host 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue Jun  8 19:10:31 UTC 2010     root@host:/usr/obj/usr/src/sys/CUSTOM i386

>Description:
Currently arcconf is released in 6.x and 7.x dynamically compiled binary forms.
In order to run 7.x-ish arcconf on 8.x host, one needs to install compat7x run dependency.
>How-To-Repeat:
# cd /usr/ports/sysutils/arcconf
# make install
===>  Installing for arcconf-v6.40.18530
===>   Generating temporary packing list
===>  Checking if sysutils/arcconf already installed
install  -s -o root -g wheel -m 555 /usr/work/usr/ports/sysutils/arcconf/work/opt/StorMan/arcconf  /usr/local/sbin
install  -o root -g wheel -m 555 /usr/work/usr/ports/sysutils/arcconf/work/410.status-aac-raid /usr/local/etc/periodic/daily
===>   Registering installation for arcconf-v6.40.18530
# arcconf
/libexec/ld-elf.so.1: Shared object "libncurses.so.7" not found, required by "arcconf"

>Fix:
Apply the patch.

Patch attached with submission follows:

--- sysutils/arcconf/Makefile.orig	2009-12-20 15:43:18.000000000 +0300
+++ sysutils/arcconf/Makefile	2010-06-09 18:22:28.000000000 +0400
@@ -27,6 +27,9 @@
 .if ${OSVERSION} >= 700000
 DIST_TYPE=	7
 EXTRACT_SUFX=	.pkg.tbz
+.if ${OSVERSION} >= 800000
+RUN_DEPENDS+=	ncurses.7:${PORTSDIR}/misc/compat7x
+.endif
 .else
 DIST_TYPE=	6
 EXTRACT_SUFX=	.pkg.tgz


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006091437.o59Eb0Di043539>