From 518fed1f6bc691c7b36f604df2b0e218e510b929 Mon Sep 17 00:00:00 2001 From: Yonle <63401712+Yonle@users.noreply.github.com> Date: Mon, 1 Nov 2021 16:38:39 +0700 Subject: [PATCH] new package: ngircd (#7903) --- packages/ngircd/build.sh | 17 +++++++++++++++++ packages/ngircd/configure.patch | 10 ++++++++++ 2 files changed, 27 insertions(+) create mode 100644 packages/ngircd/build.sh create mode 100644 packages/ngircd/configure.patch diff --git a/packages/ngircd/build.sh b/packages/ngircd/build.sh new file mode 100644 index 000000000..56fed3135 --- /dev/null +++ b/packages/ngircd/build.sh @@ -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 " +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 +" + diff --git a/packages/ngircd/configure.patch b/packages/ngircd/configure.patch new file mode 100644 index 000000000..8ef59bb39 --- /dev/null +++ b/packages/ngircd/configure.patch @@ -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 \