]> git.pld-linux.org Git - packages/tcpdump.git/commitdiff
- rel 4; revert dropping privileges, breaks -w option auto/th/tcpdump-4_2_0-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 16 Dec 2011 10:00:06 +0000 (10:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tcpdump.spec -> 1.91

tcpdump.spec

index 41b9e8af5d09737b8598752314689002ff4fe26a..53153a6a11d54b7cb9d0b35a0fc96edbb8e8b59d 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without libsmi  # Build without SMI support
+%bcond_with    drop_priv # Breaks -w option
 
 Summary:       dumps packets that are sent or received over a network interface
 Summary(de.UTF-8):     deponiert Pakete, die über eine Netzwerkschnittstelle gesandt oder empfangen werden
@@ -13,7 +14,7 @@ Summary(tr.UTF-8):    Bir ağ arabirimi üzerinden gelen ya da giden paketleri list
 Summary(uk.UTF-8):     Інструмент для моніторингу мережевого трафіку
 Name:          tcpdump
 Version:       4.2.0
-Release:       3
+Release:       4
 Epoch:         1
 License:       BSD
 Group:         Networking/Utilities
@@ -85,9 +86,11 @@ Tcpdump виводить хедери пакетів, що проходять ч
 %configure \
        CFLAGS="-I. %{rpmcflags} %{rpmcppflags}" \
        %{?with_smi:--with-smi} \
-       --enable-ipv6 \
+%if %{with drop_priv}
        --with-user=tcpdump \
-       --with-chroot=/usr/share/empty
+       --with-chroot=/usr/share/empty \
+%endif
+       --enable-ipv6 \
 %{__make}
 
 %install
This page took 0.05774 seconds and 4 git commands to generate.