###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2016 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2022 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.5.6
+VER = 3.7.0
THISAPP = pciutils-$(VER)
DL_FILE = $(THISAPP).tar.gz
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = 63b347d2bb5719b7769c03a1bb72a5b7
+$(DL_FILE)_BLAKE2 = fca6720cff73ec20559c666c76fdcd3b59cdf0e33e2c3894a82590d77c5d51cf22e667fe65d9f66a248a624c2b9c868f6e9b69f45f4b6d704b637afe55041e6a
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details
# Install headers.
mkdir -pv /usr/include/pci
- cd $(DIR_APP) && install -p lib/pci.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/header.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/config.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/types.h /usr/include/pci
- cd $(DIR_APP) && install -p lib/libpci.pc /usr/lib/pkgconfig
+ cd $(DIR_APP) && install -m 644 lib/pci.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/header.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/config.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/types.h /usr/include/pci
+ cd $(DIR_APP) && install -m 644 lib/libpci.pc /usr/lib/pkgconfig
chmod -v 755 /usr/lib/libpci.so
@rm -rf $(DIR_APP)
@$(POSTBUILD)