[INFO, FRAGEN, ANTWORTEN, MEINUNGEN] Pakete für Freetz

Versuch es mal mit dieser Zeile:
Code:
EVTLOG_CFLAGS="-I$(TARGET_TOOLCHAIN_STAGING_DIR)/include/eventlog" \
, als Zeile 49 in der syslog-ng.mk
 
meinst du damit, ich soll die Zeile 49 mit deiner Codezeile ersetzen? Wahrscheinlich nur zwischen Zeile 58 und 49 schieben, denn am Ende ist ja ein Zeilenumbruch.
 
[INFO] nethogs

Paket (Patch) für nethogs ( http://nethogs.sourceforge.net ) vorhanden. Bei Interesse bitte melden. Wegen Mobilestyle, ist Anhang z. Zt. hier nicht möglich.
 
[INFO] Patch für nethogs

Anbei der Patch für nethogs:
Code:
diff -Naur '--exclude=.*' make/nethogs.orig/Config.in make/nethogs/Config.in
--- make/nethogs.orig/Config.in	1970-01-01 01:00:00.000000000 +0100
+++ make/nethogs/Config.in	2012-03-26 22:27:29.000000000 +0200
@@ -0,0 +1,18 @@
+config FREETZ_PACKAGE_NETHOGS
+	bool "nethogs 0.8.0 (binaries only)"
+	select FREETZ_LIB_STDCXXLIB
+	select FREETZ_LIB_libpcap
+	select FREETZ_LIB_libm
+	select FREETZ_LIB_libdl
+	select FREETZ_LIB_libncurses
+	default n
+	help
+		NetHogs is a small 'net top' tool. Instead of breaking the
+		traffic down per protocol or per subnet, like most tools do,
+		it groups bandwidth by process. NetHogs does not rely on a
+		special kernel module to be loaded. If there's suddenly a lot
+		of network traffic, you can fire up NetHogs and immediately
+		see which PID is causing this. This makes it easy to indentify
+		programs that have gone wild and are suddenly taking up your
+		bandwidth. 
+		WWW: http://nethogs.sourceforge.net/
diff -Naur '--exclude=.*' make/nethogs.orig/external.files make/nethogs/external.files
--- make/nethogs.orig/external.files	1970-01-01 01:00:00.000000000 +0100
+++ make/nethogs/external.files	2012-03-26 22:26:49.000000000 +0200
@@ -0,0 +1 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_NETHOGS" == "y" ] && EXTERNAL_FILES+=" /usr/bin/nethogs /usr/bin/decpcap_test"
diff -Naur '--exclude=.*' make/nethogs.orig/external.in make/nethogs/external.in
--- make/nethogs.orig/external.in	1970-01-01 01:00:00.000000000 +0100
+++ make/nethogs/external.in	2012-03-26 22:27:12.000000000 +0200
@@ -0,0 +1,8 @@
+config EXTERNAL_FREETZ_PACKAGE_NETHOGS
+	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_NETHOGS
+	bool "nethogs"
+	default n
+	help
+		externals these file(s):
+		 /usr/bin/nethogs
+		 /usr/bin/decpcap_test
diff -Naur '--exclude=.*' make/nethogs.orig/Makefile.in make/nethogs/Makefile.in
--- make/nethogs.orig/Makefile.in	1970-01-01 01:00:00.000000000 +0100
+++ make/nethogs/Makefile.in	2012-03-26 22:16:46.000000000 +0200
@@ -0,0 +1,3 @@
+ifeq ($(strip $(FREETZ_PACKAGE_NETHOGS)),y)
+PACKAGES+=nethogs
+endif
diff -Naur '--exclude=.*' make/nethogs.orig/nethogs.mk make/nethogs/nethogs.mk
--- make/nethogs.orig/nethogs.mk	1970-01-01 01:00:00.000000000 +0100
+++ make/nethogs/nethogs.mk	2012-03-26 22:25:01.000000000 +0200
@@ -0,0 +1,36 @@
+$(call PKG_INIT_BIN, 0.8.0)
+$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
+$(PKG)_SOURCE_MD5:=d6fb12b46e80a50c9b9f91dd48e2b234
+$(PKG)_SITE:=@SF/$(pkg)
+$(PKG)_DIR:=$(SOURCE_DIR)/$(pkg)
+$(PKG)_BINARIES:=$(pkg) decpcap_test
+$(PKG)_BINARIES_BUILD_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DIR)/%)
+$(PKG)_BINARIES_TARGET_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%)
+
+$(PKG)_DEPENDS_ON := $(STDCXXLIB) libpcap ncurses
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_NOP)
+
+$($(PKG)_BINARIES_BUILD_DIR): $($(PKG)_DIR)/.configured
+	$(SUBMAKE) -C $(NETHOGS_DIR) \
+		CC="$(TARGET_CC)" \
+		CXX="$(TARGET_CXX)" \
+		CFLAGS="$(TARGET_CFLAGS)" \
+		CXXFLAGS="$(TARGET_CFLAGS)"
+
+$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%: $($(PKG)_DIR)/%
+	$(INSTALL_BINARY_STRIP)
+
+$(pkg)-precompiled: $($(PKG)_BINARIES_TARGET_DIR)
+
+$(pkg)-clean:
+	-$(SUBMAKE) -C $(NETHOGS_DIR) clean
+	 $(RM) $(NETHOGS_DIR)/.configured
+
+$(pkg)-uninstall:
+	$(RM) $(NETHOGS_TARGET_BINARY)
+	$(RM) $(NETHOGS_BINARIES_TARGET_DIR)
+
+$(PKG_FINISH)
 
[INFO] dibbler

Anbei ein Patch (Paket) für dibbler ( http://klub.com.pl/dhcpv6/ ), eine DHCPv6-Implementation (server, client, relay und requestor):
Code:
diff -Naur '--exclude=.*' make/dibbler.orig/Config.in make/dibbler/Config.in
--- make/dibbler.orig/Config.in	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/Config.in	2012-04-28 13:59:11.000000000 +0200
@@ -0,0 +1,21 @@
+config FREETZ_PACKAGE_DIBBLER
+	bool "dibbler 0.8.2 (binaries only)"
+	select FREETZ_LIB_STDCXXLIB
+	select FREETZ_LIB_libpthread
+	default n
+	help
+		  Dibbler is a portable DHCPv6 implementation. It supports stateful
+		  (i.e. IPv6 address granting) as well as stateless (i.e. option
+		  granting) autoconfiguration for IPv6. Currently Linux 2.4/2.6 and
+		  Windows XP and Windows 2003 ports are available. It features easy
+		  to use install packages (Clickable Windows installer and RPM and
+		  DEB packages for Linux) and extensive documentation (both for users
+		  as well as developers). Dibbler is developed under GNU GPL licence.
+		  It means that it is free for all, including commercial usage.
+		  This project was started in 2003 as master thesis by Tomasz Mrugalski
+		  and Marek Senderski of Computer Science faculty on Gdansk University
+		  of Technology. This project is named Dibbler (after famous CMOT Dibbler
+		  from fantastic Discworld series by Terry Pratchett). If you are
+		  interested in porting it to other systems/architectures, contact
+		  Tomasz Mrugalski for info and guidelines. 
+		  WWW: http://klub.com.pl/dhcpv6/
diff -Naur '--exclude=.*' make/dibbler.orig/dibbler.mk make/dibbler/dibbler.mk
--- make/dibbler.orig/dibbler.mk	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/dibbler.mk	2012-04-28 13:47:02.000000000 +0200
@@ -0,0 +1,35 @@
+$(call PKG_INIT_BIN, 0.8.2)
+$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
+$(PKG)_SOURCE_MD5:=313044c95af3091607127a05c338d8ec
+$(PKG)_SITE:=http://klub.com.pl/dhcpv6/$(pkg)
+$(PKG)_BINARIES:=$(pkg)-server $(pkg)-client $(pkg)-relay $(pkg)-requestor
+$(PKG)_BINARIES_BUILD_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DIR)/%)
+$(PKG)_BINARIES_TARGET_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%)
+
+$(PKG)_CONFIGURE_PRE_CMDS += $(call PKG_PREVENT_RPATH_HARDCODING,./configure)
+$(PKG)_DEPENDS_ON := $(STDCXXLIB)
+$(PKG)_CONFIGURE_OPTIONS += --with-gnu-ld
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_CONFIGURE)
+
+$($(PKG)_BINARIES_BUILD_DIR): $($(PKG)_DIR)/.configured
+		$(SUBMAKE) -C $(DIBBLER_DIR) \
+		CXXFLAGS="$(TARGET_CFLAGS) -Wno-long-long"
+
+$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%: $($(PKG)_DIR)/%
+	$(INSTALL_BINARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_BINARIES_TARGET_DIR)
+
+$(pkg)-clean:
+	-$(SUBMAKE) -C $(DIBBLER_DIR) clean
+	$(RM) $(DIBBLER_DIR)/.configured
+
+$(pkg)-uninstall:
+	$(RM) $(DIBBLER_BINARIES_TARGET_DIR)
+
+$(PKG_FINISH)
diff -Naur '--exclude=.*' make/dibbler.orig/external.files make/dibbler/external.files
--- make/dibbler.orig/external.files	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/external.files	2012-04-28 13:58:34.000000000 +0200
@@ -0,0 +1,2 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_DIBBLER" == "y" ] && EXTERNAL_FILES+=" /usr/bin/dibbler-server /usr/bin/dibbler-client \
+/usr/bin/dibbler-relay /usr/bin/dibbler-requestor"
diff -Naur '--exclude=.*' make/dibbler.orig/external.in make/dibbler/external.in
--- make/dibbler.orig/external.in	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/external.in	2012-04-28 13:58:48.000000000 +0200
@@ -0,0 +1,10 @@
+config EXTERNAL_FREETZ_PACKAGE_DIBBLER
+	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_DIBBLER
+	bool "dibbler"
+	default n
+	help
+		externals these file(s):
+			/usr/bin/dibbler-server
+			/usr/bin/dibbler-client
+			/usr/bin/dibbler-relay
+			/usr/bin/dibbler-requestor
diff -Naur '--exclude=.*' make/dibbler.orig/Makefile.in make/dibbler/Makefile.in
--- make/dibbler.orig/Makefile.in	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/Makefile.in	2012-04-28 10:03:10.000000000 +0200
@@ -0,0 +1,3 @@
+ifeq ($(strip $(FREETZ_PACKAGE_DIBBLER)),y)
+PACKAGES+=dibbler
+endif
diff -Naur '--exclude=.*' make/dibbler.orig/patches/100_RelCfgMgr_cpp.patch make/dibbler/patches/100_RelCfgMgr_cpp.patch
--- make/dibbler.orig/patches/100_RelCfgMgr_cpp.patch	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/patches/100_RelCfgMgr_cpp.patch	2012-04-28 13:53:21.000000000 +0200
@@ -0,0 +1,20 @@
+--- RelCfgMgr/RelCfgMgr.cpp.orig	2012-04-28 11:11:42.000000000 +0200
++++ RelCfgMgr/RelCfgMgr.cpp	2012-04-28 13:50:18.000000000 +0200
+@@ -41,7 +41,7 @@
+ bool TRelCfgMgr::parseConfigFile(string cfgFile) {
+     int result;
+     ifstream f;
+-
++    cerr << "Greetings to Tomasz Mrugalski from clog! ;-)" << endl;
+     // parse config file
+     f.open( cfgFile.c_str() );
+     if ( ! f.is_open() ) {
+@@ -51,7 +51,7 @@
+     } else {
+ 	Log(Notice) << "Parsing " << cfgFile << " config file..." << LogEnd;
+     }
+-    yyFlexLexer lexer(&f,&clog);
++    yyFlexLexer lexer(&f,&cerr);
+     RelParser parser(&lexer);
+     result = parser.yyparse();
+     Log(Debug) << "Parsing config done." << LogEnd;
diff -Naur '--exclude=.*' make/dibbler.orig/patches/110_SrvCfgMgr_cpp.patch make/dibbler/patches/110_SrvCfgMgr_cpp.patch
--- make/dibbler.orig/patches/110_SrvCfgMgr_cpp.patch	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/patches/110_SrvCfgMgr_cpp.patch	2012-04-28 13:44:30.000000000 +0200
@@ -0,0 +1,19 @@
+--- SrvCfgMgr/SrvCfgMgr.cpp.orig	2012-04-28 12:32:32.000000000 +0200
++++ SrvCfgMgr/SrvCfgMgr.cpp	2012-04-28 13:43:43.000000000 +0200
+@@ -69,6 +69,7 @@
+ bool TSrvCfgMgr::parseConfigFile(string cfgFile) {
+     int result;
+     ifstream f;
++    cerr << "Greetings to Tomasz Mrugalski from clog! ;-)" << endl;
+ 
+     // parse config file
+     f.open( cfgFile.c_str() );
+@@ -78,7 +79,7 @@
+     } else {
+ 	Log(Notice) << "Parsing " << cfgFile << " config file..." << LogEnd;
+     }
+-    yyFlexLexer lexer(&f,&clog);
++    yyFlexLexer lexer(&f,&cerr);
+     SrvParser parser(&lexer);
+     parser.CfgMgr = this; // just a workaround (parser is called, while SrvCfgMgr is still in constructor, so instance() singleton method can't be called
+     result = parser.yyparse();
diff -Naur '--exclude=.*' make/dibbler.orig/patches/120_ClntCfgMgr_cpp.patch make/dibbler/patches/120_ClntCfgMgr_cpp.patch
--- make/dibbler.orig/patches/120_ClntCfgMgr_cpp.patch	1970-01-01 01:00:00.000000000 +0100
+++ make/dibbler/patches/120_ClntCfgMgr_cpp.patch	2012-04-28 13:53:42.000000000 +0200
@@ -0,0 +1,19 @@
+--- ClntCfgMgr/ClntCfgMgr.cpp.orig	2012-04-28 10:29:32.000000000 +0200
++++ ClntCfgMgr/ClntCfgMgr.cpp	2012-04-28 13:49:21.000000000 +0200
+@@ -97,6 +97,7 @@
+ 
+     // parse config file
+     ifstream f;
++    cerr << "Greetings to Tomasz Mrugalski from clog! ;-)" << endl;
+     f.open(cfgFile.c_str());
+     if ( ! f.is_open()  ) {
+         Log(Crit) << "Unable to open " << cfgFile << " file." << LogEnd;
+@@ -104,7 +105,7 @@
+     } else {
+         Log(Notice) << "Parsing " << cfgFile << " config file..." << LogEnd;
+     }
+-    yyFlexLexer lexer(&f,&clog);
++    yyFlexLexer lexer(&f,&cerr);
+     ClntParser parser(&lexer);
+     parser.CfgMgr = this; // just a workaround to access CfgMgr while still being in constructor
+     int result = parser.yyparse();

Code:
root@fritz:/var/media/ftp/uStor01/archiv# ./dibbler-server -h
| Dibbler - a portable DHCPv6, version 0.8.2 (SERVER, Linux port)
| Authors : Tomasz Mrugalski<thomson(at)klub.com.pl>,Marek Senderski<msend(at)o2.pl>
| Licence : GNU GPL v2 only. Developed at Gdansk University of Technology.
| Homepage: http://klub.com.pl/dhcpv6/
Usage:
 dibbler-server ACTION
 ACTION = status|start|stop|run
 status    - show status and exit
 start     - start installed service
 stop      - stop installed service
 install   - Not available in Linux/Unix systems.
 uninstall - Not available in Linux/Unix systems.
 run       - run in the console
 help      - displays usage info.
 
[INFO] aescrypt

Anbei ein Patch für aescrypt:
Code:
diff -Naur '--exclude=.*' make/aescrypt.orig/aescrypt.mk make/aescrypt/aescrypt.mk
--- make/aescrypt.orig/aescrypt.mk	1970-01-01 01:00:00.000000000 +0100
+++ make/aescrypt/aescrypt.mk	2012-08-18 10:11:39.000000000 +0200
@@ -0,0 +1,33 @@
+$(call PKG_INIT_BIN, 305)
+$(PKG)_SOURCE:=$(pkg)$($(PKG)_VERSION)_source.tar.gz
+$(PKG)_SOURCE_MD5:=064dce49bcdd8781fa08c7606a1f9bc1
+$(PKG)_SITE:=http://ftp.vim.org/metalab/distributions/slitaz/sources/packages-cooking/a
+$(PKG)_DIR:=$(SOURCE_DIR)/$(pkg)$($(PKG)_VERSION)_source
+$(PKG)_BINARIES:=$(pkg)
+$(PKG)_BINARIES_BUILD_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DIR)/%)
+$(PKG)_BINARIES_TARGET_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%)
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_NOP)
+
+$($(PKG)_BINARIES_BUILD_DIR): $($(PKG)_DIR)/.configured
+		$(SUBMAKE) -C $(AESCRYPT_DIR) \
+		CC="$(TARGET_CC)" \
+		CFLAGS="$(TARGET_CFLAGS)"
+
+$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%: $($(PKG)_DIR)/%
+	$(INSTALL_BINARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_BINARIES_TARGET_DIR)
+
+$(pkg)-clean:
+	-$(SUBMAKE) -C $(AESCRYPT_DIR) clean
+	$(RM) $(AESCRYPT_DIR)/.configured
+
+$(pkg)-uninstall:
+	$(RM) $(AESCRYPT_BINARIES_TARGET_DIR)
+
+$(PKG_FINISH)
diff -Naur '--exclude=.*' make/aescrypt.orig/Config.in make/aescrypt/Config.in
--- make/aescrypt.orig/Config.in	1970-01-01 01:00:00.000000000 +0100
+++ make/aescrypt/Config.in	2012-08-18 10:05:41.000000000 +0200
@@ -0,0 +1,9 @@
+config FREETZ_PACKAGE_AESCRYPT
+	bool "aescrypt 305 (binary only)"
+	default n
+	help
+		  AES Crypt is a file encryption software product available on
+		  several operating systems that uses the industry standard
+		  Advanced Encryption Standard (AES) to easily and securely
+		  encrypt files. 
+		  WWW: http://www.aescrypt.com/linux_aes_crypt.html
diff -Naur '--exclude=.*' make/aescrypt.orig/external.files make/aescrypt/external.files
--- make/aescrypt.orig/external.files	1970-01-01 01:00:00.000000000 +0100
+++ make/aescrypt/external.files	2012-08-18 10:15:04.000000000 +0200
@@ -0,0 +1 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_AESCRYPT" == "y" ] && EXTERNAL_FILES+=" /usr/bin/aescrypt"
diff -Naur '--exclude=.*' make/aescrypt.orig/external.in make/aescrypt/external.in
--- make/aescrypt.orig/external.in	1970-01-01 01:00:00.000000000 +0100
+++ make/aescrypt/external.in	2012-08-18 10:14:39.000000000 +0200
@@ -0,0 +1,7 @@
+config EXTERNAL_FREETZ_PACKAGE_AESCRYPT
+	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_AESCRYPT
+	bool "aescrypt"
+	default n
+	help
+		externals these file(s):
+			/usr/bin/aescrypt
diff -Naur '--exclude=.*' make/aescrypt.orig/patches/100_aescrypt_c.patch make/aescrypt/patches/100_aescrypt_c.patch
--- make/aescrypt.orig/patches/100_aescrypt_c.patch	1970-01-01 01:00:00.000000000 +0100
+++ make/aescrypt/patches/100_aescrypt_c.patch	2012-08-18 10:41:46.000000000 +0200
@@ -0,0 +1,20 @@
+--- aescrypt.c.orig	2012-08-18 10:39:53.000000000 +0200
++++ aescrypt.c	2012-08-18 10:40:35.000000000 +0200
+@@ -806,7 +806,7 @@
+ {
+     const char* progname_real; //contains the real name of the program (without path)
+ 
+-    progname_real = rindex(progname, '/');
++    progname_real = strrchr(progname, '/');
+     if (progname_real == NULL) //no path in progname: use progname
+     {
+         progname_real = progname;
+@@ -829,7 +829,7 @@
+ {
+     const char* progname_real; //contains the real name of the program (without path)
+ 
+-    progname_real = rindex(progname, '/');
++    progname_real = strrchr(progname, '/');
+     if (progname_real == NULL) //no path in progname: use progname
+     {
+         progname_real = progname;
Code:
root@fritz:/var/media/ftp/uStor02/test# ./aescrypt -h
usage: aescrypt {-e|-d} [-p <password>] { [-o <output filename>] <file> | <file> [<file> ...] }
 
[INFO] sigmavpn

Anbei ein Patch (Paket) für sigmavpn, noch ohne nacl ( https://code.google.com/p/sigmavpn/ ):
Code:
diff -Naur '--exclude=.*' make/sigmavpn.orig/Config.in make/sigmavpn/Config.in
--- make/sigmavpn.orig/Config.in	1970-01-01 01:00:00.000000000 +0100
+++ make/sigmavpn/Config.in	2012-09-01 22:09:17.000000000 +0200
@@ -0,0 +1,10 @@
+config FREETZ_PACKAGE_SIGMAVPN
+	bool "sigmavpn 0.2 (binary only)"
+	select FREETZ_LIB_libpthread
+	select FREETZ_LIB_libdl
+	default n
+	help
+		  SigmaVPN is a light-weight VPN solution aimed at
+		  providing easy-to-configure VPN tunnels for UNIX
+		  systems. 
+		  WWW: https://code.google.com/p/sigmavpn/
diff -Naur '--exclude=.*' make/sigmavpn.orig/external.files make/sigmavpn/external.files
--- make/sigmavpn.orig/external.files	1970-01-01 01:00:00.000000000 +0100
+++ make/sigmavpn/external.files	2012-09-01 22:34:41.000000000 +0200
@@ -0,0 +1 @@
+[ "$EXTERNAL_FREETZ_PACKAGE_SIGMAVPN" == "y" ] && EXTERNAL_FILES+=" /usr/bin/sigmavpn /usr/lib/freetz/proto_raw.o"
diff -Naur '--exclude=.*' make/sigmavpn.orig/external.in make/sigmavpn/external.in
--- make/sigmavpn.orig/external.in	1970-01-01 01:00:00.000000000 +0100
+++ make/sigmavpn/external.in	2012-09-01 22:35:01.000000000 +0200
@@ -0,0 +1,8 @@
+config EXTERNAL_FREETZ_PACKAGE_SIGMAVPN
+	depends on EXTERNAL_ENABLED && FREETZ_PACKAGE_SIGMAVPN
+	bool "sigmavpn"
+	default n
+	help
+		externals these file(s):
+			/usr/bin/sigmavpn
+			/usr/lib/freetz/proto_raw.o
diff -Naur '--exclude=.*' make/sigmavpn.orig/patches/100_makefile.patch make/sigmavpn/patches/100_makefile.patch
--- make/sigmavpn.orig/patches/100_makefile.patch	1970-01-01 01:00:00.000000000 +0100
+++ make/sigmavpn/patches/100_makefile.patch	2012-09-01 22:14:44.000000000 +0200
@@ -0,0 +1,32 @@
+--- Makefile.orig	1970-01-01 01:00:00.000000000 +0100
++++ Makefile	2012-09-01 22:13:30.000000000 +0200
+@@ -0,0 +1,29 @@
++# Makefile for sigmavpn
++
++CC=
++CFLAGS=
++#CFLAGS= -g -fPIC
++DYFLAGS= -shared
++LDFLAGS= -ldl -lpthread
++
++sigmavpn:
++	$(CC) $(CFLAGS) -c -o main.o main.c
++	$(CC) $(CFLAGS) -c -o modules.o modules.c
++	$(CC) $(CFLAGS) -c -o types.o types.c
++	$(CC) $(CFLAGS) -c -o ini.o dep/ini.c
++
++	$(CC) $(CFLAGS) $(DYFLAGS) -o proto_raw.o proto/proto_raw.c
++#	$(CC) $(CFLAGS) $(DYFLAGS) -o proto_nacl0.o proto/proto_nacl0.c lib/libnacl.a types.o
++#	$(CC) $(CFLAGS) $(DYFLAGS) -o proto_nacltai.o proto/proto_nacltai.c lib/libnacl.a types.o
++
++#	$(CC) $(CFLAGS) -c -o naclkeypair.o naclkeypair.c
++#	$(CC) $(CFLAGS) -o naclkeypair naclkeypair.o lib/libnacl.a lib/randombytes.o
++
++	$(CC) $(CFLAGS) $(DYFLAGS) -o intf_dummy.o intf/intf_dummy.c
++	$(CC) $(CFLAGS) $(DYFLAGS) -o intf_tuntap.o intf/intf_tuntap.c
++	$(CC) $(CFLAGS) $(DYFLAGS) -o intf_udp.o intf/intf_udp.c
++
++	$(CC) $(CFLAGS) $(LDFLAGS) -o sigmavpn main.o modules.o types.o ini.o
++
++clean:
++	rm -f *.o sigmavpn #naclkeypair
diff -Naur '--exclude=.*' make/sigmavpn.orig/sigmavpn.mk make/sigmavpn/sigmavpn.mk
--- make/sigmavpn.orig/sigmavpn.mk	1970-01-01 01:00:00.000000000 +0100
+++ make/sigmavpn/sigmavpn.mk	2012-09-01 22:32:34.000000000 +0200
@@ -0,0 +1,39 @@
+$(call PKG_INIT_BIN, 0.2)
+$(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
+$(PKG)_SOURCE_MD5:=89f1552cd2ba76f5e4fab9682ed87d94
+$(PKG)_SITE:=https://$(pkg).googlecode.com/files
+$(PKG)_BINARIES:=$(pkg)
+$(PKG)_BINARIES_BUILD_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DIR)/%)
+$(PKG)_BINARIES_TARGET_DIR:=$($(PKG)_BINARIES:%=$($(PKG)_DEST_DIR)/usr/bin/%)
+
+$(PKG)_LIBS:=proto_raw.o
+$(PKG)_LIBS_BUILD_DIR:=$($(PKG)_LIBS:%=$($(PKG)_DIR)/%)
+$(PKG)_LIBS_TARGET_DIR:=$($(PKG)_LIBS:%=$($(PKG)_DEST_LIBDIR)/%)
+
+$(PKG_SOURCE_DOWNLOAD)
+$(PKG_UNPACKED)
+$(PKG_CONFIGURED_NOP)
+
+$($(PKG)_BINARIES_BUILD_DIR) $($(PKG)_LIBS_BUILD_DIR): $($(PKG)_DIR)/.configured
+		$(SUBMAKE) -C $(SIGMAVPN_DIR) \
+		CC="$(TARGET_CC)" \
+		CFLAGS="$(TARGET_CFLAGS) -g -fPIC"
+
+$($(PKG)_BINARIES_TARGET_DIR): $($(PKG)_DEST_DIR)/usr/bin/%: $($(PKG)_DIR)/%
+	$(INSTALL_BINARY_STRIP)
+
+$($(PKG)_LIBS_TARGET_DIR): $($(PKG)_DEST_LIBDIR)/%: $($(PKG)_DIR)/%
+	$(INSTALL_LIBRARY_STRIP)
+
+$(pkg):
+
+$(pkg)-precompiled: $($(PKG)_BINARIES_TARGET_DIR) $($(PKG)_LIBS_TARGET_DIR)
+
+$(pkg)-clean:
+	-$(SUBMAKE) -C $(SIGMAVPN_DIR) clean
+	$(RM) $(SIGMAVPN_DIR)/.configured
+
+$(pkg)-uninstall:
+	$(RM) $(SIGMAVPN_BINARIES_TARGET_DIR) $(SIGMAVPN_LIBS_TARGET_DIR)
+
+$(PKG_FINISH)
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
246,382
Beiträge
2,251,164
Mitglieder
374,040
Neuestes Mitglied
nady
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.