]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/iputils
glib: Update to 2.68.3
[people/pmueller/ipfire-2.x.git] / lfs / iputils
index bb0879369597c1f40d1defe6c02a53f834b3566b..01ed1fccd57c4eb2ce4f455d962e7c6207229173 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2014  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007-2021  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        = s20121221
+VER        = 20210202
 
 THISAPP    = iputils-$(VER)
-DL_FILE    = $(THISAPP).tar.bz2
+DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 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 = 6072aef64205720dd1893b375e184171
+$(DL_FILE)_MD5 = ba8f64ba70ac4717a1ae6746d452b3da
 
 install : $(TARGET)
 
@@ -69,10 +69,13 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make ping tracepath
-       cd $(DIR_APP) && install -m 4755 ping /usr/bin
-       cd $(DIR_APP) && install -m 0755 tracepath /usr/bin
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && meson builddir -Dprefix=/usr
+       cd $(DIR_APP) && make $(MAKETUNING)
+       cd $(DIR_APP) && make install
+
+       # Allow execution of /usr/bin/ping by other users than "root"
+       setcap cap_net_raw+ep /usr/bin/ping
 
        # Some scripts expect ping in /bin/ping.
        ln -svf ../usr/bin/ping /bin/ping