diff options
author | Joerg Bornkessel <hd_brummy@gentoo.org> | 2021-05-10 18:32:57 +0200 |
---|---|---|
committer | Joerg Bornkessel <hd_brummy@gentoo.org> | 2021-05-10 18:36:27 +0200 |
commit | 55ff201201a26661501c515fda5316fde452e7b7 (patch) | |
tree | 66bfe6462b05392db275a144bcad7b1ce0393988 /dev-libs/tntnet/files | |
parent | dev-libs/cxxtools: cleanup old (diff) | |
download | gentoo-55ff201201a26661501c515fda5316fde452e7b7.tar.gz gentoo-55ff201201a26661501c515fda5316fde452e7b7.tar.bz2 gentoo-55ff201201a26661501c515fda5316fde452e7b7.zip |
dev-libs/tntnet: cleanup old
this commit will also cleanup the last
eapi 5 depend ebuild
Closes: https://bugs.gentoo.org/783708
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
Diffstat (limited to 'dev-libs/tntnet/files')
-rw-r--r-- | dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch | 65 | ||||
-rw-r--r-- | dev-libs/tntnet/files/tntnet.initd | 29 |
2 files changed, 0 insertions, 94 deletions
diff --git a/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch b/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch deleted file mode 100644 index 5e0465060898..000000000000 --- a/dev-libs/tntnet/files/tntnet-2.0-zlib-minizip.patch +++ /dev/null @@ -1,65 +0,0 @@ ---- a/configure.in -+++ b/configure.in -@@ -18,6 +18,7 @@ - - AC_PROG_CXX - AC_PROG_LIBTOOL -+PKG_PROG_PKG_CONFIG - - AC_LANG(C++) - ACX_PTHREAD -@@ -40,6 +41,12 @@ - AC_CHECK_FUNCS([fopen64], ,[AM_CFLAGS=-DUSE_FILE32API]) - AC_SUBST(AM_CFLAGS) - -+PKG_CHECK_MODULES([MINIZIP], [minizip], -+ [HAVE_MINIZIP=true], [HAVE_MINIZIP=false]) -+AC_SUBST([MINIZIP_CFLAGS]) -+AC_SUBST([MINIZIP_LIBS]) -+AM_CONDITIONAL([HAVE_MINIZIP], [test $HAVE_MINIZIP = true]) -+ - AC_ARG_WITH([epoll], - AS_HELP_STRING([--with-epoll=yes|no|probe], [use epoll]), - [epoll_option=$withval], ---- a/framework/common/Makefile.am -+++ b/framework/common/Makefile.am -@@ -23,7 +23,6 @@ - httpparser.cpp \ - httprequest.cpp \ - httpreply.cpp \ -- ioapi.c \ - job.cpp \ - langlib.cpp \ - listener.cpp \ -@@ -40,16 +39,13 @@ - stringlessignorecase.cpp \ - tntconfig.cpp \ - tntnet.cpp \ -- unzip.c \ - unzipfile.cpp \ - urlescostream.cpp \ - urlmapper.cpp \ - util.cpp \ - worker.cpp \ - zdata.cpp \ -- crypt.h \ -- ioapi.h \ -- unzip.h -+ crypt.h - - nobase_include_HEADERS = \ - tnt/applicationunlocker.h \ -@@ -144,3 +140,13 @@ - tnt/stressjob.h - endif - -+if HAVE_MINIZIP -+libtntnet_la_CXXFLAGS += $(MINIZIP_CFLAGS) -+libtntnet_la_LDFLAGS += $(MINIZIP_LIBS) -+else -+libtntnet_la_SOURCES += \ -+ ioapi.c \ -+ ioapi.h \ -+ unzip.c \ -+ unzip.h -+endif diff --git a/dev-libs/tntnet/files/tntnet.initd b/dev-libs/tntnet/files/tntnet.initd deleted file mode 100644 index 54982bddd6e6..000000000000 --- a/dev-libs/tntnet/files/tntnet.initd +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PIDFILE="/var/run/tntnet.pid" - -depend() { - use net -} - -start() { - ebegin "Starting tntnet" - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec /usr/bin/tntnet - eend $? -} - -stop() { - ebegin "Stopping tntnet" - start-stop-daemon --stop --pidfile $PIDFILE --exec /usr/bin/tntnet - eend $? -} - -reload() { - # FIXME: Remove --stop and --oknodo as soon as baselayout-1 has been removed... - # finally... - ebegin "Reloading tntnet configuration" - start-stop-daemon --stop --oknodo --pidfile $PIDFILE --signal HUP --exec /usr/bin/tntnet - eend $? -} |