From 408152e5b8c430f9ce69bdf02d626409d163308a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 23 Feb 2024 05:22:48 +0100 Subject: tntnet/cxxtools: remove packages --- package/tntnet/Makefile | 68 ---------------------- package/tntnet/files/mime.conf | 22 ------- package/tntnet/files/tntnet.conffiles | 3 - package/tntnet/files/tntnet.init | 27 --------- package/tntnet/files/tntnet.postinst | 6 -- package/tntnet/files/tntnet.properties | 31 ---------- package/tntnet/files/tntnet.xml | 49 ---------------- .../patches/patch-framework_common_gnutls_cpp | 10 ---- 8 files changed, 216 deletions(-) delete mode 100644 package/tntnet/Makefile delete mode 100644 package/tntnet/files/mime.conf delete mode 100644 package/tntnet/files/tntnet.conffiles delete mode 100644 package/tntnet/files/tntnet.init delete mode 100644 package/tntnet/files/tntnet.postinst delete mode 100644 package/tntnet/files/tntnet.properties delete mode 100644 package/tntnet/files/tntnet.xml delete mode 100644 package/tntnet/patches/patch-framework_common_gnutls_cpp (limited to 'package/tntnet') 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 @@ - - - - - static@tntnet - (.*)/$ - /$1/index.html - - - static@tntnet - ^/(.*)$ - /$1 - - - - - - 0.0.0.0 - 80 - - - - 1 - tntnet - tntnet - 1048576 - /var/run/tntnet.pid - 2 - 4 - /www - - /usr/lib/tntnet - - - INFO - - - tntnet - INFO - - - - - - - - - /etc/tntnet/mime.conf - 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 - #include - #include -+#include - - log_define("tntnet.ssl") - -- cgit v1.2.3