Bump ncpfs

This commit is contained in:
Mario Fetka
2026-04-29 13:28:50 +02:00
parent e6acacb85f
commit 7e87386a55
2 changed files with 106 additions and 0 deletions

View File

@@ -89,5 +89,7 @@ AUX ncpfs.pam_ncp_auth.syslog.patch 602 BLAKE2B 90df886933b6c12f9f2194d0a94da285
AUX nwnet.fixed.c 156996 BLAKE2B adec07313c197b65468c9981fd2a04fc0bd6e3dbaffe61b5ebb2dddc773ca8bc15b61a1cdd7879cc81a6fb0f311396e877137e2bd23ea45109709f583c23e2f2 SHA512 a23646fb20b7f29e15b52daf5af22a4f07ec53149d9538c68deec166de36048e4a5a967ea88a3d48876704d40160267d5452538c2c72ec5df3879c8fe92e57fc
AUX php_auth_nds.fixed.c 29651 BLAKE2B 6b0e6b56547d152c6e9cc327374d1b492c912bca85e87fca6b5e244d61cb09f71cb0e8dcaf0f9bb6d7224132842c3a2cfe4170c67d0035c0e0ddd5e80e7ec83f SHA512 78dbe6b636281ac6540cce996b8983fdd9d689781c984555eb09b95f479467326f82d8d164618f5a210a89c817ac8cbd13ca79afa1b11be3ea721703eceba62c
DIST ncpfs-2.2.6.tar.gz 2100545 BLAKE2B b95c8c0b097227c7b9e526e978efdca2234cdd0833468be99abaa68b0feba09794be26ebcb3a1c3371bc99f6c9d007eee164fa5f918aaee3eca44aeb1420211f SHA512 51f85eaae85deb66cea2ff434974699f6aa45ed1ed75217ef6176ac0b7d0f9f1c4fb186afc64c1b495474d5bad9ac7614033128c0bec39c05de723a9b29c8602
DIST ncpfs-2.2.7.tar.gz 2091192 BLAKE2B 66d503f0e647209c35c692a7c9ff39c691a38c6ae6f93187b3dd9631c1f3308490ebb4c211c896fb6e525137a5c1a726c9a37a8ea23efffe4c491f6bf5d3859b SHA512 f772c246a1755e3bb4997a970fc5fe95e410e8c117ccd2509061b7e8381866e941347b30bb43e41b34380a2963f637ecdedd1e50fe552f71e350c808c8237997
EBUILD ncpfs-2.2.6-r5.ebuild 2990 BLAKE2B 28d7aab7221744a7d012ca38bc3f337d07b6e9907f50100fe0eabb9c59893411462bc82a3b9dd336eb42d5f28a903783bbe96e27ab8b5bee9012cee9b74592d5 SHA512 c5da7db358d061ae97975ff8beacc3c27f240d2fd47cf4c88bb90b52ef0e2e3ff051252e4641bb16b11c10c337b9c3e2e6aeab7294b8ff8f95b9b7633dd38b9d
EBUILD ncpfs-2.2.6-r6.ebuild 5028 BLAKE2B fdeee2293399c71113f6303fda87e367f36c89e3ab85be5c2cc71d7c5ee3b8fe6bac2697453166e1aa1f8bd96225d207c0e26f761e46f3944ea9577be34822f0 SHA512 0d02725d006688b548b320a9e3ecf4237c4f62d2cfa9781895ec78949d4a3538de42f58aa8744ea626aa744529052bad41b836f3357560608ee75b05c4d43b6d
EBUILD ncpfs-2.2.7.ebuild 2206 BLAKE2B 7b454462c232525cb29393fae55d28daf1d86f6ca78fa7b5aeb71fed227b5fe02cf29877c55e66e9eff67ac0b8a3c4fd8c3b4626ebbb7048886a6383eb746f78 SHA512 6e052ea60996f90b087cc62b0270d495e3dafce4cc2ce126109e02fcd405e410fcaa8aac2213198eaca65e1d78b15663574bb9d315910f8d02634a83c890cce1

View File

@@ -0,0 +1,104 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_PHP="php8-2 php8-3 php8-4 php8-5"
PHP_EXT_NAME="auth_nds"
PHP_EXT_OPTIONAL_USE="php"
inherit flag-o-matic pam php-ext-source-r3
DESCRIPTION="Provides access to Netware services using the NCP protocol"
HOMEPAGE="https://ftp.disconnected-by-peer.at/ncpfs/"
# Temporary development release tarball.
SRC_URI="https://gitea.disconnected-by-peer.at/mars_nwe/ncpfs/releases/download/v${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~mips ~ppc ~ppc64 ~x86"
IUSE="nls pam php"
DEPEND="
nls? ( sys-devel/gettext )
pam? ( sys-libs/pam )
"
RDEPEND="
${DEPEND}
net-fs/ncpfs-modules
net-misc/ipx-utils
"
src_prepare() {
default
# Bug #273484.
sed -i '/ldconfig/d' lib/Makefile.in || die
# Old codebase; still needed for some remaining legacy declarations.
append-cflags -fcommon -Wincompatible-pointer-types
if use php; then
local slot
for slot in $(php_get_slots); do
local php_build_dir="${WORKDIR}/${slot}"
rm -rf "${php_build_dir}" || die
cp -a "${S}/contrib/php" "${php_build_dir}" || die
php_init_slot_env "${slot}"
php-ext-source-r3_phpize
done
fi
}
src_configure() {
econf \
--prefix="${EPREFIX}/usr" \
$(use_enable nls) \
$(use_enable pam pam "$(getpam_mod_dir)") \
--disable-php \
--disable-ipx-tools \
--enable-ipx
if use php; then
mkdir -p "${WORKDIR}/include" || die
cp "${S}/include/config.h" "${WORKDIR}/include/config.h" || die
php-ext-source-r3_src_configure
fi
}
src_compile() {
emake
if use php; then
php-ext-source-r3_src_compile
fi
}
src_install() {
cd "${S}" || die
dodir "$(getpam_mod_dir)" /usr/sbin
emake DESTDIR="${D}" install
emake DESTDIR="${D}" install-dev
if use php; then
(
php-ext-source-r3_src_install
)
fi
dodoc "${S}"/FAQ "${S}"/README
}
pkg_postinst() {
if use php; then
elog "The bundled PHP extension auth_nds was built and installed."
elog "It was built for the enabled PHP_TARGETS slots."
elog "Make sure your active PHP slot loads the matching extension directory."
fi
}