[packages/lldpd] Release 1
blues
blues at pld-linux.org
Wed Nov 14 15:02:00 CET 2012
commit bffb05e3c3500b35048a3ab28ae40135e2117ba9
Author: Paweł Gołaszewski <blues at pld-linux.org>
Date: Wed Nov 14 14:47:42 2012 +0100
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lldpd.git/commitdiff/bffb05e3c3500b35048a3ab28ae40135e2117ba9
More information about the pld-cvs-commit
mailing list