lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit d9de90c82a149c2d0453da63fd084c17f28b7148
parent 8a14478b21c8ed38b60a0fd362a92e5b159e5cfe
Author: Claudio Leite <leitec@staticky.com>
Date:   Fri,  3 Jul 2015 09:21:18 -0400

ngircd: update to release 22.1

Also enable IPv6 by default, depending on the OpenWrt
build config.

Signed-off-by: Claudio Leite <leitec@staticky.com>

Diffstat:
Mnet/ngircd/Makefile | 19++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/net/ngircd/Makefile b/net/ngircd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2012 OpenWrt.org +# Copyright (C) 2008-2015 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ngircd -PKG_VERSION:=18 +PKG_VERSION:=22.1 PKG_RELEASE:=1 PKG_MAINTAINER:=Claudio Leite <leitec@staticky.com> PKG_LICENSE:=GPL-2.0 @@ -18,7 +18,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:= \ http://ngircd.barton.de/pub/ngircd/ \ ftp://ftp.berlios.de/pub/ngircd/ -PKG_MD5SUM:=4958c8b2d128cf3e9888af3f782892a1 +PKG_MD5SUM:=586c4fef1fbb77dcbe723e9136ec08eb PKG_INSTALL:=1 @@ -71,6 +71,11 @@ define Package/ngircd-nossl/description This package is built without OpenSSL support. endef +ifeq ($(CONFIG_IPV6),y) + CONFIGURE_ARGS += \ + --enable-ipv6 +endif + ifeq ($(BUILD_VARIANT),ssl) CONFIGURE_ARGS += \ --with-openssl="$(STAGING_DIR)/usr" @@ -81,6 +86,14 @@ ifeq ($(BUILD_VARIANT),nossl) --without-openssl endif +# The test for HAVE_WORKING_GETADDRINFO fails +# when cross-compiling. +# +define Build/Configure + $(call Build/Configure/Default) + $(SED) 's/\/\* #undef HAVE_WORKING_GETADDRINFO \*\//#define HAVE_WORKING_GETADDRINFO 1/' $(PKG_BUILD_DIR)/src/config.h +endef + define Package/ngircd/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ngircd $(1)/usr/sbin/