2016-10-03 10:30:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2016/10/03 08:30:13 wiz Exp $
|
2005-05-03 21:30:40 +02:00
|
|
|
|
2012-05-03 01:19:25 +02:00
|
|
|
DISTNAME= openafs-1.7.11-src
|
2005-05-03 21:30:40 +02:00
|
|
|
PKGNAME= ${DISTNAME:C/-src//}
|
2016-05-17 12:32:06 +02:00
|
|
|
PKGREVISION= 1
|
2012-08-30 19:37:54 +02:00
|
|
|
CATEGORIES= filesystems net sysutils
|
2012-05-03 01:19:25 +02:00
|
|
|
MASTER_SITES= http://www.openafs.org/dl/openafs/1.7.11/
|
2005-05-03 21:30:40 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2005-05-26 00:09:39 +02:00
|
|
|
MAINTAINER= gendalia@NetBSD.org
|
2005-05-03 21:30:40 +02:00
|
|
|
HOMEPAGE= http://www.openafs.org/
|
|
|
|
COMMENT= File system for sharing, scalability and transparent data migration
|
2016-10-03 10:30:13 +02:00
|
|
|
LICENSE= ipl-1.0 AND mit AND modified-bsd # AND sun-rpc?
|
2011-03-20 00:35:40 +01:00
|
|
|
|
2006-01-24 19:56:23 +01:00
|
|
|
CONFLICTS+= arla-[0-9]*
|
|
|
|
CONFLICTS+= heimdal-[0-9]*
|
2005-06-10 17:57:05 +02:00
|
|
|
CONFLICTS+= rx-[0-9]*
|
|
|
|
|
2011-03-20 00:35:40 +01:00
|
|
|
MAKE_JOBS_SAFE=no
|
|
|
|
|
2005-08-11 10:48:04 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-06-09 18:05:11 +02:00
|
|
|
USE_TOOLS+= lex
|
2007-10-27 11:11:10 +02:00
|
|
|
RCD_SCRIPTS+= bosserver
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
2005-08-11 10:48:04 +02:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2012-05-05 18:03:23 +02:00
|
|
|
CONFIGURE_ARGS+= --with-roken=internal
|
2005-05-03 21:30:40 +02:00
|
|
|
|
|
|
|
USE_GNU_CONFIGURE_HOST= no
|
|
|
|
|
2005-06-19 18:03:51 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
2005-05-03 21:30:40 +02:00
|
|
|
|
2005-06-06 05:07:25 +02:00
|
|
|
PLIST_SRC+= ${.CURDIR}/PLIST
|
2005-06-16 19:27:12 +02:00
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs
|
2016-05-17 12:32:06 +02:00
|
|
|
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 775
|
|
|
|
OWN_DIRS_PERMS+= ${VARBASE}/openafs ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 770
|
2005-06-06 19:08:20 +02:00
|
|
|
OWN_DIRS+= ${VARBASE}/openafs/logs
|
2016-05-17 12:32:06 +02:00
|
|
|
OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 700
|
2005-05-26 00:09:39 +02:00
|
|
|
|
2005-08-11 10:48:04 +02:00
|
|
|
FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q}
|
|
|
|
|
2011-03-20 00:35:40 +01:00
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
2012-05-03 01:19:25 +02:00
|
|
|
#
|
|
|
|
# Rename liblwp.a to libafslwp.a to avoid conflict with the lwp package.
|
|
|
|
#
|
|
|
|
pre-configure:
|
|
|
|
find ${WRKSRC} -name Makefile.in | while read f; do \
|
|
|
|
${SED} -e 's|liblwp.a|libafslwp.a|g' \
|
|
|
|
-e 's|-llwp|-lafslwp|g' < $$f > $$f.tmp && \
|
2012-05-06 23:42:35 +02:00
|
|
|
${MV} $$f.tmp $$f; done
|
2007-05-13 08:59:16 +02:00
|
|
|
|
2012-05-05 18:03:23 +02:00
|
|
|
.include "../../mk/krb5.buildlink3.mk"
|
2005-05-03 21:30:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|