dot

packages and services management
Log | Files | Refs | README

commit d85e35d0aa52fc03654b8cb309b14b1bc946fd0d
parent 20cb9093ecab5111992ea9e8c56f718870d00377
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 29 Dec 2018 21:48:38 +0100

structuring, structuring...

Diffstat:
Mbin/s6-mk-build | 10+++++++---
Retc/pack/9base/rcmain -> etc/pack/9base/data/rcmain | 0
Retc/pack/abduco/config.mk -> etc/pack/abduco/data/config.mk | 0
Retc/pack/bgs/config.mk -> etc/pack/bgs/data/config.mk | 0
Retc/pack/busybox/config -> etc/pack/busybox/data/config | 0
Retc/pack/djbdns/conf-cc -> etc/pack/djbdns/data/conf-cc | 0
Retc/pack/djbdns/djbdns-1.05-ipv6.diff -> etc/pack/djbdns/patch/djbdns-1.05-ipv6.diff | 0
Retc/pack/dma/sys/queue.h -> etc/pack/dma/data/queue.h | 0
Retc/pack/dma/getprogname.diff -> etc/pack/dma/patch/getprogname.diff | 0
Retc/pack/dmenu/config.mk -> etc/pack/dmenu/data/config.mk | 0
Retc/pack/dvtm/config.h -> etc/pack/dvtm/data/config.h | 0
Retc/pack/dvtm/config.mk -> etc/pack/dvtm/data/config.mk | 0
Retc/pack/dwm/config.h -> etc/pack/dwm/data/config.h | 0
Retc/pack/dwm/config.mk -> etc/pack/dwm/data/config.mk | 0
Retc/pack/farbfeld/c.mk -> etc/pack/farbfeld/data/c.mk | 0
Retc/pack/farbfeld/config.mk -> etc/pack/farbfeld/data/config.mk | 0
Retc/pack/httpfile/filetype.txt -> etc/pack/httpfile/data/filetype.txt | 0
Retc/pack/ii/ii-1.8-ucspi.diff -> etc/pack/ii/patch/ii-1.8-ucspi.diff | 0
Retc/pack/kamailio/modules.lst -> etc/pack/kamailio/data/modules.lst | 0
Retc/pack/lel/config.mk -> etc/pack/lel/data/config.mk | 0
Retc/pack/libfehq/conf-build -> etc/pack/libfehq/data/conf-build | 0
Retc/pack/libfts/config.h -> etc/pack/libfts/data/config.h | 0
Retc/pack/libgit2/features.h -> etc/pack/libgit2/data/features.h | 0
Retc/pack/libtinyx11/standard_definitions.mk -> etc/pack/libtinyx11/data/standard_definitions.mk | 0
Retc/pack/libtox/autotools/Makefile.in -> etc/pack/libtox/data/Makefile.in | 0
Retc/pack/libtox/autotools/aclocal.m4 -> etc/pack/libtox/data/aclocal.m4 | 0
Retc/pack/libtox/autotools/autom4te.cache/output.0 -> etc/pack/libtox/data/autom4te.cache/output.0 | 0
Retc/pack/libtox/autotools/autom4te.cache/output.1 -> etc/pack/libtox/data/autom4te.cache/output.1 | 0
Retc/pack/libtox/autotools/autom4te.cache/output.2 -> etc/pack/libtox/data/autom4te.cache/output.2 | 0
Retc/pack/libtox/autotools/autom4te.cache/requests -> etc/pack/libtox/data/autom4te.cache/requests | 0
Retc/pack/libtox/autotools/autom4te.cache/traces.0 -> etc/pack/libtox/data/autom4te.cache/traces.0 | 0
Retc/pack/libtox/autotools/autom4te.cache/traces.1 -> etc/pack/libtox/data/autom4te.cache/traces.1 | 0
Retc/pack/libtox/autotools/autom4te.cache/traces.2 -> etc/pack/libtox/data/autom4te.cache/traces.2 | 0
Retc/pack/libtox/autotools/build/Makefile.in -> etc/pack/libtox/data/build/Makefile.in | 0
Retc/pack/libtox/autotools/config.h.in -> etc/pack/libtox/data/config.h.in | 0
Retc/pack/libtox/autotools/configure -> etc/pack/libtox/data/configure | 0
Retc/pack/libtox/autotools/configure_aux/ar-lib -> etc/pack/libtox/data/configure_aux/ar-lib | 0
Retc/pack/libtox/autotools/configure_aux/compile -> etc/pack/libtox/data/configure_aux/compile | 0
Retc/pack/libtox/autotools/configure_aux/config.guess -> etc/pack/libtox/data/configure_aux/config.guess | 0
Retc/pack/libtox/autotools/configure_aux/config.sub -> etc/pack/libtox/data/configure_aux/config.sub | 0
Retc/pack/libtox/autotools/configure_aux/depcomp -> etc/pack/libtox/data/configure_aux/depcomp | 0
Retc/pack/libtox/autotools/configure_aux/install-sh -> etc/pack/libtox/data/configure_aux/install-sh | 0
Retc/pack/libtox/autotools/configure_aux/ltmain.sh -> etc/pack/libtox/data/configure_aux/ltmain.sh | 0
Retc/pack/libtox/autotools/configure_aux/missing -> etc/pack/libtox/data/configure_aux/missing | 0
Retc/pack/libtox/autotools/configure_aux/test-driver -> etc/pack/libtox/data/configure_aux/test-driver | 0
Retc/pack/libtox/autotools/m4/libtool.m4 -> etc/pack/libtox/data/m4/libtool.m4 | 0
Retc/pack/libtox/autotools/m4/ltoptions.m4 -> etc/pack/libtox/data/m4/ltoptions.m4 | 0
Retc/pack/libtox/autotools/m4/ltsugar.m4 -> etc/pack/libtox/data/m4/ltsugar.m4 | 0
Retc/pack/libtox/autotools/m4/ltversion.m4 -> etc/pack/libtox/data/m4/ltversion.m4 | 0
Retc/pack/libtox/autotools/m4/lt~obsolete.m4 -> etc/pack/libtox/data/m4/lt~obsolete.m4 | 0
Retc/pack/mandoc/queue.h -> etc/pack/mandoc/data/sys/queue.h | 0
Detc/pack/mblaze/tar- | 1-
Retc/pack/netpgp/compile -> etc/pack/netpgp/data/compile | 0
Detc/pack/openssh/build.nero | 37-------------------------------------
Retc/pack/openssh/openssh-sys_param.patch -> etc/pack/openssh/patch/openssh-sys_param.patch | 0
Retc/pack/quark/config.h -> etc/pack/quark/data/config.h | 0
Retc/pack/ratox/config.mk -> etc/pack/ratox/data/config.mk | 0
Detc/pack/reicec/stun.sh | 257-------------------------------------------------------------------------------
Detc/pack/reicec/stun.txt | 256-------------------------------------------------------------------------------
Retc/pack/rsync/rsync-fix-proto.h-tstamp-target.patch -> etc/pack/rsync/patch/rsync-fix-proto.h-tstamp-target.patch | 0
Retc/pack/sacc/config.mk -> etc/pack/sacc/data/config.mk | 0
Retc/pack/sbase/config.mk -> etc/pack/sbase/data/config.mk | 0
Retc/pack/sent/config.h -> etc/pack/sent/data/config.h | 0
Retc/pack/sent/config.mk -> etc/pack/sent/data/config.mk | 0
Detc/pack/sfeed/sfeed_twtxt.c | 84-------------------------------------------------------------------------------
Retc/pack/spoon/config.h -> etc/pack/spoon/data/config.h | 0
Retc/pack/spoon/config.mk -> etc/pack/spoon/data/config.mk | 0
Retc/pack/st/colors.h -> etc/pack/st/data/colors.h | 0
Retc/pack/st/config.h -> etc/pack/st/data/config.h | 0
Retc/pack/st/config.mk -> etc/pack/st/data/config.mk | 0
Retc/pack/st/helios_dark.h -> etc/pack/st/data/helios_dark.h | 0
Retc/pack/st/solarized_dark.h -> etc/pack/st/data/solarized_dark.h | 0
Retc/pack/st/solarized_light.h -> etc/pack/st/data/solarized_light.h | 0
Retc/pack/stagit-gopher/config.mk -> etc/pack/stagit-gopher/data/config.mk | 0
Retc/pack/stagit/config.mk -> etc/pack/stagit/data/config.mk | 0
Retc/pack/tabbed/config.mk -> etc/pack/tabbed/data/config.mk | 0
Detc/pack/tarsnap/1.1pre15/tar | 1-
Detc/pack/tcpdump/2.6/tar | 1-
Detc/pack/tinc/20151004/tar | 1-
Retc/pack/tinyldap/checkpassword.c -> etc/pack/tinyldap/data/checkpassword.c | 0
Detc/pack/tinyldap/main/tar | 1-
Detc/pack/tinysshd/20180201/tar | 1-
Retc/pack/tinyxserver/standard_definitions.mk -> etc/pack/tinyxserver/data/standard_definitions.mk | 0
Detc/pack/tnftp/1.4.0/tar | 1-
Detc/pack/tor/0.3.1.8/tar | 1-
Retc/pack/torsocks/autotools/Makefile.in -> etc/pack/torsocks/data/Makefile.in | 0
Retc/pack/torsocks/autotools/aclocal.m4 -> etc/pack/torsocks/data/aclocal.m4 | 0
Retc/pack/torsocks/autotools/autom4te.cache/output.0 -> etc/pack/torsocks/data/autom4te.cache/output.0 | 0
Retc/pack/torsocks/autotools/autom4te.cache/output.1 -> etc/pack/torsocks/data/autom4te.cache/output.1 | 0
Retc/pack/torsocks/autotools/autom4te.cache/output.2 -> etc/pack/torsocks/data/autom4te.cache/output.2 | 0
Retc/pack/torsocks/autotools/autom4te.cache/requests -> etc/pack/torsocks/data/autom4te.cache/requests | 0
Retc/pack/torsocks/autotools/autom4te.cache/traces.0 -> etc/pack/torsocks/data/autom4te.cache/traces.0 | 0
Retc/pack/torsocks/autotools/autom4te.cache/traces.1 -> etc/pack/torsocks/data/autom4te.cache/traces.1 | 0
Retc/pack/torsocks/autotools/autom4te.cache/traces.2 -> etc/pack/torsocks/data/autom4te.cache/traces.2 | 0
Retc/pack/torsocks/autotools/config/compile -> etc/pack/torsocks/data/config/compile | 0
Retc/pack/torsocks/autotools/config/config.guess -> etc/pack/torsocks/data/config/config.guess | 0
Retc/pack/torsocks/autotools/config/config.sub -> etc/pack/torsocks/data/config/config.sub | 0
Retc/pack/torsocks/autotools/config/depcomp -> etc/pack/torsocks/data/config/depcomp | 0
Retc/pack/torsocks/autotools/config/install-sh -> etc/pack/torsocks/data/config/install-sh | 0
Retc/pack/torsocks/autotools/config/libtool.m4 -> etc/pack/torsocks/data/config/libtool.m4 | 0
Retc/pack/torsocks/autotools/config/ltmain.sh -> etc/pack/torsocks/data/config/ltmain.sh | 0
Retc/pack/torsocks/autotools/config/ltoptions.m4 -> etc/pack/torsocks/data/config/ltoptions.m4 | 0
Retc/pack/torsocks/autotools/config/ltsugar.m4 -> etc/pack/torsocks/data/config/ltsugar.m4 | 0
Retc/pack/torsocks/autotools/config/ltversion.m4 -> etc/pack/torsocks/data/config/ltversion.m4 | 0
Retc/pack/torsocks/autotools/config/lt~obsolete.m4 -> etc/pack/torsocks/data/config/lt~obsolete.m4 | 0
Retc/pack/torsocks/autotools/config/missing -> etc/pack/torsocks/data/config/missing | 0
Retc/pack/torsocks/autotools/config/test-driver -> etc/pack/torsocks/data/config/test-driver | 0
Retc/pack/torsocks/autotools/configure -> etc/pack/torsocks/data/configure | 0
Retc/pack/torsocks/autotools/doc/Makefile.in -> etc/pack/torsocks/data/doc/Makefile.in | 0
Retc/pack/torsocks/autotools/extras/Makefile.in -> etc/pack/torsocks/data/extras/Makefile.in | 0
Retc/pack/torsocks/autotools/include/config.h.in -> etc/pack/torsocks/data/include/config.h.in | 0
Retc/pack/torsocks/autotools/src/Makefile.in -> etc/pack/torsocks/data/src/Makefile.in | 0
Retc/pack/torsocks/autotools/src/bin/Makefile.in -> etc/pack/torsocks/data/src/bin/Makefile.in | 0
Retc/pack/torsocks/autotools/src/common/Makefile.in -> etc/pack/torsocks/data/src/common/Makefile.in | 0
Retc/pack/torsocks/autotools/src/lib/Makefile.in -> etc/pack/torsocks/data/src/lib/Makefile.in | 0
Retc/pack/torsocks/autotools/tests/Makefile.in -> etc/pack/torsocks/data/tests/Makefile.in | 0
Retc/pack/torsocks/autotools/tests/unit/Makefile.in -> etc/pack/torsocks/data/tests/unit/Makefile.in | 0
Retc/pack/torsocks/autotools/tests/utils/Makefile.in -> etc/pack/torsocks/data/tests/utils/Makefile.in | 0
Retc/pack/torsocks/autotools/tests/utils/tap/Makefile.in -> etc/pack/torsocks/data/tests/utils/tap/Makefile.in | 0
Detc/pack/transmission/2.94/tar | 1-
Retc/pack/transmission/queue.h -> etc/pack/transmission/data/sys/queue.h | 0
Detc/pack/tzdb/2018e/tar | 1-
Retc/pack/ubase/config.mk -> etc/pack/ubase/data/config.mk | 0
Retc/pack/vsftpd/Makefile -> etc/pack/vsftpd/data/Makefile | 0
Retc/pack/vsftpd/builddefs.h -> etc/pack/vsftpd/data/builddefs.h | 0
Retc/pack/warp-vpn/config-Linux.mk -> etc/pack/warp-vpn/data/config-Linux.mk | 0
Retc/pack/warp-vpn/config-OpenBSD.mk -> etc/pack/warp-vpn/data/config-OpenBSD.mk | 0
Detc/pack/yasm/1.3.0/tar | 1-
Detc/s6/baresip/x/README.accounts | 58----------------------------------------------------------
Detc/s6/baresip/x/README.config | 164-------------------------------------------------------------------------------
Detc/s6/baresip/x/README.contacts | 11-----------
Retc/s6/kamailio/sqlite/setup-sqlite -> etc/s6/kamailio/sqlite/setup | 0
Detc/s6/kamailio/x/README | 970-------------------------------------------------------------------------------
Retc/s6/kamailio/x/setup-dep -> etc/s6/kamailio/x/conf/setup-dep | 0
Retc/s6/tor/x/conf/config/Log -> etc/s6/tor/x/conf/Log | 0
Retc/s6/tor/x/conf/config/PIDFile -> etc/s6/tor/x/conf/PIDFile | 0
Retc/s6/tor/x/conf/config/RunAsDaemon -> etc/s6/tor/x/conf/RunAsDaemon | 0
Retc/s6/tor/x/conf/config/SOCKSPort -> etc/s6/tor/x/conf/SOCKSPort | 0
Retc/s6/tor/x/conf/config/User -> etc/s6/tor/x/conf/User | 0
Metc/s6/u9fs-mount/x/down | 2+-
140 files changed, 8 insertions(+), 1852 deletions(-)

diff --git a/bin/s6-mk-build b/bin/s6-mk-build @@ -24,8 +24,12 @@ ifte { } { if { rm -rf ${sv},x ${sv},log } exit 1 } # copy all the modules if { - forx -o 0 x { x ${mod} } importas x x - s6-hiercopy /etc/s6/${base}/${x} ${sv},x + forx -o 0 x { x ${mod} } importas m x + forx -o 0 x { + conf contents data dependencies down env finish + print producer-for run timeout type up + } importas dir + s6-hiercopy /etc/s6/${base}/${m}/${dir} ${sv},x/${dir} } # build bundles recursively @@ -47,5 +51,5 @@ ifthenelse { test ${type} = longrun } { } { } cd ${sv},x -if -t { test -f setup } +if -t { test -f script/setup } ./setup diff --git a/etc/pack/9base/rcmain b/etc/pack/9base/data/rcmain diff --git a/etc/pack/abduco/config.mk b/etc/pack/abduco/data/config.mk diff --git a/etc/pack/bgs/config.mk b/etc/pack/bgs/data/config.mk diff --git a/etc/pack/busybox/config b/etc/pack/busybox/data/config diff --git a/etc/pack/djbdns/conf-cc b/etc/pack/djbdns/data/conf-cc diff --git a/etc/pack/djbdns/djbdns-1.05-ipv6.diff b/etc/pack/djbdns/patch/djbdns-1.05-ipv6.diff diff --git a/etc/pack/dma/sys/queue.h b/etc/pack/dma/data/queue.h diff --git a/etc/pack/dma/getprogname.diff b/etc/pack/dma/patch/getprogname.diff diff --git a/etc/pack/dmenu/config.mk b/etc/pack/dmenu/data/config.mk diff --git a/etc/pack/dvtm/config.h b/etc/pack/dvtm/data/config.h diff --git a/etc/pack/dvtm/config.mk b/etc/pack/dvtm/data/config.mk diff --git a/etc/pack/dwm/config.h b/etc/pack/dwm/data/config.h diff --git a/etc/pack/dwm/config.mk b/etc/pack/dwm/data/config.mk diff --git a/etc/pack/farbfeld/c.mk b/etc/pack/farbfeld/data/c.mk diff --git a/etc/pack/farbfeld/config.mk b/etc/pack/farbfeld/data/config.mk diff --git a/etc/pack/httpfile/filetype.txt b/etc/pack/httpfile/data/filetype.txt diff --git a/etc/pack/ii/ii-1.8-ucspi.diff b/etc/pack/ii/patch/ii-1.8-ucspi.diff diff --git a/etc/pack/kamailio/modules.lst b/etc/pack/kamailio/data/modules.lst diff --git a/etc/pack/lel/config.mk b/etc/pack/lel/data/config.mk diff --git a/etc/pack/libfehq/conf-build b/etc/pack/libfehq/data/conf-build diff --git a/etc/pack/libfts/config.h b/etc/pack/libfts/data/config.h diff --git a/etc/pack/libgit2/features.h b/etc/pack/libgit2/data/features.h diff --git a/etc/pack/libtinyx11/standard_definitions.mk b/etc/pack/libtinyx11/data/standard_definitions.mk diff --git a/etc/pack/libtox/autotools/Makefile.in b/etc/pack/libtox/data/Makefile.in diff --git a/etc/pack/libtox/autotools/aclocal.m4 b/etc/pack/libtox/data/aclocal.m4 diff --git a/etc/pack/libtox/autotools/autom4te.cache/output.0 b/etc/pack/libtox/data/autom4te.cache/output.0 diff --git a/etc/pack/libtox/autotools/autom4te.cache/output.1 b/etc/pack/libtox/data/autom4te.cache/output.1 diff --git a/etc/pack/libtox/autotools/autom4te.cache/output.2 b/etc/pack/libtox/data/autom4te.cache/output.2 diff --git a/etc/pack/libtox/autotools/autom4te.cache/requests b/etc/pack/libtox/data/autom4te.cache/requests diff --git a/etc/pack/libtox/autotools/autom4te.cache/traces.0 b/etc/pack/libtox/data/autom4te.cache/traces.0 diff --git a/etc/pack/libtox/autotools/autom4te.cache/traces.1 b/etc/pack/libtox/data/autom4te.cache/traces.1 diff --git a/etc/pack/libtox/autotools/autom4te.cache/traces.2 b/etc/pack/libtox/data/autom4te.cache/traces.2 diff --git a/etc/pack/libtox/autotools/build/Makefile.in b/etc/pack/libtox/data/build/Makefile.in diff --git a/etc/pack/libtox/autotools/config.h.in b/etc/pack/libtox/data/config.h.in diff --git a/etc/pack/libtox/autotools/configure b/etc/pack/libtox/data/configure diff --git a/etc/pack/libtox/autotools/configure_aux/ar-lib b/etc/pack/libtox/data/configure_aux/ar-lib diff --git a/etc/pack/libtox/autotools/configure_aux/compile b/etc/pack/libtox/data/configure_aux/compile diff --git a/etc/pack/libtox/autotools/configure_aux/config.guess b/etc/pack/libtox/data/configure_aux/config.guess diff --git a/etc/pack/libtox/autotools/configure_aux/config.sub b/etc/pack/libtox/data/configure_aux/config.sub diff --git a/etc/pack/libtox/autotools/configure_aux/depcomp b/etc/pack/libtox/data/configure_aux/depcomp diff --git a/etc/pack/libtox/autotools/configure_aux/install-sh b/etc/pack/libtox/data/configure_aux/install-sh diff --git a/etc/pack/libtox/autotools/configure_aux/ltmain.sh b/etc/pack/libtox/data/configure_aux/ltmain.sh diff --git a/etc/pack/libtox/autotools/configure_aux/missing b/etc/pack/libtox/data/configure_aux/missing diff --git a/etc/pack/libtox/autotools/configure_aux/test-driver b/etc/pack/libtox/data/configure_aux/test-driver diff --git a/etc/pack/libtox/autotools/m4/libtool.m4 b/etc/pack/libtox/data/m4/libtool.m4 diff --git a/etc/pack/libtox/autotools/m4/ltoptions.m4 b/etc/pack/libtox/data/m4/ltoptions.m4 diff --git a/etc/pack/libtox/autotools/m4/ltsugar.m4 b/etc/pack/libtox/data/m4/ltsugar.m4 diff --git a/etc/pack/libtox/autotools/m4/ltversion.m4 b/etc/pack/libtox/data/m4/ltversion.m4 diff --git a/etc/pack/libtox/autotools/m4/lt~obsolete.m4 b/etc/pack/libtox/data/m4/lt~obsolete.m4 diff --git a/etc/pack/mandoc/queue.h b/etc/pack/mandoc/data/sys/queue.h diff --git a/etc/pack/mblaze/tar- b/etc/pack/mblaze/tar- @@ -1 +0,0 @@ -https://github.com/chneukirchen/mblaze/releases/download/v%v/mblaze-%v.tar.gz diff --git a/etc/pack/netpgp/compile b/etc/pack/netpgp/data/compile diff --git a/etc/pack/openssh/build.nero b/etc/pack/openssh/build.nero @@ -1,37 +0,0 @@ -#!/bin/sh -set -e - -patch -p1 < "$PKGDIR"/openssh-sys_param.patch - -export CC="$CC -L$DEF/lib -isystem $DEF/include" - -[ -n "$CROSS_COMPILE" ] && CONFFLAGS="$CONFFLAGS --host=$CROSS_COMPILE" - -# prevent from installing some things (keysign and maybe others) setuid. -sed -i 's@-m 4711@-m 0750@g' Makefile.in - -CC="$CC -D_BSD_SOURCE -DMISSING_FD_MASK -DMISSING_NFDBITS" \ -./configure $CONFFLAGS --prefix="$OPT" \ - --sbindir="$OPT"/bin --libexecdir="$OPT"/lib/ssh \ - --sysconfdir="$OPT"/etc/ssh \ - --with-sysroot="$DEF" \ - --with-privsep-user=nobody \ - --with-xauth="$OPT"/bin/xauth \ - --with-ldflags="$LDFLAGS -Wl,-rpath-link=$DEF$OPT/lib" \ - --without-stackprotect \ - --with-md5-passwords --with-mantype=man --mandir="$OPT"/share/man \ - --disable-strip --disable-lastlog --disable-utmp --disable-utmpx --disable-btmp \ - --disable-wtmp --disable-wtmpx --disable-pututline --disable-pututxline - -mkdir netinet -touch netinet/in_systm.h - -sed -i '/USE_BTMP/d' config.h -sed -i '/USE_UTMP/d' config.h -sed -i 's@HAVE_DECL_HOWMANY 1@HAVE_DECL_HOWMANY 0@' config.h - -make $MAKEFLAGS - -#key generation is disabled for packaging -#the sshd service will create the keys on service prereqs -make DESTDIR="$PREFIX" install-nokeys diff --git a/etc/pack/openssh/openssh-sys_param.patch b/etc/pack/openssh/patch/openssh-sys_param.patch diff --git a/etc/pack/quark/config.h b/etc/pack/quark/data/config.h diff --git a/etc/pack/ratox/config.mk b/etc/pack/ratox/data/config.mk diff --git a/etc/pack/reicec/stun.sh b/etc/pack/reicec/stun.sh @@ -1,257 +0,0 @@ -#!/bin/sh -nc -v -w 1 stun.3cx.com 3478 -nc -v -w 1 stun.a-mm.tv 3478 -nc -v -w 1 stun.aa.net.uk 3478 -nc -v -w 1 stun.acrobits.cz 3478 -nc -v -w 1 stun.actionvoip.com 3478 -nc -v -w 1 stun.advfn.com 3478 -nc -v -w 1 stun.aeta-audio.com 3478 -nc -v -w 1 stun.aeta.com 3478 -nc -v -w 1 stun.alltel.com.au 3478 -nc -v -w 1 stun.altar.com.pl 3478 -nc -v -w 1 stun.annatel.net 3478 -nc -v -w 1 stun.antisip.com 3478 -nc -v -w 1 stun.arbuz.ru 3478 -nc -v -w 1 stun.avigora.com 3478 -nc -v -w 1 stun.avigora.fr 3478 -nc -v -w 1 stun.awa-shima.com 3478 -nc -v -w 1 stun.awt.be 3478 -nc -v -w 1 stun.b2b2c.ca 3478 -nc -v -w 1 stun.bahnhof.net 3478 -nc -v -w 1 stun.barracuda.com 3478 -nc -v -w 1 stun.bluesip.net 3478 -nc -v -w 1 stun.bmwgs.cz 3478 -nc -v -w 1 stun.botonakis.com 3478 -nc -v -w 1 stun.budgetphone.nl 3478 -nc -v -w 1 stun.budgetsip.com 3478 -nc -v -w 1 stun.cablenet-as.net 3478 -nc -v -w 1 stun.callromania.ro 3478 -nc -v -w 1 stun.callwithus.com 3478 -nc -v -w 1 stun.cbsys.net 3478 -nc -v -w 1 stun.chathelp.ru 3478 -nc -v -w 1 stun.cheapvoip.com 3478 -nc -v -w 1 stun.ciktel.com 3478 -nc -v -w 1 stun.cloopen.com 3478 -nc -v -w 1 stun.colouredlines.com.au 3478 -nc -v -w 1 stun.comfi.com 3478 -nc -v -w 1 stun.commpeak.com 3478 -nc -v -w 1 stun.comtube.com 3478 -nc -v -w 1 stun.comtube.ru 3478 -nc -v -w 1 stun.cope.es 3478 -nc -v -w 1 stun.counterpath.com 3478 -nc -v -w 1 stun.counterpath.net 3478 -nc -v -w 1 stun.cryptonit.net 3478 -nc -v -w 1 stun.darioflaccovio.it 3478 -nc -v -w 1 stun.datamanagement.it 3478 -nc -v -w 1 stun.dcalling.de 3478 -nc -v -w 1 stun.decanet.fr 3478 -nc -v -w 1 stun.demos.ru 3478 -nc -v -w 1 stun.develz.org 3478 -nc -v -w 1 stun.dingaling.ca 3478 -nc -v -w 1 stun.doublerobotics.com 3478 -nc -v -w 1 stun.drogon.net 3478 -nc -v -w 1 stun.duocom.es 3478 -nc -v -w 1 stun.dus.net 3478 -nc -v -w 1 stun.e-fon.ch 3478 -nc -v -w 1 stun.easybell.de 3478 -nc -v -w 1 stun.easycall.pl 3478 -nc -v -w 1 stun.easyvoip.com 3478 -nc -v -w 1 stun.efficace-factory.com 3478 -nc -v -w 1 stun.einsundeins.com 3478 -nc -v -w 1 stun.einsundeins.de 3478 -nc -v -w 1 stun.ekiga.net 3478 -nc -v -w 1 stun.epygi.com 3478 -nc -v -w 1 stun.etoilediese.fr 3478 -nc -v -w 1 stun.eyeball.com 3478 -nc -v -w 1 stun.faktortel.com.au 3478 -nc -v -w 1 stun.freecall.com 3478 -nc -v -w 1 stun.freeswitch.org 3478 -nc -v -w 1 stun.freevoipdeal.com 3478 -nc -v -w 1 stun.fuzemeeting.com 3478 -nc -v -w 1 stun.gmx.de 3478 -nc -v -w 1 stun.gmx.net 3478 -nc -v -w 1 stun.gradwell.com 3478 -nc -v -w 1 stun.halonet.pl 3478 -nc -v -w 1 stun.hellonanu.com 3478 -nc -v -w 1 stun.hoiio.com 3478 -nc -v -w 1 stun.hosteurope.de 3478 -nc -v -w 1 stun.ideasip.com 3478 -nc -v -w 1 stun.imesh.com 3478 -nc -v -w 1 stun.infra.net 3478 -nc -v -w 1 stun.internetcalls.com 3478 -nc -v -w 1 stun.intervoip.com 3478 -nc -v -w 1 stun.ipcomms.net 3478 -nc -v -w 1 stun.ipfire.org 3478 -nc -v -w 1 stun.ippi.fr 3478 -nc -v -w 1 stun.ipshka.com 3478 -nc -v -w 1 stun.iptel.org 3478 -nc -v -w 1 stun.irian.at 3478 -nc -v -w 1 stun.it1.hr 3478 -nc -v -w 1 stun.ivao.aero 3478 -nc -v -w 1 stun.jappix.com 3478 -nc -v -w 1 stun.jumblo.com 3478 -nc -v -w 1 stun.justvoip.com 3478 -nc -v -w 1 stun.kanet.ru 3478 -nc -v -w 1 stun.kiwilink.co.nz 3478 -nc -v -w 1 stun.kundenserver.de 3478 -nc -v -w 1 stun.l.google.com 19302 -nc -v -w 1 stun.linea7.net 3478 -nc -v -w 1 stun.linphone.org 3478 -nc -v -w 1 stun.liveo.fr 3478 -nc -v -w 1 stun.lowratevoip.com 3478 -nc -v -w 1 stun.lugosoft.com 3478 -nc -v -w 1 stun.lundimatin.fr 3478 -nc -v -w 1 stun.magnet.ie 3478 -nc -v -w 1 stun.manle.com 3478 -nc -v -w 1 stun.mgn.ru 3478 -nc -v -w 1 stun.mit.de 3478 -nc -v -w 1 stun.mitake.com.tw 3478 -nc -v -w 1 stun.miwifi.com 3478 -nc -v -w 1 stun.modulus.gr 3478 -nc -v -w 1 stun.mozcom.com 3478 -nc -v -w 1 stun.myvoiptraffic.com 3478 -nc -v -w 1 stun.mywatson.it 3478 -nc -v -w 1 stun.nas.net 3478 -nc -v -w 1 stun.neotel.co.za 3478 -nc -v -w 1 stun.netappel.com 3478 -nc -v -w 1 stun.netappel.fr 3478 -nc -v -w 1 stun.netgsm.com.tr 3478 -nc -v -w 1 stun.nfon.net 3478 -nc -v -w 1 stun.noblogs.org 3478 -nc -v -w 1 stun.noc.ams-ix.net 3478 -nc -v -w 1 stun.node4.co.uk 3478 -nc -v -w 1 stun.nonoh.net 3478 -nc -v -w 1 stun.nottingham.ac.uk 3478 -nc -v -w 1 stun.nova.is 3478 -nc -v -w 1 stun.nventure.com 3478 -nc -v -w 1 stun.on.net.mk 3478 -nc -v -w 1 stun.ooma.com 3478 -nc -v -w 1 stun.ooonet.ru 3478 -nc -v -w 1 stun.oriontelekom.rs 3478 -nc -v -w 1 stun.outland-net.de 3478 -nc -v -w 1 stun.ozekiphone.com 3478 -nc -v -w 1 stun.patlive.com 3478 -nc -v -w 1 stun.personal-voip.de 3478 -nc -v -w 1 stun.petcube.com 3478 -nc -v -w 1 stun.phone.com 3478 -nc -v -w 1 stun.phoneserve.com 3478 -nc -v -w 1 stun.pjsip.org 3478 -nc -v -w 1 stun.poivy.com 3478 -nc -v -w 1 stun.powerpbx.org 3478 -nc -v -w 1 stun.powervoip.com 3478 -nc -v -w 1 stun.ppdi.com 3478 -nc -v -w 1 stun.prizee.com 3478 -nc -v -w 1 stun.qq.com 3478 -nc -v -w 1 stun.qvod.com 3478 -nc -v -w 1 stun.rackco.com 3478 -nc -v -w 1 stun.rapidnet.de 3478 -nc -v -w 1 stun.rb-net.com 3478 -nc -v -w 1 stun.refint.net 3478 -nc -v -w 1 stun.remote-learner.net 3478 -nc -v -w 1 stun.rixtelecom.se 3478 -nc -v -w 1 stun.rockenstein.de 3478 -nc -v -w 1 stun.rolmail.net 3478 -nc -v -w 1 stun.rounds.com 3478 -nc -v -w 1 stun.rynga.com 3478 -nc -v -w 1 stun.samsungsmartcam.com 3478 -nc -v -w 1 stun.schlund.de 3478 -nc -v -w 1 stun.services.mozilla.com 3478 -nc -v -w 1 stun.sigmavoip.com 3478 -nc -v -w 1 stun.sip.us 3478 -nc -v -w 1 stun.sipdiscount.com 3478 -nc -v -w 1 stun.sipgate.net 10000 -nc -v -w 1 stun.sipgate.net 3478 -nc -v -w 1 stun.siplogin.de 3478 -nc -v -w 1 stun.sipnet.net 3478 -nc -v -w 1 stun.sipnet.ru 3478 -nc -v -w 1 stun.siportal.it 3478 -nc -v -w 1 stun.sippeer.dk 3478 -nc -v -w 1 stun.siptraffic.com 3478 -nc -v -w 1 stun.skylink.ru 3478 -nc -v -w 1 stun.sma.de 3478 -nc -v -w 1 stun.smartvoip.com 3478 -nc -v -w 1 stun.smsdiscount.com 3478 -nc -v -w 1 stun.snafu.de 3478 -nc -v -w 1 stun.softjoys.com 3478 -nc -v -w 1 stun.solcon.nl 3478 -nc -v -w 1 stun.solnet.ch 3478 -nc -v -w 1 stun.sonetel.com 3478 -nc -v -w 1 stun.sonetel.net 3478 -nc -v -w 1 stun.sovtest.ru 3478 -nc -v -w 1 stun.speedy.com.ar 3478 -nc -v -w 1 stun.spokn.com 3478 -nc -v -w 1 stun.srce.hr 3478 -nc -v -w 1 stun.ssl7.net 3478 -nc -v -w 1 stun.stunprotocol.org 3478 -nc -v -w 1 stun.symform.com 3478 -nc -v -w 1 stun.symplicity.com 3478 -nc -v -w 1 stun.sysadminman.net 3478 -nc -v -w 1 stun.t-online.de 3478 -nc -v -w 1 stun.tagan.ru 3478 -nc -v -w 1 stun.tatneft.ru 3478 -nc -v -w 1 stun.teachercreated.com 3478 -nc -v -w 1 stun.tel.lu 3478 -nc -v -w 1 stun.telbo.com 3478 -nc -v -w 1 stun.telefacil.com 3478 -nc -v -w 1 stun.tis-dialog.ru 3478 -nc -v -w 1 stun.tng.de 3478 -nc -v -w 1 stun.twt.it 3478 -nc -v -w 1 stun.u-blox.com 3478 -nc -v -w 1 stun.ucallweconn.net 3478 -nc -v -w 1 stun.ucsb.edu 3478 -nc -v -w 1 stun.ucw.cz 3478 -nc -v -w 1 stun.uls.co.za 3478 -nc -v -w 1 stun.unseen.is 3478 -nc -v -w 1 stun.usfamily.net 3478 -nc -v -w 1 stun.veoh.com 3478 -nc -v -w 1 stun.vidyo.com 3478 -nc -v -w 1 stun.vipgroup.net 3478 -nc -v -w 1 stun.virtual-call.com 3478 -nc -v -w 1 stun.viva.gr 3478 -nc -v -w 1 stun.vivox.com 3478 -nc -v -w 1 stun.vline.com 3478 -nc -v -w 1 stun.vo.lu 3478 -nc -v -w 1 stun.vodafone.ro 3478 -nc -v -w 1 stun.voicetrading.com 3478 -nc -v -w 1 stun.voip.aebc.com 3478 -nc -v -w 1 stun.voip.blackberry.com 3478 -nc -v -w 1 stun.voip.eutelia.it 3478 -nc -v -w 1 stun.voiparound.com 3478 -nc -v -w 1 stun.voipblast.com 3478 -nc -v -w 1 stun.voipbuster.com 3478 -nc -v -w 1 stun.voipbusterpro.com 3478 -nc -v -w 1 stun.voipcheap.co.uk 3478 -nc -v -w 1 stun.voipcheap.com 3478 -nc -v -w 1 stun.voipfibre.com 3478 -nc -v -w 1 stun.voipgain.com 3478 -nc -v -w 1 stun.voipgate.com 3478 -nc -v -w 1 stun.voipinfocenter.com 3478 -nc -v -w 1 stun.voipplanet.nl 3478 -nc -v -w 1 stun.voippro.com 3478 -nc -v -w 1 stun.voipraider.com 3478 -nc -v -w 1 stun.voipstunt.com 3478 -nc -v -w 1 stun.voipwise.com 3478 -nc -v -w 1 stun.voipzoom.com 3478 -nc -v -w 1 stun.vopium.com 3478 -nc -v -w 1 stun.voxgratia.org 3478 -nc -v -w 1 stun.voxox.com 3478 -nc -v -w 1 stun.voys.nl 3478 -nc -v -w 1 stun.voztele.com 3478 -nc -v -w 1 stun.vyke.com 3478 -nc -v -w 1 stun.webcalldirect.com 3478 -nc -v -w 1 stun.whoi.edu 3478 -nc -v -w 1 stun.wifirst.net 3478 -nc -v -w 1 stun.wwdl.net 3478 -nc -v -w 1 stun.xs4all.nl 3478 -nc -v -w 1 stun.xtratelecom.es 3478 -nc -v -w 1 stun.yesss.at 3478 -nc -v -w 1 stun.zadarma.com 3478 -nc -v -w 1 stun.zadv.com 3478 -nc -v -w 1 stun.zoiper.com 3478 -nc -v -w 1 stun1.faktortel.com.au 3478 -nc -v -w 1 stun1.l.google.com 19302 -nc -v -w 1 stun1.voiceeclipse.net 3478 -nc -v -w 1 stun2.l.google.com 19302 -nc -v -w 1 stun3.l.google.com 19302 -nc -v -w 1 stun4.l.google.com 19302 -nc -v -w 1 stunserver.org 3478 diff --git a/etc/pack/reicec/stun.txt b/etc/pack/reicec/stun.txt @@ -1,256 +0,0 @@ -stun.3cx.com:3478 -stun.a-mm.tv:3478 -stun.aa.net.uk:3478 -stun.acrobits.cz:3478 -stun.actionvoip.com:3478 -stun.advfn.com:3478 -stun.aeta-audio.com:3478 -stun.aeta.com:3478 -stun.alltel.com.au:3478 -stun.altar.com.pl:3478 -stun.annatel.net:3478 -stun.antisip.com:3478 -stun.arbuz.ru:3478 -stun.avigora.com:3478 -stun.avigora.fr:3478 -stun.awa-shima.com:3478 -stun.awt.be:3478 -stun.b2b2c.ca:3478 -stun.bahnhof.net:3478 -stun.barracuda.com:3478 -stun.bluesip.net:3478 -stun.bmwgs.cz:3478 -stun.botonakis.com:3478 -stun.budgetphone.nl:3478 -stun.budgetsip.com:3478 -stun.cablenet-as.net:3478 -stun.callromania.ro:3478 -stun.callwithus.com:3478 -stun.cbsys.net:3478 -stun.chathelp.ru:3478 -stun.cheapvoip.com:3478 -stun.ciktel.com:3478 -stun.cloopen.com:3478 -stun.colouredlines.com.au:3478 -stun.comfi.com:3478 -stun.commpeak.com:3478 -stun.comtube.com:3478 -stun.comtube.ru:3478 -stun.cope.es:3478 -stun.counterpath.com:3478 -stun.counterpath.net:3478 -stun.cryptonit.net:3478 -stun.darioflaccovio.it:3478 -stun.datamanagement.it:3478 -stun.dcalling.de:3478 -stun.decanet.fr:3478 -stun.demos.ru:3478 -stun.develz.org:3478 -stun.dingaling.ca:3478 -stun.doublerobotics.com:3478 -stun.drogon.net:3478 -stun.duocom.es:3478 -stun.dus.net:3478 -stun.e-fon.ch:3478 -stun.easybell.de:3478 -stun.easycall.pl:3478 -stun.easyvoip.com:3478 -stun.efficace-factory.com:3478 -stun.einsundeins.com:3478 -stun.einsundeins.de:3478 -stun.ekiga.net:3478 -stun.epygi.com:3478 -stun.etoilediese.fr:3478 -stun.eyeball.com:3478 -stun.faktortel.com.au:3478 -stun.freecall.com:3478 -stun.freeswitch.org:3478 -stun.freevoipdeal.com:3478 -stun.fuzemeeting.com:3478 -stun.gmx.de:3478 -stun.gmx.net:3478 -stun.gradwell.com:3478 -stun.halonet.pl:3478 -stun.hellonanu.com:3478 -stun.hoiio.com:3478 -stun.hosteurope.de:3478 -stun.ideasip.com:3478 -stun.imesh.com:3478 -stun.infra.net:3478 -stun.internetcalls.com:3478 -stun.intervoip.com:3478 -stun.ipcomms.net:3478 -stun.ipfire.org:3478 -stun.ippi.fr:3478 -stun.ipshka.com:3478 -stun.iptel.org:3478 -stun.irian.at:3478 -stun.it1.hr:3478 -stun.ivao.aero:3478 -stun.jappix.com:3478 -stun.jumblo.com:3478 -stun.justvoip.com:3478 -stun.kanet.ru:3478 -stun.kiwilink.co.nz:3478 -stun.kundenserver.de:3478 -stun.l.google.com:19302 -stun.linea7.net:3478 -stun.linphone.org:3478 -stun.liveo.fr:3478 -stun.lowratevoip.com:3478 -stun.lugosoft.com:3478 -stun.lundimatin.fr:3478 -stun.magnet.ie:3478 -stun.manle.com:3478 -stun.mgn.ru:3478 -stun.mit.de:3478 -stun.mitake.com.tw:3478 -stun.miwifi.com:3478 -stun.modulus.gr:3478 -stun.mozcom.com:3478 -stun.myvoiptraffic.com:3478 -stun.mywatson.it:3478 -stun.nas.net:3478 -stun.neotel.co.za:3478 -stun.netappel.com:3478 -stun.netappel.fr:3478 -stun.netgsm.com.tr:3478 -stun.nfon.net:3478 -stun.noblogs.org:3478 -stun.noc.ams-ix.net:3478 -stun.node4.co.uk:3478 -stun.nonoh.net:3478 -stun.nottingham.ac.uk:3478 -stun.nova.is:3478 -stun.nventure.com:3478 -stun.on.net.mk:3478 -stun.ooma.com:3478 -stun.ooonet.ru:3478 -stun.oriontelekom.rs:3478 -stun.outland-net.de:3478 -stun.ozekiphone.com:3478 -stun.patlive.com:3478 -stun.personal-voip.de:3478 -stun.petcube.com:3478 -stun.phone.com:3478 -stun.phoneserve.com:3478 -stun.pjsip.org:3478 -stun.poivy.com:3478 -stun.powerpbx.org:3478 -stun.powervoip.com:3478 -stun.ppdi.com:3478 -stun.prizee.com:3478 -stun.qq.com:3478 -stun.qvod.com:3478 -stun.rackco.com:3478 -stun.rapidnet.de:3478 -stun.rb-net.com:3478 -stun.refint.net:3478 -stun.remote-learner.net:3478 -stun.rixtelecom.se:3478 -stun.rockenstein.de:3478 -stun.rolmail.net:3478 -stun.rounds.com:3478 -stun.rynga.com:3478 -stun.samsungsmartcam.com:3478 -stun.schlund.de:3478 -stun.services.mozilla.com:3478 -stun.sigmavoip.com:3478 -stun.sip.us:3478 -stun.sipdiscount.com:3478 -stun.sipgate.net:10000 -stun.sipgate.net:3478 -stun.siplogin.de:3478 -stun.sipnet.net:3478 -stun.sipnet.ru:3478 -stun.siportal.it:3478 -stun.sippeer.dk:3478 -stun.siptraffic.com:3478 -stun.skylink.ru:3478 -stun.sma.de:3478 -stun.smartvoip.com:3478 -stun.smsdiscount.com:3478 -stun.snafu.de:3478 -stun.softjoys.com:3478 -stun.solcon.nl:3478 -stun.solnet.ch:3478 -stun.sonetel.com:3478 -stun.sonetel.net:3478 -stun.sovtest.ru:3478 -stun.speedy.com.ar:3478 -stun.spokn.com:3478 -stun.srce.hr:3478 -stun.ssl7.net:3478 -stun.stunprotocol.org:3478 -stun.symform.com:3478 -stun.symplicity.com:3478 -stun.sysadminman.net:3478 -stun.t-online.de:3478 -stun.tagan.ru:3478 -stun.tatneft.ru:3478 -stun.teachercreated.com:3478 -stun.tel.lu:3478 -stun.telbo.com:3478 -stun.telefacil.com:3478 -stun.tis-dialog.ru:3478 -stun.tng.de:3478 -stun.twt.it:3478 -stun.u-blox.com:3478 -stun.ucallweconn.net:3478 -stun.ucsb.edu:3478 -stun.ucw.cz:3478 -stun.uls.co.za:3478 -stun.unseen.is:3478 -stun.usfamily.net:3478 -stun.veoh.com:3478 -stun.vidyo.com:3478 -stun.vipgroup.net:3478 -stun.virtual-call.com:3478 -stun.viva.gr:3478 -stun.vivox.com:3478 -stun.vline.com:3478 -stun.vo.lu:3478 -stun.vodafone.ro:3478 -stun.voicetrading.com:3478 -stun.voip.aebc.com:3478 -stun.voip.blackberry.com:3478 -stun.voip.eutelia.it:3478 -stun.voiparound.com:3478 -stun.voipblast.com:3478 -stun.voipbuster.com:3478 -stun.voipbusterpro.com:3478 -stun.voipcheap.co.uk:3478 -stun.voipcheap.com:3478 -stun.voipfibre.com:3478 -stun.voipgain.com:3478 -stun.voipgate.com:3478 -stun.voipinfocenter.com:3478 -stun.voipplanet.nl:3478 -stun.voippro.com:3478 -stun.voipraider.com:3478 -stun.voipstunt.com:3478 -stun.voipwise.com:3478 -stun.voipzoom.com:3478 -stun.vopium.com:3478 -stun.voxgratia.org:3478 -stun.voxox.com:3478 -stun.voys.nl:3478 -stun.voztele.com:3478 -stun.vyke.com:3478 -stun.webcalldirect.com:3478 -stun.whoi.edu:3478 -stun.wifirst.net:3478 -stun.wwdl.net:3478 -stun.xs4all.nl:3478 -stun.xtratelecom.es:3478 -stun.yesss.at:3478 -stun.zadarma.com:3478 -stun.zadv.com:3478 -stun.zoiper.com:3478 -stun1.faktortel.com.au:3478 -stun1.l.google.com:19302 -stun1.voiceeclipse.net:3478 -stun2.l.google.com:19302 -stun3.l.google.com:19302 -stun4.l.google.com:19302 -stunserver.org:3478 diff --git a/etc/pack/rsync/rsync-fix-proto.h-tstamp-target.patch b/etc/pack/rsync/patch/rsync-fix-proto.h-tstamp-target.patch diff --git a/etc/pack/sacc/config.mk b/etc/pack/sacc/data/config.mk diff --git a/etc/pack/sbase/config.mk b/etc/pack/sbase/data/config.mk diff --git a/etc/pack/sent/config.h b/etc/pack/sent/data/config.h diff --git a/etc/pack/sent/config.mk b/etc/pack/sent/data/config.mk diff --git a/etc/pack/sfeed/sfeed_twtxt.c b/etc/pack/sfeed/sfeed_twtxt.c @@ -1,84 +0,0 @@ -#include <ctype.h> -#include <err.h> -#include <locale.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> - -#include "util.h" - -static char *line; -static size_t linesize; - -static void -printtext(FILE *fp, const char *s) -{ - for (; *s; s++) - if (!iscntrl(*s)) - fputc(*s, fp); -} - -static void -printfeed(FILE *fp, const char *feedname) -{ - char *fields[FieldLast]; - struct tm *tm; - time_t parsedtime; - ssize_t linelen; - - while ((linelen = getline(&line, &linesize, fp)) > 0) { - if (line[linelen - 1] == '\n') - line[--linelen] = '\0'; - if (!parseline(line, fields)) - break; - - parsedtime = 0; - strtotime(fields[FieldUnixTimestamp], &parsedtime); - if (!(tm = gmtime(&parsedtime))) - err(1, "localtime"); - - fprintf(stdout, "%04d-%02d-%02dT%02d:%02d:%02dZ\t", - tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, - tm->tm_hour, tm->tm_min, tm->tm_sec); - if (feedname[0]) - printf("[%s] ", feedname); - printtext(stdout, fields[FieldTitle]); - if (fields[FieldLink][0]) { - fputs(" @<", stdout); - if (fields[FieldAuthor][0]) { - printtext(stdout, fields[FieldAuthor]); - fputs(" ", stdout); - } - printtext(stdout, fields[FieldLink]); - fputs(">", stdout); - } - putchar('\n'); - } -} - -int -main(int argc, char *argv[]) -{ - FILE *fp; - char *name; - int i; - - if (pledge(argc == 1 ? "stdio" : "stdio rpath", NULL) == -1) - err(1, "pledge"); - - if (argc == 1) { - printfeed(stdin, ""); - } else { - for (i = 1; i < argc; i++) { - if (!(fp = fopen(argv[i], "r"))) - err(1, "fopen: %s", argv[i]); - name = ((name = strrchr(argv[i], '/'))) ? name + 1 : argv[i]; - printfeed(fp, name); - if (ferror(fp)) - err(1, "ferror: %s", argv[i]); - fclose(fp); - } - } - return 0; -} diff --git a/etc/pack/spoon/config.h b/etc/pack/spoon/data/config.h diff --git a/etc/pack/spoon/config.mk b/etc/pack/spoon/data/config.mk diff --git a/etc/pack/st/colors.h b/etc/pack/st/data/colors.h diff --git a/etc/pack/st/config.h b/etc/pack/st/data/config.h diff --git a/etc/pack/st/config.mk b/etc/pack/st/data/config.mk diff --git a/etc/pack/st/helios_dark.h b/etc/pack/st/data/helios_dark.h diff --git a/etc/pack/st/solarized_dark.h b/etc/pack/st/data/solarized_dark.h diff --git a/etc/pack/st/solarized_light.h b/etc/pack/st/data/solarized_light.h diff --git a/etc/pack/stagit-gopher/config.mk b/etc/pack/stagit-gopher/data/config.mk diff --git a/etc/pack/stagit/config.mk b/etc/pack/stagit/data/config.mk diff --git a/etc/pack/tabbed/config.mk b/etc/pack/tabbed/data/config.mk diff --git a/etc/pack/tarsnap/1.1pre15/tar b/etc/pack/tarsnap/1.1pre15/tar @@ -1 +0,0 @@ -http://tinc-vpn.org/packages/tinc-%s.tar.gz diff --git a/etc/pack/tcpdump/2.6/tar b/etc/pack/tcpdump/2.6/tar @@ -1 +0,0 @@ -https://github.com/tmux/tmux/releases/download/%s/tmux-%s.tar.gz diff --git a/etc/pack/tinc/20151004/tar b/etc/pack/tinc/20151004/tar @@ -1 +0,0 @@ -ftp://ftp.netbsd.org/pub/NetBSD/misc/tnftp/tnftp-%s.tar.gz diff --git a/etc/pack/tinyldap/checkpassword.c b/etc/pack/tinyldap/data/checkpassword.c diff --git a/etc/pack/tinyldap/main/tar b/etc/pack/tinyldap/main/tar @@ -1 +0,0 @@ -http://www.fefe.de/tinyldap/tinyldap.tar.bz2 diff --git a/etc/pack/tinysshd/20180201/tar b/etc/pack/tinysshd/20180201/tar @@ -1 +0,0 @@ -https://mojzis.com/software/tinyssh/tinyssh-%s.tar.gz diff --git a/etc/pack/tinyxserver/standard_definitions.mk b/etc/pack/tinyxserver/data/standard_definitions.mk diff --git a/etc/pack/tnftp/1.4.0/tar b/etc/pack/tnftp/1.4.0/tar @@ -1 +0,0 @@ -https://ftp.osuosl.org/pub/xiph/releases/vorbis/vorbis-tools-%s.tar.gz diff --git a/etc/pack/tor/0.3.1.8/tar b/etc/pack/tor/0.3.1.8/tar @@ -1 +0,0 @@ -http://www.torproject.org/dist/tor-%s.tar.gz diff --git a/etc/pack/torsocks/autotools/Makefile.in b/etc/pack/torsocks/data/Makefile.in diff --git a/etc/pack/torsocks/autotools/aclocal.m4 b/etc/pack/torsocks/data/aclocal.m4 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/output.0 b/etc/pack/torsocks/data/autom4te.cache/output.0 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/output.1 b/etc/pack/torsocks/data/autom4te.cache/output.1 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/output.2 b/etc/pack/torsocks/data/autom4te.cache/output.2 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/requests b/etc/pack/torsocks/data/autom4te.cache/requests diff --git a/etc/pack/torsocks/autotools/autom4te.cache/traces.0 b/etc/pack/torsocks/data/autom4te.cache/traces.0 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/traces.1 b/etc/pack/torsocks/data/autom4te.cache/traces.1 diff --git a/etc/pack/torsocks/autotools/autom4te.cache/traces.2 b/etc/pack/torsocks/data/autom4te.cache/traces.2 diff --git a/etc/pack/torsocks/autotools/config/compile b/etc/pack/torsocks/data/config/compile diff --git a/etc/pack/torsocks/autotools/config/config.guess b/etc/pack/torsocks/data/config/config.guess diff --git a/etc/pack/torsocks/autotools/config/config.sub b/etc/pack/torsocks/data/config/config.sub diff --git a/etc/pack/torsocks/autotools/config/depcomp b/etc/pack/torsocks/data/config/depcomp diff --git a/etc/pack/torsocks/autotools/config/install-sh b/etc/pack/torsocks/data/config/install-sh diff --git a/etc/pack/torsocks/autotools/config/libtool.m4 b/etc/pack/torsocks/data/config/libtool.m4 diff --git a/etc/pack/torsocks/autotools/config/ltmain.sh b/etc/pack/torsocks/data/config/ltmain.sh diff --git a/etc/pack/torsocks/autotools/config/ltoptions.m4 b/etc/pack/torsocks/data/config/ltoptions.m4 diff --git a/etc/pack/torsocks/autotools/config/ltsugar.m4 b/etc/pack/torsocks/data/config/ltsugar.m4 diff --git a/etc/pack/torsocks/autotools/config/ltversion.m4 b/etc/pack/torsocks/data/config/ltversion.m4 diff --git a/etc/pack/torsocks/autotools/config/lt~obsolete.m4 b/etc/pack/torsocks/data/config/lt~obsolete.m4 diff --git a/etc/pack/torsocks/autotools/config/missing b/etc/pack/torsocks/data/config/missing diff --git a/etc/pack/torsocks/autotools/config/test-driver b/etc/pack/torsocks/data/config/test-driver diff --git a/etc/pack/torsocks/autotools/configure b/etc/pack/torsocks/data/configure diff --git a/etc/pack/torsocks/autotools/doc/Makefile.in b/etc/pack/torsocks/data/doc/Makefile.in diff --git a/etc/pack/torsocks/autotools/extras/Makefile.in b/etc/pack/torsocks/data/extras/Makefile.in diff --git a/etc/pack/torsocks/autotools/include/config.h.in b/etc/pack/torsocks/data/include/config.h.in diff --git a/etc/pack/torsocks/autotools/src/Makefile.in b/etc/pack/torsocks/data/src/Makefile.in diff --git a/etc/pack/torsocks/autotools/src/bin/Makefile.in b/etc/pack/torsocks/data/src/bin/Makefile.in diff --git a/etc/pack/torsocks/autotools/src/common/Makefile.in b/etc/pack/torsocks/data/src/common/Makefile.in diff --git a/etc/pack/torsocks/autotools/src/lib/Makefile.in b/etc/pack/torsocks/data/src/lib/Makefile.in diff --git a/etc/pack/torsocks/autotools/tests/Makefile.in b/etc/pack/torsocks/data/tests/Makefile.in diff --git a/etc/pack/torsocks/autotools/tests/unit/Makefile.in b/etc/pack/torsocks/data/tests/unit/Makefile.in diff --git a/etc/pack/torsocks/autotools/tests/utils/Makefile.in b/etc/pack/torsocks/data/tests/utils/Makefile.in diff --git a/etc/pack/torsocks/autotools/tests/utils/tap/Makefile.in b/etc/pack/torsocks/data/tests/utils/tap/Makefile.in diff --git a/etc/pack/transmission/2.94/tar b/etc/pack/transmission/2.94/tar @@ -1 +0,0 @@ -https://github.com/transmission/transmission-releases/raw/master/transmission-%s.tar.xz diff --git a/etc/pack/transmission/queue.h b/etc/pack/transmission/data/sys/queue.h diff --git a/etc/pack/tzdb/2018e/tar b/etc/pack/tzdb/2018e/tar @@ -1 +0,0 @@ -https://data.iana.org/time-zones/releases/tzdb-%s.tar.lz diff --git a/etc/pack/ubase/config.mk b/etc/pack/ubase/data/config.mk diff --git a/etc/pack/vsftpd/Makefile b/etc/pack/vsftpd/data/Makefile diff --git a/etc/pack/vsftpd/builddefs.h b/etc/pack/vsftpd/data/builddefs.h diff --git a/etc/pack/warp-vpn/config-Linux.mk b/etc/pack/warp-vpn/data/config-Linux.mk diff --git a/etc/pack/warp-vpn/config-OpenBSD.mk b/etc/pack/warp-vpn/data/config-OpenBSD.mk diff --git a/etc/pack/yasm/1.3.0/tar b/etc/pack/yasm/1.3.0/tar @@ -1 +0,0 @@ -http://www.tortall.net/projects/yasm/releases/yasm-%s.tar.gz diff --git a/etc/s6/baresip/x/README.accounts b/etc/s6/baresip/x/README.accounts @@ -1,58 +0,0 @@ -# -# SIP accounts - one account per line -- sample configuration -# -# Displayname <sip:user:password@domain;uri-params>;addr-params -# -# uri-params: -# ;transport={udp,tcp,tls} -# -# addr-params: -# ;answermode={manual,early,auto} -# ;audio_codecs=opus/48000/2,pcma,... -# ;auth_user=username -# ;mediaenc={srtp,srtp-mand,srtp-mandf,dtls_srtp,zrtp} -# ;medianat={stun,turn,ice} -# ;outbound="sip:primary.example.com;transport=tcp" -# ;outbound2=sip:secondary.example.com -# ;ptime={10,20,30,40,...} -# ;regint=3600 -# ;pubint=0 (publishing off) -# ;regq=0.5 -# ;rtpkeep={zero,stun,dyna,rtcp} -# ;sipnat={outbound} -# ;stunserver=stun:[user:pass]@host[:port] -# ;video_codecs=h264,h263,... -# -# Examples: -# -# <sip:user:secret@domain.com;transport=tcp> -# <sip:user:secret@1.2.3.4;transport=tcp> -# <sip:user:secret@[2001:df8:0:16:216:6fff:fe91:614c]:5070;transport=tcp> -# - - -# -# A very basic example -# -<sip:user@iptel.org> - - -# -# Use SIP Outbound over TCP, with ICE for Media NAT Traversal, and DTLS-SRTP for encryption -# -<sip:user@example.com>;sipnat=outbound;outbound="sip:example.com;transport=tcp";medianat=ice;mediaenc=dtls_srtp;auth_pass=pass - - -# -# Use ICE for Media NAT Traversal, using a specific STUN-server -# -<sip:user@example.com>;medianat=ice;stunserver="stun:username:password@stunserver.org";auth_pass=pass - - -# -# Force audio-codec 'opus' and video-codec 'vp8' -# -<sip:user@example.com>;audio_codecs=opus/48000/2;video_codecs=vp8;auth_pass=pass - - -# ... more examples can be added here ... diff --git a/etc/s6/baresip/x/README.config b/etc/s6/baresip/x/README.config @@ -1,164 +0,0 @@ -# -# baresip configuration -- example for linux -# - -#------------------------------------------------------------------------------ - -# Core -poll_method epoll # poll, select, epoll .. - -# SIP -sip_trans_bsize 128 -#sip_listen 0.0.0.0:5060 -#sip_certificate cert.pem - -# Audio -audio_player alsa,default -audio_source alsa,default -audio_alert alsa,default -#ausrc_srate 48000 -#auplay_srate 48000 -#ausrc_channels 0 -#auplay_channels 0 - -# Video -#video_source v4l2,/dev/video0 -#video_display x11,nil -video_size 352x288 -video_bitrate 512000 -video_fps 25 - -# AVT - Audio/Video Transport -rtp_tos 184 -#rtp_ports 10000-20000 -#rtp_bandwidth 512-1024 # [kbit/s] -rtcp_enable yes -rtcp_mux no -jitter_buffer_delay 5-10 # frames -rtp_stats no - -# Network -#dns_server 10.0.0.1:53 -#net_interface wlan1 - -# BFCP -#bfcp_proto udp - -#------------------------------------------------------------------------------ -# Modules - -#module_path /usr/local/lib/baresip/modules - -# UI Modules -module stdio.so -#module cons.so -#module evdev.so -#module httpd.so - -# Audio codec Modules (in order) -module opus.so -#module silk.so -#module amr.so -#module g7221.so -#module g722.so -#module g726.so -module g711.so -#module gsm.so -#module l16.so -#module bv32.so - -# Audio filter Modules (in encoding order) -#module vumeter.so -#module sndfile.so -#module speex_aec.so -#module speex_pp.so -#module plc.so - -# Audio driver Modules -module alsa.so -#module portaudio.so - -# Video codec Modules (in order) -module avcodec.so -module vpx.so - -# Video filter Modules (in encoding order) -#module selfview.so - -# Video source modules -#module v4l.so -module v4l2.so -#module avformat.so -#module x11grab.so -#module cairo.so - -# Video display modules -module x11.so -#module sdl2.so - -# Audio/Video source modules -#module rst.so -#module gst.so - -# Media NAT modules -module stun.so -module turn.so -module ice.so -#module natpmp.so - -# Media encryption modules -#module srtp.so -module dtls_srtp.so - - -#------------------------------------------------------------------------------ -# Temporary Modules (loaded then unloaded) - -module_tmp uuid.so -module_tmp account.so - - -#------------------------------------------------------------------------------ -# Application Modules - -module_app auloop.so -module_app contact.so -module_app menu.so -#module_app mwi.so -#module_app natbd.so -#module_app presence.so -#module_app syslog.so -module_app vidloop.so -#module_app gtk.so - - -#------------------------------------------------------------------------------ -# Module parameters - - -cons_listen 0.0.0.0:5555 - -evdev_device /dev/input/event0 - -# Opus codec parameters -opus_bitrate 28000 # 6000-510000 - -# NAT Behavior Discovery -natbd_server creytiv.com -natbd_interval 600 # in seconds - -# Selfview -video_selfview window # {window,pip} -#selfview_size 64x64 - -# ICE -ice_turn no -ice_debug no -ice_nomination regular # {regular,aggressive} -ice_mode full # {full,lite} - -# ZRTP -#zrtp_hash no # Disable SDP zrtp-hash (not recommended) - -# sndfile # -snd_path /tmp/ diff --git a/etc/s6/baresip/x/README.contacts b/etc/s6/baresip/x/README.contacts @@ -1,11 +0,0 @@ -# -# SIP contacts -# -# Displayname <sip:user@domain>;addr-params -# -# addr-params: -# ;presence={none,p2p} -# - -"Echo Server" <sip:echo@creytiv.com> -"alfredh" <sip:alfredh@home>;presence=p2p diff --git a/etc/s6/kamailio/sqlite/setup-sqlite b/etc/s6/kamailio/sqlite/setup diff --git a/etc/s6/kamailio/x/README b/etc/s6/kamailio/x/README @@ -1,970 +0,0 @@ -#!KAMAILIO -# -# Kamailio (OpenSER) SIP Server v5.2 - default configuration script -# - web: https://www.kamailio.org -# - git: https://github.com/kamailio/kamailio -# -# Direct your questions about this file to: <sr-users@lists.kamailio.org> -# -# Refer to the Core CookBook at https://www.kamailio.org/wiki/ -# for an explanation of possible statements, functions and parameters. -# -# Note: the comments can be: -# - lines starting with #, but not the pre-processor directives, -# which start with #!, like #!define, #!ifdef, #!endif, #!else, #!trydef, -# #!subst, #!substdef, ... -# - lines starting with // -# - blocks enclosed in between /* */ -# -# Several features can be enabled using '#!define WITH_FEATURE' directives: -# -# *** To run in debug mode: -# - define WITH_DEBUG -# -# *** To enable mysql: -# - define WITH_MYSQL -# -# *** To enable authentication execute: -# - enable mysql -# - define WITH_AUTH -# - add users using 'kamctl' -# -# *** To enable IP authentication execute: -# - enable mysql -# - enable authentication -# - define WITH_IPAUTH -# - add IP addresses with group id '1' to 'address' table -# -# *** To enable persistent user location execute: -# - enable mysql -# - define WITH_USRLOCDB -# -# *** To enable presence server execute: -# - enable mysql -# - define WITH_PRESENCE -# -# *** To enable nat traversal execute: -# - define WITH_NAT -# - install RTPProxy: http://www.rtpproxy.org -# - start RTPProxy: -# rtpproxy -l _your_public_ip_ -s udp:localhost:7722 -# - option for NAT SIP OPTIONS keepalives: WITH_NATSIPPING -# -# *** To enable PSTN gateway routing execute: -# - define WITH_PSTN -# - set the value of pstn.gw_ip -# - check route[PSTN] for regexp routing condition -# -# *** To enable database aliases lookup execute: -# - enable mysql -# - define WITH_ALIASDB -# -# *** To enable speed dial lookup execute: -# - enable mysql -# - define WITH_SPEEDDIAL -# -# *** To enable multi-domain support execute: -# - enable mysql -# - define WITH_MULTIDOMAIN -# -# *** To enable TLS support execute: -# - adjust CFGDIR/tls.cfg as needed -# - define WITH_TLS -# -# *** To enable XMLRPC support execute: -# - define WITH_XMLRPC -# - adjust route[XMLRPC] for access policy -# -# *** To enable anti-flood detection execute: -# - adjust pike and htable=>ipban settings as needed (default is -# block if more than 16 requests in 2 seconds and ban for 300 seconds) -# - define WITH_ANTIFLOOD -# -# *** To block 3XX redirect replies execute: -# - define WITH_BLOCK3XX -# -# *** To block 401 and 407 authentication replies execute: -# - define WITH_BLOCK401407 -# -# *** To enable VoiceMail routing execute: -# - define WITH_VOICEMAIL -# - set the value of voicemail.srv_ip -# - adjust the value of voicemail.srv_port -# -# *** To enhance accounting execute: -# - enable mysql -# - define WITH_ACCDB -# - add following columns to database -#!ifdef ACCDB_COMMENT - ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; - ALTER TABLE acc ADD COLUMN src_ip varchar(64) NOT NULL default ''; - ALTER TABLE acc ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE acc ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE acc ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; - ALTER TABLE missed_calls ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE missed_calls ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; - ALTER TABLE missed_calls ADD COLUMN src_ip varchar(64) NOT NULL default ''; - ALTER TABLE missed_calls ADD COLUMN dst_ouser VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE missed_calls ADD COLUMN dst_user VARCHAR(64) NOT NULL DEFAULT ''; - ALTER TABLE missed_calls ADD COLUMN dst_domain VARCHAR(128) NOT NULL DEFAULT ''; -#!endif - -####### Include Local Config If Exists ######### -import_file "kamailio-local.cfg" - -####### Defined Values ######### - -# *** Value defines - IDs used later in config -#!ifdef WITH_MYSQL -# - database URL - used to connect to database server by modules such -# as: auth_db, acc, usrloc, a.s.o. -#!ifndef DBURL -#!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio" -#!endif -#!endif -#!ifdef WITH_MULTIDOMAIN -# - the value for 'use_domain' parameters -#!define MULTIDOMAIN 1 -#!else -#!define MULTIDOMAIN 0 -#!endif - -# - flags -# FLT_ - per transaction (message) flags -# FLB_ - per branch flags -#!define FLT_ACC 1 -#!define FLT_ACCMISSED 2 -#!define FLT_ACCFAILED 3 -#!define FLT_NATS 5 - -#!define FLB_NATB 6 -#!define FLB_NATSIPPING 7 - -####### Global Parameters ######### - -### LOG Levels: 3=DBG, 2=INFO, 1=NOTICE, 0=WARN, -1=ERR -#!ifdef WITH_DEBUG -debug=4 -log_stderror=yes -#!else -debug=2 -log_stderror=no -#!endif - -memdbg=5 -memlog=5 - -log_facility=LOG_LOCAL0 -log_prefix="{$mt $hdr(CSeq) $ci} " - -/* number of SIP routing processes */ -children=8 - -/* uncomment the next line to disable TCP (default on) */ -# disable_tcp=yes - -/* uncomment the next line to disable the auto discovery of local aliases - * based on reverse DNS on IPs (default on) */ -# auto_aliases=no - -/* add local domain aliases */ -# alias="sip.mydomain.com" - -/* uncomment and configure the following line if you want Kamailio to - * bind on a specific interface/port/proto (default bind on all available) */ -# listen=udp:10.0.0.10:5060 - -#!ifdef WITH_TLS -enable_tls=yes -#!endif - -/* life time of TCP connection when there is no traffic - * - a bit higher than registration expires to cope with UA behind NAT */ -tcp_connection_lifetime=3605 - -####### Custom Parameters ######### - -/* These parameters can be modified runtime via RPC interface - * - see the documentation of 'cfg_rpc' module. - * - * Format: group.id = value 'desc' description - * Access: $sel(cfg_get.group.id) or @cfg_get.group.id */ - -#!ifdef WITH_PSTN -/* PSTN GW Routing - * - * - pstn.gw_ip: valid IP or hostname as string value, example: - * pstn.gw_ip = "10.0.0.101" desc "My PSTN GW Address" - * - * - by default is empty to avoid misrouting */ -pstn.gw_ip = "" desc "PSTN GW Address" -pstn.gw_port = "" desc "PSTN GW Port" -#!endif - -#!ifdef WITH_VOICEMAIL -/* VoiceMail Routing on offline, busy or no answer - * - * - by default Voicemail server IP is empty to avoid misrouting */ -voicemail.srv_ip = "" desc "VoiceMail IP Address" -voicemail.srv_port = "5060" desc "VoiceMail Port" -#!endif - -####### Modules Section ######## - -/* set paths to location of modules */ -# mpath="/var/pack/pkg/kamailio/5.2.0/lib64/kamailio/modules/" - -#!ifdef WITH_MYSQL -loadmodule "db_mysql.so" -#!endif - -loadmodule "jsonrpcs.so" -loadmodule "kex.so" -loadmodule "corex.so" -loadmodule "tm.so" -loadmodule "tmx.so" -loadmodule "sl.so" -loadmodule "rr.so" -loadmodule "pv.so" -loadmodule "maxfwd.so" -loadmodule "usrloc.so" -loadmodule "registrar.so" -loadmodule "textops.so" -loadmodule "siputils.so" -loadmodule "xlog.so" -loadmodule "sanity.so" -loadmodule "ctl.so" -loadmodule "cfg_rpc.so" -loadmodule "acc.so" -loadmodule "counters.so" - -#!ifdef WITH_AUTH -loadmodule "auth.so" -loadmodule "auth_db.so" -#!ifdef WITH_IPAUTH -loadmodule "permissions.so" -#!endif -#!endif - -#!ifdef WITH_ALIASDB -loadmodule "alias_db.so" -#!endif - -#!ifdef WITH_SPEEDDIAL -loadmodule "speeddial.so" -#!endif - -#!ifdef WITH_MULTIDOMAIN -loadmodule "domain.so" -#!endif - -#!ifdef WITH_PRESENCE -loadmodule "presence.so" -loadmodule "presence_xml.so" -#!endif - -#!ifdef WITH_NAT -loadmodule "nathelper.so" -loadmodule "rtpproxy.so" -#!endif - -#!ifdef WITH_TLS -loadmodule "tls.so" -#!endif - -#!ifdef WITH_ANTIFLOOD -loadmodule "htable.so" -loadmodule "pike.so" -#!endif - -#!ifdef WITH_XMLRPC -loadmodule "xmlrpc.so" -#!endif - -#!ifdef WITH_DEBUG -loadmodule "debugger.so" -#!endif - -# ----------------- setting module-specific parameters --------------- - - -# ----- jsonrpcs params ----- -modparam("jsonrpcs", "pretty_format", 1) -/* set the path to RPC fifo control file */ -# modparam("jsonrpcs", "fifo_name", "/var/run/kamailio/kamailio_rpc.fifo") -/* set the path to RPC unix socket control file */ -# modparam("jsonrpcs", "dgram_socket", "/var/run/kamailio/kamailio_rpc.sock") - -# ----- ctl params ----- -/* set the path to RPC unix socket control file */ -# modparam("ctl", "binrpc", "unix:/var/run/kamailio/kamailio_ctl") - -# ----- tm params ----- -# auto-discard branches from previous serial forking leg -modparam("tm", "failure_reply_mode", 3) -# default retransmission timeout: 30sec -modparam("tm", "fr_timer", 30000) -# default invite retransmission timeout after 1xx: 120sec -modparam("tm", "fr_inv_timer", 120000) - -# ----- rr params ----- -# set next param to 1 to add value to ;lr param (helps with some UAs) -modparam("rr", "enable_full_lr", 0) -# do not append from tag to the RR (no need for this script) -modparam("rr", "append_fromtag", 0) - -# ----- registrar params ----- -modparam("registrar", "method_filtering", 1) -/* uncomment the next line to disable parallel forking via location */ -# modparam("registrar", "append_branches", 0) -/* uncomment the next line not to allow more than 10 contacts per AOR */ -# modparam("registrar", "max_contacts", 10) -/* max value for expires of registrations */ -modparam("registrar", "max_expires", 3600) -/* set it to 1 to enable GRUU */ -modparam("registrar", "gruu_enabled", 0) - -# ----- acc params ----- -/* what special events should be accounted ? */ -modparam("acc", "early_media", 0) -modparam("acc", "report_ack", 0) -modparam("acc", "report_cancels", 0) -/* by default ww do not adjust the direct of the sequential requests. - * if you enable this parameter, be sure the enable "append_fromtag" - * in "rr" module */ -modparam("acc", "detect_direction", 0) -/* account triggers (flags) */ -modparam("acc", "log_flag", FLT_ACC) -modparam("acc", "log_missed_flag", FLT_ACCMISSED) -modparam("acc", "log_extra", - "src_user=$fU;src_domain=$fd;src_ip=$si;" - "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") -modparam("acc", "failed_transaction_flag", FLT_ACCFAILED) -/* enhanced DB accounting */ -#!ifdef WITH_ACCDB -modparam("acc", "db_flag", FLT_ACC) -modparam("acc", "db_missed_flag", FLT_ACCMISSED) -modparam("acc", "db_url", DBURL) -modparam("acc", "db_extra", - "src_user=$fU;src_domain=$fd;src_ip=$si;" - "dst_ouser=$tU;dst_user=$rU;dst_domain=$rd") -#!endif - -# ----- usrloc params ----- -/* enable DB persistency for location entries */ -#!ifdef WITH_USRLOCDB -modparam("usrloc", "db_url", DBURL) -modparam("usrloc", "db_mode", 2) -modparam("usrloc", "use_domain", MULTIDOMAIN) -#!endif - -# ----- auth_db params ----- -#!ifdef WITH_AUTH -modparam("auth_db", "db_url", DBURL) -modparam("auth_db", "calculate_ha1", yes) -modparam("auth_db", "password_column", "password") -modparam("auth_db", "load_credentials", "") -modparam("auth_db", "use_domain", MULTIDOMAIN) - -# ----- permissions params ----- -#!ifdef WITH_IPAUTH -modparam("permissions", "db_url", DBURL) -modparam("permissions", "db_mode", 1) -#!endif - -#!endif - -# ----- alias_db params ----- -#!ifdef WITH_ALIASDB -modparam("alias_db", "db_url", DBURL) -modparam("alias_db", "use_domain", MULTIDOMAIN) -#!endif - -# ----- speeddial params ----- -#!ifdef WITH_SPEEDDIAL -modparam("speeddial", "db_url", DBURL) -modparam("speeddial", "use_domain", MULTIDOMAIN) -#!endif - -# ----- domain params ----- -#!ifdef WITH_MULTIDOMAIN -modparam("domain", "db_url", DBURL) -/* register callback to match myself condition with domains list */ -modparam("domain", "register_myself", 1) -#!endif - -#!ifdef WITH_PRESENCE -# ----- presence params ----- -modparam("presence", "db_url", DBURL) - -# ----- presence_xml params ----- -modparam("presence_xml", "db_url", DBURL) -modparam("presence_xml", "force_active", 1) -#!endif - -#!ifdef WITH_NAT -# ----- rtpproxy params ----- -modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722") - -# ----- nathelper params ----- -modparam("nathelper", "natping_interval", 30) -modparam("nathelper", "ping_nated_only", 1) -modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) -modparam("nathelper", "sipping_from", "sip:pinger@kamailio.org") - -# params needed for NAT traversal in other modules -modparam("nathelper|registrar", "received_avp", "$avp(RECEIVED)") -modparam("usrloc", "nat_bflag", FLB_NATB) -#!endif - -#!ifdef WITH_TLS -# ----- tls params ----- -modparam("tls", "config", "/var/pack/pkg/kamailio/5.2.0/etc/kamailio/tls.cfg") -#!endif - -#!ifdef WITH_ANTIFLOOD -# ----- pike params ----- -modparam("pike", "sampling_time_unit", 2) -modparam("pike", "reqs_density_per_unit", 16) -modparam("pike", "remove_latency", 4) - -# ----- htable params ----- -/* ip ban htable with autoexpire after 5 minutes */ -modparam("htable", "htable", "ipban=>size=8;autoexpire=300;") -#!endif - -#!ifdef WITH_XMLRPC -# ----- xmlrpc params ----- -modparam("xmlrpc", "route", "XMLRPC"); -modparam("xmlrpc", "url_match", "^/RPC") -#!endif - -#!ifdef WITH_DEBUG -# ----- debugger params ----- -modparam("debugger", "cfgtrace", 1) -modparam("debugger", "log_level_name", "exec") -#!endif - -####### Routing Logic ######## - - -/* Main SIP request routing logic - * - processing of any incoming SIP request starts with this route - * - note: this is the same as route { ... } */ -request_route { - - # per request initial checks - route(REQINIT); - - # NAT detection - route(NATDETECT); - - # CANCEL processing - if (is_method("CANCEL")) { - if (t_check_trans()) { - route(RELAY); - } - exit; - } - - # handle retransmissions - if (!is_method("ACK")) { - if(t_precheck_trans()) { - t_check_trans(); - exit; - } - t_check_trans(); - } - - # handle requests within SIP dialogs - route(WITHINDLG); - - ### only initial requests (no To tag) - - # authentication - route(AUTH); - - # record routing for dialog forming requests (in case they are routed) - # - remove preloaded route headers - remove_hf("Route"); - if (is_method("INVITE|SUBSCRIBE")) { - record_route(); - } - - # account only INVITEs - if (is_method("INVITE")) { - setflag(FLT_ACC); # do accounting - } - - # dispatch requests to foreign domains - route(SIPOUT); - - ### requests for my local domains - - # handle presence related requests - route(PRESENCE); - - # handle registrations - route(REGISTRAR); - - if ($rU==$null) { - # request with no Username in RURI - sl_send_reply("484","Address Incomplete"); - exit; - } - - # dispatch destinations to PSTN - route(PSTN); - - # user location service - route(LOCATION); -} - -# Wrapper for relaying requests -route[RELAY] { - - # enable additional event routes for forwarded requests - # - serial forking, RTP relaying handling, a.s.o. - if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) { - if(!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH"); - } - if (is_method("INVITE|SUBSCRIBE|UPDATE")) { - if(!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY"); - } - if (is_method("INVITE")) { - if(!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE"); - } - - if (!t_relay()) { - sl_reply_error(); - } - exit; -} - -# Per SIP request initial checks -route[REQINIT] { -#!ifdef WITH_ANTIFLOOD - # flood detection from same IP and traffic ban for a while - # be sure you exclude checking trusted peers, such as pstn gateways - # - local host excluded (e.g., loop to self) - if(src_ip!=myself) { - if($sht(ipban=>$si)!=$null) { - # ip is already blocked - xdbg("request from blocked IP - $rm from $fu (IP:$si:$sp)\n"); - exit; - } - if (!pike_check_req()) { - xlog("L_ALERT","ALERT: pike blocking $rm from $fu (IP:$si:$sp)\n"); - $sht(ipban=>$si) = 1; - exit; - } - } -#!endif - if($ua =~ "friendly-scanner|sipcli|VaxSIPUserAgent") { - # silent drop for scanners - uncomment next line if want to reply - # sl_send_reply("200", "OK"); - exit; - } - - if (!mf_process_maxfwd_header("10")) { - sl_send_reply("483","Too Many Hops"); - exit; - } - - if(is_method("OPTIONS") && uri==myself && $rU==$null) { - sl_send_reply("200","Keepalive"); - exit; - } - - if(!sanity_check("17895", "7")) { - xlog("Malformed SIP message from $si:$sp\n"); - exit; - } -} - -# Handle requests within SIP dialogs -route[WITHINDLG] { - if (!has_totag()) return; - - # sequential request withing a dialog should - # take the path determined by record-routing - if (loose_route()) { - route(DLGURI); - if (is_method("BYE")) { - setflag(FLT_ACC); # do accounting ... - setflag(FLT_ACCFAILED); # ... even if the transaction fails - } else if ( is_method("ACK") ) { - # ACK is forwarded statelessly - route(NATMANAGE); - } else if ( is_method("NOTIFY") ) { - # Add Record-Route for in-dialog NOTIFY as per RFC 6665. - record_route(); - } - route(RELAY); - exit; - } - - if (is_method("SUBSCRIBE") && uri == myself) { - # in-dialog subscribe requests - route(PRESENCE); - exit; - } - if ( is_method("ACK") ) { - if ( t_check_trans() ) { - # no loose-route, but stateful ACK; - # must be an ACK after a 487 - # or e.g. 404 from upstream server - route(RELAY); - exit; - } else { - # ACK without matching transaction ... ignore and discard - exit; - } - } - sl_send_reply("404","Not here"); - exit; -} - -# Handle SIP registrations -route[REGISTRAR] { - if (!is_method("REGISTER")) return; - - if(isflagset(FLT_NATS)) { - setbflag(FLB_NATB); -#!ifdef WITH_NATSIPPING - # do SIP NAT pinging - setbflag(FLB_NATSIPPING); -#!endif - } - if (!save("location")) { - sl_reply_error(); - } - exit; -} - -# User location service -route[LOCATION] { - -#!ifdef WITH_SPEEDDIAL - # search for short dialing - 2-digit extension - if($rU=~"^[0-9][0-9]$") { - if(sd_lookup("speed_dial")) { - route(SIPOUT); - } - } -#!endif - -#!ifdef WITH_ALIASDB - # search in DB-based aliases - if(alias_db_lookup("dbaliases")) { - route(SIPOUT); - } -#!endif - - $avp(oexten) = $rU; - if (!lookup("location")) { - $var(rc) = $rc; - route(TOVOICEMAIL); - t_newtran(); - switch ($var(rc)) { - case -1: - case -3: - send_reply("404", "Not Found"); - exit; - case -2: - send_reply("405", "Method Not Allowed"); - exit; - } - } - - # when routing via usrloc, log the missed calls also - if (is_method("INVITE")) { - setflag(FLT_ACCMISSED); - } - - route(RELAY); - exit; -} - -# Presence server processing -route[PRESENCE] { - if(!is_method("PUBLISH|SUBSCRIBE")) return; - - if(is_method("SUBSCRIBE") && $hdr(Event)=="message-summary") { - route(TOVOICEMAIL); - # returns here if no voicemail server is configured - sl_send_reply("404", "No voicemail service"); - exit; - } - -#!ifdef WITH_PRESENCE - if (!t_newtran()) { - sl_reply_error(); - exit; - } - - if(is_method("PUBLISH")) { - handle_publish(); - t_release(); - } else if(is_method("SUBSCRIBE")) { - handle_subscribe(); - t_release(); - } - exit; -#!endif - - # if presence enabled, this part will not be executed - if (is_method("PUBLISH") || $rU==$null) { - sl_send_reply("404", "Not here"); - exit; - } - return; -} - -# IP authorization and user authentication -route[AUTH] { -#!ifdef WITH_AUTH - -#!ifdef WITH_IPAUTH - if((!is_method("REGISTER")) && allow_source_address()) { - # source IP allowed - return; - } -#!endif - - if (is_method("REGISTER") || from_uri==myself) { - # authenticate requests - if (!auth_check("$fd", "subscriber", "1")) { - auth_challenge("$fd", "0"); - exit; - } - # user authenticated - remove auth header - if(!is_method("REGISTER|PUBLISH")) - consume_credentials(); - } - # if caller is not local subscriber, then check if it calls - # a local destination, otherwise deny, not an open relay here - if (from_uri!=myself && uri!=myself) { - sl_send_reply("403","Not relaying"); - exit; - } - -#!else - - # authentication not enabled - do not relay at all to foreign networks - if(uri!=myself) { - sl_send_reply("403","Not relaying"); - exit; - } - -#!endif - return; -} - -# Caller NAT detection -route[NATDETECT] { -#!ifdef WITH_NAT - force_rport(); - if (nat_uac_test("19")) { - if (is_method("REGISTER")) { - fix_nated_register(); - } else { - if(is_first_hop()) { - set_contact_alias(); - } - } - setflag(FLT_NATS); - } -#!endif - return; -} - -# RTPProxy control and signaling updates for NAT traversal -route[NATMANAGE] { -#!ifdef WITH_NAT - if (is_request()) { - if(has_totag()) { - if(check_route_param("nat=yes")) { - setbflag(FLB_NATB); - } - } - } - if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB))) return; - - if(nat_uac_test("8")) { - rtpproxy_manage("co"); - } else { - rtpproxy_manage("cor"); - } - - if (is_request()) { - if (!has_totag()) { - if(t_is_branch_route()) { - add_rr_param(";nat=yes"); - } - } - } - if (is_reply()) { - if(isbflagset(FLB_NATB)) { - if(is_first_hop()) - set_contact_alias(); - } - } -#!endif - return; -} - -# URI update for dialog requests -route[DLGURI] { -#!ifdef WITH_NAT - if(!isdsturiset()) { - handle_ruri_alias(); - } -#!endif - return; -} - -# Routing to foreign domains -route[SIPOUT] { - if (uri==myself) return; - - append_hf("P-hint: outbound\r\n"); - route(RELAY); - exit; -} - -# PSTN GW routing -route[PSTN] { -#!ifdef WITH_PSTN - # check if PSTN GW IP is defined - if (strempty($sel(cfg_get.pstn.gw_ip))) { - xlog("SCRIPT: PSTN routing enabled but pstn.gw_ip not defined\n"); - return; - } - - # route to PSTN dialed numbers starting with '+' or '00' - # (international format) - # - update the condition to match your dialing rules for PSTN routing - if(!($rU=~"^(\+|00)[1-9][0-9]{3,20}$")) return; - - # only local users allowed to call - if(from_uri!=myself) { - sl_send_reply("403", "Not Allowed"); - exit; - } - - # normalize target number for pstn gateway - # - convert leading 00 to + - if (starts_with("$rU", "00")) { - strip(2); - prefix("+"); - } - - if (strempty($sel(cfg_get.pstn.gw_port))) { - $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip); - } else { - $ru = "sip:" + $rU + "@" + $sel(cfg_get.pstn.gw_ip) + ":" - + $sel(cfg_get.pstn.gw_port); - } - - route(RELAY); - exit; -#!endif - - return; -} - -# XMLRPC routing -#!ifdef WITH_XMLRPC -route[XMLRPC] { - # allow XMLRPC from localhost - if ((method=="POST" || method=="GET") - && (src_ip==127.0.0.1)) { - # close connection only for xmlrpclib user agents (there is a bug in - # xmlrpclib: it waits for EOF before interpreting the response). - if ($hdr(User-Agent) =~ "xmlrpclib") - set_reply_close(); - set_reply_no_connect(); - dispatch_rpc(); - exit; - } - send_reply("403", "Forbidden"); - exit; -} -#!endif - -# Routing to voicemail server -route[TOVOICEMAIL] { -#!ifdef WITH_VOICEMAIL - if(!is_method("INVITE|SUBSCRIBE")) return; - - # check if VoiceMail server IP is defined - if (strempty($sel(cfg_get.voicemail.srv_ip))) { - xlog("SCRIPT: VoiceMail routing enabled but IP not defined\n"); - return; - } - if(is_method("INVITE")) { - if($avp(oexten)==$null) return; - - $ru = "sip:" + $avp(oexten) + "@" + $sel(cfg_get.voicemail.srv_ip) - + ":" + $sel(cfg_get.voicemail.srv_port); - } else { - if($rU==$null) return; - - $ru = "sip:" + $rU + "@" + $sel(cfg_get.voicemail.srv_ip) - + ":" + $sel(cfg_get.voicemail.srv_port); - } - route(RELAY); - exit; -#!endif - - return; -} - -# Manage outgoing branches -branch_route[MANAGE_BRANCH] { - xdbg("new branch [$T_branch_idx] to $ru\n"); - route(NATMANAGE); -} - -# Manage incoming replies -onreply_route[MANAGE_REPLY] { - xdbg("incoming reply\n"); - if(status=~"[12][0-9][0-9]") { - route(NATMANAGE); - } -} - -# Manage failure routing cases -failure_route[MANAGE_FAILURE] { - route(NATMANAGE); - - if (t_is_canceled()) exit; - -#!ifdef WITH_BLOCK3XX - # block call redirect based on 3xx replies. - if (t_check_status("3[0-9][0-9]")) { - t_reply("404","Not found"); - exit; - } -#!endif - -#!ifdef WITH_BLOCK401407 - # block call redirect based on 401, 407 replies. - if (t_check_status("401|407")) { - t_reply("404","Not found"); - exit; - } -#!endif - -#!ifdef WITH_VOICEMAIL - # serial forking - # - route to voicemail on busy or no answer (timeout) - if (t_check_status("486|408")) { - $du = $null; - route(TOVOICEMAIL); - exit; - } -#!endif -} diff --git a/etc/s6/kamailio/x/setup-dep b/etc/s6/kamailio/x/conf/setup-dep diff --git a/etc/s6/tor/x/conf/config/Log b/etc/s6/tor/x/conf/Log diff --git a/etc/s6/tor/x/conf/config/PIDFile b/etc/s6/tor/x/conf/PIDFile diff --git a/etc/s6/tor/x/conf/config/RunAsDaemon b/etc/s6/tor/x/conf/RunAsDaemon diff --git a/etc/s6/tor/x/conf/config/SOCKSPort b/etc/s6/tor/x/conf/SOCKSPort diff --git a/etc/s6/tor/x/conf/config/User b/etc/s6/tor/x/conf/User diff --git a/etc/s6/u9fs-mount/x/down b/etc/s6/u9fs-mount/x/down @@ -1,4 +1,4 @@ #!/usr/local/bin/execlineb # mount a 9p filesystem from a local UNIX socket -exec /mnt/9p +umount /mnt/9p