Date: Wed, 17 Nov 2010 20:33:27 +0200 (EET) From: "ports@c0decafe.net" <ports@c0decafe.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/152337: [NEW PORT] net-im/punjab: HTTP jabber client interface Message-ID: <201011171833.oAHIXRsf089721@absolut.c0decafe.net> Resent-Message-ID: <201011171840.oAHIe3qu019450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 152337 >Category: ports >Synopsis: [NEW PORT] net-im/punjab: HTTP jabber client interface >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 17 18:40:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: ports@c0decafe.net >Release: FreeBSD 8.1-RELEASE-p1 amd64 >Organization: c0decafe networks >Environment: System: FreeBSD absolut.c0decafe.net 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Tue Sep 21 14:11:34 EEST 2010 >Description: Punjab is a HTTP jabber client interface. It is a BOSH or XEP-0124 connection manager that allows persistent client connections to a XMPP server. Supporting XMPP over BOSH or XEP-0206 WWW: http://code.stanziq.com/punjab/ Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- punjab-0.14.shar begins here --- # 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: # # punjab # punjab/pkg-descr # punjab/Makefile # punjab/pkg-plist # punjab/distinfo # punjab/pkg-message # echo c - punjab mkdir -p punjab > /dev/null 2>&1 echo x - punjab/pkg-descr sed 's/^X//' >punjab/pkg-descr << 'c3df55771e4ad0cc81bb22e5a9f8a63e' XPunjab is a HTTP jabber client interface. X XIt is a BOSH or XEP-0124 connection manager that allows Xpersistent client connections to a XMPP server. X XSupporting XMPP over BOSH or XEP-0206 X XWWW: http://code.stanziq.com/punjab/ c3df55771e4ad0cc81bb22e5a9f8a63e echo x - punjab/Makefile sed 's/^X//' >punjab/Makefile << '545a9d161c975a61d410db5c444ffa7d' X# New ports collection makefile for: punjab X# Date created: 2010-11-11 X# Whom: ports@c0decafe.net <ports@c0decafe.net> X# X# $FreeBSD$ X# X XPORTNAME= punjab XPORTVERSION= 0.14 XCATEGORIES= net-im python XMASTER_SITES= http://code.stanziq.com/punjab/releases/ X XMAINTAINER= ports@c0decafe.net XCOMMENT= HTTP jabber client interface X XRUN_DEPENDS=${PYTHON_SITELIBDIR}/twisted/conch/__init__.py:${PORTSDIR}/security/py-twistedConch\ X ${PYTHON_SITELIBDIR}/twisted/names/__init__.py:${PORTSDIR}/dns/py-twistedNames\ X ${PYTHON_SITELIBDIR}/twisted/web/__init__.py:${PORTSDIR}/www/py-twistedWeb\ X ${PYTHON_SITELIBDIR}/twisted/words/__init__.py:${PORTSDIR}/net-im/py-twistedWords X XUSE_PYTHON= yes XUSE_PYDISTUTILS=yes X X.include <bsd.port.mk> 545a9d161c975a61d410db5c444ffa7d echo x - punjab/pkg-plist sed 's/^X//' >punjab/pkg-plist << '2a2598d956efa36333209961837ae344' X@comment $FreeBSD$ X%%PYTHON_SITELIBDIR%%/punjab/jabber.py X%%PYTHON_SITELIBDIR%%/punjab/stream.py X%%PYTHON_SITELIBDIR%%/punjab/httpb.py X%%PYTHON_SITELIBDIR%%/punjab/tap.py X%%PYTHON_SITELIBDIR%%/punjab/__init__.py X%%PYTHON_SITELIBDIR%%/punjab/error.py X%%PYTHON_SITELIBDIR%%/punjab/session.py X%%PYTHON_SITELIBDIR%%/punjab/httpb_client.py X%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.py X%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.py X%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.py X%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.py X%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyc X%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyc X%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyc X%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyc X%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyo X%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyo X%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyo X%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyo X%%PYTHON_SITELIBDIR%%/punjab/jabber.pyc X%%PYTHON_SITELIBDIR%%/punjab/stream.pyc X%%PYTHON_SITELIBDIR%%/punjab/httpb.pyc X%%PYTHON_SITELIBDIR%%/punjab/tap.pyc X%%PYTHON_SITELIBDIR%%/punjab/__init__.pyc X%%PYTHON_SITELIBDIR%%/punjab/error.pyc X%%PYTHON_SITELIBDIR%%/punjab/session.pyc X%%PYTHON_SITELIBDIR%%/punjab/httpb_client.pyc X%%PYTHON_SITELIBDIR%%/punjab/jabber.pyo X%%PYTHON_SITELIBDIR%%/punjab/stream.pyo X%%PYTHON_SITELIBDIR%%/punjab/httpb.pyo X%%PYTHON_SITELIBDIR%%/punjab/tap.pyo X%%PYTHON_SITELIBDIR%%/punjab/__init__.pyo X%%PYTHON_SITELIBDIR%%/punjab/error.pyo X%%PYTHON_SITELIBDIR%%/punjab/session.pyo X%%PYTHON_SITELIBDIR%%/punjab/httpb_client.pyo X%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.py X%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyc X%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyo X@dirrmtry %%PYTHON_SITELIBDIR%%/twisted/plugins X@dirrmtry %%PYTHON_SITELIBDIR%%/twisted X@dirrmtry %%PYTHON_SITELIBDIR%%/punjab/xmpp X@dirrmtry %%PYTHON_SITELIBDIR%%/punjab 2a2598d956efa36333209961837ae344 echo x - punjab/distinfo sed 's/^X//' >punjab/distinfo << 'a0c082c393732e7996832d99259e5ebf' XSHA256 (punjab-0.14.tar.gz) = 2c4c5bf67edb91acfb8986f11c738e9ff6ea6549449410c05b95e20aa8711628 XSIZE (punjab-0.14.tar.gz) = 46270 a0c082c393732e7996832d99259e5ebf echo x - punjab/pkg-message sed 's/^X//' >punjab/pkg-message << '0e5407e555600930586e2624c53baa82' XConfigure punjab - using a tac file: X X Xshell>edit punjab.tac X# punjab tac file Xfrom twisted.web import server, resource, static Xfrom twisted.application import service, internet X Xfrom punjab.httpb import Httpb, HttpbService X Xroot = static.File("./html") # a static html directory X Xb = resource.IResource(HttpbService(1)) Xroot.putChild('bosh', b) # url for BOSH X Xsite = server.Site(root) X Xapplication = service.Application("punjab") Xinternet.TCPServer(5280, site).setServiceParent(application) X X XRun punjab: X Xshell>twistd -y punjab.tac 0e5407e555600930586e2624c53baa82 exit --- punjab-0.14.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011171833.oAHIXRsf089721>