diff --git a/network/ipt_sysrq/fpic.patch b/network/ipt_sysrq/fpic.patch new file mode 100644 index 000000000..b203f024a --- /dev/null +++ b/network/ipt_sysrq/fpic.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ipt_sysrq/fpic.patch +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./src/Makefile-2.6.orig 2007-07-30 13:47:48.000000000 +0000 ++++ ./src/Makefile-2.6 2007-07-30 13:49:19.000000000 +0000 +@@ -40,7 +40,7 @@ + $(MAKE) -C $(KERNEL_SOURCES) SUBDIRS=$(PWD) modules + + libipt_SYSRQ.o: libipt_SYSRQ.c +- gcc -Wall -DNETFILTER_VERSION=\""$(IPTVERSION)"\" -c $< -o $@ ++ gcc -Wall -fPIC -DNETFILTER_VERSION=\""$(IPTVERSION)"\" -c $< -o $@ + + libipt_SYSRQ.so: libipt_SYSRQ.o + ld -shared -o $@ $< diff --git a/network/ipt_sysrq/hotfix.patch b/network/ipt_sysrq/hotfix.patch new file mode 100644 index 000000000..14ab3bd09 --- /dev/null +++ b/network/ipt_sysrq/hotfix.patch @@ -0,0 +1,38 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../ipt_sysrq/hotfix.patch +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./src/rsysrq.h.orig 2007-07-30 13:54:47.000000000 +0000 ++++ ./src/rsysrq.h 2007-07-30 13:56:57.000000000 +0000 +@@ -2,10 +2,9 @@ + #ifndef _RSYSRQ_H + #define _RSYSRQ_H + +-#include +- + #ifndef __KERNEL__ + #include ++#include + + typedef __uint8_t u8; + typedef __uint32_t u32; +@@ -22,6 +21,7 @@ + #endif + + #else ++#include + #include + #endif + diff --git a/network/ipt_sysrq/ipt_sysrq.desc b/network/ipt_sysrq/ipt_sysrq.desc index 9b3d2f4c6..bfdaf9d21 100644 --- a/network/ipt_sysrq/ipt_sysrq.desc +++ b/network/ipt_sysrq/ipt_sysrq.desc @@ -32,4 +32,4 @@ [V] 0.5 [P] X -----5---9 800.000 -[D] 0 ipt-sysrq-0.5.tar.gz http://marek.terminus.sk/prog/ +[D] 4047964618 ipt-sysrq-0.5.tar.gz http://marek.terminus.sk/prog/