public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Amy Liffey" <amynka@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sstp-client/, net-misc/sstp-client/files/
Date: Wed,  7 Feb 2018 21:21:16 +0000 (UTC)	[thread overview]
Message-ID: <1518038457.129c10cbe13035d2dda5face949e47a43b0bc116.amynka@gentoo> (raw)

commit:     129c10cbe13035d2dda5face949e47a43b0bc116
Author:     Amy Liffey <amynka <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  7 21:18:29 2018 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Wed Feb  7 21:20:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129c10cb

net-misc/sstp-client: version bump 1.0.11

Suggested-by: mjeveritt
Closes: https://github.com/gentoo/gentoo/pull/5618
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-misc/sstp-client/Manifest                      |  1 +
 .../files/sstp-client-1.0.11-fix-example.patch     | 16 +++++++
 .../sstp-client-1.0.11-remove-network-test.patch   | 11 +++++
 net-misc/sstp-client/sstp-client-1.0.11.ebuild     | 56 ++++++++++++++++++++++
 4 files changed, 84 insertions(+)

diff --git a/net-misc/sstp-client/Manifest b/net-misc/sstp-client/Manifest
index ea6208e5877..13f6d60ca4c 100644
--- a/net-misc/sstp-client/Manifest
+++ b/net-misc/sstp-client/Manifest
@@ -1 +1,2 @@
 DIST sstp-client-1.0.10.tar.gz 3012713 BLAKE2B 6b924c9fef4df26a9aa93dd5670cae4dbfe020f2c1bfc955f88f229414b5295864c25637bddf3b80d522dd514a4f3042522f9615fe660165b4417d6ea832e4bf SHA512 8f3e4b1b4d795015230b3a1b8aabf7d5fddd89be511bd6a59c22e5414520a392ba430f66f30aa2b982f084955e0085b0ea66d5acf5fd00414dc37c2c52a78cb7
+DIST sstp-client-1.0.11.tar.gz 3035707 BLAKE2B f534060bc47599a372b95b25400e7cb09911eb0216b11faa5bdcf0241d7c5caabd7df6065e58dff2b6b1f6c4e416499f58f92900da024d0ad0684aa3cc4d9abd SHA512 d22b03f1bc2d5215def6ce198d6e81b08a5cebc4db9de269bc2e66785845521f0606a96af5d9d257dcf78addafee8ad3d942de0075f47038fbfe0b5051002487

diff --git a/net-misc/sstp-client/files/sstp-client-1.0.11-fix-example.patch b/net-misc/sstp-client/files/sstp-client-1.0.11-fix-example.patch
new file mode 100644
index 00000000000..f2b81174fc1
--- /dev/null
+++ b/net-misc/sstp-client/files/sstp-client-1.0.11-fix-example.patch
@@ -0,0 +1,16 @@
+--- a/Makefile.am	2018-02-07 21:51:10.451717813 +0100
++++ b/Makefile.am	2018-02-07 21:54:43.811708840 +0100
+@@ -7,11 +7,11 @@
+           include           \
+           src
+ 
+-docdir         = $(datadir)/doc/@PACKAGE@
+ pkgconfigdir   = $(libdir)/pkgconfig
+ pkgconfig_DATA = sstp-client-1.0.pc
+ 
+-doc_DATA       = \
++examplesdir = $(docdir)/examples
++examples_DATA = \
+ 	sstp-test.example \
+ 	sstp-test-nopty.example
+ 

diff --git a/net-misc/sstp-client/files/sstp-client-1.0.11-remove-network-test.patch b/net-misc/sstp-client/files/sstp-client-1.0.11-remove-network-test.patch
new file mode 100644
index 00000000000..d6868f3e26b
--- /dev/null
+++ b/net-misc/sstp-client/files/sstp-client-1.0.11-remove-network-test.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am	2018-02-07 21:42:37.755739374 +0100
++++ b/src/Makefile.am	2018-02-07 21:45:28.855732178 +0100
+@@ -23,7 +23,7 @@
+     utest_fcs           \
+     utest_route
+ 
+-TESTS= $(check_PROGRAMS)
++TESTS= utest_task utest_cmac utest_chap utest_fcs
+ 
+ sstpc_SOURCES =         \
+     sstp-client.c       \

diff --git a/net-misc/sstp-client/sstp-client-1.0.11.ebuild b/net-misc/sstp-client/sstp-client-1.0.11.ebuild
new file mode 100644
index 00000000000..07ce4377c76
--- /dev/null
+++ b/net-misc/sstp-client/sstp-client-1.0.11.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools linux-info user
+
+DESCRIPTION="A client implementation of Secure Socket Tunneling Protocol (SSTP)"
+HOMEPAGE="http://sstp-client.sourceforge.net/"
+SRC_URI="mirror://sourceforge/sstp-client/${P}.tar.gz"
+
+LICENSE="GPL-2+-with-openssl-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="static"
+
+RDEPEND=">=dev-libs/libevent-2.0.10
+	dev-libs/openssl:0=
+	net-dialup/ppp:="
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
+
+CONFIG_CHECK="~NETFILTER_NETLINK"
+
+PATCHES=( "${FILESDIR}/${P}-remove-network-test.patch"
+	  "${FILESDIR}/${P}-fix-example.patch"
+)
+DOCS=( AUTHORS ChangeLog DEVELOPERS NEWS README TODO USING )
+
+pkg_setup() {
+	enewgroup sstpc
+	enewuser sstpc -1 -1 -1 sstpc
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	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
+	econf \
+		--enable-ppp-plugin \
+		--enable-group=sstpc \
+		--enable-user=sstpc \
+		--with-pppd-plugin-dir="/usr/$(get_libdir)/pppd/${PPPD_VER}" \
+		--with-runtime-dir="/run/sstpc" \
+		$(use_enable static)
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}


             reply	other threads:[~2018-02-07 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-07 21:21 Amy Liffey [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-17  7:58 [gentoo-commits] repo/gentoo:master commit in: net-misc/sstp-client/, net-misc/sstp-client/files/ Maxim Koltsov
2022-05-10 19:36 Sam James
2023-04-23 16:29 Mike Gilbert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518038457.129c10cbe13035d2dda5face949e47a43b0bc116.amynka@gentoo \
    --to=amynka@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox