mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-admin/authbind: drop 2.1.2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST authbind_2.1.2.tar.gz 15279 BLAKE2B 5f9a31c9f51c307e9ad85bf14b436e1780d0c7dc5655ad3882e9596927862be0684d0a4a43c7d2e98a0d6a0d4c2552aaaf954ce32d3e9202bf5593ce501b5962 SHA512 85020af9703f8f39194a7719c50a51d75344db9ea99ecbc83c3c6bff0852ab1ea1cbd0b9bff6a2345e08a7bef9732e36890f33af08929e36dae8215dd070cc4d
|
||||
DIST authbind_2.1.3.tar.gz 15215 BLAKE2B c74b7caf27b6a26cf924084fe79dff1ccf429d2a0e9773690407b5f40b07589841b857fe8fda50c1251825fbabf9054c54ab79dea38026bbae770a47a774610b SHA512 357c8f5c5ad446e75a597d5bc5bb5af7db17de771643a39976b5ac1425f03bf44f322c8dd07b0e1b04a0bf78d5000841b4866e0d0945584689e99291156dfac1
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Bind sockets to privileged ports without root"
|
||||
HOMEPAGE="https://www.chiark.greenend.org.uk/ucgi/~ian/git/authbind.git/"
|
||||
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="app-alternatives/awk"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.1.2-respect-flags.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC LD
|
||||
|
||||
sed -i \
|
||||
-e "s|^prefix=.*|prefix=/usr|" \
|
||||
-e "s|^lib_dir=.*|lib_dir=\$(prefix)/$(get_libdir)|" \
|
||||
-e "s|^libexec_dir=.*|libexec_dir=\$(prefix)/libexec/authbind|" \
|
||||
-e "s|^SHARED_LDFLAGS=.*|SHARED_LDFLAGS=$(raw-ldflags)|" \
|
||||
Makefile || die "sed failed"
|
||||
|
||||
sed -i \
|
||||
-e 's|/usr/lib|/usr/libexec|' \
|
||||
authbind-helper.8 || die "sed failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin authbind
|
||||
doman authbind.1 authbind-helper.8
|
||||
|
||||
local major=$(awk -F= '/MAJOR=/ { print $2 }' Makefile || die)
|
||||
ln -s libauthbind.so.* libauthbind.so.${major} || die
|
||||
dolib.so libauthbind.so*
|
||||
|
||||
exeinto /usr/libexec/authbind
|
||||
exeopts -m4755
|
||||
doexe helper
|
||||
|
||||
keepdir /etc/authbind/by{addr,port,uid}
|
||||
|
||||
dodoc debian/changelog
|
||||
}
|
||||
Reference in New Issue
Block a user