Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
Disable selinux and systemd support since they check for host headers.
|
||||
|
||||
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
|
||||
|
||||
diff -Nura iodine-0.7.0.orig/src/osflags iodine-0.7.0/src/osflags
|
||||
--- iodine-0.7.0.orig/src/osflags 2015-02-20 14:59:00.799958145 -0300
|
||||
+++ iodine-0.7.0/src/osflags 2015-02-20 15:05:54.791135141 -0300
|
||||
@@ -18,8 +18,8 @@
|
||||
;;
|
||||
Linux)
|
||||
FLAGS="";
|
||||
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
|
||||
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
|
||||
+ #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -lselinux";
|
||||
+ #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -lsystemd-daemon";
|
||||
echo $FLAGS;
|
||||
;;
|
||||
esac
|
||||
@@ -34,8 +34,8 @@
|
||||
;;
|
||||
Linux)
|
||||
FLAGS="-D_GNU_SOURCE"
|
||||
- [ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
|
||||
- [ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
|
||||
+ #[ -e /usr/include/selinux/selinux.h ] && FLAGS="$FLAGS -DHAVE_SETCON";
|
||||
+ #[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS -DHAVE_SYSTEMD";
|
||||
echo $FLAGS;
|
||||
;;
|
||||
esac
|
||||
9
deprecated/firmware/buildroot/package/iodine/Config.in
Normal file
9
deprecated/firmware/buildroot/package/iodine/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_IODINE
|
||||
bool "iodine"
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
iodine lets you tunnel IPv4 data through a DNS server.
|
||||
This can be usable in different situations where
|
||||
internet access is firewalled, but DNS queries are allowed.
|
||||
|
||||
http://code.kryo.se/iodine/
|
||||
2
deprecated/firmware/buildroot/package/iodine/iodine.hash
Normal file
2
deprecated/firmware/buildroot/package/iodine/iodine.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From http://code.kryo.se/iodine/
|
||||
md5 fdbf3b81cd69caf5230d76a8b039fd99 iodine-0.7.0.tar.gz
|
||||
32
deprecated/firmware/buildroot/package/iodine/iodine.mk
Normal file
32
deprecated/firmware/buildroot/package/iodine/iodine.mk
Normal file
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# iodine
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IODINE_VERSION = 0.7.0
|
||||
IODINE_SITE = http://code.kryo.se/iodine
|
||||
IODINE_DEPENDENCIES = zlib
|
||||
IODINE_LICENSE = MIT
|
||||
IODINE_LICENSE_FILES = README
|
||||
|
||||
IODINE_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
# iodine contains a local implementation of daemon(3) for older
|
||||
# systems, unless __GLIBC__ is defined. Musl does provide it, but
|
||||
# unlike uClibc it doesn't define __GLIBC__. Work around it by
|
||||
# pretending to be glibc as we otherwise end up with symbol conflicts.
|
||||
ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y)
|
||||
IODINE_CFLAGS += -D__GLIBC__
|
||||
endif
|
||||
|
||||
define IODINE_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) CFLAGS="$(IODINE_CFLAGS)" \
|
||||
$(MAKE) ARCH=$(BR2_ARCH) -C $(@D)
|
||||
endef
|
||||
|
||||
define IODINE_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) install DESTDIR="$(TARGET_DIR)" prefix=/usr
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user