From e778aaa42d581a7fe15e43e77e5afe1ba1c9fb23 Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Wed, 20 Aug 2014 11:24:40 +0000 Subject: [PATCH] sysutils/arcconf: Update Update arcconf port to current version supplied by PMC/Adaptec PR: 192849 Submitted by: michael@fuckner.net (maintainer) --- LEGAL | 2 +- sysutils/arcconf/Makefile | 29 ++++++++++++++++++----------- sysutils/arcconf/distinfo | 6 ++---- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/LEGAL b/LEGAL index 95881db1b8c4..d86b29b38112 100644 --- a/LEGAL +++ b/LEGAL @@ -53,7 +53,7 @@ boodler-* audio/boodler Not for commercial use Browser*.tar.gz net/ldapbrowser No reply from author regarding redistribution licensing candycruncher_demo* games/linux-candycruncher-demo Redistribution is limited, see license citrix_ica-* net/citrix_ica License prohibits redistribution -cli_freebsd* sysutils/arcconf May not be redistributed in binary form +arcconf-v* sysutils/arcconf May not be redistributed in binary form clustalw-* biology/clustalw No commercial use coldwar_demo* games/linux-coldwar-demo Redistribution is limited, see license contool-* sysutils/contool Do not incorporate the source code into a product which is subsequently sold diff --git a/sysutils/arcconf/Makefile b/sysutils/arcconf/Makefile index e40cc6d90cb8..c189e2e57f6d 100644 --- a/sysutils/arcconf/Makefile +++ b/sysutils/arcconf/Makefile @@ -2,17 +2,19 @@ # $FreeBSD$ PORTNAME= arcconf -DISTVERSION= v7_30_18837 +DISTVERSION= v1_6_21062 +PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= http://download.adaptec.com/raid/storage_manager/ -DISTNAME= asm_freebsd_${DIST_EXT}_${DISTVERSION} -EXTRACT_SUFX= .tgz +DISTNAME= arcconf_${DISTVERSION} MAINTAINER= michael@fuckner.net -COMMENT= Adaptec SCSI RAID administration tool +COMMENT= Adaptec SCSI/SAS RAID administration tool ONLY_FOR_ARCHS= i386 amd64 +USES= zip + PERIODICSCRIPT= 410.status-aac-raid SUB_FILES+= ${PERIODICSCRIPT} @@ -22,23 +24,28 @@ NO_CDROM= May not be redistributed in binary form .include -.if ${OSVERSION} >= 800000 +.if ${OPSYS} != FreeBSD +IGNORE= installs incompatible binaries for FreeBSD +.endif + +.if ${OSVERSION} >= 900000 +DIST_OSVER= 9 +.elif ${OSVERSION} >= 800000 DIST_OSVER= 8 -.elif ${OSVERSION} >= 700000 -DIST_OSVER= 7 .endif .if ${ARCH} == amd64 -DIST_EXT= x64 -.else -DIST_EXT= x86 +DIST_EXT= _x64 +RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x +.elif +RUN_DEPENDS+= ${LOCALBASE}/lib32/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x .endif NO_BUILD= yes NO_WRKSUBDIR= yes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_PROGRAM} ${WRKSRC}/freebsd${DIST_OSVER}${DIST_EXT}/cmdline/arcconf ${STAGEDIR}${PREFIX}/sbin @${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily ${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${STAGEDIR}${PREFIX}/etc/periodic/daily diff --git a/sysutils/arcconf/distinfo b/sysutils/arcconf/distinfo index 3be5f4fa4a58..62fe41c3d33b 100644 --- a/sysutils/arcconf/distinfo +++ b/sysutils/arcconf/distinfo @@ -1,4 +1,2 @@ -SHA256 (asm_freebsd_x86_v7_30_18837.tgz) = 17fe9ee7996d23dad33feb4f281004e0a8dc915364626ab6fde4a140b8836afd -SIZE (asm_freebsd_x86_v7_30_18837.tgz) = 104249384 -SHA256 (asm_freebsd_x64_v7_30_18837.tgz) = fb73848df8471b7c144042474eb6c3570a09a37b6cc10f8be07b0d7364ceb966 -SIZE (asm_freebsd_x64_v7_30_18837.tgz) = 101604376 +SHA256 (arcconf_v1_6_21062.zip) = fb740cb308fe8290f32b7e68f8f5bec54f9784a7377086769f2e2ec23e402ed0 +SIZE (arcconf_v1_6_21062.zip) = 10524609