From: Markham Date: Sun, 21 Jul 2019 16:51:38 +0000 (+0200) Subject: add libneon & davfs2 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=a6b3009131b50912b68b63d79b9b8a4526b7af63;p=bs-cst-neutrino-hd.git add libneon & davfs2 --- diff --git a/make/archives.mk b/make/archives.mk index c2cf623..de10489 100755 --- a/make/archives.mk +++ b/make/archives.mk @@ -121,6 +121,9 @@ $(ARCHIVE)/libvorbis-$(LIBVORBIS_VER).tar.xz: $(ARCHIVE)/ncurses-$(NCURSES_VER).tar.gz: $(WGET) http://ftp.gnu.org/pub/gnu/ncurses/ncurses-$(NCURSES_VER).tar.gz +$(ARCHIVE)/neon-$(NEON_VER).tar.gz: + $(WGET) https://fossies.org/linux/www/neon-$(NEON_VER).tar.gz + $(ARCHIVE)/libpcap-1.1.1.tar.gz: $(WGET) http://www.fhloston-paradise.de/libpcap-1.1.1.tar.gz diff --git a/make/extras.mk b/make/extras.mk index 8e0c429..9d33713 100644 --- a/make/extras.mk +++ b/make/extras.mk @@ -64,3 +64,50 @@ $(D)/dropbear: $(D)/zlib $(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2 | $(BUILD_T # $(REMOVE)/dropbear-$(DROPBEAR_VER) # $(TOUCH) +$(D)/libneon: $(D)/expat $(D)/openssl $(ARCHIVE)/neon-$(NEON_VER).tar.gz + #mkdir -p $(BUILD_TMP)/extras_neon + $(REMOVE)/neon-$(NEON_VER) + $(START_BUILD) + $(UNTAR)/neon-$(NEON_VER).tar.gz + #mkdir -p $(BUILD_TMP)/neon-$(NEON_VER); \ + #cp -fr $(ARCHIVE)/neon-$(NEON_VER)/* $(BUILD_TMP)/neon-$(NEON_VER); \ + pushd $(BUILD_TMP)/neon-$(NEON_VER); \ + $(PATCH)/libneon-openssl-deprecated.patch; \ + export CFLAGS="-I$(TARGETPREFIX)/include" \ + export LIBS="-L$(TARGETPREFIX)/lib" && \ + ./configure \ + --prefix= \ + --build=$(BUILD) \ + --host=$(TARGET) \ + --mandir=/.remove \ + --enable-shared \ + --disable-static \ + --with-ssl="openssl" && \ + $(MAKE) install DESTDIR=$(TARGETPREFIX) + sed -i "s,^prefix=.*,prefix='$(TARGETPREFIX)'," $(TARGETPREFIX)/bin/neon-config + $(REWRITE_LIBTOOL)/libneon.la + $(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/neon.pc +# $(REMOVE)/neon-$(NEON_VER) +# $(TOUCH) + +$(D)/davfs2: $(ARCHIVE)/davfs2-$(DAVFS2_VER).tar.gz + mkdir -p $(BUILD_TMP)/extras_webdav + $(REMOVE)/davfs2-$(DAVFS2_VER) + $(START_BUILD) + $(UNTAR)/davfs2-$(DAVFS2_VER).tar.gz + pushd $(BUILD_TMP)/davfs2-$(DAVFS2_VER); \ + $(PATCH)/davfs2-replace-have-iconv-h-with-have-iconv.patch; \ + ac_cv_func_malloc_0_nonnull=yes \ + LIBS="-liconv" \ + ./configure \ + --prefix= \ + --build=$(BUILD) \ + --host=$(TARGET) \ + --mandir=/.remove \ + --datadir=/.remove \ + --sysconfdir="/var/etc" \ + --with-neon=$(TARGETPREFIX) && \ + $(MAKE) && \ + $(MAKE) install DESTDIR=$(BUILD_TMP)/extras_webdav +# $(REMOVE)/neon-$(DAVFS2_VER) +# $(TOUCH) diff --git a/make/versions.mk b/make/versions.mk index 8372812..fa015cf 100644 --- a/make/versions.mk +++ b/make/versions.mk @@ -51,6 +51,9 @@ ifeq ($(BOXTYPE), coolstream) E2FSPROGS_VER = 1.42.13 endif + +DAVFS2_VER = 1.5.5 + # dosfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to create, check and label file systems of the FAT family. DOSFSTOOLS_VER = 4.1 @@ -178,6 +181,9 @@ MTD_UTILS_VER = 2.0.2 # ncurses; software for controlling writing to the console screen NCURSES_VER=6.1 +# NEON s an HTTP and WebDAV client library, with a C interface. +NEON_VER = 0.30.2 + # The NFS Utilities package contains the userspace server and client tools necessary to use the kernel's NFS abilities. NFS_UTILS_VER = 2.2.1