|
@@ -0,0 +1,47 @@
|
|
1
|
+#
|
|
2
|
+# Copyright (C) 2007-2011 OpenWrt.org
|
|
3
|
+#
|
|
4
|
+# This is free software, licensed under the GNU General Public License v2.
|
|
5
|
+# See /LICENSE for more information.
|
|
6
|
+#
|
|
7
|
+
|
|
8
|
+include $(TOPDIR)/rules.mk
|
|
9
|
+
|
|
10
|
+PKG_NAME:=daemonlogger
|
|
11
|
+PKG_VERSION:=1.2.1
|
|
12
|
+PKG_RELEASE:=1
|
|
13
|
+
|
|
14
|
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
15
|
+PKG_SOURCE_URL:=@SF/daemonlogger
|
|
16
|
+PKG_MD5SUM:=acb64aa6cd5777e297569f100b5c39ee
|
|
17
|
+
|
|
18
|
+PKG_LICENSE:=GPL-2.0
|
|
19
|
+PKG_LICENSE_FILES:=COPYING
|
|
20
|
+
|
|
21
|
+PKG_MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
|
|
22
|
+
|
|
23
|
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
24
|
+PKG_INSTALL:=1
|
|
25
|
+
|
|
26
|
+include $(INCLUDE_DIR)/package.mk
|
|
27
|
+
|
|
28
|
+define Package/daemonlogger
|
|
29
|
+ SECTION:=net
|
|
30
|
+ CATEGORY:=Network
|
|
31
|
+ DEPENDS:=+libpcap +libdnet
|
|
32
|
+ TITLE:=Software Network Tap
|
|
33
|
+ URL:=http://www.snort.org/snort-downloads/additional-downloads
|
|
34
|
+endef
|
|
35
|
+
|
|
36
|
+CONFIGURE_VARS += \
|
|
37
|
+ BUILD_CC="$(TARGET_CC)" \
|
|
38
|
+ HOSTCC="$(HOSTCC)"
|
|
39
|
+
|
|
40
|
+MAKE_FLAGS := CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
|
|
41
|
+
|
|
42
|
+define Package/daemonlogger/install
|
|
43
|
+ $(INSTALL_DIR) $(1)/usr/bin
|
|
44
|
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/daemonlogger $(1)/usr/bin/
|
|
45
|
+endef
|
|
46
|
+
|
|
47
|
+$(eval $(call BuildPackage,daemonlogger))
|