e79710b377
PR: ports/84156 Submitted by: Hirohisa Yamaguchi Approved by: maintainer Note w.r.t. 4.x: The .depend-issue can be fixed through 'gmake'. However, then it still needs a patch for a missing <sys/time.h>, and still won't build with neither gcc-2.95, 3.4 or 4.0, so I didn't bother.
42 lines
982 B
Makefile
42 lines
982 B
Makefile
# New ports collection makefile for: lockdown
|
|
# Date created: 2004-02-11
|
|
# Whom: Daniel Blankensteiner <db@TruNet.dk>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lockdown
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://lockdown.trunet.dk/ \
|
|
http://lockdown.loproc.dk/
|
|
|
|
MAINTAINER= db@TruNet.dk
|
|
COMMENT= Hardening script for FreeBSD
|
|
|
|
MAN1= editfile.1 editfstab.1 editkernel.1 editlogin.1 editttys.1
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
BROKEN= "Does not build on 4.x"
|
|
.endif
|
|
|
|
.if ${ARCH} == amd64
|
|
CFLAGS+= -fPIC
|
|
.endif
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
WRKSRC= ${WRKDIR}/lockdown
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/cppe/src/libcppe.so ${PREFIX}/lib/libcppe.so
|
|
.for i in editfile editfstab editkernel editlogin editttys
|
|
${INSTALL_PROGRAM} ${WRKSRC}/edittools/${i}/src/${i} ${PREFIX}/bin/${i}
|
|
${INSTALL_MAN} ${WRKSRC}/edittools/${i}/doc/${i}.1 ${PREFIX}/man/man1/${i}.1
|
|
.endfor
|
|
${INSTALL_SCRIPT} ${WRKSRC}/lockdown ${PREFIX}/bin/lockdown
|
|
|
|
.include <bsd.port.post.mk>
|