a9fb92f278
Fixed a couple of files, in theory should work on NetBSD 3.x & 4.x, and i386 & amd64 now. OpenAFS Release Notes - Version 1.4.5 _________________________________________________________________ All systems: - fileserver address tracking is improved to avoid potentially merging unrelated hosts. - Documentation updates. - namei fileserver now does fsync()s in background batches for performance improvements. - Kerberos ticket support corrected in bundled Kerberos 4 utilities on 64 bit platforms. - fileserver includes limited per-host thread quota support to avoid resource starvation. - fileserver deals with more types of damaged volumes without asserting. - vos validates dumpfiles before attempting restores. - vos clone will no longer potentially delete the parent volume. - Client no longer permits empty UUID to be created. - fs uuid command for checking, regenerating UUID added. - Updates for gcc 4.2. - fileserver treats w (write) permission as granting read lock permission in addition to write.
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2007/10/27 09:11:10 gendalia Exp $
|
|
|
|
DISTNAME= openafs-1.4.5-src
|
|
PKGNAME= ${DISTNAME:C/-src//}
|
|
CATEGORIES= net sysutils
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/1.4.5/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= gendalia@NetBSD.org
|
|
HOMEPAGE= http://www.openafs.org/
|
|
COMMENT= File system for sharing, scalability and transparent data migration
|
|
|
|
CONFLICTS+= arla-[0-9]*
|
|
CONFLICTS+= heimdal-[0-9]*
|
|
CONFLICTS+= lwp-[0-9]*
|
|
CONFLICTS+= rx-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= lex
|
|
RCD_SCRIPTS+= bosserver
|
|
|
|
.include "options.mk"
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
USE_GNU_CONFIGURE_HOST= no
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
|
|
PLIST_SRC+= ${.CURDIR}/PLIST
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs
|
|
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775
|
|
OWN_DIRS_PERMS+= ${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770
|
|
OWN_DIRS+= ${VARBASE}/openafs/logs
|
|
OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700
|
|
|
|
FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
|
|
|
|
# attempt to future-proof configuration
|
|
pre-build:
|
|
cd ${WRKSRC}/src/config && for i in 40 50 60 70 80 90; do \
|
|
${SED} -e 's|nbsd20|nbsd'$$i'|g' param.i386_nbsd20.h > param.i386_nbsd$$i.h; \
|
|
${CP} param.nbsd30.h param.nbsd$$i.h; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|