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 \