]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
vsftpd: update target; bump version 3.0.3
authorMarkham <markham001@gmx.de>
Sat, 23 Jan 2016 14:44:05 +0000 (15:44 +0100)
committerMarkham <markham001@gmx.de>
Sat, 23 Jan 2016 14:44:05 +0000 (15:44 +0100)
make/applications.mk
make/archives.mk
make/versions.mk

index 668396edeace0102d1bdccfb27293154c3f83ca6..88a76a75243df4b3e201b12c77cfd1b928a02641 100755 (executable)
@@ -109,59 +109,20 @@ $(D)/ntp: $(D)/openssl $(ARCHIVE)/ntp-$(NTP_VER).tar.gz | $(TARGETPREFIX)
        $(REMOVE)/ntp-$(NTP_VER)
        touch $@
 
-$(D)/vsftpd: $(ARCHIVE)/vsftpd-3.0.2.tar.gz | $(TARGETPREFIX)
-       if [ $(PLATFORM) = "nevis" ]; then \
-               $(MAKE) $(D)/vsftpd-nevis; \
-       elif [ $(PLATFORM) = "apollo" ]; then \
-               $(MAKE) $(D)/vsftpd-apollo; \
-       elif [ $(PLATFORM) = "kronos" ]; then \
-               $(MAKE) $(D)/vsftpd-kronos; \
-       else \
-               $(MAKE) $(D)/vsftpd-nevis; \
-       fi
-       touch $@
-
-$(D)/vsftpd-nevis: $(ARCHIVE)/vsftpd-3.0.2.tar.gz | $(TARGETPREFIX)
-       $(UNTAR)/vsftpd-3.0.2.tar.gz
-       pushd $(BUILD_TMP)/vsftpd-3.0.2 && \
-       mv $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp && \
-       sed -e 's/die("config file not owned by correct user, or not a file");/\/\/die("config file not owned by correct user, or not a file");/g' $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp > $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c && \
+$(D)/vsftpd: $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz | $(TARGETPREFIX)
+       $(UNTAR)/vsftpd-$(VSFTPD_VER).tar.gz
+       pushd $(BUILD_TMP)/vsftpd-$(VSFTPD_VER) && \
+       mv $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/parseconf.c $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/parseconf.tmp && \
+       sed -e 's/die("config file not owned by correct user, or not a file");/\/\/die("config file not owned by correct user, or not a file");/g' $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/parseconf.tmp > $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/parseconf.c && \
                cp $(PATCHES)/vsftpd-new.conf vsftpd.conf && \
                $(PATCH)/vsftpd-new.diff && \
-               TARGETPREFIX=$(TARGETPREFIX) $(MAKE) CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS)" LIBS="-lcrypt" && \
+               TARGETPREFIX=$(TARGETPREFIX) $(MAKE) CC=$(TARGET)-gcc CFLAGS="-pipe -O2 -g0 -I$(TARGETPREFIX)/include" LDFLAGS="$(LD_FLAGS) -Wl,-rpath-link,$(TARGETLIB)" && \
                mkdir -p $(TARGETPREFIX)/sbin && \
                install -m755 vsftpd $(TARGETPREFIX)/sbin/vsftpd && \
                install -m 644 vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf && \
                install -d $(TARGETPREFIX)/share/empty && \
-       $(REMOVE)/vsftpd-3.0.2
-
-$(D)/vsftpd-apollo: $(ARCHIVE)/vsftpd-3.0.2.tar.gz | $(TARGETPREFIX)
-       $(UNTAR)/vsftpd-3.0.2.tar.gz
-       pushd $(BUILD_TMP)/vsftpd-3.0.2 && \
-       mv $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp && \
-       sed -e 's/die("config file not owned by correct user, or not a file");/\/\/die("config file not owned by correct user, or not a file");/g' $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp > $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c && \
-               cp $(PATCHES)/vsftpd-new.conf vsftpd.conf && \
-               $(PATCH)/vsftpd-new.diff && \
-               TARGETPREFIX=$(TARGETPREFIX) $(MAKE) CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS) -fPIC" LIBS="-lcrypt" && \
-               mkdir -p $(TARGETPREFIX)/sbin && \
-               install -m755 vsftpd $(TARGETPREFIX)/sbin/vsftpd && \
-               install -m 644 vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf && \
-               install -d $(TARGETPREFIX)/share/empty && \
-       $(REMOVE)/vsftpd-3.0.2
-
-$(D)/vsftpd-kronos: $(ARCHIVE)/vsftpd-3.0.2.tar.gz | $(TARGETPREFIX)
-       $(UNTAR)/vsftpd-3.0.2.tar.gz
-       pushd $(BUILD_TMP)/vsftpd-3.0.2 && \
-       mv $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp && \
-       sed -e 's/die("config file not owned by correct user, or not a file");/\/\/die("config file not owned by correct user, or not a file");/g' $(BUILD_TMP)/vsftpd-3.0.2/parseconf.tmp > $(BUILD_TMP)/vsftpd-3.0.2/parseconf.c && \
-               cp $(PATCHES)/vsftpd-new.conf vsftpd.conf && \
-               $(PATCH)/vsftpd-new.diff && \
-               TARGETPREFIX=$(TARGETPREFIX) $(MAKE) CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS) -fPIC" LIBS="-lcrypt" && \
-               mkdir -p $(TARGETPREFIX)/sbin && \
-               install -m755 vsftpd $(TARGETPREFIX)/sbin/vsftpd && \
-               install -m 644 vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf && \
-               install -d $(TARGETPREFIX)/share/empty && \
-       $(REMOVE)/vsftpd-3.0.2
+       $(REMOVE)/vsftpd-$(VSFTPD_VER)
+       touch $@
 
 $(D)/rsync: $(ARCHIVE)/rsync-3.1.1pre1.tar.gz | $(TARGETPREFIX)
        $(UNTAR)/rsync-3.1.1pre1.tar.gz
index b3db2d08e0ba36c3608c0173d3b75a15b5e26767..ffbbc33c3fc3b04c7fc560d0c000efa313df656d 100755 (executable)
@@ -114,8 +114,8 @@ $(ARCHIVE)/alsa-lib-1.0.12.tar.gz:
 $(ARCHIVE)/alsa-utils-1.0.12.tar.gz:
        $(WGET) http://www.fhloston-paradise.de/alsa-utils-1.0.12.tar.gz
 
-$(ARCHIVE)/vsftpd-3.0.2.tar.gz:
-       $(WGET) http://www.fhloston-paradise.de/vsftpd-3.0.2.tar.gz
+$(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz:
+       $(WGET) https://security.appspot.com/downloads/vsftpd-$(VSFTPD_VER).tar.gz
 
 $(ARCHIVE)/util-linux-2.20.tar.bz2:
        $(WGET) http://www.fhloston-paradise.de/util-linux-2.20.tar.bz2
index b73b49b1e79336d087eaf26a5dd789433e2744eb..3b05340e339c825cf787f1f6e4a6a61209ed4ffc 100644 (file)
@@ -71,3 +71,6 @@ UNFS3_VER=0.9.22
 # ushare; uShare is a UPnP (TM) A/V Media Server.
 USHARE_VER = 1.1a
 
+# Very secure ftp-Server
+VSFTPD_VER = 3.0.3
+