aboutsummaryrefslogtreecommitdiff
path: root/net/openafs
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-08-19 17:46:28 +0000
committerChris Rees <crees@FreeBSD.org>2011-08-19 17:46:28 +0000
commit5e08629af423b25271be25be8ed7027e80134a1a (patch)
treea6a263620d7e3e04f63574fde1c65343a73d6dd1 /net/openafs
parent0b7f7a433d9097846ff0a26f64159260440d1fce (diff)
downloadports-5e08629af423b25271be25be8ed7027e80134a1a.tar.gz
ports-5e08629af423b25271be25be8ed7027e80134a1a.zip
Notes
Diffstat (limited to 'net/openafs')
-rw-r--r--net/openafs/Makefile23
-rw-r--r--net/openafs/distinfo4
2 files changed, 15 insertions, 12 deletions
diff --git a/net/openafs/Makefile b/net/openafs/Makefile
index e618998c3727..49feedc49fc6 100644
--- a/net/openafs/Makefile
+++ b/net/openafs/Makefile
@@ -7,17 +7,17 @@
#
PORTNAME= openafs
-DISTVERSION= 1.6.0pre7
+DISTVERSION= ${AFS_DISTVERSION}.d${DBVERSION:S/-//g}
CATEGORIES= net kld
-MASTER_SITES= http://dl.central.org/dl/openafs/candidate/${DISTVERSION}/:openafs \
- http://dl.openafs.org/dl/openafs/candidate/${DISTVERSION}/:openafs \
+MASTER_SITES= http://dl.central.org/dl/openafs/candidate/${AFS_DISTVERSION}/:openafs \
+ http://dl.openafs.org/dl/openafs/candidate/${AFS_DISTVERSION}/:openafs \
http://dl.central.org/dl/cellservdb/:gco \
http://grand.central.org/dl/cellservdb/:gco
-DISTFILES= ${PORTNAME}-${DISTVERSION}-src.tar.bz2:openafs \
- ${PORTNAME}-${DISTVERSION}-doc.tar.bz2:openafs \
- CellServDB:gco
-EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}-src.tar.bz2 \
- ${PORTNAME}-${DISTVERSION}-doc.tar.bz2
+DISTFILES= ${PORTNAME}-${AFS_DISTVERSION}-src.tar.bz2:openafs \
+ ${PORTNAME}-${AFS_DISTVERSION}-doc.tar.bz2:openafs \
+ CellServDB.${DBVERSION}:gco
+EXTRACT_ONLY= ${PORTNAME}-${AFS_DISTVERSION}-src.tar.bz2 \
+ ${PORTNAME}-${AFS_DISTVERSION}-doc.tar.bz2
MAINTAINER= kaduk@mit.edu
COMMENT= AFS implementation from openafs.org
@@ -27,6 +27,9 @@ LICENSE_NAME= IBM Public License Version 1.0
LICENSE_FILE= ${WRKSRC}/doc/LICENSE
LICENSE_PERMS= auto-accept
+AFS_DISTVERSION=1.6.0pre7
+DBVERSION= 2011-08-14
+
OPTIONS= FUSE "Build afsd.fuse (enable fuse support)" off
USE_LDCONFIG= yes
@@ -83,7 +86,7 @@ LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
PLIST_SUB+= FUSE=""
.endif
-WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
+WRKSRC= ${WRKDIR}/${PORTNAME}-${AFS_DISTVERSION}
CONFLICTS= coda-server-6.[0-9]* heimdal-[0-9]*
@@ -97,7 +100,7 @@ post-extract:
create-sample-files:
@${ECHO_CMD} openafs.org > ${WRKDIR}/ThisCell
@${ECHO_CMD} "${AFSMNTDIR}:${AFSCACHEDIR}:150000" > ${WRKDIR}/cacheinfo
- @${INSTALL_DATA} ${DISTDIR}/CellServDB ${WRKDIR}/CellServDB
+ @${INSTALL_DATA} ${DISTDIR}/CellServDB.${DBVERSION} ${WRKDIR}/CellServDB
post-install: create-sample-files
@${MKDIR} ${PREFIX}/etc/openafs
diff --git a/net/openafs/distinfo b/net/openafs/distinfo
index 58d22c04c52d..09c48f8c5367 100644
--- a/net/openafs/distinfo
+++ b/net/openafs/distinfo
@@ -2,5 +2,5 @@ SHA256 (openafs-1.6.0pre7-src.tar.bz2) = cad4faea83ab0ab8049930fdc1abf1208f5250c
SIZE (openafs-1.6.0pre7-src.tar.bz2) = 14305674
SHA256 (openafs-1.6.0pre7-doc.tar.bz2) = 5f9281aad3f00d589101e28d2b426158aabd2076c5c6d622622f3e86a447b8c7
SIZE (openafs-1.6.0pre7-doc.tar.bz2) = 3475388
-SHA256 (CellServDB) = 3a1c77b82e714a6e131dfd93397f08bd2ba5f5cede7997494a39b3d61fe31f8b
-SIZE (CellServDB) = 36891
+SHA256 (CellServDB.2011-08-14) = fa547873edda44682440d66b79d2002f7019fac520eb3a6d6d2c7e9e83ad8d89
+SIZE (CellServDB.2011-08-14) = 36836