From 3279df74dabfb5d35fb179c28c15b9744ab30c59 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Mon, 14 Jan 2019 13:02:48 +0300 Subject: [PATCH] net-dialup/pptpclient: drop old Signed-off-by: Sergey Popov Package-Manager: Portage-2.3.49, Repoman-2.3.10 --- net-dialup/pptpclient/Manifest | 1 - .../files/pptpclient-1.8.0-process-name.patch | 39 -------------- net-dialup/pptpclient/pptpclient-1.8.0.ebuild | 52 ------------------- 3 files changed, 92 deletions(-) delete mode 100644 net-dialup/pptpclient/files/pptpclient-1.8.0-process-name.patch delete mode 100644 net-dialup/pptpclient/pptpclient-1.8.0.ebuild diff --git a/net-dialup/pptpclient/Manifest b/net-dialup/pptpclient/Manifest index d1186bad4915..90cb396e8ace 100644 --- a/net-dialup/pptpclient/Manifest +++ b/net-dialup/pptpclient/Manifest @@ -1,3 +1,2 @@ DIST pptp-1.10.0.tar.gz 87007 BLAKE2B aeb8bff0025c5144678db2ee79ecd80ec3c7261640ed94596a3599c163763cbf17b50c37591fd8b39d0687db5dff9b4c14d1aa303d95b9fcaf4eb53602cf321b SHA512 d2b925fb9cb5dbc4da576dce0cfae62f466576ae5b5ed7d6edeaec9be16ab6e0d17c307df43ebdc06138f1269ef61ba8910462a4629b6262c452e8287cabe41c -DIST pptp-1.8.0.tar.gz 86778 BLAKE2B 30cf3aadc3be97be83ac298ee366b5f44d7de669b083708194bd1d26c3b3f0d51e3d8b2484b6378f7c383c271732bc5be42c1674f3f71f19b979d4441e5b64a7 SHA512 cabcc2ef29d20859af923c6d96c524e83a80549839d1ad6fccaf9ec0ed5e7a5de7120e0694e6160b374952ea3ecb7b69d9809641000d6bf2585eeedb2d29c073 DIST pptp-command-20130515.bz2 7269 BLAKE2B dda3f517cf747e025dee1967841d40e58461384415161ef01bcc96c6568c5ccfb1af5254f26276164c43c41b668bf2646e5138985531d54f13ab2fedd410fab2 SHA512 3b0ad28c5f7bf4f674ba8742e8a3be50cb62521f767142a1a1e74263707bc860126b7238a4aea307366a71100a193d18f3ec7599f4c0c52cd259f8b1d6b429bf diff --git a/net-dialup/pptpclient/files/pptpclient-1.8.0-process-name.patch b/net-dialup/pptpclient/files/pptpclient-1.8.0-process-name.patch deleted file mode 100644 index 926574762499..000000000000 --- a/net-dialup/pptpclient/files/pptpclient-1.8.0-process-name.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- pptp.c.orig 2013-10-23 12:10:46.000000000 +0400 -+++ pptp.c 2013-11-26 13:05:43.259867888 +0400 -@@ -60,9 +60,6 @@ - #include "pptp_callmgr.h" - #include "pptp_gre.h" - #include "version.h" --#if defined(__linux__) --#include --#endif - #include "inststr.h" - #include "util.h" - #include "pptp_quirks.h" -@@ -413,12 +410,7 @@ - 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); -@@ -517,13 +509,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.8.0.ebuild b/net-dialup/pptpclient/pptpclient-1.8.0.ebuild deleted file mode 100644 index 47150a73c096..000000000000 --- a/net-dialup/pptpclient/pptpclient-1.8.0.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils toolchain-funcs - -MY_P="${P/client}" -MY_CMD="pptp-command-20130515" - -DESCRIPTION="Linux client for PPTP" -HOMEPAGE="http://pptpclient.sourceforge.net/" -SRC_URI="mirror://sourceforge/pptpclient/${MY_P}.tar.gz - https://dev.gentoo.org/~pinkbyte/distfiles/pptpclient/${MY_CMD}.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="alpha amd64 ~arm ~arm64 ppc ppc64 x86" -IUSE="tk" - -DEPEND="net-dialup/ppp - dev-lang/perl - tk? ( dev-perl/Tk )" -RDEPEND="${DEPEND} - sys-apps/iproute2" - -RESTRICT="test" #make test is useless and vector_test.c is broken - -S="${WORKDIR}/${MY_P}" - -DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING ) - -src_prepare() { - epatch "${FILESDIR}"/${P}-process-name.patch - epatch_user -} - -src_compile() { - emake OPTIMISE= DEBUG= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" -} - -src_install() { - default - dodoc Documentation/* - dodir /etc/pptp.d - - # The current version of pptp-linux doesn't include the - # RH-specific portions, so include them ourselves. - newsbin "${WORKDIR}/${MY_CMD}" pptp-command - dosbin "${FILESDIR}/pptp_fe.pl" - use tk && dosbin "${FILESDIR}/xpptp_fe.pl" -} -- 2.26.2