Author: arekm                        Date: Fri Dec 16 10:00:11 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 4; revert dropping privileges, breaks -w option

---- Files affected:
packages/tcpdump:
   tcpdump.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: packages/tcpdump/tcpdump.spec
diff -u packages/tcpdump/tcpdump.spec:1.90 packages/tcpdump/tcpdump.spec:1.91
--- packages/tcpdump/tcpdump.spec:1.90  Sun Dec  4 21:17:57 2011
+++ packages/tcpdump/tcpdump.spec       Fri Dec 16 11:00:06 2011
@@ -2,6 +2,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
@@ -14,7 +15,7 @@
 Summary(uk.UTF-8):     Інструмент для моніторингу мережевого трафіку
 Name:          tcpdump
 Version:       4.2.0
-Release:       3
+Release:       4
 Epoch:         1
 License:       BSD
 Group:         Networking/Utilities
@@ -86,9 +87,11 @@
 %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
@@ -121,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2011/12/16 10:00:06  arekm
+- rel 4; revert dropping privileges, breaks -w option
+
 Revision 1.90  2011/12/04 20:17:57  glen
 - useradd deps
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/tcpdump/tcpdump.spec?r1=1.90&r2=1.91&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to