+++ /dev/null
---- opensmtpd-5.4.2p1/smtpd/smtpd-defines.h~ 2014-03-04 11:49:09.000000000 +0200
-+++ opensmtpd-5.4.2p1/smtpd/smtpd-defines.h 2014-05-16 08:35:53.999689310 +0300
-@@ -32,7 +32,7 @@
- #define SMTPD_USER "_smtpd"
- #endif
- #ifndef PATH_CHROOT
--#define PATH_CHROOT "/var/empty"
-+#define PATH_CHROOT "/usr/share/empty"
- #endif
- #ifndef SMTPD_QUEUE_USER
- #define SMTPD_QUEUE_USER "_smtpq"
+++ /dev/null
---- opensmtpd-201310231634p1/mk/makemap/Makefile.am~ 2013-10-23 16:41:36.000000000 +0300
-+++ opensmtpd-201310231634p1/mk/makemap/Makefile.am 2013-11-03 01:28:42.542110133 +0200
-@@ -43,6 +43,12 @@
- CFLAGS+= -D_GNU_SOURCE
- CPPFLAGS= -I$(srcdir) @CPPFLAGS@ $(PATHS) @DEFS@
-
-+PATHS= -DSMTPD_CONFDIR=\"$(sysconfdir)\" \
-+ -DPATH_SMTPCTL=\"$(sbindir)/smtpctl\" \
-+ -DPATH_MAILLOCAL=\"$(pkglibexecdir)/mail.local\" \
-+ -DPATH_FILTERS=\"$(pkglibexecdir)\" \
-+ -DPATH_TABLES=\"$(pkglibexecdir)\"
-+
- MANPAGES= makemap.8.out newaliases.8.out
- MANPAGES_IN= $(smtpd_srcdir)/makemap.8
- MANPAGES_IN+= $(smtpd_srcdir)/newaliases.8
Summary: Free implementation of the server-side SMTP protocol as defined by RFC 5321
Name: opensmtpd
Version: 5.4.2p1
-Release: 0.1
+Release: 0.2
License: ISC
Group: Daemons
Source0: https://www.opensmtpd.org/archives/%{name}-%{version}.tar.gz
Source2: %{name}.init
Source3: %{name}.pam
Source4: aliases
-Patch0: chroot-path.patch
-Patch1: makemap-paths.patch
URL: http://www.opensmtpd.org/
BuildRequires: autoconf
BuildRequires: automake
re-usable by everyone under an ISC license.
%prep
-%setup -q %{?prerelease: -n %{name}-%{prerelease}p1}
-%patch0 -p1
-%patch1 -p1
+%setup -q
%build
%{__aclocal}