diff options
author | 2009-06-20 09:00:50 +0000 | |
---|---|---|
committer | 2009-06-20 09:00:50 +0000 | |
commit | 44dda3fc484ec686c69d0f9446deeebf00ca8a5d (patch) | |
tree | 96b3a7ff3e74dceaa83ea4949f03a50429c945b9 /net-dialup/pptpclient | |
parent | Remove weird has_version check in pkg_postrm I inherited from old ebuild, it ... (diff) | |
download | historical-44dda3fc484ec686c69d0f9446deeebf00ca8a5d.tar.gz historical-44dda3fc484ec686c69d0f9446deeebf00ca8a5d.tar.bz2 historical-44dda3fc484ec686c69d0f9446deeebf00ca8a5d.zip |
Version bump (#270657).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-dialup/pptpclient')
-rw-r--r-- | net-dialup/pptpclient/ChangeLog | 10 | ||||
-rw-r--r-- | net-dialup/pptpclient/Manifest | 15 | ||||
-rw-r--r-- | net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch | 42 | ||||
-rw-r--r-- | net-dialup/pptpclient/pptpclient-1.7.2.ebuild | 52 |
4 files changed, 116 insertions, 3 deletions
diff --git a/net-dialup/pptpclient/ChangeLog b/net-dialup/pptpclient/ChangeLog index 8aa57e1e67ce..aff3dc58e01a 100644 --- a/net-dialup/pptpclient/ChangeLog +++ b/net-dialup/pptpclient/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/pptpclient -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpclient/ChangeLog,v 1.48 2007/04/15 09:57:54 mrness Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpclient/ChangeLog,v 1.49 2009/06/20 09:00:49 mrness Exp $ + +*pptpclient-1.7.2 (20 Jun 2009) + + 20 Jun 2009; Alin Năstac <mrness@gentoo.org> + +files/pptpclient-1.7.2-process-name.patch, +pptpclient-1.7.2.ebuild: + Version bump (#270657). 15 Apr 2007; Alin Năstac <mrness@gentoo.org> -pptpclient-1.7.1.ebuild: Remove old revision. diff --git a/net-dialup/pptpclient/Manifest b/net-dialup/pptpclient/Manifest index ca5f9017ba41..a7315164314a 100644 --- a/net-dialup/pptpclient/Manifest +++ b/net-dialup/pptpclient/Manifest @@ -1,8 +1,21 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX pptp_fe.pl 8100 RMD160 4b8c4591645a5f79daf2ba27e3e657db24323ffe SHA1 ec6102be37a7a2107f796bee974feadb7a3bd7a1 SHA256 f980fd3ff529bd4476852be39e05579bbeb9dc5c299795050a8d146ed6c4c648 AUX pptpclient-1.7.1-process-name.patch 735 RMD160 df4e5d1fcbe18fdf823b403d8f190fd3e7d922c3 SHA1 49a918fcd5f8d03f1063067ae81c0cadfd73221e SHA256 db4386f18e959bf5fc60a0318f8f2722be9d6b3cdce39c2e115efb550b00c2a5 +AUX pptpclient-1.7.2-process-name.patch 1242 RMD160 fd10fc6506eb1e6ad2fdd1fc46dfb453d4623ec7 SHA1 b2edbe1f7ad781171142809bc48b6db05f0295ce SHA256 a16bc434f301af72f43cca41a17e8232006878295b0f4f2a3fc5dbe85b020b5e AUX xpptp_fe.pl 5620 RMD160 876401b301857b17e0ced6e191316f1ff89afe19 SHA1 003c9b054c521972adfd1b48c244ad7470ddb12b SHA256 18c6098a66721a4f5c5b387c2ea312c21224c11ad6b2ddaec83f63049b1ab053 DIST pptp-1.7.1.tar.gz 229024 RMD160 f510262e8c06058d754d6d73d1b289fcdbc54dc7 SHA1 cc2e4f40c5e3316bede41ec0a092a32025682851 SHA256 8e3fa9f17c22818eae68419f66966865423206d736eb74d212a3501f62423276 +DIST pptp-1.7.2.tar.gz 81113 RMD160 fff47ef2c3546b06c69c27db01beebed7e6cda4b SHA1 1007eb1d4d21629fab390903e8b394d6157b4983 SHA256 e98ae0065d2a39fa3131654ff28cb7070e996f668ed6d0e7d9a445b8d37694bc DIST pptp-command-20050401.gz 7662 RMD160 1c02ad63aa90419bbe2151476d1463d7a26d6215 SHA1 546c437896ba00fe2b66b924671de884986de5d8 SHA256 49cfb115491b476a364ddc03f8c1b27f7ba19b6a231eabc11e823e3f32c5987d EBUILD pptpclient-1.7.1-r1.ebuild 1284 RMD160 006e1c5f30af48342b6831c7b9967c23e350de7e SHA1 29115bcbdbee75c07979c1e3332ad0017bab7232 SHA256 26e15729bc05a898855ad3fb841883d93e0ec1815cc31df2e75761e7d43b0005 -MISC ChangeLog 7014 RMD160 ca4bb1dd87a4980a0fba8a3f9ed2deea77479a6c SHA1 5bdced1b976fdf6bed789b6f9af4c8866a700bf3 SHA256 d5e248706456eca897ba174a912191ff688ca59fb4210b8efff37bd8f5543c99 +EBUILD pptpclient-1.7.2.ebuild 1284 RMD160 aa0b1f1176f93b4d5bec7373c424ff75455043a9 SHA1 4807e25990cada6a595bdf38a09851d05f02a075 SHA256 37c4116851153fffbf9e4634d784947d4d8e5112b4f51fbdbddeaada878961e3 +MISC ChangeLog 7194 RMD160 e8b5b29755d2470c8af24547d5afd0f016f64a1d SHA1 4359ef4af19a4a30e822167da687b5f56c8f96fe SHA256 f732250e6199a2815f9d77b27cddb5ec7912e9731b68ada4bdc8a653e7278a8a MISC metadata.xml 295 RMD160 db055ffb19549883c4f07256f391e498f0ed504d SHA1 c1601c40929a9fd88e233a2773f0efa7b672114e SHA256 86aeda200c41eff29b264a66ce96f3a68f1e1e5a142ffdccf2bb1cd46ac5f5be +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.11 (GNU/Linux) + +iEYEARECAAYFAko8pVAACgkQts85UDFmaOUaVgCfSLnN8kV1gnknwYwbpPd2uQrs +fMwAmQGUYKRpiDw3DOE/lyOzSamghonr +=Awe8 +-----END PGP SIGNATURE----- diff --git a/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch b/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch new file mode 100644 index 000000000000..b0051f81bde0 --- /dev/null +++ b/net-dialup/pptpclient/files/pptpclient-1.7.2-process-name.patch @@ -0,0 +1,42 @@ +diff -Nru pptp-1.7.2.orig/pptp.c pptp-1.7.2/pptp.c +--- pptp-1.7.2.orig/pptp.c 2008-05-14 08:33:55.000000000 +0200 ++++ pptp-1.7.2/pptp.c 2009-06-20 10:53:07.000000000 +0200 +@@ -59,11 +59,7 @@ + #include "pptp_callmgr.h" + #include "pptp_gre.h" + #include "version.h" +-#if defined(__linux__) +-#include <sys/prctl.h> +-#else + #include "inststr.h" +-#endif + #include "util.h" + #include "pptp_quirks.h" + #include "pqueue.h" +@@ -394,12 +390,7 @@ + char *tty_name = ttyname(tty_fd); + snprintf(buf, sizeof(buf), "pptp: GRE-to-PPP gateway on %s", + tty_name ? tty_name : "(null)"); +-#ifdef PR_SET_NAME +- rc = prctl(PR_SET_NAME, "pptpgw", 0, 0, 0); +- if (rc != 0) perror("prctl"); +-#else + inststr(argc, argv, envp, buf); +-#endif + if (sigsetjmp(env, 1)!= 0) goto shutdown; + + signal(SIGINT, sighandler); +@@ -495,13 +486,7 @@ + char *my_argv[3] = { argv[0], inet_ntoa(inetaddr), phonenr }; + char buf[128]; + snprintf(buf, sizeof(buf), "pptp: call manager for %s", my_argv[1]); +-#ifdef PR_SET_NAME +- int rc; +- rc = prctl(PR_SET_NAME, "pptpcm", 0, 0, 0); +- if (rc != 0) perror("prctl"); +-#else + inststr(argc, argv, envp, buf); +-#endif + exit(callmgr_main(3, my_argv, envp)); + } + diff --git a/net-dialup/pptpclient/pptpclient-1.7.2.ebuild b/net-dialup/pptpclient/pptpclient-1.7.2.ebuild new file mode 100644 index 000000000000..a53ad4d3fcd6 --- /dev/null +++ b/net-dialup/pptpclient/pptpclient-1.7.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/pptpclient/pptpclient-1.7.2.ebuild,v 1.1 2009/06/20 09:00:49 mrness Exp $ + +EAPI="2" + +inherit eutils + +MY_P=${P/client} +MY_CMD=pptp-command-20050401 + +DESCRIPTION="Linux client for PPTP" +HOMEPAGE="http://pptpclient.sourceforge.net/" +SRC_URI="mirror://sourceforge/pptpclient/${MY_P}.tar.gz + mirror://gentoo/${MY_CMD}.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86" +IUSE="tk" + +DEPEND=">=net-dialup/ppp-2.4.2 + dev-lang/perl + tk? ( dev-perl/perl-tk )" +RDEPEND="${DEPEND}" + +RESTRICT="test" #make test is useless and vector_test.c is broken + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-process-name.patch +} + +src_compile() { + emake OPTIMISE= DEBUG= CFLAGS="${CFLAGS}" || die "make failed" +} + +src_install() { + dosbin pptp + dodoc AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING + dodoc Documentation/* + dodir /etc/pptp.d + + # The current version of pptp-linux doesn't include the + # RH-specific portions, so include them ourselves. + insinto /etc/ppp + doins options.pptp + newsbin "${WORKDIR}/${MY_CMD}" pptp-command + dosbin "${FILESDIR}/pptp_fe.pl" + use tk && dosbin "${FILESDIR}/xpptp_fe.pl" +} |