From bffb05e3c3500b35048a3ab28ae40135e2117ba9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Wed, 14 Nov 2012 14:47:42 +0100 Subject: [PATCH] Release 1 Use privsep dir /usr/share/empty and daemon:daemon as user --- lldpd.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 -- 2.44.0