2003-12-30 21:42:39 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2003/12/31 02:42:39 brad Exp $
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
COMMENT= "connect() and bind() wrapper to evade packet filtering"
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2003-12-30 21:42:39 -05:00
|
|
|
# uses LD_PRELOAD
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
DISTNAME= ADMfzap
|
|
|
|
PKGNAME= ADMfzap-0.1
|
|
|
|
CATEGORIES= security
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
|
|
PERMIT_PACKAGE_FTP= "no license"
|
|
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
|
|
PERMIT_DISTFILES_FTP= "no license"
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
|
|
|
|
http://adm.freelsd.net/ADM/
|
2000-04-06 16:45:01 -04:00
|
|
|
|
2003-12-30 18:05:08 -05:00
|
|
|
MAKE_ENV+= LIB_PATH=`/bin/ls -1 /usr/lib/libc.so.* | tail -1`
|
2003-12-30 21:42:39 -05:00
|
|
|
MAKE_FLAGS= CC="${CC}"
|
2002-03-24 02:30:42 -05:00
|
|
|
ALL_TARGET= openbsd
|
2003-12-30 18:05:08 -05:00
|
|
|
|
2002-03-24 02:30:42 -05:00
|
|
|
NO_REGRESS= Yes
|
2000-04-06 16:45:01 -04:00
|
|
|
|
|
|
|
post-build:
|
2002-03-24 02:30:42 -05:00
|
|
|
sed "s%y0y0y0%${PREFIX}/lib/libfzap.so%g" \
|
|
|
|
${FILESDIR}/ADMfzap > ${WRKSRC}/ADMfzap
|
2000-04-06 16:45:01 -04:00
|
|
|
|
|
|
|
do-install:
|
2002-03-24 02:30:42 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fzap.so ${PREFIX}/lib/libfzap.so
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ADMfzap ${PREFIX}/bin
|
2003-12-30 21:42:39 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|