/[gentoo-x86]/net-misc/sstp-client/sstp-client-1.0.9.ebuild
Gentoo

Contents of /net-misc/sstp-client/sstp-client-1.0.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun May 3 09:21:39 2015 UTC (4 years, 8 months ago) by pinkbyte
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Revision bump: add epatch_user, add subslot for ppp dependency, set proper path for pppd plugin directory, wrt bug #522768. Add missing build-time dependency on virtual/pkgconfig. Drop old revision

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/sstp-client/sstp-client-1.0.9.ebuild,v 1.1 2013/03/09 20:35:49 maksbotan Exp $
4
5 EAPI=5
6
7 inherit eutils linux-info user
8
9 DESCRIPTION="A client implementation of Secure Socket Tunneling Protocol (SSTP)"
10 HOMEPAGE="http://sstp-client.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/sstp-client/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="static"
17
18 DEPEND=">=dev-libs/libevent-2.0.10
19 dev-libs/openssl:0
20 net-dialup/ppp"
21 RDEPEND="${DEPEND}"
22
23 CONFIG_CHECK="~NETFILTER_NETLINK"
24 DOCS=( AUTHORS ChangeLog DEVELOPERS INSTALL NEWS README TODO USING )
25
26 pkg_setup() {
27 enewgroup sstpc
28 enewuser sstpc -1 -1 -1 sstpc
29 }
30
31 src_prepare() {
32 # set proper examples dir, --docdir overriding is src_configure does not work
33 sed -i -e "/^docdir/s:@PACKAGE@:${PF}/examples:" Makefile.in || die 'sed on Makefile.in failed'
34 }
35
36 src_configure() {
37 econf \
38 --enable-ppp-plugin \
39 --enable-group=sstpc \
40 --enable-user=sstpc \
41 $(use_enable static)
42 }
43
44 src_install() {
45 default
46 prune_libtool_files --modules
47 }
48
49 pkg_postinst() {
50 ewarn "If sstp clients fails to work after net-dialup/ppp update,"
51 ewarn "please rebuild it before filing bugs."
52 }

  ViewVC Help
Powered by ViewVC 1.1.20