diff options
author | Phil Sutter <phil@nwl.cc> | 2011-02-18 00:51:43 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-21 13:46:52 +0100 |
commit | 153f0fd77fb278a13128b5571031309671a6e652 (patch) | |
tree | 3b684259ca1ccfac3726c9a38c4a22e0b557e4c0 /package | |
parent | 9e0e7290b21e793bb8ee79b0e87e2a2901629e53 (diff) |
package/tcpdump: ease the use of chroot
Having this chroot feature enabled is not funny when no user to setuid
to is defined. This patch fixes this annoyance by setting the default
chroot user to "nobody", which exists as long as base-files do.
Diffstat (limited to 'package')
-rw-r--r-- | package/tcpdump/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile index 652dc1b6b..fcc5f19f6 100644 --- a/package/tcpdump/Makefile +++ b/package/tcpdump/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= tcpdump PKG_VERSION:= 4.1.1 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= d0dd58bbd6cd36795e05c6f1f74420b0 PKG_DESCR:= A tool for network monitoring and data acquisition PKG_SECTION:= net @@ -32,7 +32,7 @@ else CONFIGURE_ARGS+= --disable-ipv6 endif ifneq (${ADK_PACKAGE_TCPDUMP_WITH_CHROOT},) -CONFIGURE_ARGS+= --with-chroot="/var/lib/tcpdump" +CONFIGURE_ARGS+= --with-chroot="/var/lib/tcpdump" --with-user="nobody" endif XAKE_FLAGS+= CCOPT="${TARGET_CFLAGS}" \ INCLS="-I. -I${STAGING_TARGET_DIR}/usr/include" |