###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# 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 = 3.15
+VER = 3.20
THISAPP = hostname_$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = f93c87de2517850de5f47234e3bcb563
+$(DL_FILE)_MD5 = 9919d0f4e0a70a0d4161deef729e8514
install : $(TARGET)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/hostname-rh.patch
cd $(DIR_APP) && make $(MAKETUNING)
- cd $(DIR_APP) && make install BINDIR=/bin
+ cd $(DIR_APP) && install -m 755 hostname /bin
+ cd $(DIR_APP) && install hostname.1 /usr/share/man/man1
@rm -rf $(DIR_APP)
@$(POSTBUILD)