head 1.4; access; symbols pkgsrc-2021Q3:1.3.0.30 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.28 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.26 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.24 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.22 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.20 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.16 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.18 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.14 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.12 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.10 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.8 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.96 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.94 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.90 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.88 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.86 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.84 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.82 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.80 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.78 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.76 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.74 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.72 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.70 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.68 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.66 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.64 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.62 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.60 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.58 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.56 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.54 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.52 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.50 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.48 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.46 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.2.0.44 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.42 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.40 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.38 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.36 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.34 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.32 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.30 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.28 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.26 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.24 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.22 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.20 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.18 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.16 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.14 pkgsrc-2008Q1:1.2.0.12 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.10 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.8 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.6 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.4 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.2 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.1.1.1.0.10 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.8 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.6 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.4 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.2 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2021.12.17.21.40.06; author schwarz; state dead; branches; next 1.3; commitid HOFQZ9Mh7eI9a3lD; 1.3 date 2018.02.02.10.17.49; author jperkin; state Exp; branches; next 1.2; commitid kXkDjh61mlLDQgpA; 1.2 date 2006.11.10.21.32.35; author schwarz; state Exp; branches; next 1.1; 1.1 date 2005.08.11.17.58.33; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.08.11.17.58.33; author drochner; state Exp; branches; next ; desc @@ 1.4 log @ updated net/sipsak to 0.9.8.1 Changes since 0.9.6 (copied from ChangeLog): * version 0.9.8 - removed support for ruli - lots of internal refactoring to make sipsak compile with -fno-common (>= gcc-10) * version 0.9.7 - added new option -E which overrules SRV result - added new option -J to take ha1 instead of password - dont retransmit on reliable transports - added --disable-ips configure option which allows to compile the oldstyle --numeric behavior - added new option -k only available with TLS support - added 'star' as special word for the contact option -C - fixed overwritting of outbound proxy if domainname is an IP; thanks to Alexander Litvak - added option -Z to modify SIP_T1 at run time - added syslog support - enabled -c parameter for Inivte mode - added new options for TLS (ca-cert, client-cert, ignore-cert-failure) Note: these options are only available as long options - added option to ignore TLS certificate verification errors - added option -k, --local-ip - added SHA-256 as a possible algorithm for digest authentication @ text @$NetBSD: patch-aa,v 1.3 2018/02/02 10:17:49 jperkin Exp $ Leave pkgsrc to handle security features. --- configure.orig 2006-01-28 21:11:34.000000000 +0000 +++ configure @@@@ -2952,7 +2952,7 @@@@ ssp_cc=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo $ssp_cc - if test "X$ssp_cc" = "Xno"; then + if true; then CFLAGS="$ssp_old_cflags" else @@@@ -5501,7 +5501,7 @@@@ rm -f conftest.err conftest.$ac_objext \ -if test "X$LIBGNUTLS_LIBS" == "X";then +if test "X$LIBGNUTLS_LIBS" = "X";then for ac_header in openssl/md5.h do @@@@ -6083,7 +6083,7 @@@@ fi fi -if test "X$SIPSAK_HAVE_ARES" == "X"; then +if test "X$SIPSAK_HAVE_ARES" = "X"; then echo "$as_me:$LINENO: checking for ruli.h" >&5 echo $ECHO_N "checking for ruli.h... $ECHO_C" >&6 @ 1.3 log @sipsak: Leave pkgsrc to handle security features. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2006/11/10 21:32:35 schwarz Exp $ @ 1.2 log @updated net/sipsak to 0.9.6 (which had been living in wip already for some time) @ text @d1 1 a1 1 $NetBSD$ d3 14 a16 3 --- configure.orig 2006-05-26 18:52:14.000000000 +0200 +++ configure 2006-05-26 18:53:06.000000000 +0200 @@@@ -5501,7 +5501,7 @@@@ d25 1 a25 1 @@@@ -6083,7 +6083,7 @@@@ @ 1.1 log @Initial revision @ text @d3 20 a22 146 --- shoot.c.orig 2005-07-29 01:04:15.000000000 +0200 +++ shoot.c @@@@ -340,7 +340,7 @@@@ int recv_message(char *buf, int size) { #endif *(buf+ ret) = '\0'; if (ret > 0) { - if (!inv_trans && (regexec(&proexp, rec, 0, 0, 0) != REG_NOERROR)) { + if (!inv_trans && (regexec(&proexp, rec, 0, 0, 0) != 0)) { retryAfter = SIP_T1; } /* store the biggest delay if one occured */ @@@@ -407,7 +407,7 @@@@ void handle_3xx(struct sockaddr_in *tadr /* we'll try to handle 301 and 302 here, other 3xx are to complex */ regcomp(&redexp, "^SIP/[0-9]\\.[0-9] 30[125] ", REG_EXTENDED|REG_NOSUB|REG_ICASE); - if (regexec(&redexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&redexp, rec, 0, 0, 0) == 0) { /* try to find the contact in the redirect */ contact = uri_from_contact(rec); if (contact==NULL) { @@@@ -451,7 +451,7 @@@@ void trace_reply() { char *contact; - if (regexec(&tmhexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&tmhexp, rec, 0, 0, 0) == 0) { /* we received 483 to many hops */ printf("%i: ", namebeg); if (verbose > 2) { @@@@ -470,7 +470,7 @@@@ void trace_reply() set_maxforw(req, namebeg); return; } - else if (regexec(&proexp, rec, 0, 0, 0) == REG_NOERROR) { + else if (regexec(&proexp, rec, 0, 0, 0) == 0) { /* we received a provisional response */ printf("%i: ", namebeg); if (verbose > 2) { @@@@ -504,7 +504,7 @@@@ void trace_reply() else { printf("\twithout Contact header\n"); } - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) + if (regexec(&okexp, rec, 0, 0, 0) == 0) on_success(rec); else exit_code(1); @@@@ -516,7 +516,7 @@@@ void handle_default() { /* in the normal send and reply case anything other then 1xx will be treated as final response*/ - if (regexec(&proexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&proexp, rec, 0, 0, 0) == 0) { if (verbose > 1) { printf("%s\n\n", rec); printf("** reply received "); @@@@ -564,7 +564,7 @@@@ void handle_default() else if (timing) { printf("%.3f ms\n", deltaT(&firstsendt, &recvtime)); } - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&okexp, rec, 0, 0, 0) == 0) { on_success(rec); } else { @@@@ -578,7 +578,7 @@@@ void handle_randtrash() { /* in randomzing trash we are expexting 4?? error codes everything else should not be normal */ - if (regexec(&errexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&errexp, rec, 0, 0, 0) == 0) { if (verbose > 2) printf("received:\n%s\n", rec); if (verbose > 1) { @@@@ -620,7 +620,7 @@@@ void handle_usrloc() char *crlf; char ruri[11+12+20]; //FIXME: username length 20 should be dynamic - if (regexec(&proexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&proexp, rec, 0, 0, 0) == 0) { if (verbose > 2) { print_message_line(rec); printf("ignoring provisional response\n\n"); @@@@ -638,7 +638,7 @@@@ void handle_usrloc() case REG_REP: /* we have sent a register and look at the response now */ - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&okexp, rec, 0, 0, 0) == 0) { if (verbose > 1) { printf ("\tOK\n"); } @@@@ -748,7 +748,7 @@@@ void handle_usrloc() dontsend=1; return; } - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&okexp, rec, 0, 0, 0) == 0) { if (verbose > 1) { printf("\t200 OK received\n"); } @@@@ -891,7 +891,7 @@@@ void handle_usrloc() dontsend=1; return; } - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&okexp, rec, 0, 0, 0) == 0) { if (verbose > 1) { printf(" reply received\n\n"); } @@@@ -986,7 +986,7 @@@@ void handle_usrloc() dontsend=1; return; } - if (regexec(&okexp, rec, 0, 0, 0) == REG_NOERROR) { + if (regexec(&okexp, rec, 0, 0, 0) == 0) { if (verbose > 1) { printf(" OK\n\n"); } @@@@ -1313,7 +1313,7 @@@@ void shoot(char *buf, int buff_size) } /* send ACK for non-provisional reply on INVITE */ if ((STRNCASECMP(req, "INVITE", 6)==0) && - (regexec(&replyexp, rec, 0, 0, 0) == REG_NOERROR) && + (regexec(&replyexp, rec, 0, 0, 0) == 0) && (regexec(&proexp, rec, 0, 0, 0) == REG_NOMATCH)) { build_ack(req, rec); dontsend = 0; @@@@ -1331,7 +1331,7 @@@@ void shoot(char *buf, int buff_size) dontsend = 1; continue; } - else if (regexec(&authexp, rec, 0, 0, 0) == REG_NOERROR) { + else if (regexec(&authexp, rec, 0, 0, 0) == 0) { if (!username) { printf("%s\nerror: received 401 but cannot " "authentication without a username\n", rec); @@@@ -1346,7 +1346,7 @@@@ void shoot(char *buf, int buff_size) continue; } /* if auth...*/ /* lets see if received a redirect */ - if (redirects == 1 && regexec(&redexp, rec, 0, 0, 0) == REG_NOERROR) { + if (redirects == 1 && regexec(&redexp, rec, 0, 0, 0) == 0) { handle_3xx(&addr); } /* if redircts... */ else if (trace == 1) { @ 1.1.1.1 log @import sipsak-0.9.1, a commandline SIP tester, based on the work of Georg Schwarz in pkgsrc-wip @ text @@