summaryrefslogtreecommitdiff
path: root/security/sfs/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-03-17 21:01:47 +0000
committeragc <agc@pkgsrc.org>2003-03-17 21:01:47 +0000
commit0b1292b249a33d1ce96a0330fa1e8e1eb5c68897 (patch)
treeec46c531a17da1adcdb0afcc56f30193c20b2312 /security/sfs/Makefile
parent5b0447b2602bf3c51ab76beb58a6d46596a83be0 (diff)
downloadpkgsrc-0b1292b249a33d1ce96a0330fa1e8e1eb5c68897.tar.gz
Initial import of sfs-0.7.2 into the NetBSD Packages Collection.
Based on the sfs-0.6 package provided by Michael Santos in PR 18528. SFS is a secure, global network file system with completely decentralized control. SFS lets you access your files from anywhere and share them with anyone, anywhere. Anyone can set up an SFS server, and any user can access any server from any client. SFS lets you share files across administrative realms without involving administrators or certification authorities.
Diffstat (limited to 'security/sfs/Makefile')
-rw-r--r--security/sfs/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/security/sfs/Makefile b/security/sfs/Makefile
new file mode 100644
index 00000000000..bed43d7b196
--- /dev/null
+++ b/security/sfs/Makefile
@@ -0,0 +1,58 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/03/17 21:01:47 agc Exp $
+#
+
+DISTNAME= sfs-0.7.2
+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
+CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/etc/sfs
+CONFIGURE_ARGS+= --disable-uvfs
+
+USE_PKGINSTALL= yes
+USE_BUILDLINK2= yes
+USE_PERL5= yes
+
+DIST_GCC= 2.95.3
+
+PKG_USERS= sfs:sfs::Self-certifying\\ file\\ system:/
+PKG_GROUPS= sfs
+
+.include "../../mk/bsd.prefs.mk"
+
+SFSDIR?= ${PREFIX}/var/sfs
+SFS_ROOT= ${SFSDIR}
+
+CONFIGURE_ARGS+= --with-sfsdir=${SFS_ROOT}
+
+MESSAGE_SUBST+= SFSDIR=${SFS_ROOT}
+
+INFO_FILES= sfs.info
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/etc/sfs
+ ${INSTALL_DATA_DIR} ${SFS_ROOT}
+
+post-install:
+ @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/sfscd \
+ > ${PREFIX}/etc/rc.d/sfscd
+ @${CHMOD} +x ${PREFIX}/etc/rc.d/sfscd
+ @${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/sfssd \
+ > ${PREFIX}/etc/rc.d/sfssd
+ @${CHMOD} +x ${PREFIX}/etc/rc.d/sfssd
+ @${SED} -e 's|@SFSDIR@|${SFS_ROOT}|g' ${FILESDIR}/sfsrwsd_config.sample \
+ > ${PREFIX}/etc/sfs/sfsrwsd_config.sample
+
+.include "../../devel/gmp/buildlink2.mk"
+.include "../../lang/gcc/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+
+.include "../../mk/texinfo.mk"
+.include "../../mk/bsd.pkg.mk"