47b40eba3b
CFS was actually broken since at least 3.2 or so, but should work now again on 32-bit archs. 64-bit archs are still broken and won't be fixed anytime soon. I also set PERMIT_*=Yes, as the "no fee" part of the license is clearly due to bad english. xsa@ helped testing
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.24 2004/06/15 18:32:22 sturm Exp $
|
|
|
|
NOT_FOR_ARCHS= ${LP64_ARCHS}
|
|
|
|
COMMENT= "cryptographic file system (user-space NFS server)"
|
|
|
|
DISTNAME= cfs-1.4.1
|
|
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
|
|
|
|
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>
|