From f805c97e557202f3d8f7df7d709029acfd7a47b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Fri, 8 Apr 2022 15:50:55 +0200 Subject: groups/241.native_packages_inet.group: whois: bump to v5.5.13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- groups/241.native_packages_inet.group | 4 +-- patches/whois-5.5.10.local.patch | 59 ----------------------------------- patches/whois-5.5.13.local.patch | 59 +++++++++++++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 61 deletions(-) delete mode 100644 patches/whois-5.5.10.local.patch create mode 100644 patches/whois-5.5.13.local.patch diff --git a/groups/241.native_packages_inet.group b/groups/241.native_packages_inet.group index 45e87c29..ab615c11 100644 --- a/groups/241.native_packages_inet.group +++ b/groups/241.native_packages_inet.group @@ -256,8 +256,8 @@ mutt_cv_regex_broken=no"}; : ${PKG_WGET2_VERSION:=2.0.0}; : ${PKG_WGET2_URL:=https://ftp.gnu.org/gnu/wget/wget2-${PKG_WGET2_VERSION}.tar.gz}; : ${PKG_WHOIS_DEPENDS:="libidn2"}; -: ${PKG_WHOIS_SHA256SUM:=982c755210b3ff3048fb196456147844c04ad8f47646e0622117f8ce11391e81}; -: ${PKG_WHOIS_VERSION:=5.5.10}; +: ${PKG_WHOIS_SHA256SUM:=a96cf60722e5c3962f8abef36184a101011447d3fe5fa053ea97f593826568fb}; +: ${PKG_WHOIS_VERSION:=5.5.13}; : ${PKG_WHOIS_URL:=https://github.com/rfc1036/whois/archive/v${PKG_WHOIS_VERSION}.tar.gz}; : ${PKG_WHOIS_IN_TREE:=1}; : ${PKG_WHOIS_CFLAGS_BUILD:=${NATIVE_PACKAGES_CFLAGS_CONFIGURE}}; diff --git a/patches/whois-5.5.10.local.patch b/patches/whois-5.5.10.local.patch deleted file mode 100644 index 432f7fac..00000000 --- a/patches/whois-5.5.10.local.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- whois-5.5.7/Makefile.orig 2020-10-03 16:43:15.000000000 +0100 -+++ whois-5.5.7/Makefile 2021-01-23 07:55:24.889153830 +0000 -@@ -42,12 +42,12 @@ - $(error Please fix your build system to stop defining HAVE_LIBIDN!) - endif - --ifeq ($(shell $(PKG_CONFIG) --exists 'libidn2 >= 2.0.3' || echo NO),) --whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn2) --DEFS += -DHAVE_LIBIDN2 $(shell $(PKG_CONFIG) --cflags libidn2) --else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),) --whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn) --DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn) -+ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),) -+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn2) -+DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags libidn2) -+else ifeq ($(shell ${PKG_CONFIG} --exists 'libidn' || echo NO),) -+whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn) -+DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags libidn) - endif - - ifdef HAVE_ICONV -@@ -72,7 +72,7 @@ - CPPFLAGS += $(DEFS) $(INCLUDES) - - ############################################################################## --all: Makefile.depend whois mkpasswd pos -+all: Makefile.depend whois mkpasswd - - ############################################################################## - %.o: %.c -@@ -121,7 +121,7 @@ - nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois - - ############################################################################## --install: install-whois install-mkpasswd install-pos -+install: install-whois install-mkpasswd - - install-whois: whois - $(INSTALL) -d $(BASEDIR)$(prefix)/bin/ -@@ -137,9 +137,6 @@ - $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/ - $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/ - --install-pos: -- cd po && $(MAKE) install -- - distclean: clean - rm -f po/whois.pot - -@@ -148,9 +145,6 @@ - new_gtlds.h tld_serv.h servers_charset.h *.o whois mkpasswd - rm -f po/*.mo - --pos: -- cd po && $(MAKE) -- - depend: Makefile.depend - Makefile.depend: - $(CC) $(CPPFLAGS) $(CFLAGS) -MM -MG *.c > $@ diff --git a/patches/whois-5.5.13.local.patch b/patches/whois-5.5.13.local.patch new file mode 100644 index 00000000..432f7fac --- /dev/null +++ b/patches/whois-5.5.13.local.patch @@ -0,0 +1,59 @@ +--- whois-5.5.7/Makefile.orig 2020-10-03 16:43:15.000000000 +0100 ++++ whois-5.5.7/Makefile 2021-01-23 07:55:24.889153830 +0000 +@@ -42,12 +42,12 @@ + $(error Please fix your build system to stop defining HAVE_LIBIDN!) + endif + +-ifeq ($(shell $(PKG_CONFIG) --exists 'libidn2 >= 2.0.3' || echo NO),) +-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn2) +-DEFS += -DHAVE_LIBIDN2 $(shell $(PKG_CONFIG) --cflags libidn2) +-else ifeq ($(shell $(PKG_CONFIG) --exists 'libidn' || echo NO),) +-whois_LDADD += $(shell $(PKG_CONFIG) --libs libidn) +-DEFS += -DHAVE_LIBIDN $(shell $(PKG_CONFIG) --cflags libidn) ++ifeq ($(shell ${PKG_CONFIG} --exists 'libidn2 >= 2.0.3' || echo NO),) ++whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn2) ++DEFS += -DHAVE_LIBIDN2 $(shell ${PKG_CONFIG} --cflags libidn2) ++else ifeq ($(shell ${PKG_CONFIG} --exists 'libidn' || echo NO),) ++whois_LDADD += $(shell ${PKG_CONFIG} --libs libidn) ++DEFS += -DHAVE_LIBIDN $(shell ${PKG_CONFIG} --cflags libidn) + endif + + ifdef HAVE_ICONV +@@ -72,7 +72,7 @@ + CPPFLAGS += $(DEFS) $(INCLUDES) + + ############################################################################## +-all: Makefile.depend whois mkpasswd pos ++all: Makefile.depend whois mkpasswd + + ############################################################################## + %.o: %.c +@@ -121,7 +121,7 @@ + nice afl-fuzz -i ../afl_in -o ../afl_out -- ./whois + + ############################################################################## +-install: install-whois install-mkpasswd install-pos ++install: install-whois install-mkpasswd + + install-whois: whois + $(INSTALL) -d $(BASEDIR)$(prefix)/bin/ +@@ -137,9 +137,6 @@ + $(INSTALL) -m 0755 mkpasswd $(BASEDIR)$(prefix)/bin/ + $(INSTALL) -m 0644 mkpasswd.1 $(BASEDIR)$(prefix)/share/man/man1/ + +-install-pos: +- cd po && $(MAKE) install +- + distclean: clean + rm -f po/whois.pot + +@@ -148,9 +145,6 @@ + new_gtlds.h tld_serv.h servers_charset.h *.o whois mkpasswd + rm -f po/*.mo + +-pos: +- cd po && $(MAKE) +- + depend: Makefile.depend + Makefile.depend: + $(CC) $(CPPFLAGS) $(CFLAGS) -MM -MG *.c > $@ -- cgit v1.2.3