auto-import changelog data from ppp-2.4.2-2.2.src.rpm
Fri May 14 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.2 - compiled pppd and chat PIE
This commit is contained in:
parent
b5596689b2
commit
84ee2eb44d
22
ppp-2.4.2-pie.patch
Normal file
22
ppp-2.4.2-pie.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- ppp-2.4.2/pppd/Makefile.linux.pie 2004-05-14 13:46:14.188327258 +0200
|
||||||
|
+++ ppp-2.4.2/pppd/Makefile.linux 2004-05-14 13:46:16.147058249 +0200
|
||||||
|
@@ -206,7 +206,7 @@
|
||||||
|
$(INSTALL) -c -m 444 pppd.8 $(MANDIR)/man8
|
||||||
|
|
||||||
|
pppd: $(PPPDOBJS)
|
||||||
|
- $(CC) $(CFLAGS) $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
||||||
|
+ $(CC) $(CFLAGS) -pie $(LDFLAGS) -o pppd $(PPPDOBJS) $(LIBS)
|
||||||
|
|
||||||
|
srp-entry: srp-entry.c
|
||||||
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS)
|
||||||
|
--- ppp-2.4.2/chat/Makefile.linux.pie 2004-05-14 13:46:32.699784925 +0200
|
||||||
|
+++ ppp-2.4.2/chat/Makefile.linux 2004-05-14 13:46:45.071085866 +0200
|
||||||
|
@@ -14,7 +14,7 @@
|
||||||
|
all: chat
|
||||||
|
|
||||||
|
chat: chat.o
|
||||||
|
- $(CC) -o chat chat.o
|
||||||
|
+ $(CC) -pie -o chat chat.o
|
||||||
|
|
||||||
|
chat.o: chat.c
|
||||||
|
$(CC) -c $(CFLAGS) -o chat.o chat.c
|
9
ppp.spec
9
ppp.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The PPP (Point-to-Point Protocol) daemon.
|
Summary: The PPP (Point-to-Point Protocol) daemon.
|
||||||
Name: ppp
|
Name: ppp
|
||||||
Version: 2.4.2
|
Version: 2.4.2
|
||||||
Release: 2.1
|
Release: 2.2
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz
|
Source0: ftp://ftp.samba.org/pub/ppp/ppp-%{version}.tar.gz
|
||||||
@ -14,6 +14,7 @@ Patch3: ppp-2.4.1-varargs.patch
|
|||||||
Patch4: ppp-2.4.2-lib64.patch
|
Patch4: ppp-2.4.2-lib64.patch
|
||||||
Patch5: ppp-2.4.2-bpf.patch
|
Patch5: ppp-2.4.2-bpf.patch
|
||||||
Patch6: ppp-2.4.2-dontwriteetc.patch
|
Patch6: ppp-2.4.2-dontwriteetc.patch
|
||||||
|
Patch7: ppp-2.4.2-pie.patch
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
BuildPrereq: pam-devel, libpcap
|
BuildPrereq: pam-devel, libpcap
|
||||||
@ -37,11 +38,12 @@ organization over a modem and phone line.
|
|||||||
%patch4 -p1 -b .lib64
|
%patch4 -p1 -b .lib64
|
||||||
%patch5 -p1 -b .bpf
|
%patch5 -p1 -b .bpf
|
||||||
%patch6 -p1 -b .dontwriteetc
|
%patch6 -p1 -b .dontwriteetc
|
||||||
|
%patch7 -p1 -b .pie
|
||||||
find . -type f -name "*.sample" | xargs rm -f
|
find . -type f -name "*.sample" | xargs rm -f
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure
|
./configure
|
||||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
@ -90,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc FAQ PLUGINS README README.cbcp README.linux README.MPPE README.MSCHAP80 README.MSCHAP81 README.pwfd README.pppoe scripts sample
|
%doc FAQ PLUGINS README README.cbcp README.linux README.MPPE README.MSCHAP80 README.MSCHAP81 README.pwfd README.pppoe scripts sample
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 14 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.2
|
||||||
|
- compiled pppd and chat PIE
|
||||||
|
|
||||||
* Thu May 13 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.1
|
* Thu May 13 2004 Thomas Woerner <twoerner@redhat.com> 2.4.2-2.1
|
||||||
- added 'missingok' to ppp.logrotate (#122911)
|
- added 'missingok' to ppp.logrotate (#122911)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user