diff --git a/proftpd.changes b/proftpd.changes index 63007a0..d528639 100644 --- a/proftpd.changes +++ b/proftpd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 2 15:15:25 UTC 2012 - chris@computersalat.de + +- fix for bnc#787884 + (https://bugzilla.novell.com/show_bug.cgi?id=787884) + * added extra Source proftpd.conf.tmpfile + ------------------------------------------------------------------- Thu Aug 30 17:33:30 UTC 2012 - crrodriguez@opensuse.org diff --git a/proftpd.conf.tmpfile b/proftpd.conf.tmpfile new file mode 100644 index 0000000..3e19e7d --- /dev/null +++ b/proftpd.conf.tmpfile @@ -0,0 +1 @@ +d /var/run/proftpd 0755 root root ~ - diff --git a/proftpd.spec b/proftpd.spec index f61af66..771942d 100644 --- a/proftpd.spec +++ b/proftpd.spec @@ -30,6 +30,7 @@ Source1: ftp://ftp.proftpd.org/distrib/source/%{name}-%{version}.tar.gz.a Source11: %{name}.init Source12: %{name}.passwd Source13: %{name}.service +Source14: %{name}.conf.tmpfile #PATCH-FIX-openSUSE: pam, logrotate, xinet Patch100: %{name}-1.3.4a-dist.patch #PATCH-FIX-openSUSE: provide a useful default config @@ -184,6 +185,8 @@ export CXXFLAGS="$CFLAGS" %if 0%{?has_systemd} %{__install} -D -m 0644 %{S:13} %{buildroot}%{_unitdir}/%{name}.service +# systemd need to create a tmp dir: /var/run/proftpd +%{__install} -D -m 0644 %{S:14} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf %endif %find_lang %{name} @@ -277,6 +280,7 @@ fi %exclude %{_libdir}/%{name}/mod_sql_sqlite.so %if 0%{?has_systemd} %{_unitdir}/%{name}.service +%config %{_sysconfdir}/tmpfiles.d/%{name}.conf %endif %files devel