diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-10 11:03:58 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-10 11:03:58 +0100 |
commit | 94c763109f74b446e4d5d31e55ef337c8c8d86cb (patch) | |
tree | 22d1cd06809f5a5c11241e998d9ead4010ac3c91 /package/tcpdump/Makefile | |
parent | a217fc80b29080dae963bb15051df023de36ce39 (diff) | |
parent | 16d94117a716fc361d3db9a2a17cf4c45eab837d (diff) |
resolve conflicts
Diffstat (limited to 'package/tcpdump/Makefile')
-rw-r--r-- | package/tcpdump/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile index 5a25597b3..6910052a3 100644 --- a/package/tcpdump/Makefile +++ b/package/tcpdump/Makefile @@ -14,8 +14,9 @@ PKG_BUILDDEP:= libpcap PKG_URL:= http://www.tcpdump.org/ PKG_SITES:= http://www.tcpdump.org/release/ -PKG_FLAVOURS:= WITH_IPV6 +PKG_FLAVOURS:= WITH_IPV6 WITH_CHROOT PKGFD_WITH_IPV6:= enable IPv6 support +PKGFD_WITH_CHROOT:= enable chrooting to /var/lib/tcpdump include ${TOPDIR}/mk/package.mk @@ -30,11 +31,17 @@ CONFIGURE_ARGS+= --enable-ipv6 else CONFIGURE_ARGS+= --disable-ipv6 endif +ifneq (${ADK_PACKAGE_TCPDUMP_WITH_CHROOT},) +CONFIGURE_ARGS+= --with-chroot="/var/lib/tcpdump" +endif XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \ INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include" post-install: ${INSTALL_DIR} ${IDIR_TCPDUMP}/usr/sbin ${INSTALL_BIN} ${WRKINST}/usr/sbin/tcpdump ${IDIR_TCPDUMP}/usr/sbin/ +ifneq (${ADK_PACKAGE_TCPDUMP_WITH_CHROOT},) + ${INSTALL_DIR} ${IDIR_TCPDUMP}/var/lib/tcpdump +endif include ${TOPDIR}/mk/pkg-bottom.mk |