32a30e5331
+SHARED_ONLY= Yes ok ajacoutot@, simon@, mbalmer@ (for the postgresql bits)
37 lines
909 B
Makefile
37 lines
909 B
Makefile
# $OpenBSD: Makefile,v 1.10 2007/07/04 19:18:46 jasper Exp $
|
|
|
|
COMMENT= "connect() and bind() wrapper to evade packet filtering"
|
|
|
|
# uses LD_PRELOAD
|
|
SHARED_ONLY= Yes
|
|
|
|
DISTNAME= ADMfzap
|
|
PKGNAME= ADMfzap-0.1
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= Jason Peel <jsyn@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= "no license"
|
|
PERMIT_PACKAGE_FTP= "no license"
|
|
PERMIT_DISTFILES_CDROM= "no license"
|
|
PERMIT_DISTFILES_FTP= "no license"
|
|
|
|
MASTER_SITES= ftp://adm.freelsd.net/pub/ADM/ \
|
|
http://adm.freelsd.net/ADM/
|
|
|
|
MAKE_ENV+= LIB_PATH=`/bin/ls -1 /usr/lib/libc.so.* | tail -1`
|
|
MAKE_FLAGS= CC="${CC}"
|
|
ALL_TARGET= openbsd
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
post-build:
|
|
sed "s%y0y0y0%${PREFIX}/lib/libfzap.so%g" \
|
|
${FILESDIR}/ADMfzap > ${WRKSRC}/ADMfzap
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fzap.so ${PREFIX}/lib/libfzap.so
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ADMfzap ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|