Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dialup/pptpd/
Date: Thu, 28 Apr 2016 22:00:37
Message-Id: 1461880772.2a53d01b444833c16785e01d2e466a3c3ea01bd9.wizardedit@gentoo
1 commit: 2a53d01b444833c16785e01d2e466a3c3ea01bd9
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 21:49:32 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 28 21:59:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a53d01b
7
8 net-dialup/pptpd: remove pptpd-1.4.0
9
10 Package-Manager: portage-2.2.26
11
12 net-dialup/pptpd/pptpd-1.4.0.ebuild | 74 -------------------------------------
13 1 file changed, 74 deletions(-)
14
15 diff --git a/net-dialup/pptpd/pptpd-1.4.0.ebuild b/net-dialup/pptpd/pptpd-1.4.0.ebuild
16 deleted file mode 100644
17 index 86da593..0000000
18 --- a/net-dialup/pptpd/pptpd-1.4.0.ebuild
19 +++ /dev/null
20 @@ -1,74 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI="5"
26 -
27 -inherit autotools eutils flag-o-matic
28 -
29 -DESCRIPTION="Linux Point-to-Point Tunnelling Protocol Server"
30 -HOMEPAGE="http://poptop.sourceforge.net/"
31 -SRC_URI="mirror://sourceforge/poptop/${P}.tar.gz"
32 -
33 -SLOT="0"
34 -LICENSE="GPL-2"
35 -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86"
36 -IUSE="gre-extreme-debug tcpd"
37 -
38 -DEPEND="net-dialup/ppp:=
39 - tcpd? ( sys-apps/tcp-wrappers )"
40 -RDEPEND="${DEPEND}"
41 -
42 -DOCS=( AUTHORS ChangeLog NEWS README TODO )
43 -
44 -src_prepare() {
45 - epatch "${FILESDIR}/${P}-gentoo.patch"
46 - epatch "${FILESDIR}/${P}-sandbox-fix.patch"
47 -
48 - # Match pptpd-logwtmp.so's version with pppd's version (#89895)
49 - local PPPD_VER=`best_version net-dialup/ppp`
50 - PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR}
51 - PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision
52 - sed -i -e "s:\\(#define[ \\t]*VERSION[ \\t]*\\)\".*\":\\1\"${PPPD_VER}\":" plugins/patchlevel.h || die
53 -
54 - # Automake 1.13, compatibility, bug #469476
55 - sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.in || die 'sed on configure.ac failed'
56 -
57 - # remove 'missing' script to prevent warnings
58 - rm missing || die 'remove missing script failed'
59 -
60 - # respect compiler, bug #461722
61 - tc-export CC
62 -
63 - # Apply user patches
64 - epatch_user
65 -
66 - eautoreconf
67 -}
68 -
69 -src_configure() {
70 - use gre-extreme-debug && append-cppflags "-DLOG_DEBUG_GRE_ACCEPTING_PACKET"
71 - econf \
72 - --enable-bcrelay \
73 - $(use tcpd && echo "--with-libwrap")
74 -}
75 -
76 -src_compile() {
77 - emake COPTS="${CFLAGS}"
78 -}
79 -
80 -src_install () {
81 - default
82 -
83 - insinto /etc
84 - doins samples/pptpd.conf
85 -
86 - insinto /etc/ppp
87 - doins samples/options.pptpd
88 -
89 - newinitd "${FILESDIR}/pptpd-init-r2" pptpd
90 - newconfd "${FILESDIR}/pptpd-confd" pptpd
91 -
92 - dodoc README.*
93 - dodoc -r samples
94 -}