rpms/proftpd/devel proftpd-1.3.0-rpath.patch, NONE, 1.1 proftpd.spec, 1.14, 1.15
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Fri Apr 28 09:23:46 UTC 2006
Author: thias
Update of /cvs/extras/rpms/proftpd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19901
Modified Files:
proftpd.spec
Added Files:
proftpd-1.3.0-rpath.patch
Log Message:
Mark some more config files as noreplace, fix nasty -rpath (#190122).
proftpd-1.3.0-rpath.patch:
--- NEW FILE proftpd-1.3.0-rpath.patch ---
diff -Naupr proftpd-1.3.0.orig/configure proftpd-1.3.0/configure
--- proftpd-1.3.0.orig/configure 2006-03-09 19:20:04.000000000 +0100
+++ proftpd-1.3.0.orig/configure 2006-03-09 19:20:04.000000000 +0100
@@ -19660,7 +19660,7 @@ if test "${enable_dso+set}" = set; then
ac_build_core_modules="$ac_build_core_modules modules/mod_dso.o"
ac_build_addl_includes="$INCLTDL $ac_build_addl_includes"
- MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic -rpath \$(DESTDIR)\$(sbindir)"
+ MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic"
MAIN_LIBS="\$(LIBLTDL)"
MODULE_LDFLAGS="-avoid-version -export-dynamic -module"
diff -Naupr proftpd-1.3.0.orig/configure.in proftpd-1.3.0/configure.in
--- proftpd-1.3.0.orig/configure.in 2006-03-09 19:12:35.000000000 +0100
+++ proftpd-1.3.0.orig/configure.in 2006-03-09 19:12:35.000000000 +0100
@@ -372,7 +372,7 @@ AC_ARG_ENABLE(dso,
ac_build_core_modules="$ac_build_core_modules modules/mod_dso.o"
ac_build_addl_includes="$INCLTDL $ac_build_addl_includes"
- MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic -rpath \$(DESTDIR)\$(sbindir)"
+ MAIN_LDFLAGS="-L\$(top_srcdir)/lib/libltdl -dlopen self -export-dynamic"
MAIN_LIBS="\$(LIBLTDL)"
MODULE_LDFLAGS="-avoid-version -export-dynamic -module"
Index: proftpd.spec
===================================================================
RCS file: /cvs/extras/rpms/proftpd/devel/proftpd.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- proftpd.spec 21 Apr 2006 17:05:11 -0000 1.14
+++ proftpd.spec 28 Apr 2006 09:23:46 -0000 1.15
@@ -1,7 +1,7 @@
Summary: Flexible, stable and highly-configurable FTP server
Name: proftpd
Version: 1.3.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://www.proftpd.org/
@@ -12,6 +12,7 @@
Source4: proftpd.logrotate
Source5: welcome.msg
Source6: proftpd.pam
+Patch0: proftpd-1.3.0-rpath.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: pam >= 0.59
Requires(post): /sbin/chkconfig
@@ -62,6 +63,7 @@
%prep
%setup
+%patch0 -p1 -b .rpath
%build
@@ -144,8 +146,8 @@
%config(noreplace) %{_sysconfdir}/proftpd.conf
%config(noreplace) %{_sysconfdir}/xinetd.d/xproftpd
%config %{_sysconfdir}/ftpusers
-%config %{_sysconfdir}/pam.d/proftpd
-%config %{_sysconfdir}/logrotate.d/proftpd
+%config(noreplace) %{_sysconfdir}/pam.d/proftpd
+%config(noreplace) %{_sysconfdir}/logrotate.d/proftpd
%{_sysconfdir}/rc.d/init.d/proftpd
%{_mandir}/*/*
%{_bindir}/*
@@ -177,6 +179,11 @@
%changelog
+* Fri Apr 28 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-2
+- Mark pam.d and logrotate.d config files as noreplace.
+- Include patch to remove -rpath to DESTDIR/usr/sbin/ in the proftpd binary
+ when DSO is enabled (#190122).
+
* Fri Apr 21 2006 Matthias Saou <http://freshrpms.net/> 1.3.0-1
- Update to 1.3.0 final.
- Remove no longer needed PostgreSQL and OpenSSL detection workarounds.
More information about the fedora-extras-commits
mailing list