X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fddns;h=538cf72566cb2bdd92e8b6a9a91bf0cf34623c28;hb=3514a0bc0f0ebec8acf478932a7100e66bb557ce;hp=6efc418c54bb8fc787e1d5c99344b44a9ffaf9f6;hpb=6b696830535fd20ba0dc22e2615548e124c3328d;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/lfs/ddns b/lfs/ddns index 6efc418c54..538cf72566 100644 --- a/lfs/ddns +++ b/lfs/ddns @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2010 IPFire Team # +# Copyright (C) 2007-2018 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -24,11 +24,11 @@ include Config -VER = 005 +VER = 013 THISAPP = ddns-$(VER) DL_FILE = $(THISAPP).tar.xz -DL_FROM = http://source.ipfire.org/releases/ddns/ +DL_FROM = https://source.ipfire.org/releases/ddns/ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) @@ -40,7 +40,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 5fb0e7c8a775ae03074ad90d5a251a4c +$(DL_FILE)_MD5 = a988a808a08c810c41964ac6b0febbeb install : $(TARGET) @@ -71,11 +71,20 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns/ddns-005-Add-changeip-com.patch - cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ddns/ddns-005-SPDNS-fix-auth.patch + # Apply upstream patches. + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-dyfi-use-https.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-ddnss-fix-unhandled-exeption-on-update-patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-duckdns-new-api.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-add-option-to-list-token-provider.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-proper-encode-string.patch + cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-fix-argparse-list-token-providers.patch cd $(DIR_APP) && [ -x "configure" ] || sh ./autogen.sh - cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/var/ipfire + cd $(DIR_APP) && ./configure \ + --prefix=/usr \ + --sysconfdir=/var/ipfire \ + --disable-manpages + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install