From: Paweł Gołaszewski Date: Wed, 14 Nov 2012 13:47:42 +0000 (+0100) Subject: Release 1 X-Git-Tag: auto/th/lldpd-0.5.7-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=bffb05e3c3500b35048a3ab28ae40135e2117ba9;p=packages%2Flldpd.git Release 1 Use privsep dir /usr/share/empty and daemon:daemon as user --- diff --git a/lldpd.spec b/lldpd.spec index 271ad17..1001eef 100644 --- a/lldpd.spec +++ b/lldpd.spec @@ -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