Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 May 2006 00:53:39 GMT
From:      Eric Kjeldergaard <kjelderg@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/97940: Port update net/kiax
Message-ID:  <200605260053.k4Q0rdIr023244@www.freebsd.org>
Resent-Message-ID: <200605260100.k4Q10ZrP097438@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97940
>Category:       ports
>Synopsis:       Port update net/kiax
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 26 01:00:35 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eric Kjeldergaard
>Release:        6.1
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./pkg-descr
#	./pkg-plist
#	./files
#	./files/patch-lib_libiax2_src_iax.c
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   kiax
X# Date created:        Sat Jun 25 16:31:30 UTC 2005
X# Whom:                Eric Kjeldergaard <kjelderg@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	kiax
XPORTVERSION=	0.8.5
XCATEGORIES=	net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	kiax-0.8.5-src
X
XMAINTAINER=	kjelderg@gmail.com
XCOMMENT=	An Asterisk (IAX) client written in QT for KDE
X
XBUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake \
X	lrelease:${PORTSDIR}/x11-toolkits/qt33
X
XUSE_GMAKE=	yes
X#USE_BZIP2=	yes
XGNU_CONFIGURE=	yes
XUSE_PERL5_BUILD=	yes
XUSE_QT_VER=	3
X
XCONFIGURE_ENV+=	QTDIR=${X11BASE} \
X      QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
X		EXPR_COMPAT=yes
XMAKE_ARGS+=	QTDIR=${X11BASE} \
X      QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 500000
XBROKEN=		does not compile
X.endif
X
X.include <bsd.port.post.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XSIZE (kiax-0.8.5-src.tar.gz) = 1479222
XMD5 (kiax-0.8.5-src.tar.gz) = 6bc7a9a94be7a3e998113311ce4e5847
XSHA256 (kiax-0.8.5-src.tar.gz) = b24177ecd352517a5e5a4d193944be2344a103130311ac0197c556802560521f
END-of-./distinfo
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XThis is a port of kiax.  kiax is an asterisk (IAX) client written for the 
XK desktop environment.  From the website:
X
XWhat is Kiax? - Kiax is an IAX client application (a so called Softphone) 
Xwhich allows PC users to make ordinary VoIP calls to Asterisk servers, the 
Xsame way as they do it with their hardware telephone. It aims to provide a 
Xsimple and user-friendly graphical interface and desktop integration for 
Xcalling, contact list, call register management and easy configuration. 
XThat is - a simple to use IAX Client.
X
XWWW:	http://kiax.sourceforge.net/
X
X- Eric Kjeldergaard
Xkjelderg@gmail.com
END-of-./pkg-descr
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/kiax
X%%DATADIR%%/i18n/kiax_bg.qm
X%%DATADIR%%/i18n/kiax_de.qm
X%%DATADIR%%/i18n/kiax_en.qm
X%%DATADIR%%/i18n/kiax_fr.qm
X%%DATADIR%%/i18n/kiax_mk.qm
X%%DATADIR%%/i18n/kiax_pl.qm
X%%DATADIR%%/i18n/kiax_pt.qm
X%%DATADIR%%/icons/contact.png
X%%DATADIR%%/icons/dial.png
X%%DATADIR%%/icons/failed.png
X%%DATADIR%%/icons/hangup.png
X%%DATADIR%%/icons/hold.png
X%%DATADIR%%/icons/incoming.png
X%%DATADIR%%/icons/missed.png
X%%DATADIR%%/icons/outgoing.png
X%%DATADIR%%/icons/resume.png
X@dirrm %%DATADIR%%/icons
X@dirrm %%DATADIR%%/i18n
X@dirrm %%DATADIR%%
END-of-./pkg-plist
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-lib_libiax2_src_iax.c
sed 's/^X//' >./files/patch-lib_libiax2_src_iax.c << 'END-of-./files/patch-lib_libiax2_src_iax.c'
X--- lib/libiax2/src/iax.c.orig	Thu May 25 18:42:18 2006
X+++ lib/libiax2/src/iax.c	Thu May 25 18:44:26 2006
X@@ -59,14 +59,12 @@ void gettimeofday(struct timeval *tv, vo
X #include <arpa/inet.h>
X #include <time.h>
X 
X-#ifndef MACOSX
X+#if !defined(MACOSX) && !defined(__FreeBSD__)
X #include <malloc.h>
X #ifndef SOLARIS
X-#if !defined(__NetBSD__) && !defined(__FreeBSD__)
X #include <error.h>
X #endif
X #endif
X-#endif
X  
X  #endif
X 
X@@ -97,7 +95,7 @@ void gettimeofday(struct timeval *tv, vo
X #ifdef SOLARIS
X #define IAX_SOCKOPTS MSG_DONTWAIT
X #else
X-#ifdef __NetBSD__
X+#if defined(__NetBSD__) || defined(__FreeBSD__)
X #define IAX_SOCKOPTS MSG_DONTWAIT
X #else  /* Linux and others */
X #define IAX_SOCKOPTS MSG_DONTWAIT | MSG_NOSIGNAL
END-of-./files/patch-lib_libiax2_src_iax.c
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605260053.k4Q0rdIr023244>