summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2007-01-15 12:03:28 +0000
committergarga <garga@FreeBSD.org>2007-01-15 12:03:28 +0000
commit5f28c26736bf63afc6c1f63408bc3a14e093c6c6 (patch)
tree9830dbfd9e965b3efea0eee9cb35e97c06d6bbca /net-im
parentadc83f33fc1aaa549d30c7f5dd6241632a6c6ae4 (diff)
downloadFreeBSD-ports-5f28c26736bf63afc6c1f63408bc3a14e093c6c6.zip
FreeBSD-ports-5f28c26736bf63afc6c1f63408bc3a14e093c6c6.tar.gz
- Update to 0.11.2
- Add patch to fix work with py-twisted-2.5.0 PR: ports/107892 Submitted by: Neil Darlow <neil@darlow.co.uk> Obtained from: py-transports maillist (Lars T. Mikkelsen)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-pymsn/Makefile4
-rw-r--r--net-im/jabber-pymsn/distinfo6
-rw-r--r--net-im/jabber-pymsn/files/patch-src_main.py14
3 files changed, 19 insertions, 5 deletions
diff --git a/net-im/jabber-pymsn/Makefile b/net-im/jabber-pymsn/Makefile
index 8f5336d..85758f8 100644
--- a/net-im/jabber-pymsn/Makefile
+++ b/net-im/jabber-pymsn/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= pymsn
-DISTVERSION= 0.11.2-dev2
-PORTREVISION= 1
+DISTVERSION= 0.11.2
PORTEPOCH= 1
CATEGORIES= net-im
MASTER_SITES= http://delx.cjb.net/pymsnt/tarballs/ \
@@ -74,6 +73,7 @@ post-patch:
${WRKSRC}/src/main.py
@${REINPLACE_CMD} -i "" 's|#!.*$$|#!${LOCAL_PYTHON}|' \
${WRKSRC}/PyMSNt.py
+ @${RM} -f ${WRKSRC}/src/main.py.orig
do-install:
${MKDIR} ${INST_DIR}/src ${INST_DIR}/data
diff --git a/net-im/jabber-pymsn/distinfo b/net-im/jabber-pymsn/distinfo
index 6c3ca1a..b0df8dc 100644
--- a/net-im/jabber-pymsn/distinfo
+++ b/net-im/jabber-pymsn/distinfo
@@ -1,3 +1,3 @@
-MD5 (jabber/pymsnt-0.11.2-dev2.tar.gz) = 92494ba56a9b2c553b44f14cbad20e1d
-SHA256 (jabber/pymsnt-0.11.2-dev2.tar.gz) = 6fd35ce292147aaeaf68e7d84ed0aefc092cf745b638fd463b07d53fdcb9a661
-SIZE (jabber/pymsnt-0.11.2-dev2.tar.gz) = 313504
+MD5 (jabber/pymsnt-0.11.2.tar.gz) = 855cb25e2254522ba98ba02d59fdd9b6
+SHA256 (jabber/pymsnt-0.11.2.tar.gz) = d0d7064f50133453d170008e075de2d3ec0138e593c5bc9ec4052cfb2fe28459
+SIZE (jabber/pymsnt-0.11.2.tar.gz) = 311947
diff --git a/net-im/jabber-pymsn/files/patch-src_main.py b/net-im/jabber-pymsn/files/patch-src_main.py
new file mode 100644
index 0000000..ea09afa
--- /dev/null
+++ b/net-im/jabber-pymsn/files/patch-src_main.py
@@ -0,0 +1,14 @@
+--- src/main.py.orig Wed Oct 18 01:40:55 2006
++++ src/main.py Sun Jan 14 19:47:46 2007
+@@ -390,7 +390,10 @@
+ # Set SIGHUP to reload the config file & close & open debug file
+ signal.signal(signal.SIGHUP, SIGHUPstuff)
+ # Load some scripts for PID and daemonising
+- from twisted.scripts import twistd
++ try:
++ from twisted.scripts import _twistd_unix as twistd
++ except:
++ from twisted.scripts import twistd
+
+
+ def main():
OpenPOWER on IntegriCloud