summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/cxxtools/Makefile39
-rw-r--r--package/tntnet/Makefile68
-rw-r--r--package/tntnet/files/mime.conf22
-rw-r--r--package/tntnet/files/tntnet.conffiles3
-rw-r--r--package/tntnet/files/tntnet.init27
-rw-r--r--package/tntnet/files/tntnet.postinst6
-rw-r--r--package/tntnet/files/tntnet.properties31
-rw-r--r--package/tntnet/files/tntnet.xml49
-rw-r--r--package/tntnet/patches/patch-framework_common_gnutls_cpp10
9 files changed, 0 insertions, 255 deletions
diff --git a/package/cxxtools/Makefile b/package/cxxtools/Makefile
deleted file mode 100644
index 0d02595c8..000000000
--- a/package/cxxtools/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${ADK_TOPDIR}/rules.mk
-
-PKG_NAME:= cxxtools
-PKG_VERSION:= 2.2.1
-PKG_RELEASE:= 2
-PKG_HASH:= 8cebb6d6cda7c93cc4f7c0d552a68d50dd5530b699cf87916bb3b708fdc4e342
-PKG_DESCR:= collection of general-purpose c++ classes
-PKG_NEEDS:= c++
-PKG_SECTION:= libs/misc
-PKG_URL:= http://www.tntnet.org/
-PKG_SITES:= http://www.tntnet.org/download/
-PKG_OPTS:= dev
-
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,CXXTOOLS,cxxtools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-
-ifeq ($(ADK_TARGET_ARCH_XTENSA),y)
-CONFIGURE_ARGS+= --with-atomictype=generic
-endif
-ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI3),y)
-CONFIGURE_ARGS+= --with-atomictype=pthread
-endif
-ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI3P),y)
-CONFIGURE_ARGS+= --with-atomictype=pthread
-endif
-CONFIGURE_ARGS+= --disable-demos \
- --disable-unittest
-
-cxxtools-install:
- ${INSTALL_DIR} ${IDIR_CXXTOOLS}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libcxxtools.so* ${IDIR_CXXTOOLS}/usr/lib
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tntnet/Makefile b/package/tntnet/Makefile
deleted file mode 100644
index 03d3b558e..000000000
--- a/package/tntnet/Makefile
+++ /dev/null
@@ -1,68 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include ${ADK_TOPDIR}/rules.mk
-
-PKG_NAME:= tntnet
-PKG_VERSION:= 2.2.1
-PKG_RELEASE:= 2
-PKG_HASH:= c83170d08ef04c5868051e1c28c74b9562fe71e9e8263828e755ad5bd3547521
-PKG_DESCR:= small c++ application server
-PKG_SECTION:= net/http
-PKG_DEPENDS:= cxxtools zlib
-PKG_BUILDDEP:= cxxtools zlib
-PKG_NEEDS:= threads c++
-PKG_URL:= http://www.tntnet.org/
-PKG_SITES:= http://www.tntnet.org/download/
-
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
-
-PKG_CHOICES_TNTNET:= WITH_LIBRESSL WITH_GNUTLS WITHOUT_SSL
-PKGCD_WITH_LIBRESSL:= use libressl for crypto
-PKGCS_WITH_LIBRESSL:= libressl
-PKGCB_WITH_LIBRESSL:= libressl
-PKGCD_WITH_GNUTLS:= use gnutls for crypto
-PKGCS_WITH_GNUTLS:= libgnutls
-PKGCB_WITH_GNUTLS:= gnutls
-PKGCD_WITHOUT_SSL:= use no ssl
-
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,TNTNET,tntnet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-
-ifeq (${ADK_PACKAGE_TNTNET_WITHOUT_SSL},y)
-CONFIGURE_ARGS+= --with-ssl=no
-endif
-ifeq (${ADK_PACKAGE_TNTNET_WITH_LIBRESSL},y)
-CONFIGURE_ARGS+= --with-ssl=openssl
-endif
-ifeq (${ADK_PACKAGE_TNTNET_WITH_GNUTLS},y)
-CONFIGURE_ARGS+= --with-ssl=gnutls
-endif
-
-CONFIGURE_ARGS+= --without-epoll \
- --without-sdk \
- --without-cgi \
- --disable-unittest \
- --disable-locale \
- --without-sendfile
-CONFIGURE_ENV+= CXXFLAGS='${TARGET_CXXFLAGS}' \
- ac_cv_path_cxxtools_config=${STAGING_TARGET_DIR}/usr/bin
-
-
-tntnet-install:
- ${INSTALL_DIR} ${IDIR_TNTNET}/www
- ${INSTALL_DIR} ${IDIR_TNTNET}/etc/tntnet
- ${INSTALL_DIR} ${IDIR_TNTNET}/usr/bin
- ${INSTALL_DIR} ${IDIR_TNTNET}/usr/lib/tntnet
- ${INSTALL_DATA} ./files/tntnet.{xml,properties} \
- ${IDIR_TNTNET}/etc/tntnet
- ${INSTALL_DATA} ./files/mime.conf \
- ${IDIR_TNTNET}/etc/tntnet
- ${CP} ${WRKINST}/usr/bin/tntnet ${IDIR_TNTNET}/usr/bin
- ${CP} ${WRKINST}/usr/lib/tntnet/tntnet.so* \
- ${IDIR_TNTNET}/usr/lib/tntnet
- ${CP} ${WRKINST}/usr/lib/libtntnet.so* \
- ${IDIR_TNTNET}/usr/lib
-
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/tntnet/files/mime.conf b/package/tntnet/files/mime.conf
deleted file mode 100644
index bab84a83d..000000000
--- a/package/tntnet/files/mime.conf
+++ /dev/null
@@ -1,22 +0,0 @@
-DefaultType text/html
-AddType text/plain .txt
-AddType text/html .html .htm .xhtml
-AddType image/png .png
-AddType image/gif .gif
-AddType image/bmp .bmp
-AddType application/x-tar .tgz
-AddType image/jpeg .jpeg .jpg
-AddType image/tif .tif .tiff
-AddType text/css .css
-AddType text/plain .asc
-AddType text/rtf .rtf
-AddType video/mpeg .mpeg .mpg .mpe
-AddType application/x-javascript .js
-AddType application/msword .doc .dot
-AddType application/pdf .pdf
-AddType application/postscript .ps .ai .eps
-AddType application/vnd.ms-excel .xls .xlb
-AddType application/vnd.ms-powerpoint .ppt .pps .pot
-AddType application/zip .zip
-AddType application/x-gtar .gtar .tgz .taz
-AddType application/x-java-archive .jar
diff --git a/package/tntnet/files/tntnet.conffiles b/package/tntnet/files/tntnet.conffiles
deleted file mode 100644
index def08bf81..000000000
--- a/package/tntnet/files/tntnet.conffiles
+++ /dev/null
@@ -1,3 +0,0 @@
-/etc/tntnet/tntnet.conf
-/etc/tntnet/tntnet.properties
-/etc/tntnet/mime.conf
diff --git a/package/tntnet/files/tntnet.init b/package/tntnet/files/tntnet.init
deleted file mode 100644
index 01bb7a00b..000000000
--- a/package/tntnet/files/tntnet.init
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-#PKG tntnet
-#INIT 90
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${tntnet:-NO}" = x"NO" && exit 0
- test x"$tntnet" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start
- exec sh $0 start
- ;;
-start)
- /usr/bin/tntnet /etc/tntnet/tntnet.conf
- ;;
-stop)
- kill $(pgrep -f /usr/bin/tntnet)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "usage: $0 {start | stop | restart}"
- ;;
-esac
-exit $?
diff --git a/package/tntnet/files/tntnet.postinst b/package/tntnet/files/tntnet.postinst
deleted file mode 100644
index 7bdfea5bd..000000000
--- a/package/tntnet/files/tntnet.postinst
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf tntnet NO
-gid=$(get_next_gid)
-add_group tntnet $gid
-add_user tntnet $(get_next_uid) $gid /www
diff --git a/package/tntnet/files/tntnet.properties b/package/tntnet/files/tntnet.properties
deleted file mode 100644
index 3e1006411..000000000
--- a/package/tntnet/files/tntnet.properties
+++ /dev/null
@@ -1,31 +0,0 @@
-# sample logging-properties for application tntnet
-# put this in tntnet.properties and use:
-# log_init("tntnet.properties");
-# in your application to initialize logging
-#
-# define categories with:
-# log_define("some.category")
-# this defines a static function, so you must put it outside other functions.
-# you can define a category per file or a category per namespace.
-#
-# print logging-messages with:
-# log_fatal("some fatal message");
-# log_error("some error message");
-# log_warn("some warn message");
-# log_info("some info message");
-# log_debug("some debug message");
-#
-rootLogger=INFO
-
-# define logger-categories
-logger.tntnet=INFO
-
-file=/var/log/tntnet.log
-maxfilesize=1MB
-maxbackupindex=10
-flushdelay=100 # delay write in milliseconds
-#host=localhost:1234 # send log-messages with udp
-#disabled=1 # disable logging
-#logprocess=1 # log in separate process
-#logprocesuser=someuser # change to user in log process
-#logprocesgroup=somegroup # change to group in log process
diff --git a/package/tntnet/files/tntnet.xml b/package/tntnet/files/tntnet.xml
deleted file mode 100644
index 2d4f160d1..000000000
--- a/package/tntnet/files/tntnet.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tntnet>
- <mappings>
- <mapping>
- <target>static@tntnet</target>
- <url>(.*)/$</url>
- <pathinfo>/$1/index.html</pathinfo>
- </mapping>
- <mapping>
- <target>static@tntnet</target>
- <url>^/(.*)$</url>
- <pathinfo>/$1</pathinfo>
- </mapping>
- </mappings>
-
- <listeners>
- <listener>
- <ip>0.0.0.0</ip>
- <port>80</port>
- </listener>
- </listeners>
-
- <daemon>1</daemon>
- <user>tntnet</user>
- <group>tntnet</group>
- <maxRequestSize>1048576</maxRequestSize>
- <pidFile>/var/run/tntnet.pid</pidFile>
- <minThreads>2</minThreads>
- <maxThreads>4</maxThreads>
- <documentRoot>/www</documentRoot>
- <compPath>
- <entry>/usr/lib/tntnet</entry>
- </compPath>
- <logging>
- <rootlogger>INFO</rootlogger>
- <loggers>
- <logger>
- <category>tntnet</category>
- <level>INFO</level>
- </logger>
- </loggers>
- <!-- <file>tntnet.log</file> --> <!--uncomment if you want to log to a file -->
- <!-- <maxfilesize>1MB</maxfilesize> -->
- <!-- <maxbackupindex>2</maxbackupindex> -->
- <!-- <host>localhost:1234</host> --> <!-- # send log-messages with udp -->
- </logging>
-
- <include>/etc/tntnet/mime.conf</include>
-</tntnet>
diff --git a/package/tntnet/patches/patch-framework_common_gnutls_cpp b/package/tntnet/patches/patch-framework_common_gnutls_cpp
deleted file mode 100644
index 51037f74a..000000000
--- a/package/tntnet/patches/patch-framework_common_gnutls_cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- tntnet-2.2.1.orig/framework/common/gnutls.cpp 2013-12-26 15:08:34.000000000 +0100
-+++ tntnet-2.2.1/framework/common/gnutls.cpp 2014-05-20 06:44:01.000000000 +0200
-@@ -35,6 +35,7 @@
- #include <sys/poll.h>
- #include <errno.h>
- #include <cxxtools/ioerror.h>
-+#include <unistd.h>
-
- log_define("tntnet.ssl")
-