ngircd: remove ssl option and enable it by default.

This commit is contained in:
Juan RP 2014-08-04 13:10:13 +02:00
parent 2f708b2a04
commit 1c18d55e8e
1 changed files with 3 additions and 15 deletions

View File

@ -1,11 +1,11 @@
# Template build file for 'ngircd'
pkgname=ngircd
version=21.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--enable-ipv6 --without-ident"
configure_args="--enable-ipv6 --with-openssl --without-ident"
hostmakedepends="pkg-config"
makedepends="zlib-devel"
makedepends="zlib-devel libressl-devel"
conf_files="/etc/ngircd.conf"
homepage="http://ngircd.barton.de/"
short_desc="Free, portable and lightweight Internet Relay Chat server"
@ -14,18 +14,6 @@ license="GPL-2"
distfiles="http://ngircd.barton.de/pub/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=b5b04f559bb533efc6821f2e62d83af8d196f7aa29a3710ff1e898d4e3c28a6f
# Package build options
build_options="ssl"
# Enable ssl by default.
build_options_default="ssl"
if [ "$build_option_ssl" ]; then
configure_args+=" --with-openssl"
makedepends+=" libressl-devel"
else
configure_args+=" --without-openssl"
fi
post_configure() {
echo "#define HAVE_WORKING_GETADDRINFO 1" >>src/config.h
}