new package: ngircd (#7903)

This commit is contained in:
Yonle 2021-11-01 16:38:39 +07:00 committed by GitHub
parent 4a51e22db6
commit 518fed1f6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

17
packages/ngircd/build.sh Normal file
View File

@ -0,0 +1,17 @@
TERMUX_PKG_HOMEPAGE=https://ngircd.barton.de/
TERMUX_PKG_DESCRIPTION="Free, portable and lightweight Internet Relay Chat server"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@yonle <yonle@protonmail.com>"
TERMUX_PKG_VERSION=26.1
TERMUX_PKG_SRCURL="https://github.com/ngircd/ngircd/releases/download/rel-${TERMUX_PKG_VERSION}/ngircd-26.tar.xz"
TERMUX_PKG_SHA256=56dcc6483058699fcdd8e54f5010eecee09824b93bad7ed5f18818e550d855c6
TERMUX_PKG_DEPENDS="zlib, openssl"
# Termux does not use /sbin. Place the binary to $PATH/bin instead
# Also enable OpenSSL & IPv6 support
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--sbindir=$TERMUX_PREFIX/bin
--with-openssl
--enable-ipv6
"

View File

@ -0,0 +1,10 @@
--- ngircd-26/configure
+++ ngircd-26.mod/configure
@@ -6212,7 +6212,6 @@
for ac_func in \
alarm \
dup2 \
- endpwent \
gethostbyaddr \
gethostbyname \
gethostname \