2004-02-01 02:43:28 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2004/02/01 01:43:30 jlam Exp $
|
2003-03-17 22:01:47 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= sfs-0.7.2
|
2003-03-25 07:45:00 +01:00
|
|
|
PKGREVISION= 2
|
2003-03-17 22:01:47 +01:00
|
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= http://www.fs.net/sfs/@new-york.lcs.mit.edu,u83s4uk49nt8rmp4uwmt2exvz6d3cavh/pub/sfswww/dist/
|
|
|
|
|
|
|
|
MAINTAINER= mike@ethmoid.org
|
|
|
|
HOMEPAGE= http://www.fs.net/
|
|
|
|
COMMENT= Secure, global, self-certifying network file system
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --with-sfsuser=sfs
|
|
|
|
CONFIGURE_ARGS+= --with-sfsgroup=sfs
|
2003-03-23 15:28:31 +01:00
|
|
|
CONFIGURE_ARGS+= --with-etcdir=${PKG_SYSCONFDIR}
|
|
|
|
CONFIGURE_ARGS+= --with-sfsdir=${SFS_ROOT}
|
2003-03-17 22:01:47 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-uvfs
|
|
|
|
|
|
|
|
USE_PKGINSTALL= yes
|
|
|
|
USE_BUILDLINK2= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 2.95.3
|
2003-11-24 15:15:36 +01:00
|
|
|
|
2003-03-23 15:28:31 +01:00
|
|
|
PKG_USERS= sfs:sfs::Self-certifying\\ file\\ system:/
|
|
|
|
PKG_GROUPS= sfs
|
|
|
|
PKG_SYSCONFSUBDIR= sfs
|
2003-03-17 22:01:47 +01:00
|
|
|
|
2003-03-25 16:51:50 +01:00
|
|
|
RCD_SCRIPTS= sfscd sfssd
|
|
|
|
|
2003-03-17 22:01:47 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2003-03-23 15:28:31 +01:00
|
|
|
SFSDIR?= /var/sfs
|
2003-03-17 22:01:47 +01:00
|
|
|
SFS_ROOT= ${SFSDIR}
|
|
|
|
|
2003-03-23 15:28:31 +01:00
|
|
|
OWN_DIRS_PERMS= ${SFS_ROOT} sfs sfs 555
|
2003-03-17 22:01:47 +01:00
|
|
|
|
2003-03-23 15:28:31 +01:00
|
|
|
SFSEXAMPLEDIR= ${PREFIX}/share/examples/sfs
|
2003-03-17 22:01:47 +01:00
|
|
|
|
2003-03-23 15:28:31 +01:00
|
|
|
MESSAGE_SUBST+= SFSDIR=${SFS_ROOT} SFSEXAMPLEDIR=${SFSEXAMPLEDIR}
|
2003-03-17 22:01:47 +01:00
|
|
|
|
2003-08-05 13:17:10 +02:00
|
|
|
USE_MAKEINFO= YES
|
2003-03-23 15:28:31 +01:00
|
|
|
INFO_FILES= sfs.info
|
2003-03-17 22:01:47 +01:00
|
|
|
|
|
|
|
post-install:
|
2003-03-23 15:28:31 +01:00
|
|
|
${INSTALL_DATA_DIR} ${SFSEXAMPLEDIR}
|
2003-03-17 22:01:47 +01:00
|
|
|
@${SED} -e 's|@SFSDIR@|${SFS_ROOT}|g' ${FILESDIR}/sfsrwsd_config.sample \
|
2003-03-23 15:28:31 +01:00
|
|
|
> ${SFSEXAMPLEDIR}/sfsrwsd_config.sample
|
2003-03-17 22:01:47 +01:00
|
|
|
|
|
|
|
.include "../../devel/gmp/buildlink2.mk"
|
|
|
|
.include "../../security/openssl/buildlink2.mk"
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|