Skip to content

Commit

Permalink
quagga: reorder things in Makefile
Browse files Browse the repository at this point in the history
- Fix SPDX License Identifier
- Use HTTPS in URL

Signed-off-by: Josef Schlehofer <[email protected]>
  • Loading branch information
BKPepe authored and PolynomialDivision committed Feb 26, 2022
1 parent 9652952 commit 699106a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
17 changes: 10 additions & 7 deletions quagga/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=quagga
PKG_VERSION:=1.2.4
PKG_RELEASE:=2
PKG_HASH:=e364c082c3309910e1eb7b068bf39ee298e2f2f3f31a6431a5c115193bd653d3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SAVANNAH/quagga/
PKG_HASH:=e364c082c3309910e1eb7b068bf39ee298e2f2f3f31a6431a5c115193bd653d3

PKG_MAINTAINER:=Vasilis Tsiligiannis <[email protected]>
PKG_LICENSE:=GPL-2.0-or-later

PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1

PKG_CONFIG_DEPENDS:= \
CONFIG_IPV6 \
CONFIG_PACKAGE_quagga-watchquagga \
Expand All @@ -26,10 +34,6 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_PACKAGE_quagga-ripd \
CONFIG_PACKAGE_quagga-ripngd \
CONFIG_PACKAGE_quagga-vtysh
PKG_BUILD_PARALLEL:=1
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
PKG_LICENSE:=GPL-2.0

include $(INCLUDE_DIR)/package.mk

Expand All @@ -39,8 +43,7 @@ define Package/quagga/Default
SUBMENU:=Routing and Redirection
DEPENDS:=quagga
TITLE:=The Quagga Software Routing Suite
URL:=http://www.quagga.net
MAINTAINER:=Vasilis Tsiligiannis <[email protected]>
URL:=https://www.quagga.net
endef

define Package/quagga
Expand Down
11 changes: 5 additions & 6 deletions quagga/patches/200-gcc10.patch
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
-const char *const PIM_ALL_ROUTERS;
-const char *const PIM_ALL_PIM_ROUTERS;
-const char *const PIM_ALL_IGMP_ROUTERS;
-
+extern const char *const PIM_ALL_SYSTEMS;
+extern const char *const PIM_ALL_ROUTERS;
+extern const char *const PIM_ALL_PIM_ROUTERS;
+extern const char *const PIM_ALL_IGMP_ROUTERS;

-struct thread_master *master;
-uint32_t qpim_debugs;
-int qpim_mroute_socket_fd;
Expand Down Expand Up @@ -58,11 +62,6 @@
-int64_t qpim_mroute_del_events;
-int64_t qpim_mroute_del_last;
-struct list *qpim_static_route_list; /* list of routes added statically */
+extern const char *const PIM_ALL_SYSTEMS;
+extern const char *const PIM_ALL_ROUTERS;
+extern const char *const PIM_ALL_PIM_ROUTERS;
+extern const char *const PIM_ALL_IGMP_ROUTERS;
+
+extern struct thread_master *master;
+extern uint32_t qpim_debugs;
+extern int qpim_mroute_socket_fd;
Expand Down

0 comments on commit 699106a

Please sign in to comment.