Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions net/softflowd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=softflowd
PKG_VERSION:=1.1.0
PKG_RELEASE:=2
PKG_VERSION:=1.1.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/irino/softflowd/tar.gz/softflowd-v$(PKG_VERSION)?
PKG_HASH:=68d36a21895d0b155b27c718c4b79cc304a4de92d591d73887ccfd74f90f4ffc
PKG_HASH:=a6882e59931e5880901f8ee28d78b082cb3000ad8d28af35c13f2b528edbb2c9
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-v$(PKG_VERSION)

PKG_MAINTAINER:=Ross Vandegrift <ross@kallisti.us>
Expand Down
2 changes: 2 additions & 0 deletions net/softflowd/files/softflowd.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ config softflowd
option bidirectional '0'
option sampling_rate '100'
option filter ''
option exporter_ip ''
option send_interface 'br-lan'
7 changes: 5 additions & 2 deletions net/softflowd/files/softflowd.init
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ start_instance() {
append_string "$section" 'hoplimit' '-L'
append_string "$section" 'tracking_level' '-T'
append_string "$section" 'sampling_rate' '-s'
append_bool "$section" track_ipv6 '-6'
append_bool "$section" bidirectional '-b'
append_string "$section" 'send_interface' '-S'
append_string "$section" 'pcap_buffer_size' '-B'
append_string "$section" 'exporter_ip' '-e'
append_bool "$section" 'track_ipv6' '-6'
append_bool "$section" 'bidirectional' '-b'

procd_open_instance
procd_set_param command /usr/sbin/softflowd -d $args${pid_file:+ -p $pid_file} "$filter"
Expand Down
11 changes: 11 additions & 0 deletions net/softflowd/patches/001-fix-poll-h.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/common.h
+++ b/common.h
@@ -33,7 +33,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/un.h>
114 changes: 0 additions & 114 deletions net/softflowd/patches/030-Use-lld-for-time_t-always.patch

This file was deleted.

Loading