commit:     9902edaf0aa463853da3382de7990fbea30544a3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 12:59:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 13:00:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9902edaf

net-vpn/httptunnel: add 3.3_p20230508

* Take a new snapshot from git for various bug fixes.
* Build w/ -std=gnu17 given upstream bug for C99 hasn't received love, so
  let's not worry about C23.

Closes: https://bugs.gentoo.org/943924
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-vpn/httptunnel/Manifest                        |  1 +
 net-vpn/httptunnel/httptunnel-3.3_p20230508.ebuild | 34 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/net-vpn/httptunnel/Manifest b/net-vpn/httptunnel/Manifest
index fbdf7c5cf3c3..5ceef63730c1 100644
--- a/net-vpn/httptunnel/Manifest
+++ b/net-vpn/httptunnel/Manifest
@@ -1 +1,2 @@
 DIST httptunnel-3.3_p20180119.tar.gz 376338 BLAKE2B 
6625a0ef0bef7afad4ca9b5791abe51d72553877c31dfcb4e4d0bfd6d0e3bf3a0a9f7c529db6a9f9c60726e7e79284959ed8a8bf64e1165e40265341f39cbaf6
 SHA512 
593efe9ebdc3c41338306e5038cacd63ec171d228ebf13ba52949c353b1d45666bc836ce34102735a383b6cc91f2df1c01e87c2ab1cf5e650fe5fe7fcc658de0
+DIST httptunnel-3.3_p20230508.tar.gz 376345 BLAKE2B 
fc7cd76be346b5e289d7ce21348d87304ee08a11afbcae53f84afef19ea2dfcf88256f3afbcba242acb01f12a9adc08e6679b6c96f2ebe9051fbac6fe4a1d227
 SHA512 
77383fc2926d1579a3efdde476b8057373b544f3ace4a5a855692fd8b313d192e98e8d003b5165bba0559f114b0c1fa6ab5345b2bb6206e95cc3eee3c3dacda3

diff --git a/net-vpn/httptunnel/httptunnel-3.3_p20230508.ebuild 
b/net-vpn/httptunnel/httptunnel-3.3_p20230508.ebuild
new file mode 100644
index 000000000000..8b6641df7ef3
--- /dev/null
+++ b/net-vpn/httptunnel/httptunnel-3.3_p20230508.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic toolchain-funcs
+
+COMMIT="d8f91af976c97a6006a5bd1ad7149380c39ba454"
+DESCRIPTION="httptunnel can create IP tunnels through firewalls/proxies using 
HTTP"
+HOMEPAGE="https://github.com/larsbrinkhoff/httptunnel";
+SRC_URI="https://github.com/larsbrinkhoff/httptunnel/archive/${COMMIT}.tar.gz 
-> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-3.3_p20180119-respect-AR.patch"
+)
+
+src_prepare() {
+       default
+
+       tc-export AR RANLIB
+       eautoreconf
+}
+
+src_configure() {
+       # bug #943924
+       append-cflags -std=gnu17
+
+       default
+}

Reply via email to