head 1.5; access; symbols pkgsrc-2017Q3:1.4.0.100 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.96 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.94 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.92 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.90 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.88 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.86 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.84 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.82 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.80 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.78 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.76 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.74 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.72 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.70 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.68 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.66 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.64 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.62 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.60 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.58 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.56 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.54 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.52 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.50 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.46 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.44 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.42 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.40 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.38 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.36 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.34 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.32 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.30 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.28 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.26 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.24 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.22 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.20 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.1.0.10 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.8 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.6 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.4 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.2 pkgsrc-2004Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2017.09.26.10.27.10; author wiz; state dead; branches; next 1.4; commitid 9ARpkXTuh9Wg2H8A; 1.4 date 2006.01.22.01.31.43; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.12.05.20.50.46; author rillig; state Exp; branches; next 1.2; 1.2 date 2005.11.29.10.15.18; author tron; state Exp; branches; next 1.1; 1.1 date 2004.07.21.21.49.02; author scw; state Exp; branches; next ; desc @@ 1.5 log @*: remove qt3 and the packages using it, including KDE3 Announced in https://mail-index.netbsd.org/pkgsrc-users/2017/09/10/msg025556.html @ text @$NetBSD: patch-ac,v 1.4 2006/01/22 01:31:43 joerg Exp $ --- dissipate2/siputil.cpp.orig 2005-06-21 12:14:49.000000000 +0100 +++ dissipate2/siputil.cpp 2005-11-24 16:47:03.000000000 +0000 @@@@ -5,6 +5,9 @@@@ #include #include #include +#if defined (__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) +#include +#endif #include #include #include @@@@ -13,6 +16,7 @@@@ #include #include #include +#include #include #include #include @@@@ -26,6 +30,8 @@@@ /* max number of network interfaces*/ #define MAX_IF 5 +#ifdef __linux__ + /* Path to the route entry in proc filesystem */ #define PROCROUTE "/proc/net/route" @@@@ -41,6 +47,8 @@@@ #define SIOCGIFCOUNT 0x8935 #endif +#endif /* not Linux */ + char iface[16]; @@@@ -62,6 +70,7 @@@@  */ char *getdefaultdev() { +#ifdef __linux__ FILE *fp = fopen( PROCROUTE, "r"); char buff[4096], gate_addr[128], net_addr[128]; char mask_addr[128]; @@@@ -85,19 +94,49 @@@@ return iface; } fclose(fp); + /* didn't find a default gateway */ return NULL; +#else + return ""; +#endif /* Linux */ } void findFqdn( void ) { - int sock, err, if_count, i, j = 0; + int if_count, i, j = 0; +#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)) + int sock, err; struct ifconf netconf; char buffer[32*MAX_IF]; - char if_name[10][21]; - char if_addr[10][21]; +#endif + char if_name[MAX_IF][21]; + char if_addr[MAX_IF][21]; char *default_ifName; +#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) + struct ifaddrs *ifp, *oifp; + + if(getifaddrs(&ifp) < 0 ) + printf( "Error with getifaddrs(): %i.\n", errno ); + oifp=ifp; /* save ifp */ + for (if_count = 0; ifp != NULL; ifp = ifp->ifa_next) { + if(ifp->ifa_addr->sa_family != AF_INET) continue; + + if ( strncmp( ifp->ifa_name, "lo", 2 ) != 0 ) { + if(j == MAX_IF) printf( "Error: cannot handle more than %d interfaces.\n",MAX_IF); + else + { + strncpy( if_name[j], ifp->ifa_name, 20); + strncpy( if_addr[j], inet_ntoa(((struct sockaddr_in *)ifp->ifa_addr)->sin_addr ), 20); + j++; + } + } + if_count++; + } + if (oifp != NULL) freeifaddrs(oifp); + +#else /* not FreeBSD or NetBSD or DragonFly */ netconf.ifc_len = 32 * MAX_IF; netconf.ifc_buf = buffer; sock=socket( PF_INET, SOCK_DGRAM, 0 ); @@@@ -105,9 +144,11 @@@@ if ( err < 0 ) printf( "Error in ioctl: %i.\n", errno ); close( sock ); if_count = netconf.ifc_len / 32; +#endif printf( "Found %i interfaces.\n", if_count ); //#test +#if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)) if ( if_count == 1 ) { strncpy( if_name[j], netconf.ifc_req[0].ifr_name, 20 ); strncpy( if_addr[j], inet_ntoa(((struct sockaddr_in*)(&netconf.ifc_req[0].ifr_addr))->sin_addr), 20 ); @@@@ -122,6 +163,8 @@@@ } } } +#endif /* not FreeBSD or NetBSD or DragonFly */ + if( j == 1 ) { dissipate_our_fqdn = strdup( if_addr[0] ); } else { @ 1.4 log @kphone uses lrelease from qt3-tools, so depend on it and change Makefile to not expect it in PATH. Add DragonFly support and don't try to link with libresolv on DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.3 2005/12/05 20:50:46 rillig Exp $ @ 1.3 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 +#if defined (__FreeBSD__) || defined(__NetBSD__) d66 1 a66 1 +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) d76 1 a76 1 +#if defined(__FreeBSD__) || defined(__NetBSD__) d98 1 a98 1 +#else /* not FreeBSD or NetBSD */ d110 1 a110 1 +#if !(defined(__FreeBSD__) || defined(__NetBSD__)) d118 1 a118 1 +#endif /* not FreeBSD or NetBSD */ @ 1.2 log @Update "kphone" package to version 4.2. Change since version 4.1.0: - ILBC 20ms implementation added - Some new translations - Alsa support updated - Some qt3 fixes - Saved password support added - DTMF support updated - Command line call support added - SRTP support added (see INSTALL file) - Some new translations - Alsa support updated Update contributed by Stephen Borrill in PR pkg/32159. @ text @d1 2 @ 1.1 log @Initial import of KPhone 4.0.3, a SIP (Session Initiation Protocol) user agent for *nix. (Basically, a VoIP client) There are some rough edges in the NetBSD audio support of this package, but it runs well enough on my esa(4)-equipped laptop to make and receive FWD calls. A couple of minor patches are courtesy of the FreeBSD port of Kphone. Alistair Crooks also tidied up my first amateurish attempt at packaging this. @ text @d1 2 a2 4 $NetBSD$ --- dissipate2/siputil.cpp.orig 2004-03-04 11:22:57.000000000 +0000 +++ dissipate2/siputil.cpp 2004-07-21 12:11:34.000000000 +0100 d13 2 a14 2 @@@@ -12,6 +15,7 @@@@ #include d21 1 a21 1 @@@@ -25,6 +29,8 @@@@ d30 1 a30 1 @@@@ -40,6 +46,8 @@@@ d39 1 a39 1 @@@@ -61,6 +69,7 @@@@ d47 1 a47 1 @@@@ -84,19 +93,49 @@@@ d100 1 a100 1 @@@@ -104,9 +143,11 @@@@ d112 1 a112 1 @@@@ -120,6 +161,8 @@@@ @