aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorcrees <crees@FreeBSD.org>2011-08-20 01:46:28 +0800
committercrees <crees@FreeBSD.org>2011-08-20 01:46:28 +0800
commit6572cbc95a59063452c6493760f1cc9007af93aa (patch)
tree1b7379d1945d3362f747a046ecf092e3f855cf9b /net
parentb59a09f77ae4db31ef237bff94dcd322b442b47e (diff)
downloadfreebsd-ports-gnome-6572cbc95a59063452c6493760f1cc9007af93aa.tar.gz
freebsd-ports-gnome-6572cbc95a59063452c6493760f1cc9007af93aa.tar.zst
freebsd-ports-gnome-6572cbc95a59063452c6493760f1cc9007af93aa.zip
Update database version, and ensure they're versioned in future.
PR: ports/159829 Submitted by: Ben Kaduk <kaduk@mit.edu> (maintainer)
Diffstat (limited to 'net')
-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