mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
port-mirroring: Update to 1.4.3
Switched to codeload and adjusted Makefile for consistency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
+12
-13
@@ -1,4 +1,4 @@
|
||||
#
|
||||
#
|
||||
# Copyright (c) 2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the BSD 2-Clause License.
|
||||
@@ -7,19 +7,18 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=port-mirroring
|
||||
PKG_VERSION:=1.4.2
|
||||
PKG_VERSION:=1.4.3
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/mmaraya/port-mirroring/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=90603163fb086cc586a711e066360ccfa5b4735f67586e8f9254e93f3bebb97e
|
||||
|
||||
PKG_MAINTAINER:=Mike Maraya <mike.maraya@gmail.com>
|
||||
PKG_LICENSE:=BSD-2-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_MIRROR_HASH:=0bffa393e740711db3eb930fc2674843c56b0dc9db15ac1887fec8776401af2a
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=git://github.com/mmaraya/port-mirroring.git
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=f6ead68b7760fa86e8da73ac1e062349f243ac93
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -27,18 +26,18 @@ define Package/port-mirroring
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap +libpthread
|
||||
TITLE:=Copy network packets with optional support for TaZmen Sniffer Protocol (TZSP)
|
||||
TITLE:=Copy network packets with optional support for TaZmen Sniffer Protocol (TZSP)
|
||||
URL:=https://github.com/mmaraya/port-mirroring
|
||||
MENU:=1
|
||||
endef
|
||||
|
||||
define Package/port-mirroring/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/port-mirroring $(1)/usr/sbin/
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/port-mirroring $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/etc/config
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/port-mirroring.conf $(1)/etc/config/port-mirroring
|
||||
$(INSTALL_CONF) $(PKG_BUILD_DIR)/openwrt/port-mirroring.conf $(1)/etc/config/port-mirroring
|
||||
$(INSTALL_DIR) $(1)/etc/init.d
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/port-mirroringd $(1)/etc/init.d/port_mirroring
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/port-mirroringd $(1)/etc/init.d/port_mirroring
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,port-mirroring))
|
||||
|
||||
Reference in New Issue
Block a user