pkgsrc/filesystems/openafs/Makefile
gendalia 2a2b27b252 Upgrade to OpenAFS 1.6.9
OpenAFS 1.6.9

  All server platforms

    * Fix for OPENAFS-SA-2014-002

OpenAFS 1.6.8

  All platforms

    * Documentation improvements (10751 10875 10931 10897 10883 10954 10955)

    * Improved diagnostics and error messages (10756 10814 10949)

    * Fixed a bug in RX that could make errors during packet reception go
      unnoticed. (10733)

    * Fixed a bug that made "vos size -dump" display the wrong size for
      large volumes. (10933)  (RT #131819)

  All server platforms

    * Change the default fileserver sync behavior from "delayed" to "onclose".
      This means that explicit syncing only happens when a volume is detached.
      (10809)

    * Added the -offline-timeout and -offline-shutdown-timeout options to the
      fileserver, to implement interrupting clients accessing volumes we are
      trying to take offline. (6266 10799)
2014-06-12 23:44:04 +00:00

57 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2014/06/12 23:44:04 gendalia Exp $
DISTNAME= openafs-1.6.9-src
PKGNAME= ${DISTNAME:C/-src//}
CATEGORIES= filesystems net sysutils
MASTER_SITES= http://www.openafs.org/dl/openafs/1.6.9/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= gendalia@NetBSD.org
HOMEPAGE= http://www.openafs.org/
COMMENT= File system for sharing, scalability and transparent data migration
LICENSE= ibm-public-license-1.0
PREV_PKGPATH= net/openafs
CONFLICTS+= arla-[0-9]*
CONFLICTS+= heimdal-[0-9]*
CONFLICTS+= lwp-[0-9]*
CONFLICTS+= rx-[0-9]*
MAKE_JOBS_SAFE=no
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}
BUILD_DEFS+= VARBASE
# attempt to future-proof configuration
pre-build:
cd ${WRKSRC}/src/config && for i in 70 80 90; do \
${SED} -e 's|nbsd60|nbsd'$$i'|g' param.i386_nbsd60.h > param.i386_nbsd$$i.h; \
${SED} -e 's|nbsd60|nbsd'$$i'|g' param.amd64_nbsd60.h > param.amd64_nbsd$$i.h; \
${CP} param.nbsd60.h param.nbsd$$i.h; \
done
MAKE_ENV+= LD_RUN_PATH=${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"