[packages/opensmtpd] macro for privsepdir
glen
glen at pld-linux.org
Sat Nov 2 23:10:03 CET 2013
commit 9c8fc5304c0da56027bd3e3773ee187fafd83991
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Nov 3 00:08:53 2013 +0200
macro for privsepdir
opensmtpd.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/opensmtpd.spec b/opensmtpd.spec
index 42b5ecf..a9a2a73 100644
--- a/opensmtpd.spec
+++ b/opensmtpd.spec
@@ -34,6 +34,8 @@ Provides: smtpdaemon
Obsoletes: smtpdaemon
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _privsepdir /usr/share/empty
+
%description
OpenSMTPD is a FREE implementation of the server-side SMTP protocol as
defined by RFC 5321, with some additional standard extensions. It
@@ -62,7 +64,7 @@ LDFLAGS="$LDFLAGS -L%{_libdir}/libdb4"
%{?with_pam:--with-pam} \
--with-privsep-user=smtpd \
--with-queue-user=smtpq \
- --with-privsep-path=/usr/share/empty \
+ --with-privsep-path=%{_privsepdir} \
--with-sock-dir=%{_localstatedir}/run
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opensmtpd.git/commitdiff/9c8fc5304c0da56027bd3e3773ee187fafd83991
More information about the pld-cvs-commit
mailing list