diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-18 14:53:00 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-18 14:53:00 +0000 |
commit | da6454c5891d772f7bcc9b2552ff088a40451eb0 (patch) | |
tree | a3c7927db214bac0beb7b14a66d9999ab95d6e73 /openwrt/package/olsrd/patches | |
parent | 9c2e7c1496a48de52073279f0cf9d81d962d722b (diff) |
Convert olsrd to new packaging style, put plugins into sub-packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@936 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/olsrd/patches')
-rw-r--r-- | openwrt/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff | 13 | ||||
-rw-r--r-- | openwrt/package/olsrd/patches/olsrd-0.4.9-secure-key-path.path | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/openwrt/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff b/openwrt/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff new file mode 100644 index 0000000000..c601ae015b --- /dev/null +++ b/openwrt/package/olsrd/patches/olsrd-0.4.9-opt-flags.diff @@ -0,0 +1,13 @@ +diff -ruN olsrd-0.4.9-orig/Makefile olsrd-0.4.9-1/Makefile +--- olsrd-0.4.9-orig/Makefile 2005-03-31 20:39:24.000000000 +0200 ++++ olsrd-0.4.9-1/Makefile 2005-04-05 02:14:48.000000000 +0200 +@@ -72,7 +72,8 @@ + SRCS += $(wildcard src/linux/*.c) $(wildcard src/unix/*.c) + HDRS += $(wildcard src/linux/*.h) $(wildcard src/unix/*.h) + DEFINES = -Dlinux +-CFLAGS ?= $(CCWARNINGS) -O2 -g #-DDEBUG #-pg #-march=i686 ++OFLAGS ?= -O2 -g ++CFLAGS ?= $(CCWARNINGS) $(OFLAGS) #-DDEBUG #-pg #-march=i686 + LIBS = -lm -ldl #-pg + MAKEDEPEND = makedepend -f $(DEPFILE) $(DEFINES) -Y $(INCLUDES) $(SRCS) >/dev/null 2>&1 + diff --git a/openwrt/package/olsrd/patches/olsrd-0.4.9-secure-key-path.path b/openwrt/package/olsrd/patches/olsrd-0.4.9-secure-key-path.path new file mode 100644 index 0000000000..fcae759862 --- /dev/null +++ b/openwrt/package/olsrd/patches/olsrd-0.4.9-secure-key-path.path @@ -0,0 +1,12 @@ +diff -ruN olsrd-0.4.9-orig/lib/secure/src/olsrd_secure.h olsrd-0.4.9-1/lib/secure/src/olsrd_secure.h +--- olsrd-0.4.9-orig/lib/secure/src/olsrd_secure.h 2005-03-10 20:57:48.000000000 +0100 ++++ olsrd-0.4.9-1/lib/secure/src/olsrd_secure.h 2005-04-05 00:51:40.000000000 +0200 +@@ -43,7 +43,7 @@ + + #include "olsrd_plugin.h" + +-#define KEYFILE "/root/.olsr/olsrd_secure_key" ++#define KEYFILE "/etc/olsrd.d/olsrd_secure_key" + + /* Schemes */ + #define ONE_CHECKSUM 1 |