* Thu Aug 05 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-10

- fixes #572174 - pppol2tp plugins not installed
- removed proprietary if_pppol2tp.h
This commit is contained in:
Jiri Skala 2010-08-05 16:58:55 +02:00
parent 88664fef5d
commit 6259d0c019
2 changed files with 20 additions and 1 deletions

View File

@ -74,3 +74,16 @@
#else /* __STDC__ */
#define _PATH_PLUGIN "/usr/lib/pppd"
#endif /* __STDC__ */
--- ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux.lib64 2009-11-16 23:26:07.000000000 +0100
+++ ppp-2.4.5/pppd/plugins/pppol2tp/Makefile.linux 2010-08-05 16:33:53.964898629 +0200
@@ -6,8 +6,8 @@
#***********************************************************************
-DESTDIR = @DESTDIR@
-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
+DESTDIR = $(INSTROOT)@DESTDIR@
+LIBDIR = $(DESTDIR)/lib/$(shell gcc -print-multi-os-directory 2> /dev/null)/pppd/$(VERSION)
VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)

View File

@ -1,7 +1,7 @@
Summary: The Point-to-Point Protocol daemon
Name: ppp
Version: 2.4.5
Release: 9%{?dist}
Release: 10%{?dist}
License: BSD and LGPLv2+ and GPLv2+ and Public Domain
Group: System Environment/Daemons
URL: http://www.samba.org/ppp
@ -78,6 +78,8 @@ rm -f scripts/*.usepeerdns-var_run_ppp_resolv
rm -f scripts/*.ppp_resolv
find . -type f -name "*.sample" | xargs rm -f
rm -f include/linux/if_pppol2tp.h
%build
#find . -name 'Makefile*' -print0 | xargs -0 perl -pi.no_strip -e "s: -s : :g"
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall"
@ -137,6 +139,10 @@ rm -rf $RPM_BUILD_ROOT
%doc PLUGINS
%changelog
* Thu Aug 05 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-10
- fixes #572174 - pppol2tp plugins not installed
- removed proprietary if_pppol2tp.h
* Tue Jul 13 2010 Jiri Skala <jskala@redhat.com> - 2.4.5-9
- fixes #613717 - Missing line in example script ip-up.local.add