commit:     d2550d893e8bbf58f4b0dba7a1056fd61c616940
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 07:07:14 2025 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 07:12:39 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2550d89

sys-apps/ucspi-proxy: update EAPI 7 -> 8

- Update EAPI 7 -> 8
- Remove unused IUSE
- Respect AR and RANLIB configuration

Closes: https://bugs.gentoo.org/725754
Closes: https://bugs.gentoo.org/732062
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 sys-apps/ucspi-proxy/ucspi-proxy-1.1-r1.ebuild | 41 ++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/sys-apps/ucspi-proxy/ucspi-proxy-1.1-r1.ebuild 
b/sys-apps/ucspi-proxy/ucspi-proxy-1.1-r1.ebuild
new file mode 100644
index 000000000000..71482a3a263e
--- /dev/null
+++ b/sys-apps/ucspi-proxy/ucspi-proxy-1.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Proxy program for two connections set up by a UCSPI server and a 
UCSPI client"
+HOMEPAGE="https://untroubled.org/ucspi-proxy/";
+SRC_URI="https://untroubled.org/ucspi-proxy/archive/${P}.tar.gz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=dev-libs/bglibs-2.04"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+       default
+
+       sed -i -e 's/\<ar\>/$(AR)/' -e 's/\<ranlib\>/$(RANLIB)/' \
+               Makefile || die # bugs #725754 #732062
+}
+
+src_configure() {
+       # bug #946204
+       append-cflags -std=gnu17
+
+       tc-export AR RANLIB
+
+       echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
+       echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
+       echo "${EPREFIX}/usr/bin" > conf-bin || die
+       echo "${EPREFIX}/usr/share/man" > conf-man || die
+}
+
+src_install() {
+       local -x install_prefix="${D}"
+       default
+}

Reply via email to