]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
add libneon & davfs2
authorMarkham <markham001@gmx.de>
Sun, 21 Jul 2019 16:51:38 +0000 (18:51 +0200)
committerMarkham <markham001@gmx.de>
Sun, 21 Jul 2019 16:51:38 +0000 (18:51 +0200)
make/archives.mk
make/extras.mk
make/versions.mk

index c2cf623942f803f41eaaeaf1c51886d514f5354f..de104898ae0e315fdb7b8fc9b4dec9deb215fa71 100755 (executable)
@@ -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
 
index 8e0c429bc52e6a2f1a4d26dc4c70b1b9e83ffe11..9d33713e8697358a5110954b79408b2ce01389d6 100644 (file)
@@ -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)
index 837281267009c85303f8a675ba085a1c57d1f33e..fa015cf1a1d8b5b56c25658d772d7fc6729476fa 100644 (file)
@@ -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