]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/ddns
ddns: Import latest upstream patches for ddns-013
[people/pmueller/ipfire-2.x.git] / lfs / ddns
index b94b3a124c917e4e804e0afca43c70637c81675f..0e045ddc4c0d8ef9e72475900933cef6871b6dae 100644 (file)
--- a/lfs/ddns
+++ b/lfs/ddns
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2010  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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        #
 
 include Config
 
-VER        = 004
+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 = ff77cb72d0cb06c73bde70419b15bae8
+$(DL_FILE)_MD5 = a988a808a08c810c41964ac6b0febbeb
 
 install : $(TARGET)
 
@@ -71,8 +71,15 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 
+       # Apply upstream patches.
+       cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/ddns-013-dyfi-use-https.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