From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 19 22:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F257E1065675 for ; Thu, 19 Mar 2009 22:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC97B8FC15 for ; Thu, 19 Mar 2009 22:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JMA1e2023909 for ; Thu, 19 Mar 2009 22:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2JMA1EA023908; Thu, 19 Mar 2009 22:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 19 Mar 2009 22:10:01 GMT Resent-Message-Id: <200903192210.n2JMA1EA023908@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Antoukh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF8510656BF for ; Thu, 19 Mar 2009 22:09:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 075428FC08 for ; Thu, 19 Mar 2009 22:09:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JM99cp028096 for ; Thu, 19 Mar 2009 22:09:09 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2JM99Cn028089; Thu, 19 Mar 2009 22:09:09 GMT (envelope-from nobody) Message-Id: <200903192209.n2JM99Cn028089@www.freebsd.org> Date: Thu, 19 Mar 2009 22:09:09 GMT From: Andrey Antoukh To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132826: [www/kannel] Port update to 1.4.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 22:10:02 -0000 >Number: 132826 >Category: ports >Synopsis: [www/kannel] Port update to 1.4.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Mar 19 22:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Andrey Antoukh >Release: FreeBSD 7.1 STABLE amd64 >Organization: >Environment: FreeBSD workstation.blackos.org 7.1-STABLE FreeBSD 7.1-STABLE #0: Sat Mar 14 14:53:59 CET 2009 toor@workstation.blackos.org:/usr/obj/usr/src/sys/AX amd64 >Description: Update port www/kannel from 1.4.1 to 1.4.3 Changes since version 1.4.1: Fixed alias support for sms-service in smsbox scope. Fixed various MIME type handling bugs. Fixed security and race condition issue in HTTP module for keep-alive connections. Fixed wrong length calculation for concatenated messages. Fixed bug that AT SMSC put UDH without UDH len. Fixed various memleaks, reported by valgrind. Fixed HTTP proxy scheme interpretation for SSL-enabled connections. .. [more] http://www.kannel.org/news.shtml#1.4.3 >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: # # . # ./files # ./files/kannel.in # ./files/patch-ad # ./Makefile # ./pkg-descr # ./pkg-plist # ./distinfo # echo c - . mkdir -p . > /dev/null 2>&1 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/kannel.in sed 's/^X//' >./files/kannel.in << '280474f028eb7330b3919a744cfc7cc5' X#!/bin/sh X# PROVIDE: kannel_smsbox kannel_wapbox kannel_bearerbox X# REQUIRE: NETWORKING SERVERS X# BEFORE: LOGIN X# KEYWORD: shutdown X X. %%RC_SUBR%% X Xname=kannel Xrcvar=`set_rcvar` Xcommand="%%PREFIX%%/sbin/run_kannel_box" Xextra_commands="reload" Xsig_reload=SIGUSR1 X Xload_rc_config $name X# Set defaults Xkannel_config=${kannel_config:-"%%PREFIX%%/etc/kannel.conf"} Xkannel_user=${kannel_user:-"kannel"} X# Config file is required Xif [ ! -r ${kannel_config} ]; then X warn "${kannel_config} is not readable." X case $1 in X force*) : ;; X *) exit 1 ;; X esac Xfi X Xif test -n ${kannel_enable:-""} && checkyesno kannel_enable; then X kannel_bearerbox_enable=${kannel_bearerbox_enable:-"YES"} X kannel_smsbox_enable=${kannel_smsbox_enable:-"YES"} X kannel_wapbox_enable=${kannel_wapbox_enable:-"YES"} Xfi X X# bearerbox Xname=kannel_bearerbox Xrcvar=`set_rcvar` Xpidfile=/var/run/kannel/${name}.pid X# Defaults Xkannel_bearerbox_user=${kannel_bearerbox_user:-"${kannel_user}"} Xkannel_bearerbox_enable=${kannel_bearerbox_enable:-"NO"} Xkannel_bearerbox_config=${kannel_bearerbox_config:-"${kannel_config}"} Xkannel_bearerbox_flags=${kannel_bearerbox_flags:-"--pidfile ${pidfile} %%PREFIX%%/sbin/bearerbox ${kannel_bearerbox_flags} ${kannel_bearerbox_config}"} X# Xload_rc_config $name Xrun_rc_command "$1" X# X_rc_restart_done=false X X# smsbox Xname=kannel_smsbox Xrcvar=`set_rcvar` Xpidfile=/var/run/kannel/${name}.pid X# Defaults Xkannel_smsbox_user=${kannel_smsbox_user:-"${kannel_user}"} Xkannel_smsbox_enable=${kannel_smsbox_enable:-"NO"} Xkannel_smsbox_config=${kannel_smsbox_config:-"${kannel_config}"} Xkannel_smsbox_flags=${kannel_smsbox_flags:-"--pidfile ${pidfile} %%PREFIX%%/sbin/smsbox ${kannel_smsbox_flags} ${kannel_smsbox_config}"} X# Xload_rc_config $name Xrun_rc_command "$1" X# X_rc_restart_done=false X X# wapbox Xname=kannel_wapbox Xrcvar=`set_rcvar` Xpidfile=/var/run/kannel/${name}.pid X# Defaults Xkannel_wapbox_user=${kannel_wapbox_user:-"${kannel_user}"} Xkannel_wapbox_enable=${kannel_wapbox_enable:-"NO"} Xkannel_wapbox_config=${kannel_wapbox_config:-"${kannel_config}"} Xkannel_wapbox_flags=${kannel_wapbox_flags:-"--pidfile ${pidfile} %%PREFIX%%/sbin/wapbox ${kannel_wapbox_flags} ${kannel_wapbox_config}"} X# Xload_rc_config $name Xrun_rc_command "$1" X 280474f028eb7330b3919a744cfc7cc5 echo x - ./files/patch-ad sed 's/^X//' >./files/patch-ad << '9595345a101ba318e786dcbe6e250125' X--- debian/kannel.conf.orig Mon Dec 11 14:00:30 2000 X+++ debian/kannel.conf Wed Jan 3 20:11:13 2001 X@@ -13,10 +13,10 @@ X admin-allow-ip = "127.0.0.1" X wapbox-port = 13002 X wdp-interface-name = "*" X-log-file = "/var/log/kannel/bearerbox.log" X+log-file = "/var/log/bearerbox.log" X box-deny-ip = "*.*.*.*" X box-allow-ip = "127.0.0.1" X X group = wapbox X bearerbox-host = localhost X-log-file = "/var/log/kannel/wapbox.log" X+log-file = "/var/log/wapbox.log" 9595345a101ba318e786dcbe6e250125 echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' XPORTNAME= kannel XPORTVERSION= 1.4.3 XCATEGORIES= www XMASTER_SITES= http://www.kannel.org/download/%SUBDIR%/ \ X http://farrokhi.net/distfiles/ XMASTER_SITE_SUBDIR= ${PORTVERSION} XDISTNAME= gateway-${PORTVERSION} X XMAINTAINER= ports@FreeBSD.org XCOMMENT= WAP / SMS Gateway X XLIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre X XUSE_RC_SUBR= kannel XUSE_GNOME= libxml2 XUSE_OPENSSL= yes XUSE_GMAKE= yes XUSE_BZIP2= yes XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-cflags="${CPPFLAGS}" --with-libs="${LDFLAGS}" \ X --enable-pcre=yes --enable-docs=no --with-malloc=native \ X --enable-start-stop-daemon=no X XMAN1= mtbatch.1 seewbmp.1 wmlsc.1 wmlsdasm.1 XMAN8= kannel.8 run_kannel_box.8 X XCPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} XLDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} X X.include X X.if ${ARCH} == "alpha" || ${ARCH} == "sparc64" XBROKEN= Does not compile on alpha or sparc64 X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|-pthread||g ; \ X s|-lc_r||g ; \ X s|-lkse||g' ${WRKSRC}/configure X Xpost-install: X.for filename in wapkannel.conf smskannel.conf X ${INSTALL_DATA} ${WRKSRC}/gw/${filename} ${PREFIX}/etc/${filename}.sample X.endfor X.for filename in mtbatch seewbmp wmlsc wmlsdasm X @${STRIP_CMD} ${PREFIX}/bin/${filename} X.endfor X.for filename in bearerbox run_kannel_box smsbox wapbox X @${STRIP_CMD} ${PREFIX}/sbin/${filename} X.endfor X X.include 464ef7c6571951809b23e262cbe26e19 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' XKannel is an open source project to make a WAP gateway. Kannel also Xworks as a SMS gateway. X XWWW: http://www.kannel.org/ 0e313719ff012ceaf97a028d51caa8f5 echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6' Xbin/gw-config Xbin/mtbatch Xbin/seewbmp Xbin/wmlsc Xbin/wmlsdasm Xetc/rc.d/kannel Xetc/smskannel.conf.sample Xetc/wapkannel.conf.sample Xinclude/kannel/gw-config.h Xinclude/kannel/gw/alt_charsets.h Xinclude/kannel/gw/bb.h Xinclude/kannel/gw/bb_smscconn_cb.h Xinclude/kannel/gw/bb_store.h Xinclude/kannel/gw/bearerbox.h Xinclude/kannel/gw/dlr.h Xinclude/kannel/gw/dlr_p.h Xinclude/kannel/gw/heartbeat.h Xinclude/kannel/gw/html.h Xinclude/kannel/gw/load.h Xinclude/kannel/gw/mime_decompiler.h Xinclude/kannel/gw/msg-decl.h Xinclude/kannel/gw/msg.h Xinclude/kannel/gw/numhash.h Xinclude/kannel/gw/ota_compiler.h Xinclude/kannel/gw/ota_prov.h Xinclude/kannel/gw/ota_prov_attr.h Xinclude/kannel/gw/shared.h Xinclude/kannel/gw/sms.h Xinclude/kannel/gw/smsc/emimsg.h Xinclude/kannel/gw/smsc/smasi_pdu.def Xinclude/kannel/gw/smsc/smasi_pdu.h Xinclude/kannel/gw/smsc/smpp_pdu.def Xinclude/kannel/gw/smsc/smpp_pdu.h Xinclude/kannel/gw/smsc/smpp_pdu_opt.def Xinclude/kannel/gw/smsc/smsc.h Xinclude/kannel/gw/smsc/smsc_at.h Xinclude/kannel/gw/smsc/smsc_p.h Xinclude/kannel/gw/smsc/smsc_sema.h Xinclude/kannel/gw/smscconn.h Xinclude/kannel/gw/smscconn_p.h Xinclude/kannel/gw/urltrans.h Xinclude/kannel/gw/wap-appl.h Xinclude/kannel/gw/wap-error.h Xinclude/kannel/gw/wap-maps.h Xinclude/kannel/gw/wap_ppg_push_machine.def Xinclude/kannel/gw/wap_ppg_session_machine.def Xinclude/kannel/gw/wap_push_ota.h Xinclude/kannel/gw/wap_push_pap_compiler.h Xinclude/kannel/gw/wap_push_pap_mime.h Xinclude/kannel/gw/wap_push_ppg.h Xinclude/kannel/gw/wap_push_ppg_pushuser.h Xinclude/kannel/gw/wap_push_si_compiler.h Xinclude/kannel/gw/wap_push_sl_compiler.h Xinclude/kannel/gw/wbxml_tokens.def Xinclude/kannel/gw/wml_compiler.h Xinclude/kannel/gw/wml_definitions.h Xinclude/kannel/gw/xml_definitions.h Xinclude/kannel/gw/xml_shared.h Xinclude/kannel/gwlib/accesslog.h Xinclude/kannel/gwlib/cfg.def Xinclude/kannel/gwlib/cfg.h Xinclude/kannel/gwlib/charset.h Xinclude/kannel/gwlib/conn.h Xinclude/kannel/gwlib/counter.h Xinclude/kannel/gwlib/date.h Xinclude/kannel/gwlib/dbpool.h Xinclude/kannel/gwlib/dbpool_p.h Xinclude/kannel/gwlib/dict.h Xinclude/kannel/gwlib/fdset.h Xinclude/kannel/gwlib/gw-getopt.h Xinclude/kannel/gwlib/gw-prioqueue.h Xinclude/kannel/gwlib/gw-rwlock.h Xinclude/kannel/gwlib/gw_uuid.h Xinclude/kannel/gwlib/gw_uuid_types.h Xinclude/kannel/gwlib/gwassert.h Xinclude/kannel/gwlib/gwlib.h Xinclude/kannel/gwlib/gwmem.h Xinclude/kannel/gwlib/gwpoll.h Xinclude/kannel/gwlib/gwthread.h Xinclude/kannel/gwlib/html-entities.def Xinclude/kannel/gwlib/http.h Xinclude/kannel/gwlib/latin1_to_gsm.h Xinclude/kannel/gwlib/list.h Xinclude/kannel/gwlib/log.h Xinclude/kannel/gwlib/md5.h Xinclude/kannel/gwlib/mime.h Xinclude/kannel/gwlib/octstr.h Xinclude/kannel/gwlib/parse.h Xinclude/kannel/gwlib/pcre.h Xinclude/kannel/gwlib/pki.h Xinclude/kannel/gwlib/protected.h Xinclude/kannel/gwlib/regex.h Xinclude/kannel/gwlib/semaphore.h Xinclude/kannel/gwlib/socket.h Xinclude/kannel/gwlib/ssl.h Xinclude/kannel/gwlib/thread.h Xinclude/kannel/gwlib/utils.h Xinclude/kannel/gwlib/xmlrpc.h Xinclude/kannel/wap/cookies.h Xinclude/kannel/wap/timers.h Xinclude/kannel/wap/wap.h Xinclude/kannel/wap/wap_addr.h Xinclude/kannel/wap/wap_events.def Xinclude/kannel/wap/wap_events.h Xinclude/kannel/wap/wsp.h Xinclude/kannel/wap/wsp_caps.h Xinclude/kannel/wap/wsp_headers.h Xinclude/kannel/wap/wsp_pdu.def Xinclude/kannel/wap/wsp_pdu.h Xinclude/kannel/wap/wsp_push_client.h Xinclude/kannel/wap/wsp_push_client_machine.def Xinclude/kannel/wap/wsp_push_client_states.def Xinclude/kannel/wap/wsp_server_method_machine.def Xinclude/kannel/wap/wsp_server_method_states.def Xinclude/kannel/wap/wsp_server_push_machine.def Xinclude/kannel/wap/wsp_server_push_states.def Xinclude/kannel/wap/wsp_server_session_machine.def Xinclude/kannel/wap/wsp_server_session_states.def Xinclude/kannel/wap/wsp_strings.def Xinclude/kannel/wap/wsp_strings.h Xinclude/kannel/wap/wtls.h Xinclude/kannel/wap/wtls_machine-decl.h Xinclude/kannel/wap/wtls_pdu.h Xinclude/kannel/wap/wtls_pdusupport.h Xinclude/kannel/wap/wtls_state-decl.h Xinclude/kannel/wap/wtls_statesupport.h Xinclude/kannel/wap/wtp.h Xinclude/kannel/wap/wtp_init.h Xinclude/kannel/wap/wtp_init_machine.def Xinclude/kannel/wap/wtp_init_states.def Xinclude/kannel/wap/wtp_pack.h Xinclude/kannel/wap/wtp_pdu.def Xinclude/kannel/wap/wtp_pdu.h Xinclude/kannel/wap/wtp_resp.h Xinclude/kannel/wap/wtp_resp_machine.def Xinclude/kannel/wap/wtp_resp_states.def Xinclude/kannel/wap/wtp_tid.h Xlib/kannel/libgw.a Xlib/kannel/libgwlib.a Xlib/kannel/libwap.a Xman/man1/mtbatch.1.gz Xman/man1/seewbmp.1.gz Xman/man1/wmlsc.1.gz Xman/man1/wmlsdasm.1.gz Xman/man8/kannel.8.gz Xman/man8/run_kannel_box.8.gz Xsbin/bearerbox Xsbin/run_kannel_box Xsbin/smsbox Xsbin/wapbox ef3e7f63841ae908ba397c2bef1fbad6 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XMD5 (gateway-1.4.3.tar.bz2) = c52febb1a58884778bc5f2aa9f10b642 XSHA256 (gateway-1.4.3.tar.bz2) = 3ae3fa74db9f55b553288e6c026a91de198d5abe47f4657a9eff8abae1fd72d4 XSIZE (gateway-1.4.3.tar.bz2) = 2278229 aec8793adfd5b7c3f00e62ae41a09ac2 exit >Release-Note: >Audit-Trail: >Unformatted: