openvmtools: Update to 10.2.0

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-01-11 11:49:00 +00:00
parent d081a167a7
commit a2359cc0eb
2 changed files with 10 additions and 12 deletions

View File

@@ -24,7 +24,7 @@
include Config
VER = 10.0.5-3227872
VER = 10.2.0-7253323
THISAPP = open-vm-tools-$(VER)
DL_FILE = $(THISAPP).tar.gz
@@ -33,12 +33,10 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = x86_64 i586
PROG = openvmtools
PAK_VER = 2
PAK_VER = 3
DEPS = ""
#CFLAGS += -fno-PIC
###############################################################################
# Top-level Rules
###############################################################################
@@ -47,7 +45,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_MD5 = 734eccf6e9e007cb37dc4eb3ed6707b5
$(DL_FILE)_MD5 = 9256c2402640ad19eb79cf49635e01b5
install : $(TARGET)
@@ -79,12 +77,11 @@ $(subst %,%_MD5,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -e "s/-Werror//g" -i configure.ac
cd $(DIR_APP) && autoreconf -vfi
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-kernel-release=$(KVER)-ipfire \
--without-ssl \
--without-pam \
--without-gtk2 \
--without-gtkmm \
@@ -98,12 +95,13 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
#install initscripts
$(call INSTALL_INITSCRIPT,openvmtools)
ln -sf ../init.d/openvmtools /etc/rc.d/rc3.d/S60openvmtools
ln -sf ../init.d/openvmtools /etc/rc.d/rc0.d/K01openvmtools
ln -sf ../init.d/openvmtools /etc/rc.d/rc6.d/K01openvmtools
rm -rvf /usr/etc/pam.d /usr/share/openvmtools
rm -rvf /usr/share/openvmtools
@rm -rf $(DIR_APP)
@$(POSTBUILD)