X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fclient175;h=05c8fc5dd2385270508ec86a28580d8520bbecb1;hp=203ec601cdcb889ce001516fc0237d5ed8ba2075;hb=08d91c0f7a7511da8a8d4a7ff2f156677d94463b;hpb=51cac9a1ce8b4baa0a214f7674d8a915a8030560 diff --git a/lfs/client175 b/lfs/client175 index 203ec601cd..05c8fc5dd2 100644 --- a/lfs/client175 +++ b/lfs/client175 @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2005-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,7 +24,7 @@ include Config -VER = 0.3 +VER = 0.7 THISAPP = client175_$(VER) DL_FILE = $(THISAPP).tar.xz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = client175 -PAK_VER = 1 +PAK_VER = 3 DEPS = "mpfire" @@ -44,7 +44,8 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 4de3a175077fea8793b9c666029e9632 +$(DL_FILE)_MD5 = 975b69de79dc2649d8acba294cc0c5eb + install : $(TARGET) check : $(patsubst %,$(DIR_CHK)/%,$(objects)) @@ -76,13 +77,21 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxvf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE) @rm -rf /srv/client175 mkdir -pv /srv/client175 cd $(DIR_APP) && mv -vf * /srv/client175 + cp -vf $(DIR_SRC)/config/client175/site.conf /srv/client175/ + install -v -m 644 $(DIR_SRC)/config/backup/includes/client175 \ + /var/ipfire/backup/addons/includes/client175 + chown -R nobody:nobody /srv/client175 + + #install initscripts + $(call INSTALL_INITSCRIPT,client175) + @rm -rf $(DIR_APP) @$(POSTBUILD)