diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-03-26 09:13:06 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-03-26 09:13:06 +0000 |
commit | 96ffec7fd256c073319f89fe25cf8af66ae07ba8 (patch) | |
tree | 31ef1b33834d81c045cae5099e060a20f82279ca /net-dialup/pptpd | |
parent | Removed old non-working CVS ebuild, bumped to a newer CVS snapshot. Thanks t... (diff) | |
download | historical-96ffec7fd256c073319f89fe25cf8af66ae07ba8.tar.gz historical-96ffec7fd256c073319f89fe25cf8af66ae07ba8.tar.bz2 historical-96ffec7fd256c073319f89fe25cf8af66ae07ba8.zip |
Version bump. Fix syslog flood with messages like "GRE: accepting packet" (#127388).
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-dialup/pptpd')
-rw-r--r-- | net-dialup/pptpd/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/pptpd/Manifest | 13 | ||||
-rw-r--r-- | net-dialup/pptpd/files/digest-pptpd-1.3.1 | 1 | ||||
-rw-r--r-- | net-dialup/pptpd/files/pptpd-1.3.1-gentoo.patch | 48 | ||||
-rw-r--r-- | net-dialup/pptpd/pptpd-1.3.1.ebuild | 59 |
5 files changed, 124 insertions, 6 deletions
diff --git a/net-dialup/pptpd/ChangeLog b/net-dialup/pptpd/ChangeLog index c61097da0018..861c871a52be 100644 --- a/net-dialup/pptpd/ChangeLog +++ b/net-dialup/pptpd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dialup/pptpd # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpd/ChangeLog,v 1.20 2006/03/10 13:47:53 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpd/ChangeLog,v 1.21 2006/03/26 09:13:06 mrness Exp $ + +*pptpd-1.3.1 (26 Mar 2006) + + 26 Mar 2006; Alin Nastac <mrness@gentoo.org> + +files/pptpd-1.3.1-gentoo.patch, +pptpd-1.3.1.ebuild: + Version bump. Fix syslog flood with messages like "GRE: accepting packet" + (#127388). *pptpd-1.3.0 (10 Mar 2006) diff --git a/net-dialup/pptpd/Manifest b/net-dialup/pptpd/Manifest index 35be028db179..0550eb92f7cb 100644 --- a/net-dialup/pptpd/Manifest +++ b/net-dialup/pptpd/Manifest @@ -1,19 +1,22 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 977a120a1c8dec0a87bfec80b05a0ab8 ChangeLog 2951 +MD5 b12265bd867bd4a34bdb6a4d922775a2 ChangeLog 3172 MD5 1fa197073ee270e0a198941524453ce3 files/digest-pptpd-1.2.3-r1 63 MD5 4e3a14647e551188f195fa9a7372924c files/digest-pptpd-1.3.0 63 +MD5 6db8aa74503d1723d2124dc9e8685d54 files/digest-pptpd-1.3.1 63 MD5 4c6b3d63b289e8f024cdde4da1b16663 files/pptpd-1.3.0-gentoo.patch 1955 +MD5 62b01173931d0eee6a4cc6228d9154dd files/pptpd-1.3.1-gentoo.patch 1985 MD5 bff575819b8997e7bbe743b95cb134cb files/pptpd-confd 131 MD5 96fed26a1a72e947d12edda983f74d16 files/pptpd-init 386 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 b7dbbe4e000b11e6915287267bcb835d pptpd-1.2.3-r1.ebuild 1378 MD5 0bc4bd031b43f2df2dbeafc584440b6e pptpd-1.3.0.ebuild 1466 +MD5 0ebba8a1b9b58370ffa8727ced8c2d99 pptpd-1.3.1.ebuild 1466 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFEEYOdjG8pv1lIUX4RAgnfAKDRqMTKPyZBC8VTU18oCirKrJ4TsQCbBgEr -qZQNqBM0VZcp50N30q6/1Zw= -=U+Hv +iD8DBQFEJls0jG8pv1lIUX4RApt6AJ4sP2NiXDxeVG7/s+UZ5GVxYN44sACffE1H +6/4xRhe/lfrLD6Gi8jlMGFk= +=LMJa -----END PGP SIGNATURE----- diff --git a/net-dialup/pptpd/files/digest-pptpd-1.3.1 b/net-dialup/pptpd/files/digest-pptpd-1.3.1 new file mode 100644 index 000000000000..7cb46db83e48 --- /dev/null +++ b/net-dialup/pptpd/files/digest-pptpd-1.3.1 @@ -0,0 +1 @@ +MD5 1ad4bf5e99670cab37b90252cc1d691a pptpd-1.3.1.tar.gz 232609 diff --git a/net-dialup/pptpd/files/pptpd-1.3.1-gentoo.patch b/net-dialup/pptpd/files/pptpd-1.3.1-gentoo.patch new file mode 100644 index 000000000000..3e2bb44ee6df --- /dev/null +++ b/net-dialup/pptpd/files/pptpd-1.3.1-gentoo.patch @@ -0,0 +1,48 @@ +diff -Nru pptpd-1.3.1.orig/Makefile.am pptpd-1.3.1/Makefile.am +--- pptpd-1.3.1.orig/Makefile.am 2006-02-14 02:25:29.000000000 +0200 ++++ pptpd-1.3.1/Makefile.am 2006-03-26 12:07:02.000000000 +0300 +@@ -11,7 +11,7 @@ + ## warning with -Wmissing-prototypes). + ## -Wmissing-prototypes removed (eg, Linux 2.2.6 headers + ## aren't up to it). +-CFLAGS = -O2 -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' ++CFLAGS += -fno-builtin -Wall -DSBINDIR='"$(sbindir)"' + #CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"' + #CFLAGS = -O2 -fno-builtin -Wall -ansi -pedantic -Wmissing-prototypes -Werror -DSBINDIR='"$(sbindir)"' + +diff -Nru pptpd-1.3.1.orig/plugins/Makefile pptpd-1.3.1/plugins/Makefile +--- pptpd-1.3.1.orig/plugins/Makefile 2004-05-21 12:26:37.000000000 +0300 ++++ pptpd-1.3.1/plugins/Makefile 2006-03-26 12:07:02.000000000 +0300 +@@ -1,6 +1,5 @@ + CC = gcc +-COPTS = -O2 -g +-CFLAGS = $(COPTS) -I.. -I../../include -fPIC ++CFLAGS += -g -I.. -I../../include -fPIC + LDFLAGS = -shared + INSTALL = install -o root + prefix = /usr/local +diff -Nru pptpd-1.3.1.orig/pptpgre.c pptpd-1.3.1/pptpgre.c +--- pptpd-1.3.1.orig/pptpgre.c 2005-12-29 02:10:32.000000000 +0200 ++++ pptpd-1.3.1/pptpgre.c 2006-03-26 12:08:10.000000000 +0300 +@@ -399,7 +399,7 @@ + } + /* check for out-of-order sequence number */ + if (seq_greater(seq, gre.seq_recv)) { +- syslog(LOG_DEBUG, "GRE: accepting packet #%d", seq); ++ /* syslog(LOG_DEBUG, "GRE: accepting packet #%d", seq); */ + stats.rx_accepted++; + gre.seq_recv = seq; + return cb(cl, buffer + ip_len + headersize, payload_len); +diff -Nru pptpd-1.3.1.orig/pqueue.c pptpd-1.3.1/pqueue.c +--- pptpd-1.3.1.orig/pqueue.c 2005-08-03 11:53:22.000000000 +0300 ++++ pptpd-1.3.1/pqueue.c 2006-03-26 12:07:04.000000000 +0300 +@@ -12,7 +12,8 @@ + #define DEBUG_ON 0 + #endif + +-#define DEBUG_CMD(_a) if (DEBUG_ON) { _a } ++/* #define DEBUG_CMD(_a) if (DEBUG_ON) { _a } */ ++#define DEBUG_CMD(_a) + + #define MIN_CAPACITY 128 /* min allocated buffer for a packet */ + diff --git a/net-dialup/pptpd/pptpd-1.3.1.ebuild b/net-dialup/pptpd/pptpd-1.3.1.ebuild new file mode 100644 index 000000000000..d80e994e6626 --- /dev/null +++ b/net-dialup/pptpd/pptpd-1.3.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpd/pptpd-1.3.1.ebuild,v 1.1 2006/03/26 09:13:06 mrness Exp $ + +inherit eutils autotools + +DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server" +SRC_URI="mirror://sourceforge/poptop/${P}.tar.gz" +HOMEPAGE="http://www.poptop.org/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="tcpd" + +DEPEND="net-dialup/ppp + tcpd? ( sys-apps/tcp-wrappers )" + +src_unpack() { + unpack ${A} + + epatch "${FILESDIR}/${P}-gentoo.patch" + + #Match pptpd-logwtmp.so's version with pppd's version (#89895) + local PPPD_VER=`best_version net-dialup/ppp` + PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} + PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision + sed -i -e "s:\\(#define[ \\t]*VERSION[ \\t]*\\)\".*\":\\1\"${PPPD_VER}\":" "${S}/plugins/patchlevel.h" +} + +src_compile() { + eautoreconf + + local myconf + use tcpd && myconf="--with-libwrap" + econf --with-bcrelay \ + ${myconf} || die "configure failed" + emake COPTS="${CFLAGS}" || die "make failed" +} + +src_install () { + einstall || die "make install failed" + + insinto /etc + doins samples/pptpd.conf + + insinto /etc/ppp + doins samples/options.pptpd + + exeinto /etc/init.d + newexe "${FILESDIR}/pptpd-init" pptpd + + insinto /etc/conf.d + newins "${FILESDIR}/pptpd-confd" pptpd + + dodoc AUTHORS ChangeLog NEWS README* TODO + docinto samples + dodoc samples/* +} |