2015-05-24 13:52:35 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006-2015 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=bridge-utils
|
2022-01-30 12:00:38 +08:00
|
|
|
PKG_VERSION:=1.7.1
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-22 00:32:27 +08:00
|
|
|
PKG_RELEASE:=1
|
2015-05-24 13:52:35 +08:00
|
|
|
|
2018-07-27 11:17:21 +08:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
2022-01-30 12:00:38 +08:00
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/utils/net/bridge-utils
|
|
|
|
PKG_HASH:=a61d8be4f1a1405c60c8ef38d544f0c18c05b33b9b07e5b4b31033536165e60e
|
2015-05-24 13:52:35 +08:00
|
|
|
|
2020-07-16 08:07:07 +08:00
|
|
|
PKG_MAINTAINER:=Nikolay Martynov <mar.kolya@gmail.com>
|
2019-09-02 21:15:08 +08:00
|
|
|
PKG_LICENSE:=GPL-2.0-or-later
|
2015-05-24 13:52:35 +08:00
|
|
|
PKG_LICENSE_FILES:=COPYING
|
2024-02-03 01:37:33 +08:00
|
|
|
PKG_CPE_ID:=cpe:/a:kernel:bridge-utils
|
2020-07-16 08:07:07 +08:00
|
|
|
|
2015-05-24 13:52:35 +08:00
|
|
|
PKG_FIXUP:=autoreconf
|
2020-07-16 08:07:07 +08:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_BUILD_PARALLEL:=1
|
2015-05-24 13:52:35 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/bridge
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Base system
|
|
|
|
TITLE:=Ethernet bridging configuration utility
|
2018-07-27 11:17:21 +08:00
|
|
|
URL:=http://www.linuxfromscratch.org/blfs/view/svn/basicnet/bridge-utils.html
|
2020-10-08 20:22:51 +08:00
|
|
|
ALTERNATIVES:=300:/usr/sbin/brctl:/usr/libexec/brctl-bridge-utils
|
2015-05-24 13:52:35 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/bridge/description
|
|
|
|
Manage ethernet bridging: a way to connect networks together to
|
|
|
|
form a larger network.
|
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_ARGS += \
|
2020-07-16 08:07:07 +08:00
|
|
|
--with-linux-headers="$(LINUX_DIR)"
|
2015-05-24 13:52:35 +08:00
|
|
|
|
|
|
|
define Package/bridge/install
|
2019-06-08 03:52:44 +08:00
|
|
|
$(INSTALL_DIR) $(1)/usr/libexec
|
2020-10-08 20:22:51 +08:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/brctl $(1)/usr/libexec/brctl-bridge-utils
|
2015-05-29 01:19:25 +08:00
|
|
|
endef
|
|
|
|
|
2015-05-24 13:52:35 +08:00
|
|
|
$(eval $(call BuildPackage,bridge))
|