- Update to 1.72

- Install i386/amd64 binary according to ${ARCH}
- Set PKGNAMESUFFIX according to ${ARCH} to make this port package aware

This version has some nice feature, such as firmware update functionality
directly trough the areca-cli.

PR:		120368
Approved by:	rink (maintainer)
This commit is contained in:
Emanuel Haupt 2008-02-11 15:49:39 +00:00
parent f02e83dbc6
commit 760b66fe22
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207030
2 changed files with 16 additions and 10 deletions

View file

@ -6,12 +6,12 @@
#
PORTNAME= areca-cli
PORTVERSION= ${CLI_VER}.${CLI_REV}
PORTREVISION= 1
DISTVERSION= ${CLI_VER}.${CLI_REV}
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.unnet.nl/pub/areca/RaidCards/AP_Drivers/FreeBSD/CLI/ \
ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/FreeBSD/CLI/
DISTNAME= V${CLI_VER}_${CLI_REV}
PKGNAMESUFFIX= -${ARCH}
DISTNAME= V${CLI_VER}.${CLI_REV}
MAINTAINER= rink@FreeBSD.org
COMMENT= Command Line Interface for the Areca ARC-xxxx RAID controllers
@ -23,14 +23,20 @@ PERIODICSCRIPT= 407.status-areca-raid
USE_ZIP= yes
NO_BUILD= yes
CLI_VER= 1.5
CLI_REV= 50930
CLI_VER= 1.72
CLI_REV= 250_70306
SUB_FILES+= ${PERIODICSCRIPT}
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cli32 ${PREFIX}/sbin/areca-cli
.if ${ARCH} == "i386"
${INSTALL_PROGRAM} ${WRKSRC}/${ARCH}/cli32 ${PREFIX}/sbin/areca-cli
.elif ${ARCH} == "amd64"
${INSTALL_PROGRAM} ${WRKSRC}/x86_64/cli64 ${PREFIX}/sbin/areca-cli
.endif
@${MKDIR} ${PREFIX}/etc/periodic/daily
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODICSCRIPT} ${PREFIX}/etc/periodic/daily
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View file

@ -1,3 +1,3 @@
MD5 (V1.5_50930.zip) = 710abdf646543b14d86f0ce9d7ee15cb
SHA256 (V1.5_50930.zip) = 835b85befd3fe2ad9ebc1fc0b6226949c04af256e548f9305cc6ce442e41e099
SIZE (V1.5_50930.zip) = 159687
MD5 (V1.72.250_70306.zip) = 291fc6d65e5e8d1f85da2ddbbcd30401
SHA256 (V1.72.250_70306.zip) = 6e2016aa3347da5d5ca7976204f57d54075a92c0ae8a9b334457c51a6d459e3f
SIZE (V1.72.250_70306.zip) = 797016