openbsd-ports/security/cfs/Makefile
sturm a7d9ce80c3 several patches from Debian
- cmkdir now uses /dev/srandom (actually changed to arandom by me)
- support for filenames w/ 8bit chars
- sprintf() replaced with snprintf()
- some bugfixes

from Andreas Voegele <voegelas at gmx.net>
2005-04-07 20:23:44 +00:00

41 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.26 2005/04/07 20:23:44 sturm Exp $
NOT_FOR_ARCHS= ${LP64_ARCHS}
COMMENT= "cryptographic file system (user-space NFS server)"
DISTNAME= cfs-1.4.1
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
HOMEPAGE= http://www.crypto.com/software/
# badly worded BSD-like
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE} \
ftp://utopia.hacktic.nl/pub/crypto/disk/cfs/
do-build:
@cd ${WRKSRC} && env CCTMP="${CC}" CFLAGS="${CFLAGS}" sh netbsd_make_with_bad_rpcgen cfs
NO_REGRESS= Yes
# ccat and cname only work on old-style cfs < 1.3
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cfs
cd ${WRKSRC} && ${INSTALL_PROGRAM} cfsd ${PREFIX}/sbin
cd ${WRKSRC} && ${INSTALL_PROGRAM} cattach cdetach cmkdir \
cmkkey cpasswd ${PREFIX}/bin
cd ${WRKSRC} && ${INSTALL_MAN} cattach.1 cdetach.1 cmkdir.1 \
cmkkey.1 cpasswd.1 ${PREFIX}/man/man1
cd ${WRKSRC} && ${INSTALL_MAN} cfsd.8 ${PREFIX}/man/man8
cd ${WRKSRC} && ${INSTALL_DATA} README.install notes.ms \
${PREFIX}/share/doc/cfs
.include <bsd.port.mk>