summaryrefslogtreecommitdiff
path: root/ppp
diff options
context:
space:
mode:
authorJuergen Daubert <juergen.daubert@t-online.de>2006-07-02 10:07:45 +0000
committerJuergen Daubert <juergen.daubert@t-online.de>2006-07-02 10:07:45 +0000
commit7242e1f4b2036b5124663dbcb93b464d1883ae94 (patch)
treebea337b0ef45e12d5f62c4d80a27579d6f07a92a /ppp
parent027a6471664896cd58dfe4e6cbde91f04fc65129 (diff)
downloadcore-7242e1f4b2036b5124663dbcb93b464d1883ae94.tar.gz
core-7242e1f4b2036b5124663dbcb93b464d1883ae94.tar.xz
ppp: update to 2.4.4
Diffstat (limited to 'ppp')
-rw-r--r--ppp/.footprint20
-rw-r--r--ppp/.md5sum6
-rw-r--r--ppp/Pkgfile15
-rw-r--r--ppp/ppp-2.4.3-makefile.patch139
-rw-r--r--ppp/ppp-makefile.patch12
-rw-r--r--ppp/ppp-nofilter.patch (renamed from ppp/ppp-2.4.3-nofilter.patch)0
6 files changed, 33 insertions, 159 deletions
diff --git a/ppp/.footprint b/ppp/.footprint
index cd2df037..2eed5a28 100644
--- a/ppp/.footprint
+++ b/ppp/.footprint
@@ -28,16 +28,16 @@ drwxr-xr-x root/root usr/include/pppd/
-rw-r--r-- root/root usr/include/pppd/upap.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/pppd/
-drwxr-xr-x root/root usr/lib/pppd/2.4.3/
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/minconn.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/passprompt.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/passwordfd.so
--rwsr-x--- root/root usr/lib/pppd/2.4.3/pppoatm.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/radattr.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/radius.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/radrealms.so
--rwsr-x--- root/root usr/lib/pppd/2.4.3/rp-pppoe.so
--rwxr-xr-x root/root usr/lib/pppd/2.4.3/winbind.so
+drwxr-xr-x root/root usr/lib/pppd/2.4.4/
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/minconn.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/passprompt.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/passwordfd.so
+-rwsr-x--- root/root usr/lib/pppd/2.4.4/pppoatm.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radattr.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radius.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/radrealms.so
+-rwsr-x--- root/root usr/lib/pppd/2.4.4/rp-pppoe.so
+-rwxr-xr-x root/root usr/lib/pppd/2.4.4/winbind.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man8/
-rw-r--r-- root/root usr/man/man8/chat.8.gz
diff --git a/ppp/.md5sum b/ppp/.md5sum
index afb6a25a..b6feac62 100644
--- a/ppp/.md5sum
+++ b/ppp/.md5sum
@@ -1,3 +1,3 @@
-96ac0fcd1eb444b09c6aaf1da057ed12 ppp-2.4.3-makefile.patch
-24867da3561a2ba62f555ac717af77cb ppp-2.4.3-nofilter.patch
-848f6c3cafeb6074ffeb293c3af79b7c ppp-2.4.3.tar.gz
+183800762e266132218b204dfb428d29 ppp-2.4.4.tar.gz
+a8068242d7a8833574c345200a0ced2f ppp-makefile.patch
+24867da3561a2ba62f555ac717af77cb ppp-nofilter.patch
diff --git a/ppp/Pkgfile b/ppp/Pkgfile
index 2f31a301..fcf717ed 100644
--- a/ppp/Pkgfile
+++ b/ppp/Pkgfile
@@ -4,18 +4,19 @@
# Depends on: zlib, openssl
name=ppp
-version=2.4.3
+version=2.4.4
release=1
source=(ftp://ftp.samba.org/pub/ppp/$name-$version.tar.gz \
- $name-$version-nofilter.patch \
- $name-$version-makefile.patch)
+ $name-nofilter.patch \
+ $name-makefile.patch)
build () {
cd $name-$version
- patch -p1 < ../$name-$version-nofilter.patch
- patch -p1 < ../$name-$version-makefile.patch
- ./configure --prefix=$PKG
+ patch -p1 < $SRC/$name-nofilter.patch
+ patch -p1 < $SRC/$name-makefile.patch
+ ./configure --prefix=/usr --sysconfdir=/etc
make
- make install
+ make INSTROOT=$PKG install install-etcppp
+ mv $PKG/usr/{share/man,man} && rm -r $PKG/usr/share
chmod +w -R $PKG
}
diff --git a/ppp/ppp-2.4.3-makefile.patch b/ppp/ppp-2.4.3-makefile.patch
deleted file mode 100644
index d65b2481..00000000
--- a/ppp/ppp-2.4.3-makefile.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-diff -ru ppp-2.4.3/chat/Makefile.linux ppp-2.4.3-new/chat/Makefile.linux
---- ppp-2.4.3/chat/Makefile.linux 2004-11-03 12:51:47.000000000 +0100
-+++ ppp-2.4.3-new/chat/Makefile.linux 2005-01-06 15:49:47.828712944 +0100
-@@ -1,8 +1,8 @@
- # $Id: Makefile.linux,v 1.13 2004/11/03 11:51:47 paulus Exp $
-
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--MANDIR = $(DESTDIR)/share/man/man8
-+BINDIR = $(DESTDIR)/usr/sbin
-+MANDIR = $(DESTDIR)/usr/man/man8
-
- CDEF1= -DTERMIOS # Use the termios structure
- CDEF2= -DSIGTYPE=void # Standard definition
-diff -ru ppp-2.4.3/linux/Makefile.top ppp-2.4.3-new/linux/Makefile.top
---- ppp-2.4.3/linux/Makefile.top 2004-10-31 23:25:16.000000000 +0100
-+++ ppp-2.4.3-new/linux/Makefile.top 2005-01-06 15:53:32.479560824 +0100
-@@ -1,10 +1,10 @@
- # PPP top-level Makefile for Linux.
-
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--INCDIR = $(DESTDIR)/include
--MANDIR = $(DESTDIR)/share/man
--ETCDIR = @SYSCONF@/ppp
-+BINDIR = $(DESTDIR)/usr/sbin
-+INCDIR = $(DESTDIR)/usr/include
-+MANDIR = $(DESTDIR)/usr/man
-+ETCDIR = $(DESTDIR)/etc/ppp
-
- # uid 0 = root
- INSTALL= install
-@@ -16,7 +16,7 @@
- cd pppstats; $(MAKE) $(MFLAGS) all
- cd pppdump; $(MAKE) $(MFLAGS) all
-
--install: $(BINDIR) $(MANDIR)/man8 install-progs install-devel
-+install: $(BINDIR) $(MANDIR)/man8 install-progs install-devel install-etcppp
-
- install-progs:
- cd chat; $(MAKE) $(MFLAGS) install
-diff -ru ppp-2.4.3/pppd/Makefile.linux ppp-2.4.3-new/pppd/Makefile.linux
---- ppp-2.4.3/pppd/Makefile.linux 2004-11-13 13:02:22.000000000 +0100
-+++ ppp-2.4.3-new/pppd/Makefile.linux 2005-01-06 15:48:06.497117688 +0100
-@@ -5,9 +5,9 @@
-
- # Default installation locations
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--MANDIR = $(DESTDIR)/share/man/man8
--INCDIR = $(DESTDIR)/include
-+BINDIR = $(DESTDIR)/usr/sbin
-+MANDIR = $(DESTDIR)/usr/man/man8
-+INCDIR = $(DESTDIR)/usr/include
-
- TARGETS = pppd
-
-diff -ru ppp-2.4.3/pppd/plugins/Makefile.linux ppp-2.4.3-new/pppd/plugins/Makefile.linux
---- ppp-2.4.3/pppd/plugins/Makefile.linux 2004-11-14 08:57:35.000000000 +0100
-+++ ppp-2.4.3-new/pppd/plugins/Makefile.linux 2005-01-06 15:48:42.183692504 +0100
-@@ -5,9 +5,9 @@
- INSTALL = install
-
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--MANDIR = $(DESTDIR)/share/man/man8
--LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
-+BINDIR = $(DESTDIR)/usr/sbin
-+MANDIR = $(DESTDIR)/usr/man/man8
-+LIBDIR = $(DESTDIR)/usr/lib/pppd/$(VERSION)
-
- SUBDIRS := rp-pppoe pppoatm radius
- # Uncomment the next line to include the radius authentication plugin
-diff -ru ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux ppp-2.4.3-new/pppd/plugins/pppoatm/Makefile.linux
---- ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux 2004-11-14 02:12:10.000000000 +0100
-+++ ppp-2.4.3-new/pppd/plugins/pppoatm/Makefile.linux 2005-01-06 15:48:24.970309336 +0100
-@@ -7,7 +7,7 @@
- #***********************************************************************
-
- DESTDIR = @DESTDIR@
--LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
-+LIBDIR = $(DESTDIR)/usr/lib/pppd/$(VERSION)
-
- VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-
-diff -ru ppp-2.4.3/pppd/plugins/radius/Makefile.linux ppp-2.4.3-new/pppd/plugins/radius/Makefile.linux
---- ppp-2.4.3/pppd/plugins/radius/Makefile.linux 2004-11-14 08:02:31.000000000 +0100
-+++ ppp-2.4.3-new/pppd/plugins/radius/Makefile.linux 2005-01-06 15:49:03.502451560 +0100
-@@ -4,8 +4,8 @@
- #
-
- DESTDIR = @DESTDIR@
--MANDIR = $(DESTDIR)/share/man/man8
--LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
-+MANDIR = $(DESTDIR)/usr/man/man8
-+LIBDIR = $(DESTDIR)/usr/lib/pppd/$(VERSION)
-
- VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-
-diff -ru ppp-2.4.3/pppd/plugins/rp-pppoe/Makefile.linux ppp-2.4.3-new/pppd/plugins/rp-pppoe/Makefile.linux
---- ppp-2.4.3/pppd/plugins/rp-pppoe/Makefile.linux 2004-11-14 08:58:37.000000000 +0100
-+++ ppp-2.4.3-new/pppd/plugins/rp-pppoe/Makefile.linux 2005-01-06 15:48:52.662099544 +0100
-@@ -14,8 +14,8 @@
- #***********************************************************************
-
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--LIBDIR = $(DESTDIR)/lib/pppd/$(PPPDVERSION)
-+BINDIR = $(DESTDIR)/usr/sbin
-+LIBDIR = $(DESTDIR)/usr/lib/pppd/$(PPPDVERSION)
-
- PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
-
-diff -ru ppp-2.4.3/pppdump/Makefile.linux ppp-2.4.3-new/pppdump/Makefile.linux
---- ppp-2.4.3/pppdump/Makefile.linux 2004-10-31 02:36:52.000000000 +0200
-+++ ppp-2.4.3-new/pppdump/Makefile.linux 2005-01-06 15:47:56.096698792 +0100
-@@ -1,6 +1,6 @@
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--MANDIR = $(DESTDIR)/share/man/man8
-+BINDIR = $(DESTDIR)/usr/sbin
-+MANDIR = $(DESTDIR)/usr/man/man8
-
- CFLAGS= -O -I../include/net
- OBJS = pppdump.o bsd-comp.o deflate.o zlib.o
-diff -ru ppp-2.4.3/pppstats/Makefile.linux ppp-2.4.3-new/pppstats/Makefile.linux
---- ppp-2.4.3/pppstats/Makefile.linux 2004-10-31 23:09:03.000000000 +0100
-+++ ppp-2.4.3-new/pppstats/Makefile.linux 2005-01-06 15:47:44.935395568 +0100
-@@ -3,8 +3,8 @@
- # $Id: Makefile.linux,v 1.8 2004/10/31 22:09:03 paulus Exp $
- #
- DESTDIR = @DESTDIR@
--BINDIR = $(DESTDIR)/sbin
--MANDIR = $(DESTDIR)/share/man/man8
-+BINDIR = $(DESTDIR)/usr/sbin
-+MANDIR = $(DESTDIR)/usr/man/man8
-
- PPPSTATSRCS = pppstats.c
- PPPSTATOBJS = pppstats.o
diff --git a/ppp/ppp-makefile.patch b/ppp/ppp-makefile.patch
new file mode 100644
index 00000000..2b92fd01
--- /dev/null
+++ b/ppp/ppp-makefile.patch
@@ -0,0 +1,12 @@
+diff -Nru ppp-2.4.4.orig/pppd/plugins/pppoatm/Makefile.linux ppp-2.4.4/pppd/plugins/pppoatm/Makefile.linux
+--- ppp-2.4.4.orig/pppd/plugins/pppoatm/Makefile.linux 2006-06-28 17:19:31.000000000 +0200
++++ ppp-2.4.4/pppd/plugins/pppoatm/Makefile.linux 2006-06-28 17:53:14.000000000 +0200
+@@ -6,7 +6,7 @@
+
+ #***********************************************************************
+
+-DESTDIR = @DESTDIR@
++DESTDIR = $(INSTROOT)@DESTDIR@
+ LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION)
+
+ VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h)
diff --git a/ppp/ppp-2.4.3-nofilter.patch b/ppp/ppp-nofilter.patch
index fb68a9ab..fb68a9ab 100644
--- a/ppp/ppp-2.4.3-nofilter.patch
+++ b/ppp/ppp-nofilter.patch

Generated by cgit