88eb93a9ae
OpenAFS 1.6.15 (Security Release) All client and server platforms * Fix for OPENAFS-SA-2015-007 "Tattletale" When constructing an Rx acknowledgment (ACK) packet, Andrew-derived Rx implementations do not initialize three octets of data that are padding in the C language structure and were inadvertently included in the wire protocol (CVE-2015-7762). Additionally, OpenAFS Rx in versions 1.5.75 through 1.5.78, 1.6.0 through 1.6.14, and 1.7.0 through 1.7.32 include a variable-length padding at the end of the ACK packet, in an attempt to detect the path MTU, but only four octets of the additional padding are initialized (CVE-2015-7763).
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.10 2015/10/28 19:43:01 jakllsch Exp $
|
|
|
|
DISTNAME= openafs-1.6.15-src
|
|
PKGNAME= ${DISTNAME:C/-src//}
|
|
CATEGORIES= filesystems net sysutils
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/1.6.15/
|
|
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"
|