]> git.pld-linux.org Git - packages/lldpd.git/commitdiff
Release 1 master auto/th/lldpd-0.5.7-1
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 14 Nov 2012 13:47:42 +0000 (14:47 +0100)
committerPaweł Gołaszewski <blues@pld-linux.org>
Wed, 14 Nov 2012 13:47:42 +0000 (14:47 +0100)
Use privsep dir /usr/share/empty and daemon:daemon as user

lldpd.spec

index 271ad17a9f4c0c929e379be519e7105d923f560f..1001eef6010802e90e40edf06d0208058455c32f 100644 (file)
@@ -5,7 +5,7 @@ Summary:        Implementation of IEEE 802.1AB, EDP and CDP
 Summary(pl.UTF-8):     Implementacja IEEE 802.1AB, EDP oraz CDP
 Name:          lldpd
 Version:       0.5.7
-Release:       0.1
+Release:       1
 License:       MIT
 Group:         Networking
 Source0:       http://media.luffy.cx/files/lldpd/%{name}-%{version}.tar.gz
@@ -44,12 +44,16 @@ on bridges. More complex setups may give false results.
 %setup -q
 
 %build
-%configure
+%configure \
+       --with-privsep-user=daemon \
+       --with-privsep-group=daemon \
+       --with-privsep-chroot=/usr/share/empty
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{systemdunitdir}}
+install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{systemdunitdir}} 
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.801637 seconds and 4 git commands to generate.