mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
remove net/trickle, "bandwidth manager" which uses LD_PRELOAD to override
socket functions; has various time_t issues, breaking build on 32-bit archs with llvm22. ok tb
This commit is contained in:
@@ -778,7 +778,6 @@
|
||||
SUBDIR += transmission
|
||||
SUBDIR += transmission-remote-gtk
|
||||
SUBDIR += tremc
|
||||
SUBDIR += trickle
|
||||
SUBDIR += trippy
|
||||
SUBDIR += trurl
|
||||
SUBDIR += ttg
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
COMMENT= lightweight userspace bandwidth shaper
|
||||
DISTNAME= trickle-1.07
|
||||
REVISION= 1
|
||||
|
||||
CATEGORIES= net
|
||||
|
||||
HOMEPAGE= http://monkey.org/~marius/trickle/
|
||||
SITES= ${HOMEPAGE}
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
|
||||
WANTLIB= c event
|
||||
|
||||
CONFIGURE_STYLE=autoconf
|
||||
AUTOCONF_VERSION=2.59
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -1,2 +0,0 @@
|
||||
SHA256 (trickle-1.07.tar.gz) = nTZQfgt6/fuHUzJE99ddqhwX8naJgmdPTJrdWubAOGg=
|
||||
SIZE (trickle-1.07.tar.gz) = 308863
|
||||
@@ -1,42 +0,0 @@
|
||||
-nostdlib: undefined symbol '__guard_local'
|
||||
remove getopt.c: fix with clang
|
||||
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -107,10 +107,10 @@ man_MANS = trickle.1 trickled.8 trickled.conf.5
|
||||
bin_PROGRAMS = trickle trickled tricklectl
|
||||
|
||||
trickle_DEPENDENCIES = @ERRO@ @LIBOBJS@
|
||||
-trickle_SOURCES = trickle.c util.c getopt.c
|
||||
+trickle_SOURCES = trickle.c util.c
|
||||
trickle_LDADD = @ERRO@ @LIBOBJS@
|
||||
|
||||
-trickled_SOURCES = trickled.c atomicio.c print.c bwstat.c client.c conf.c util.c cleanup.c getopt.c xdr.c
|
||||
+trickled_SOURCES = trickled.c atomicio.c print.c bwstat.c client.c conf.c util.c cleanup.c xdr.c
|
||||
|
||||
trickled_LDADD = @EVENTLIB@ @LIBOBJS@
|
||||
|
||||
@@ -138,11 +138,11 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
||||
CPPFLAGS = @CPPFLAGS@
|
||||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
-trickle_OBJECTS = trickle.$(OBJEXT) util.$(OBJEXT) getopt.$(OBJEXT)
|
||||
+trickle_OBJECTS = trickle.$(OBJEXT) util.$(OBJEXT)
|
||||
trickle_LDFLAGS =
|
||||
trickled_OBJECTS = trickled.$(OBJEXT) atomicio.$(OBJEXT) \
|
||||
print.$(OBJEXT) bwstat.$(OBJEXT) client.$(OBJEXT) conf.$(OBJEXT) \
|
||||
-util.$(OBJEXT) cleanup.$(OBJEXT) getopt.$(OBJEXT) xdr.$(OBJEXT)
|
||||
+util.$(OBJEXT) cleanup.$(OBJEXT) xdr.$(OBJEXT)
|
||||
trickled_DEPENDENCIES = @LIBOBJS@
|
||||
trickled_LDFLAGS =
|
||||
tricklectl_OBJECTS = tricklectl.$(OBJEXT) trickledu.$(OBJEXT) \
|
||||
@@ -618,7 +618,7 @@ mostlyclean distclean maintainer-clean
|
||||
trickle-overload.so: $(TRICKLEOVERLOADFILES)
|
||||
$(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la \
|
||||
-rpath $(libdir)/trickle $(TRICKLEOVERLOADFILES) $(LIBS) \
|
||||
- $(LDFLAGS) -module -avoid-version -nostdlib @LIBDL@
|
||||
+ $(LDFLAGS) -module -avoid-version @LIBDL@
|
||||
@rm -f libtmp$@.la tmp$@.so* $@
|
||||
@cp .libs/libtmp$@.so $@
|
||||
@rm -f .libs/libtmp$@.*
|
||||
@@ -1,14 +0,0 @@
|
||||
Deprecated and dangerous autoconf idiom that checks for a type that
|
||||
isn't used anywhere in the source and breaks the inclusion of
|
||||
<netinet/in.h>.
|
||||
|
||||
--- configure.in.orig Fri Feb 3 17:10:04 2017
|
||||
+++ configure.in Fri Feb 3 17:15:48 2017
|
||||
@@ -67,7 +67,6 @@ AC_CHECK_TYPE(u_int64_t, unsigned long long)
|
||||
AC_CHECK_TYPE(u_int32_t, unsigned int)
|
||||
AC_CHECK_TYPE(u_int16_t, unsigned short)
|
||||
AC_CHECK_TYPE(u_int8_t, unsigned char)
|
||||
-AC_CHECK_TYPE(in_addr_t, unsigned long)
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
@@ -1,8 +0,0 @@
|
||||
trickle is a portable lightweight userspace bandwidth shaper. It can
|
||||
run in collaborative mode (together with trickled) or in stand alone
|
||||
mode. trickle works by taking advantage of the unix loader preloading.
|
||||
Essentially it provides, to the application, a new version of the
|
||||
functionality that is required to send and receive data through sockets.
|
||||
It then limits traffic based on delaying the sending and receiving of
|
||||
data over a socket. trickle runs entirely in userspace and does not
|
||||
require root privileges.
|
||||
@@ -1,10 +0,0 @@
|
||||
@bin bin/trickle
|
||||
@bin bin/tricklectl
|
||||
@bin bin/trickled
|
||||
lib/trickle/
|
||||
lib/trickle/trickle-overload.so
|
||||
@man man/man1/trickle.1
|
||||
@man man/man5/trickled.conf.5
|
||||
@man man/man8/trickled.8
|
||||
@extra ${SYSCONFDIR}/trickled.conf
|
||||
@rcscript ${RCDIR}/trickled
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/bin/ksh
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/trickled"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
||||
Reference in New Issue
Block a user