Browse Source

- unify usage of variables; some cleanup

master
gixxpunk 8 years ago
parent
commit
deeae1385d
  1. 1012
      archive-configs/busybox-1.20.config
  2. 0
      archive-patches/fbshot-32bit_cs_fb.diff
  3. 0
      archive-patches/ushare.diff
  4. 72
      make/archives.mk
  5. 10
      make/bootstrap.mk
  6. 14
      make/system-libs.mk
  7. 83
      make/system-tools-extra.mk
  8. 85
      make/system-tools.mk

1012
archive-configs/busybox-1.20.config

File diff suppressed because it is too large

0
archive-patches/fbshot-0.3-32bit_cs_fb.diff → archive-patches/fbshot-32bit_cs_fb.diff

0
archive-patches/ushare1.1a.diff → archive-patches/ushare.diff

72
make/archives.mk

@ -24,7 +24,6 @@ LIBROXML_VER=2.3.0
$(ARCHIVE)/libroxml-$(LIBROXML_VER).tar.gz: $(ARCHIVE)/libroxml-$(LIBROXML_VER).tar.gz:
$(WGET) http://download.libroxml.net/pool/v2.x/libroxml-$(LIBROXML_VER).tar.gz $(WGET) http://download.libroxml.net/pool/v2.x/libroxml-$(LIBROXML_VER).tar.gz
# atm only used for xmllint
LIBXML2_VER=2.9.4 LIBXML2_VER=2.9.4
$(ARCHIVE)/libxml2-$(LIBXML2_VER).tar.gz: $(ARCHIVE)/libxml2-$(LIBXML2_VER).tar.gz:
$(WGET) ftp://xmlsoft.org/libxml2/libxml2-$(LIBXML2_VER).tar.gz $(WGET) ftp://xmlsoft.org/libxml2/libxml2-$(LIBXML2_VER).tar.gz
@ -52,14 +51,17 @@ IPERF_VER=3.1.3
$(ARCHIVE)/iperf-$(IPERF_VER)-source.tar.gz: $(ARCHIVE)/iperf-$(IPERF_VER)-source.tar.gz:
$(WGET) https://iperf.fr/download/source/iperf-$(IPERF_VER)-source.tar.gz $(WGET) https://iperf.fr/download/source/iperf-$(IPERF_VER)-source.tar.gz
$(ARCHIVE)/hd-idle-1.04.tgz: HDIDLE_VER=1.04
$(WGET) http://downloads.sourceforge.net/project/hd-idle/hd-idle-1.04.tgz $(ARCHIVE)/hd-idle-$(HDIDLE_VER).tgz:
$(WGET) http://downloads.sourceforge.net/project/hd-idle/hd-idle-$(HDIDLE_VER).tgz
$(ARCHIVE)/ntp-4.2.8.tar.gz: NTP_VER=4.2.8
$(WGET) http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8.tar.gz $(ARCHIVE)/ntp-$(NTP_VER).tar.gz:
$(WGET) http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-$(NTP_VER).tar.gz
$(ARCHIVE)/ushare-1.1a.tar.bz2: USHARE_VER=1.1a
$(WGET) http://ushare.geexbox.org/releases/ushare-1.1a.tar.bz2 $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2:
$(WGET) http://ushare.geexbox.org/releases/ushare-$(USHARE_VER).tar.bz2
HDPARM_VER=9.50 HDPARM_VER=9.50
$(ARCHIVE)/hdparm-$(HDPARM_VER).tar.gz: $(ARCHIVE)/hdparm-$(HDPARM_VER).tar.gz:
@ -69,15 +71,17 @@ LIBUPNP_VER=1.6.21
$(ARCHIVE)/libupnp-$(LIBUPNP_VER).tar.bz2: $(ARCHIVE)/libupnp-$(LIBUPNP_VER).tar.bz2:
$(WGET) http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%20$(LIBUPNP_VER)/libupnp-$(LIBUPNP_VER).tar.bz2 $(WGET) http://sourceforge.net/projects/pupnp/files/pupnp/libUPnP%20$(LIBUPNP_VER)/libupnp-$(LIBUPNP_VER).tar.bz2
$(ARCHIVE)/wpa_supplicant-0.7.3.tar.gz: WPA_SUPP_VER=0.7.3
$(WGET) http://hostap.epitest.fi/releases/wpa_supplicant-0.7.3.tar.gz $(ARCHIVE)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz:
$(WGET) http://hostap.epitest.fi/releases/wpa_supplicant-$(WPA_SUPP_VER).tar.gz
LIBGD_VER=2.2.4 LIBGD_VER=2.2.4
$(ARCHIVE)/libgd-$(LIBGD_VER).tar.xz: $(ARCHIVE)/libgd-$(LIBGD_VER).tar.xz:
$(WGET) https://github.com/libgd/libgd/releases/download/gd-$(LIBGD_VER)/libgd-$(LIBGD_VER).tar.xz $(WGET) https://github.com/libgd/libgd/releases/download/gd-$(LIBGD_VER)/libgd-$(LIBGD_VER).tar.xz
$(ARCHIVE)/djmount-0.71.tar.gz: DJMOUNT_VER=0.71
$(WGET) http://sourceforge.net/projects/djmount/files/djmount/0.71/djmount-0.71.tar.gz $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz:
$(WGET) http://sourceforge.net/projects/djmount/files/djmount/$(DJMOUNT_VER)/djmount-$(DJMOUNT_VER).tar.gz
FUSE_VER=2.9.7 FUSE_VER=2.9.7
$(ARCHIVE)/fuse-$(FUSE_VER).tar.gz: $(ARCHIVE)/fuse-$(FUSE_VER).tar.gz:
@ -109,16 +113,19 @@ SG3-UTILS_VER=1.42
$(ARCHIVE)/sg3_utils-$(SG3-UTILS_VER).tar.xz: $(ARCHIVE)/sg3_utils-$(SG3-UTILS_VER).tar.xz:
$(WGET) http://sg.danny.cz/sg/p/sg3_utils-$(SG3-UTILS_VER).tar.xz $(WGET) http://sg.danny.cz/sg/p/sg3_utils-$(SG3-UTILS_VER).tar.xz
$(ARCHIVE)/libusb-compat-0.1.5.tar.bz2: LIBUSB_COMPAT_VER=0.1.5
$(WGET) http://downloads.sourceforge.net/project/libusb/libusb-compat-0.1/libusb-compat-0.1.5/libusb-compat-0.1.5.tar.bz2 LIBUSB_COMPAT_MAJ=0.1
$(ARCHIVE)/libusb-compat-$(LIBUSB_COMPAT_VER).tar.bz2:
$(WGET) http://downloads.sourceforge.net/project/libusb/libusb-compat-$(LIBUSB_COMPAT_MAJ)/libusb-compat-$(LIBUSB_COMPAT_VER)/libusb-compat-$(LIBUSB_COMPAT_VER).tar.bz2
LIBUSB_VER=1.0.21 LIBUSB_VER=1.0.21
LIBUSB_MAJ=1.0 LIBUSB_MAJ=1.0
$(ARCHIVE)/libusb-$(LIBUSB_VER).tar.bz2: $(ARCHIVE)/libusb-$(LIBUSB_VER).tar.bz2:
$(WGET) http://sourceforge.net/projects/libusb/files/libusb-$(LIBUSB_MAJ)/libusb-$(LIBUSB_VER)/libusb-$(LIBUSB_VER).tar.bz2 $(WGET) http://sourceforge.net/projects/libusb/files/libusb-$(LIBUSB_MAJ)/libusb-$(LIBUSB_VER)/libusb-$(LIBUSB_VER).tar.bz2
$(ARCHIVE)/vsftpd-3.0.3.tar.gz: VSFTPD_VER=3.0.3
$(WGET) https://security.appspot.com/downloads/vsftpd-3.0.3.tar.gz $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz:
$(WGET) https://security.appspot.com/downloads/vsftpd-$(VSFTPD_VER).tar.gz
AUTOFS5_MAJOR=5 AUTOFS5_MAJOR=5
AUTOFS5_MINOR=1 AUTOFS5_MINOR=1
@ -167,8 +174,9 @@ DROPBEAR_VER=2017.75
$(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2: $(ARCHIVE)/dropbear-$(DROPBEAR_VER).tar.bz2:
$(WGET) http://matt.ucc.asn.au/dropbear/releases/dropbear-$(DROPBEAR_VER).tar.bz2 $(WGET) http://matt.ucc.asn.au/dropbear/releases/dropbear-$(DROPBEAR_VER).tar.bz2
$(ARCHIVE)/fbshot-0.3.tar.gz: FBSHOT_VER=0.3
$(WGET) http://distro.ibiblio.org/amigolinux/download/Utils/fbshot/fbshot-0.3.tar.gz $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz:
$(WGET) http://distro.ibiblio.org/amigolinux/download/Utils/fbshot/fbshot-$(FBSHOT_VER).tar.gz
FREETYPE_VER=2.8 FREETYPE_VER=2.8
$(ARCHIVE)/freetype-$(FREETYPE_VER).tar.bz2: $(ARCHIVE)/freetype-$(FREETYPE_VER).tar.bz2:
@ -197,9 +205,6 @@ BUSYBOX_VER=$(BUSYBOX_MAJOR).$(BUSYBOX_MINOR).$(BUSYBOX_MICRO)
$(ARCHIVE)/busybox-$(BUSYBOX_VER).tar.bz2: $(ARCHIVE)/busybox-$(BUSYBOX_VER).tar.bz2:
$(WGET) http://busybox.net/downloads/busybox-$(BUSYBOX_VER).tar.bz2 $(WGET) http://busybox.net/downloads/busybox-$(BUSYBOX_VER).tar.bz2
$(ARCHIVE)/busybox-1.20.2.tar.bz2:
$(WGET) http://busybox.net/downloads/busybox-1.20.2.tar.bz2
SAMBA33_VER=3.3.16 SAMBA33_VER=3.3.16
$(ARCHIVE)/samba-$(SAMBA33_VER).tar.gz: $(ARCHIVE)/samba-$(SAMBA33_VER).tar.gz:
$(WGET) https://download.samba.org/pub/samba/samba-$(SAMBA33_VER).tar.gz $(WGET) https://download.samba.org/pub/samba/samba-$(SAMBA33_VER).tar.gz
@ -233,11 +238,13 @@ LZO_VER=2.10
$(ARCHIVE)/lzo-$(LZO_VER).tar.gz: $(ARCHIVE)/lzo-$(LZO_VER).tar.gz:
$(WGET) https://fossies.org/linux/misc/lzo-$(LZO_VER).tar.gz $(WGET) https://fossies.org/linux/misc/lzo-$(LZO_VER).tar.gz
$(ARCHIVE)/gnulib-20140202-stable.tar.gz: GNULIB_VER=20140202
$(WGET) http://erislabs.net/ianb/projects/gnulib/gnulib-20140202-stable.tar.gz $(ARCHIVE)/gnulib-$(GNULIB_VER)-stable.tar.gz:
$(WGET) http://erislabs.net/ianb/projects/gnulib/gnulib-$(GNULIB_VER)-stable.tar.gz
$(ARCHIVE)/v6.tar.gz: SLINGSHOT_VER=6
$(WGET) https://github.com/gvvaughan/slingshot/archive/v6.tar.gz $(ARCHIVE)/v$(SLINGSHOT_VER).tar.gz:
$(WGET) https://github.com/gvvaughan/slingshot/archive/v$(SLINGSHOT_VER).tar.gz
LIBSIGCPP_MAJOR=2 LIBSIGCPP_MAJOR=2
LIBSIGCPP_MINOR=4 LIBSIGCPP_MINOR=4
@ -287,8 +294,9 @@ LIBAACS_VER=0.8.1
$(ARCHIVE)/libaacs-$(LIBAACS_VER).tar.bz2: $(ARCHIVE)/libaacs-$(LIBAACS_VER).tar.bz2:
$(WGET) ftp://ftp.videolan.org/pub/videolan/libaacs/$(LIBAACS_VER)/libaacs-$(LIBAACS_VER).tar.bz2 $(WGET) ftp://ftp.videolan.org/pub/videolan/libaacs/$(LIBAACS_VER)/libaacs-$(LIBAACS_VER).tar.bz2
$(ARCHIVE)/bc-1.06.tar.gz: BC_VER=1.06
$(WGET) ftp://ftp.gnu.org/gnu/bc/bc-1.06.tar.gz $(ARCHIVE)/bc-$(BC_VER).tar.gz:
$(WGET) ftp://ftp.gnu.org/gnu/bc/bc-$(BC_VER).tar.gz
BASH_MAJOR=4 BASH_MAJOR=4
BASH_MINOR=4 BASH_MINOR=4
@ -308,11 +316,14 @@ CORTEX-STRINGS_VER=48fd30c346ff2ab14ca574b770b5c1bcbefadba8
$(ARCHIVE)/cortex-strings-$(CORTEX-STRINGS_VER).tar.bz2: $(ARCHIVE)/cortex-strings-$(CORTEX-STRINGS_VER).tar.bz2:
get-git-archive.sh http://git.linaro.org/git-ro/toolchain/cortex-strings.git $(CORTEX-STRINGS_VER) $(notdir $@) $(ARCHIVE) get-git-archive.sh http://git.linaro.org/git-ro/toolchain/cortex-strings.git $(CORTEX-STRINGS_VER) $(notdir $@) $(ARCHIVE)
$(ARCHIVE)/u-boot-2015.01.tar.bz2: U_BOOT_VER=2015.01
$(WGET) ftp://ftp.denx.de/pub/u-boot/u-boot-2015.01.tar.bz2 $(ARCHIVE)/u-boot-$(U_BOOT_VER).tar.bz2:
$(WGET) ftp://ftp.denx.de/pub/u-boot/u-boot-$(U_BOOT_VER).tar.bz2
$(ARCHIVE)/usbutils-007.tar.xz: # usbutils-008 needs udev
$(WGET) https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-007.tar.xz USB_UTILS_VER=007
$(ARCHIVE)/usbutils-$(USB_UTILS_VER).tar.xz:
$(WGET) https://www.kernel.org/pub/linux/utils/usb/usbutils/usbutils-$(USB_UTILS_VER).tar.xz
DOSFSTOOLS_VER=4.1 DOSFSTOOLS_VER=4.1
$(ARCHIVE)/dosfstools-$(DOSFSTOOLS_VER).tar.xz: $(ARCHIVE)/dosfstools-$(DOSFSTOOLS_VER).tar.xz:
@ -368,4 +379,3 @@ $(ARCHIVE)/gettext-$(GETTEXT_VERSION).tar.xz:
WGET_VER=1.19.1 WGET_VER=1.19.1
$(ARCHIVE)/wget-$(WGET_VER).tar.gz: $(ARCHIVE)/wget-$(WGET_VER).tar.gz:
$(WGET) http://ftp.gnu.org/gnu/wget/wget-$(WGET_VER).tar.gz $(WGET) http://ftp.gnu.org/gnu/wget/wget-$(WGET_VER).tar.gz

10
make/bootstrap.mk

@ -137,17 +137,17 @@ $(HOSTPREFIX)/bin/sumtool: | $(HOSTPREFIX)/bin
$(REMOVE)/mtd-utils $(REMOVE)/mtd-utils
mkimage: $(HOSTPREFIX)/bin/mkimage mkimage: $(HOSTPREFIX)/bin/mkimage
$(HOSTPREFIX)/bin/mkimage: $(ARCHIVE)/u-boot-2015.01.tar.bz2 | $(HOSTPREFIX)/bin $(HOSTPREFIX)/bin/mkimage: $(ARCHIVE)/u-boot-$(U_BOOT_VER).tar.bz2 | $(HOSTPREFIX)/bin
$(UNTAR)/u-boot-2015.01.tar.bz2 $(UNTAR)/u-boot-$(U_BOOT_VER).tar.bz2
pushd $(BUILD_TMP)/u-boot-2015.01 && \ pushd $(BUILD_TMP)/u-boot-$(U_BOOT_VER) && \
$(PATCH)/u-boot-fix-build-error-under-gcc6.patch && \ $(PATCH)/u-boot-fix-build-error-under-gcc6.patch && \
$(PATCH)/u-boot-support-gcc5.patch && \ $(PATCH)/u-boot-support-gcc5.patch && \
$(PATCH)/u-boot-rsa-Fix-build-with-OpenSSL-1.1.x.patch && \ $(PATCH)/u-boot-rsa-Fix-build-with-OpenSSL-1.1.x.patch && \
$(MAKE) defconfig && \ $(MAKE) defconfig && \
$(MAKE) silentoldconfig && \ $(MAKE) silentoldconfig && \
$(MAKE) tools-only $(MAKE) tools-only
install -D -m 0755 $(BUILD_TMP)/u-boot-2015.01/tools/mkimage $(HOSTPREFIX)/bin/ install -D -m 0755 $(BUILD_TMP)/u-boot-$(U_BOOT_VER)/tools/mkimage $(HOSTPREFIX)/bin/
$(REMOVE)/u-boot-2015.01 $(REMOVE)/u-boot-$(U_BOOT_VER)
zic: $(HOSTPREFIX)/bin/zic zic: $(HOSTPREFIX)/bin/zic
$(HOSTPREFIX)/bin/zic: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz $(ARCHIVE)/tzcode$(TZCODE_VER).tar.gz | $(HOSTPREFIX)/bin $(HOSTPREFIX)/bin/zic: $(ARCHIVE)/tzdata$(TZDATA_VER).tar.gz $(ARCHIVE)/tzcode$(TZCODE_VER).tar.gz | $(HOSTPREFIX)/bin

14
make/system-libs.mk

@ -458,14 +458,14 @@ $(D)/libusb: $(ARCHIVE)/libusb-$(LIBUSB_VER).tar.bz2 | $(TARGETPREFIX)
$(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libusb-$(LIBUSB_MAJ).pc $(REWRITE_PKGCONF) $(PKG_CONFIG_PATH)/libusb-$(LIBUSB_MAJ).pc
touch $@ touch $@
$(D)/libusb_compat: $(ARCHIVE)/libusb-compat-0.1.5.tar.bz2 $(D)/libusb | $(TARGETPREFIX) $(D)/libusb_compat: $(ARCHIVE)/libusb-compat-$(LIBUSB_COMPAT_VER).tar.bz2 $(D)/libusb | $(TARGETPREFIX)
$(UNTAR)/libusb-compat-0.1.5.tar.bz2 $(UNTAR)/libusb-compat-$(LIBUSB_COMPAT_VER).tar.bz2
pushd $(BUILD_TMP)/libusb-compat-0.1.5 && \ pushd $(BUILD_TMP)/libusb-compat-$(LIBUSB_COMPAT_VER) && \
$(CONFIGURE) \ $(CONFIGURE) \
--prefix= && \ --prefix= && \
$(MAKE) && \ $(MAKE) && \
make install DESTDIR=$(TARGETPREFIX) && \ make install DESTDIR=$(TARGETPREFIX) && \
$(REMOVE)/libusb-compat-0.1.5 $(REMOVE)/libusb-compat-$(LIBUSB_COMPAT_VER)
mv $(TARGETPREFIX)/bin/libusb-config $(HOSTPREFIX)/bin mv $(TARGETPREFIX)/bin/libusb-config $(HOSTPREFIX)/bin
$(REWRITE_PKGCONF) $(HOSTPREFIX)/bin/libusb-config $(REWRITE_PKGCONF) $(HOSTPREFIX)/bin/libusb-config
$(REWRITE_LIBTOOL)/libusb.la $(REWRITE_LIBTOOL)/libusb.la
@ -587,10 +587,10 @@ $(D)/luacurl: $(D)/libcurl $(D)/lua $(ARCHIVE)/Lua-cURL$(LUACURL_VER).tar.xz | $
$(REMOVE)/Lua-cURL$(LUACURL_VER) $(REMOVE)/Lua-cURL$(LUACURL_VER)
touch $@ touch $@
$(D)/luaposix: $(HOSTPREFIX)/bin/lua-$(LUA_VER) $(D)/lua $(D)/luaexpat $(ARCHIVE)/v$(LUAPOSIX_VER).tar.gz $(ARCHIVE)/v6.tar.gz $(ARCHIVE)/gnulib-20140202-stable.tar.gz | $(TARGETPREFIX) $(D)/luaposix: $(HOSTPREFIX)/bin/lua-$(LUA_VER) $(D)/lua $(D)/luaexpat $(ARCHIVE)/v$(LUAPOSIX_VER).tar.gz $(ARCHIVE)/v$(SLINGSHOT_VER).tar.gz $(ARCHIVE)/gnulib-$(GNULIB_VER)-stable.tar.gz | $(TARGETPREFIX)
$(UNTAR)/v$(LUAPOSIX_VER).tar.gz $(UNTAR)/v$(LUAPOSIX_VER).tar.gz
tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/slingshot --strip=1 -xf $(ARCHIVE)/v6.tar.gz tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/slingshot --strip=1 -xf $(ARCHIVE)/v$(SLINGSHOT_VER).tar.gz
tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/gnulib --strip=1 -xf $(ARCHIVE)/gnulib-20140202-stable.tar.gz tar -C $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER)/gnulib --strip=1 -xf $(ARCHIVE)/gnulib-$(GNULIB_VER)-stable.tar.gz
set -e; cd $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER); \ set -e; cd $(BUILD_TMP)/luaposix-$(LUAPOSIX_VER); \
$(PATCH)/luaposix-fix-build.patch; \ $(PATCH)/luaposix-fix-build.patch; \
$(PATCH)/luaposix-fix-docdir-build.patch; \ $(PATCH)/luaposix-fix-docdir-build.patch; \

83
make/system-tools-extra.mk

@ -68,6 +68,34 @@ $(D)/xmllint: $(ARCHIVE)/libxml2-$(LIBXML2_VER).tar.gz | $(TARGETPREFIX)
################################# #################################
$(D)/openvpn-hd1: $(D)/kernel-cst-hd1 $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $(TARGETPREFIX)
$(UNTAR)/openvpn-$(OPENVPN_VER).tar.xz
cd $(BUILD_TMP)/openvpn-$(OPENVPN_VER) && \
$(PATCH)/openvpn-fix-tun-device-for-coolstream.patch && \
$(BUILDENV) ./configure \
--build=$(BUILD) \
--host=$(TARGET) \
--prefix= \
--mandir=/.remove \
--docdir=/.remove \
--infodir=/.remove \
--enable-shared \
--disable-static \
--enable-small \
--enable-password-save \
--enable-management \
--disable-socks \
--disable-debug \
--disable-selinux \
--disable-plugins \
--disable-pkcs11 && \
$(MAKE) && \
$(MAKE) install DESTDIR=$(TARGETPREFIX)
cp -a $(MODULESDIR)/kernel/drivers/net/tun.ko $(TARGET_MODULE)
$(TARGET)-strip $(TARGETPREFIX)/sbin/openvpn
$(REMOVE)/openvpn-$(OPENVPN_VER)
touch $@
BINUTILS_VER=2.25 BINUTILS_VER=2.25
$(ARCHIVE)/binutils-$(BINUTILS_VER).tar.bz2: $(ARCHIVE)/binutils-$(BINUTILS_VER).tar.bz2:
$(WGET) https://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VER).tar.bz2 $(WGET) https://ftp.gnu.org/gnu/binutils/binutils-$(BINUTILS_VER).tar.bz2
@ -111,34 +139,6 @@ $(D)/util-linux: $(D)/libncurses $(ARCHIVE)/util-linux-$(UTIL-LINUX_VER).tar.xz
$(REMOVE)/util-linux-$(UTIL-LINUX_VER) $(REMOVE)/util-linux-$(UTIL-LINUX_VER)
touch $@ touch $@
$(D)/openvpn-hd1: $(D)/kernel-cst-hd1 $(D)/lzo $(D)/openssl $(ARCHIVE)/openvpn-$(OPENVPN_VER).tar.xz | $(TARGETPREFIX)
$(UNTAR)/openvpn-$(OPENVPN_VER).tar.xz
cd $(BUILD_TMP)/openvpn-$(OPENVPN_VER) && \
$(PATCH)/openvpn-fix-tun-device-for-coolstream.patch && \
$(BUILDENV) ./configure \
--build=$(BUILD) \
--host=$(TARGET) \
--prefix= \
--mandir=/.remove \
--docdir=/.remove \
--infodir=/.remove \
--enable-shared \
--disable-static \
--enable-small \
--enable-password-save \
--enable-management \
--disable-socks \
--disable-debug \
--disable-selinux \
--disable-plugins \
--disable-pkcs11 && \
$(MAKE) && \
$(MAKE) install DESTDIR=$(TARGETPREFIX)
cp -a $(MODULESDIR)/kernel/drivers/net/tun.ko $(TARGET_MODULE)
$(TARGET)-strip $(TARGETPREFIX)/sbin/openvpn
$(REMOVE)/openvpn-$(OPENVPN_VER)
touch $@
IPTABLES_VER = 1.4.21 IPTABLES_VER = 1.4.21
$(ARCHIVE)/iptables-$(IPTABLES_VER).tar.bz2: $(ARCHIVE)/iptables-$(IPTABLES_VER).tar.bz2:
$(WGET) http://www.netfilter.org/projects/iptables/files/iptables-$(IPTABLES_VER).tar.bz2 $(WGET) http://www.netfilter.org/projects/iptables/files/iptables-$(IPTABLES_VER).tar.bz2
@ -162,12 +162,13 @@ $(D)/iptables: $(ARCHIVE)/iptables-$(IPTABLES_VER).tar.bz2 | $(TARGETPREFIX)
$(REMOVE)/iptables-$(IPTABLES_VER) $(REMOVE)/iptables-$(IPTABLES_VER)
touch $@ touch $@
$(ARCHIVE)/lighttpd-1.4.31.tar.gz: LIGHTTPD_VER=1.4.31
$(WGET) http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.31.tar.gz $(ARCHIVE)/lighttpd-$(LIGHTTPD_VER).tar.gz:
$(WGET) http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-$(LIGHTTPD_VER).tar.gz
$(D)/lighttpd: $(D)/zlib $(ARCHIVE)/lighttpd-1.4.31.tar.gz | $(TARGETPREFIX) $(D)/lighttpd: $(D)/zlib $(ARCHIVE)/lighttpd-$(LIGHTTPD_VER).tar.gz | $(TARGETPREFIX)
$(UNTAR)/lighttpd-1.4.31.tar.gz $(UNTAR)/lighttpd-$(LIGHTTPD_VER).tar.gz
cd $(BUILD_TMP)/lighttpd-1.4.31 && \ cd $(BUILD_TMP)/lighttpd-$(LIGHTTPD_VER) && \
$(BUILDENV) ./configure \ $(BUILDENV) ./configure \
--build=$(BUILD) \ --build=$(BUILD) \
--host=$(TARGET) \ --host=$(TARGET) \
@ -181,7 +182,7 @@ $(D)/lighttpd: $(D)/zlib $(ARCHIVE)/lighttpd-1.4.31.tar.gz | $(TARGETPREFIX)
--without-bzip2 && \ --without-bzip2 && \
$(MAKE) && \ $(MAKE) && \
$(MAKE) install DESTDIR=$(TARGETPREFIX) $(MAKE) install DESTDIR=$(TARGETPREFIX)
$(REMOVE)/lighttpd-1.4.31 $(REMOVE)/lighttpd-$(LIGHTTPD_VER)
touch $@ touch $@
PYTHON_VER=2.7.11 PYTHON_VER=2.7.11
@ -234,17 +235,3 @@ $(D)/python: $(ARCHIVE)/Python-$(PYTHON_VER).tgz | $(TARGETPREFIX)
chmod +w $(TARGETLIB)/libpython* chmod +w $(TARGETLIB)/libpython*
install -m755 $(BUILD_TMP)/Python-$(PYTHON_VER)/_install/bin/python $(TARGETPREFIX)/bin/ install -m755 $(BUILD_TMP)/Python-$(PYTHON_VER)/_install/bin/python $(TARGETPREFIX)/bin/
$(REMOVE)/Python-$(PYTHON_VER) $(REMOVE)/Python-$(PYTHON_VER)
$(D)/busybox-hd1: $(ARCHIVE)/busybox-1.20.2.tar.bz2 | $(TARGETPREFIX)
$(REMOVE)/busybox-1.20.2
$(UNTAR)/busybox-1.20.2.tar.bz2
pushd $(BUILD_TMP)/busybox-1.20.2 && \
for patch in $(PATCHES)/busybox-1.20.2/*; do \
patch -p1 -i $$patch; \
done; \
cp $(CONFIGS)/busybox-1.20.config .config && \
$(MAKE) busybox $(BUSYBOX_MAKE_OPTS) && \
make install $(BUSYBOX_MAKE_OPTS)
$(REMOVE)/busybox-1.20.2
touch $@

85
make/system-tools.mk

@ -150,8 +150,8 @@ $(D)/hdparm: $(ARCHIVE)/hdparm-$(HDPARM_VER).tar.gz | $(TARGETPREFIX)
$(REMOVE)/hdparm-$(HDPARM_VER) $(REMOVE)/hdparm-$(HDPARM_VER)
touch $@ touch $@
$(D)/hd-idle: $(ARCHIVE)/hd-idle-1.04.tgz | $(TARGETPREFIX) $(D)/hd-idle: $(ARCHIVE)/hd-idle-$(HDIDLE_VER).tgz | $(TARGETPREFIX)
$(UNTAR)/hd-idle-1.04.tgz $(UNTAR)/hd-idle-$(HDIDLE_VER).tgz
pushd $(BUILD_TMP)/hd-idle && \ pushd $(BUILD_TMP)/hd-idle && \
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o hd-idle hd-idle.c && \ $(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) -o hd-idle hd-idle.c && \
install -m755 hd-idle $(BIN)/ install -m755 hd-idle $(BIN)/
@ -192,22 +192,22 @@ $(D)/less: $(D)/libncurses $(ARCHIVE)/less-$(LESS_VER).tar.gz | $(TARGETPREFIX)
$(REMOVE)/less-$(LESS_VER) $(REMOVE)/less-$(LESS_VER)
touch $@ touch $@
$(D)/ntp: $(ARCHIVE)/ntp-4.2.8.tar.gz $(D)/openssl | $(TARGETPREFIX) $(D)/ntp: $(ARCHIVE)/ntp-$(NTP_VER).tar.gz $(D)/openssl | $(TARGETPREFIX)
$(UNTAR)/ntp-4.2.8.tar.gz $(UNTAR)/ntp-$(NTP_VER).tar.gz
pushd $(BUILD_TMP)/ntp-4.2.8 && \ pushd $(BUILD_TMP)/ntp-$(NTP_VER) && \
$(CONFIGURE) \ $(CONFIGURE) \
--prefix= \ --prefix= \
--target=$(TARGET) \ --target=$(TARGET) \
--with-shared \ --with-shared \
--with-yielding-select=yes && \ --with-yielding-select=yes && \
$(MAKE) $(MAKE)
mv -v $(BUILD_TMP)/ntp-4.2.8/ntpdate/ntpdate $(TARGETPREFIX)/sbin/ mv -v $(BUILD_TMP)/ntp-$(NTP_VER)/ntpdate/ntpdate $(TARGETPREFIX)/sbin/
$(REMOVE)/ntp-4.2.8 $(REMOVE)/ntp-$(NTP_VER)
touch $@ touch $@
$(D)/djmount: $(ARCHIVE)/djmount-0.71.tar.gz $(D)/libfuse | $(TARGETPREFIX) $(D)/djmount: $(ARCHIVE)/djmount-$(DJMOUNT_VER).tar.gz $(D)/libfuse | $(TARGETPREFIX)
$(UNTAR)/djmount-0.71.tar.gz $(UNTAR)/djmount-$(DJMOUNT_VER).tar.gz
pushd $(BUILD_TMP)/djmount-0.71 && \ pushd $(BUILD_TMP)/djmount-$(DJMOUNT_VER) && \
$(PATCH)/djmount-fix-hang-with-asset-upnp.patch && \ $(PATCH)/djmount-fix-hang-with-asset-upnp.patch && \
$(PATCH)/djmount-fix-incorrect-range-when-retrieving-content-via-HTTP.patch && \ $(PATCH)/djmount-fix-incorrect-range-when-retrieving-content-via-HTTP.patch && \
$(PATCH)/djmount-fix-new-autotools.diff && \ $(PATCH)/djmount-fix-new-autotools.diff && \
@ -225,13 +225,13 @@ $(D)/djmount: $(ARCHIVE)/djmount-0.71.tar.gz $(D)/libfuse | $(TARGETPREFIX)
install -D -m 755 $(IMAGEFILES)/scripts/djmount.init $(TARGETPREFIX)/etc/init.d/djmount install -D -m 755 $(IMAGEFILES)/scripts/djmount.init $(TARGETPREFIX)/etc/init.d/djmount
ln -sf djmount $(TARGETPREFIX)/etc/init.d/S99djmount ln -sf djmount $(TARGETPREFIX)/etc/init.d/S99djmount
ln -sf djmount $(TARGETPREFIX)/etc/init.d/K01djmount ln -sf djmount $(TARGETPREFIX)/etc/init.d/K01djmount
$(REMOVE)/djmount-0.71 $(REMOVE)/djmount-$(DJMOUNT_VER)
touch $@ touch $@
$(D)/ushare: $(ARCHIVE)/ushare-1.1a.tar.bz2 $(D)/libupnp | $(TARGETPREFIX) $(D)/ushare: $(ARCHIVE)/ushare-$(USHARE_VER).tar.bz2 $(D)/libupnp | $(TARGETPREFIX)
$(UNTAR)/ushare-1.1a.tar.bz2 $(UNTAR)/ushare-$(USHARE_VER).tar.bz2
pushd $(BUILD_TMP)/ushare-1.1a && \ pushd $(BUILD_TMP)/ushare-$(USHARE_VER) && \
$(PATCH)/ushare1.1a.diff && \ $(PATCH)/ushare.diff && \
$(BUILDENV_RPATH) \ $(BUILDENV_RPATH) \
./configure \ ./configure \
--prefix=$(TARGETPREFIX) \ --prefix=$(TARGETPREFIX) \
@ -248,7 +248,7 @@ $(D)/ushare: $(ARCHIVE)/ushare-1.1a.tar.bz2 $(D)/libupnp | $(TARGETPREFIX)
install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGETPREFIX)/etc/init.d/ushare install -D -m 0755 $(IMAGEFILES)/scripts/ushare.init $(TARGETPREFIX)/etc/init.d/ushare
ln -sf ushare $(TARGETPREFIX)/etc/init.d/S99ushare ln -sf ushare $(TARGETPREFIX)/etc/init.d/S99ushare
ln -sf ushare $(TARGETPREFIX)/etc/init.d/K01ushare ln -sf ushare $(TARGETPREFIX)/etc/init.d/K01ushare
$(REMOVE)/ushare-1.1a $(REMOVE)/ushare-$(USHARE_VER)
touch $@ touch $@
$(D)/smartmontools: $(ARCHIVE)/smartmontools-$(SMARTMON_VER).tar.gz | $(TARGETPREFIX) $(D)/smartmontools: $(ARCHIVE)/smartmontools-$(SMARTMON_VER).tar.gz | $(TARGETPREFIX)
@ -285,9 +285,9 @@ $(D)/inadyn: $(D)/openssl $(D)/confuse $(D)/libite $(ARCHIVE)/inadyn-$(INADYN_VE
$(REMOVE)/inadyn-$(INADYN_VER) $(REMOVE)/inadyn-$(INADYN_VER)
touch $@ touch $@
$(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-3.0.3.tar.gz | $(TARGETPREFIX) $(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-$(VSFTPD_VER).tar.gz | $(TARGETPREFIX)
$(UNTAR)/vsftpd-3.0.3.tar.gz $(UNTAR)/vsftpd-$(VSFTPD_VER).tar.gz
cd $(BUILD_TMP)/vsftpd-3.0.3 && \ cd $(BUILD_TMP)/vsftpd-$(VSFTPD_VER) && \
$(PATCH)/vsftpd-fix-CVE-2015-1419.patch && \ $(PATCH)/vsftpd-fix-CVE-2015-1419.patch && \
$(PATCH)/vsftpd-disable-capabilities.patch && \ $(PATCH)/vsftpd-disable-capabilities.patch && \
$(PATCH)/vsftpd-musl-compatibility.patch && \ $(PATCH)/vsftpd-musl-compatibility.patch && \
@ -296,13 +296,13 @@ $(D)/vsftpd: $(D)/openssl $(ARCHIVE)/vsftpd-3.0.3.tar.gz | $(TARGETPREFIX)
make clean && \ make clean && \
TARGETPREFIX=$(TARGETPREFIX) make CC=$(TARGET)-gcc LIBS="-lcrypt -lcrypto -lssl" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS_RPATH)" TARGETPREFIX=$(TARGETPREFIX) make CC=$(TARGET)-gcc LIBS="-lcrypt -lcrypto -lssl" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS_RPATH)"
install -d $(TARGETPREFIX)/share/empty install -d $(TARGETPREFIX)/share/empty
install -D -m 755 $(BUILD_TMP)/vsftpd-3.0.3/vsftpd $(TARGETPREFIX)/sbin/vsftpd install -D -m 755 $(BUILD_TMP)/vsftpd-$(VSFTPD_VER)/vsftpd $(TARGETPREFIX)/sbin/vsftpd
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.conf $(TARGETPREFIX)/etc/vsftpd.conf
install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.chroot_list $(TARGETPREFIX)/etc/vsftpd.chroot_list install -D -m 644 $(IMAGEFILES)/scripts/vsftpd.chroot_list $(TARGETPREFIX)/etc/vsftpd.chroot_list
install -D -m 755 $(IMAGEFILES)/scripts/vsftpd.init $(TARGETPREFIX)/etc/init.d/vsftpd install -D -m 755 $(IMAGEFILES)/scripts/vsftpd.init $(TARGETPREFIX)/etc/init.d/vsftpd
ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/S53vsftpd ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/S53vsftpd
ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/K80vsftpd ln -sf vsftpd $(TARGETPREFIX)/etc/init.d/K80vsftpd
$(REMOVE)/vsftpd-3.0.3 $(REMOVE)/vsftpd-$(VSFTPD_VER)
touch $@ touch $@
$(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/procps-ng-$(PROCPS-NG_VER).tar.xz | $(TARGETPREFIX) $(D)/procps-ng: $(D)/libncurses $(ARCHIVE)/procps-ng-$(PROCPS-NG_VER).tar.xz | $(TARGETPREFIX)
@ -644,14 +644,14 @@ $(D)/sg3-utils: $(ARCHIVE)/sg3_utils-$(SG3-UTILS_VER).tar.xz | $(TARGETPREFIX)
touch $@ touch $@
fbshot: $(TARGETPREFIX)/bin/fbshot fbshot: $(TARGETPREFIX)/bin/fbshot
$(TARGETPREFIX)/bin/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-0.3.tar.gz | $(TARGETPREFIX) $(TARGETPREFIX)/bin/fbshot: $(D)/libpng $(ARCHIVE)/fbshot-$(FBSHOT_VER).tar.gz | $(TARGETPREFIX)
$(REMOVE)/fbshot-0.3 $(REMOVE)/fbshot-$(FBSHOT_VER)
$(UNTAR)/fbshot-0.3.tar.gz $(UNTAR)/fbshot-$(FBSHOT_VER).tar.gz
cd $(BUILD_TMP)/fbshot-0.3; \ cd $(BUILD_TMP)/fbshot-$(FBSHOT_VER); \
$(PATCH)/fbshot-0.3-32bit_cs_fb.diff; \ $(PATCH)/fbshot-32bit_cs_fb.diff; \
$(PATCH)/fbshot_cs_hd2.diff; \ $(PATCH)/fbshot_cs_hd2.diff; \
$(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) fbshot.c -lpng -lz -o $@ $(TARGET)-gcc $(TARGET_CFLAGS) $(TARGET_LDFLAGS) fbshot.c -lpng -lz -o $@
$(REMOVE)/fbshot-0.3 $(REMOVE)/fbshot-$(FBSHOT_VER)
$(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX) $(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX)
$(REMOVE)/lcd4linux $(REMOVE)/lcd4linux
@ -675,16 +675,16 @@ $(D)/lcd4linux: $(D)/libncurses $(D)/libgd2 $(D)/libdpf | $(TARGETPREFIX)
$(REMOVE)/lcd4linux $(REMOVE)/lcd4linux
touch $@ touch $@
$(D)/wpa_supplicant: $(D)/openssl $(ARCHIVE)/wpa_supplicant-0.7.3.tar.gz | $(TARGETPREFIX) $(D)/wpa_supplicant: $(D)/openssl $(ARCHIVE)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz | $(TARGETPREFIX)
$(UNTAR)/wpa_supplicant-0.7.3.tar.gz $(UNTAR)/wpa_supplicant-$(WPA_SUPP_VER).tar.gz
pushd $(BUILD_TMP)/wpa_supplicant-0.7.3/wpa_supplicant && \ pushd $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant && \
cp $(CONFIGS)/wpa_supplicant.config .config && \ cp $(CONFIGS)/wpa_supplicant.config .config && \
CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS)" CXXFLAGS="$(TARGET_CXXFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \ CC=$(TARGET)-gcc CFLAGS="$(TARGET_CFLAGS)" CXXFLAGS="$(TARGET_CXXFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
$(MAKE) $(MAKE)
cp -f $(BUILD_TMP)/wpa_supplicant-0.7.3/wpa_supplicant/wpa_cli $(TARGETPREFIX)/sbin/wpa_cli cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_cli $(TARGETPREFIX)/sbin/wpa_cli
cp -f $(BUILD_TMP)/wpa_supplicant-0.7.3/wpa_supplicant/wpa_passphrase $(TARGETPREFIX)/sbin/wpa_passphrase cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_passphrase $(TARGETPREFIX)/sbin/wpa_passphrase
cp -f $(BUILD_TMP)/wpa_supplicant-0.7.3/wpa_supplicant/wpa_supplicant $(TARGETPREFIX)/sbin/wpa_supplicant cp -f $(BUILD_TMP)/wpa_supplicant-$(WPA_SUPP_VER)/wpa_supplicant/wpa_supplicant $(TARGETPREFIX)/sbin/wpa_supplicant
$(REMOVE)/wpa_supplicant-0.7.3 $(REMOVE)/wpa_supplicant-$(WPA_SUPP_VER)
touch $@ touch $@
$(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGETPREFIX) $(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGETPREFIX)
@ -717,9 +717,9 @@ $(D)/xupnpd: $(D)/lua $(D)/openssl | $(TARGETPREFIX)
$(REMOVE)/xupnpd $(REMOVE)/xupnpd
touch $@ touch $@
$(D)/bc: $(ARCHIVE)/bc-1.06.tar.gz | $(TARGETPREFIX) $(D)/bc: $(ARCHIVE)/bc-$(BC_VER).tar.gz | $(TARGETPREFIX)
$(UNTAR)/bc-1.06.tar.gz $(UNTAR)/bc-$(BC_VER).tar.gz
cd $(BUILD_TMP)/bc-1.06 && \ cd $(BUILD_TMP)/bc-$(BC_VER) && \
autoreconf -fi && \ autoreconf -fi && \
$(CONFIGURE) \ $(CONFIGURE) \
--target=$(TARGET) \ --target=$(TARGET) \
@ -728,13 +728,12 @@ $(D)/bc: $(ARCHIVE)/bc-1.06.tar.gz | $(TARGETPREFIX)
--infodir=/.remove && \ --infodir=/.remove && \
$(MAKE) && \ $(MAKE) && \
$(MAKE) install DESTDIR=$(TARGETPREFIX) $(MAKE) install DESTDIR=$(TARGETPREFIX)
$(REMOVE)/bc-1.06 $(REMOVE)/bc-$(BC_VER)
touch $@ touch $@
# usbutils-008 needs udev... $(D)/usbutils: $(D)/libusb_compat $(ARCHIVE)/usbutils-$(USB_UTILS_VER).tar.xz | $(TARGETPREFIX)
$(D)/usbutils: $(D)/libusb_compat $(ARCHIVE)/usbutils-007.tar.xz | $(TARGETPREFIX) $(UNTAR)/usbutils-$(USB_UTILS_VER).tar.xz
$(UNTAR)/usbutils-007.tar.xz cd $(BUILD_TMP)/usbutils-$(USB_UTILS_VER) && \
cd $(BUILD_TMP)/usbutils-007 && \
$(PATCH)/usbutils-avoid-dependency-on-bash.patch && \ $(PATCH)/usbutils-avoid-dependency-on-bash.patch && \
$(PATCH)/usbutils-fix-null-pointer-crash.patch && \ $(PATCH)/usbutils-fix-null-pointer-crash.patch && \
$(CONFIGURE) \ $(CONFIGURE) \
@ -749,7 +748,7 @@ $(D)/usbutils: $(D)/libusb_compat $(ARCHIVE)/usbutils-007.tar.xz | $(TARGETPREFI
rm -rf $(TARGETPREFIX)/sbin/update-usbids.sh rm -rf $(TARGETPREFIX)/sbin/update-usbids.sh
rm -rf $(TARGETPREFIX)/share/pkgconfig rm -rf $(TARGETPREFIX)/share/pkgconfig
rm -rf $(TARGETPREFIX)/share/usb.ids.gz rm -rf $(TARGETPREFIX)/share/usb.ids.gz
$(REMOVE)/usbutils-007 $(REMOVE)/usbutils-$(USB_UTILS_VER)
touch $@ touch $@
DOSFSTOOLS_CFLAGS = $(TARGET_CFLAGS) -D_GNU_SOURCE -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 DOSFSTOOLS_CFLAGS = $(TARGET_CFLAGS) -D_GNU_SOURCE -fomit-frame-pointer -D_FILE_OFFSET_BITS=64

Loading…
Cancel
Save