1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= tcp_wrappers
9 PKG_HASH
:= 9543d7adedf78a6de0b221ccbbd1952e08b5138717f4ade814039bb489a4315d
10 PKG_DESCR
:= ip based access control
11 PKG_SECTION
:= libs
/misc
12 PKG_URL
:= ftp
://ftp.porcupine.org
/pub
/security
/index.html
13 PKG_SITES
:= ftp
://ftp.porcupine.org
/pub
/security
/
18 DISTFILES
:= ${PKG_NAME}_
${PKG_VERSION}.
tar.gz
19 WRKDIST
= ${WRKDIR}/${PKG_NAME}_
${PKG_VERSION}
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,LIBWRAP
,libwrap
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
26 INSTALL_STYLE
:= manual
29 MAKE_FLAGS
+= OPT_CFLAGS
="${TARGET_CFLAGS}" \
34 EXTRA_CFLAGS
="-DSYS_ERRLIST_DEFINED -DHAVE_STRERROR \
35 -DHAVE_WEAKSYMS -D_REENTRANT -DINET6=1 \
36 -Dss_family=__ss_family -Dss_len=__ss_len" \
39 REAL_DAEMON_DIR
=/usr
/sbin \
40 STYLE
="-DPROCESS_OPTIONS" \
43 ${INSTALL_DIR} ${IDIR_LIBWRAP}/usr
/lib
44 ${CP} ${WRKBUILD}/shared
/libwrap.so
* ${IDIR_LIBWRAP}/usr
/lib
/
45 ${INSTALL_DIR} ${WRKINST}/usr
/lib
${WRKINST}/usr
/include
46 ${CP} ${WRKBUILD}/tcpd.h
${WRKINST}/usr
/include
47 ${CP} ${WRKBUILD}/shared
/libwrap.so
* ${WRKINST}/usr
/lib
49 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk