diff options
author | pi <pi@FreeBSD.org> | 2016-06-28 03:29:07 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2016-06-28 03:29:07 +0800 |
commit | 4ccee58670ff39e957a9674c22ab05f50504967a (patch) | |
tree | 162dab7deeb52e297c1b4848068490e7b6079e3e /sysutils/3dm | |
parent | b13a65a0571a00ab4244644f582ad5a91a1b8eb6 (diff) | |
download | freebsd-ports-gnome-4ccee58670ff39e957a9674c22ab05f50504967a.tar.gz freebsd-ports-gnome-4ccee58670ff39e957a9674c22ab05f50504967a.tar.zst freebsd-ports-gnome-4ccee58670ff39e957a9674c22ab05f50504967a.zip |
sysutils/3dm: fix hostname in pkg-message, make package reproducible
PR: 209864
Reported by: emaste
Submitted by: takefu@airport.fm (maintainer)
Diffstat (limited to 'sysutils/3dm')
-rw-r--r-- | sysutils/3dm/Makefile | 21 | ||||
-rw-r--r-- | sysutils/3dm/distinfo | 1 | ||||
-rw-r--r-- | sysutils/3dm/files/pkg-message.in | 2 | ||||
-rw-r--r-- | sysutils/3dm/pkg-descr | 2 |
4 files changed, 12 insertions, 14 deletions
diff --git a/sysutils/3dm/Makefile b/sysutils/3dm/Makefile index fb1a4edfcfd3..f47cac4110f4 100644 --- a/sysutils/3dm/Makefile +++ b/sysutils/3dm/Makefile @@ -3,7 +3,7 @@ PORTNAME= 3dm PORTVERSION= 2.11.00.021 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= http://www.avagotech.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/ @@ -15,37 +15,34 @@ COMMENT= 3ware RAID controller monitoring daemon and web server LICENSE= 3dm LICENSE_NAME= AVAGO -LICENSE_TEXT= Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.avagotech.com/products/server-storage/raid-controllers/3ware-sas-9750-24i4e +LICENSE_TEXT= Source recipient must acknowledge license.\ + Reproduction or redistribution prohibited.\ + See http://www.avagotech.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept USES= zip USE_RC_SUBR= 3dm2 SUB_FILES= pkg-message 3dm2.conf.sample -SUB_LIST= HOSTNAME=`hostname` ONLY_FOR_ARCHS= i386 amd64 NO_BUILD= yes NO_WRKSUBDIR= yes -BINSRC= ${WRKSRC}/7x -HELPSRC= ${WRKSRC}/en -HELPDIR= ${DATADIR}2/help/en MSGDIR= ${ETCDIR}2/msg post-extract: - @${TAR} -xzf ${WRKSRC}/tdmCliBSD.tgz -C ${WRKSRC} - @${TAR} -xzf ${WRKSRC}/tdm2Help.tgz -C ${WRKSRC} - @${TAR} -xzf ${WRKSRC}/tdm2Msg.tgz -C ${WRKSRC} + @${TAR} xzf ${WRKSRC}/tdmCliBSD.tgz -C${WRKSRC} + @${TAR} xzf ${WRKSRC}/tdm2Help.tgz -C${WRKSRC} + @${TAR} xzf ${WRKSRC}/tdm2Msg.tgz -C${WRKSRC} do-install: @${MKDIR} ${STAGEDIR}${ETCDIR}2 ${STAGEDIR}${MSGDIR} - @cd ${HELPSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${HELPDIR} - ${INSTALL_PROGRAM} ${BINSRC}/3dm2.${ARCH:S,i386,x86,:S,amd64,x86_64,} \ + @(cd ${WRKSRC}/en && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}2/help/en) + ${INSTALL_PROGRAM} ${WRKSRC}/7x/3dm2.${ARCH:S,i386,x86,:S,amd64,x86_64,} \ ${STAGEDIR}${PREFIX}/sbin/3dm2 ${INSTALL_DATA} ${WRKSRC}/tdm_msg_en ${STAGEDIR}${MSGDIR} ${INSTALL_DATA} ${WRKSRC}/tw_msg_en ${STAGEDIR}${MSGDIR} ${INSTALL_DATA} ${WRKDIR}/3dm2.conf.sample ${STAGEDIR}${ETCDIR}2 # 3ware uses a hardcoded config dir location that doesn't match hier(9) - @${MKDIR} ${STAGEDIR}/etc/3dm2 (cd ${STAGEDIR} && ${LN} -s ${PREFIX}/etc/3dm2/3dm2.conf etc/3dm2/3dm2.conf) (cd ${STAGEDIR} && ${LN} -s ${PREFIX}/etc/3dm2/3dm2.pem etc/3dm2/3dm2.pem) diff --git a/sysutils/3dm/distinfo b/sysutils/3dm/distinfo index 3740e4ef7cf2..dcf2d8c958a0 100644 --- a/sysutils/3dm/distinfo +++ b/sysutils/3dm/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1465966966 SHA256 (3dm2/3DM2_CLI-freebsd_10-2-2-1_9-5-5-1.zip) = 0f9445288949973f454c6f7bd7aaace32469ecce80854a4318b7c01117e468d0 SIZE (3dm2/3DM2_CLI-freebsd_10-2-2-1_9-5-5-1.zip) = 12159916 diff --git a/sysutils/3dm/files/pkg-message.in b/sysutils/3dm/files/pkg-message.in index 7fdf21667e90..14061e0dbb66 100644 --- a/sysutils/3dm/files/pkg-message.in +++ b/sysutils/3dm/files/pkg-message.in @@ -2,4 +2,4 @@ To run 3DM2 at startup, add twdm2_enable="YES" to your /etc/rc.conf. Do not forget to edit '%%PREFIX%%/etc/3dm2/3dm2.conf' - Visit https://%%HOSTNAME%%:888/ + Visit https://localhost:888/ diff --git a/sysutils/3dm/pkg-descr b/sysutils/3dm/pkg-descr index d6c3cbc745bc..92279dc43ab6 100644 --- a/sysutils/3dm/pkg-descr +++ b/sysutils/3dm/pkg-descr @@ -2,4 +2,4 @@ your 3ware RAID arrays. In the event of a hardware failure, 3DM 2 can automatically notify you via email. -WWW: http://www.3ware.com/support/ +WWW: http://www.avagotech.com/support/ |