pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-jabber-yahoo-transport: remove



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Tue Apr 30 12:57:37 2024 +0200
Changeset:	8c45b62bbc000769f1e81c2c4021196b17e36eab

Modified Files:
	Makefile
Removed Files:
	py-jabber-yahoo-transport/DESCR
	py-jabber-yahoo-transport/MESSAGE
	py-jabber-yahoo-transport/Makefile
	py-jabber-yahoo-transport/PLIST
	py-jabber-yahoo-transport/distinfo
	py-jabber-yahoo-transport/files/yahoo-transport.sh
	py-jabber-yahoo-transport/patches/patch-ab
	py-jabber-yahoo-transport/patches/patch-ag

Log Message:
py-jabber-yahoo-transport: remove

The Yahoo IM network was shut down in 2015.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8c45b62bbc000769f1e81c2c4021196b17e36eab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 -
 py-jabber-yahoo-transport/DESCR                    |  1 -
 py-jabber-yahoo-transport/MESSAGE                  | 37 ----------
 py-jabber-yahoo-transport/Makefile                 | 84 ----------------------
 py-jabber-yahoo-transport/PLIST                    | 39 ----------
 py-jabber-yahoo-transport/distinfo                 |  6 --
 py-jabber-yahoo-transport/files/yahoo-transport.sh | 46 ------------
 py-jabber-yahoo-transport/patches/patch-ab         | 32 ---------
 py-jabber-yahoo-transport/patches/patch-ag         | 19 -----
 9 files changed, 265 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 269d8a9846..5779178c59 100644
--- a/Makefile
+++ b/Makefile
@@ -3830,7 +3830,6 @@ SUBDIR+=	py-jabber-idavoll
 SUBDIR+=	py-jabber-palaver
 SUBDIR+=	py-jabber-proxy65
 SUBDIR+=	py-jabber-punjab
-SUBDIR+=	py-jabber-yahoo-transport
 SUBDIR+=	py-jabberbot
 SUBDIR+=	py-jarowinkler
 SUBDIR+=	py-jbessel
diff --git a/py-jabber-yahoo-transport/DESCR b/py-jabber-yahoo-transport/DESCR
deleted file mode 100644
index e70eb8c688..0000000000
--- a/py-jabber-yahoo-transport/DESCR
+++ /dev/null
@@ -1 +0,0 @@
-     Yahoo Transport for Jabber, implemented with Python and xmpppy
diff --git a/py-jabber-yahoo-transport/MESSAGE b/py-jabber-yahoo-transport/MESSAGE
deleted file mode 100644
index 3b9e7de559..0000000000
--- a/py-jabber-yahoo-transport/MESSAGE
+++ /dev/null
@@ -1,37 +0,0 @@
-===========================================================================
-$NetBSD: MESSAGE,v 1.4 2007/12/18 00:27:34 schnoebe Exp $
-
-You will need to customize the following file to get yahoo-transport
-to work with jabber:
-
-	${PKG_SYSCONFDIR}/yahoo-transport.xml
-
-Quick start for jabberd2:
-
-	Verify and update the following fields in
-	${PKG_SYSCONFDIR}/yahoo-transport.xml:
-
-	<jid></jid>		--  Set to the public name of the service
-				    ex: yahoo.jabber.example
-	<mainServer></mainServer>
-				--  Set to the IP address of the main
-				    jabber server
-	<mainServerJID></mainServerJID>
-				--  Set to the JID of the main server
-				    (typically, something like
-				     jabber.domain.example.)
-	<secret></secret>	--  should be set to the legacy components
-				    shared secret in jabber2's router.xml
-				    (look for <secret>...</secret> in
-				    router.xml)
-				    Alternatively, the password when
-				    using SASL component authentication.
-				    (see router-users.xml for jabber2)
-	<saslUsername></saslUsername>
-			   	--  Set to the SASL user name to be used
-				    to authenticate.  If not defined,
-				    jabber2's legacy component
-				    connection is used.  If defined,
-				    <useRouteWrap/> should also be defined.
-
-===========================================================================
diff --git a/py-jabber-yahoo-transport/Makefile b/py-jabber-yahoo-transport/Makefile
deleted file mode 100644
index 6353c6ef44..0000000000
--- a/py-jabber-yahoo-transport/Makefile
+++ /dev/null
@@ -1,84 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2014/05/09 07:38:48 thomasklausner Exp $
-
-DISTNAME=		yahoo-transport-0.4.90
-PKGNAME=		${PYPKGPREFIX}-jabber-${DISTNAME}
-CATEGORIES=		chat python
-#MASTER_SITES=		ftp://ftp.cirr.com/pub/eric/
-
-MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=		http://xmpppy.sourceforge.net/
-COMMENT=		Transport connecting Jabber to the Yahoo! IM network
-LICENSE=		gnu-gpl-v2
-
-#
-# jabberd isn't really a dependency since the transport can run on a
-# different server than the main jabber server (not that many sites will
-# do that..)
-#
-# DEPENDS+=	jabberd-[0-9]*:../../chat/jabberd2
-DEPENDS+=	${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
-DEPENDS+=	${PYPKGPREFIX}-xmpppy>=0.4.1:../../chat/py-xmpppy
-
-PYTHON_VERSIONS_ACCEPTED=	27 # py-xmpppy
-
-# Fifth paragraph - all build definitions that describe things used by
-# the package.  These include: WRKSRC, GNU_CONFIGURE,
-# HAS_CONFIGURE, USE_PKGLOCALEDIR, USE_INSTALL, TEXINFO_REQD, USE_JAVA,
-# USE_PERL5, INFO_FILES, DIST_SUBDIR, etc.
-REPLACE_PYTHON+=	yahoo.py
-
-# always include bsd.prefs.mk before any .if or .ifdef statements
-.include "../../mk/bsd.prefs.mk"
-
-RCD_SCRIPTS=	yahoo-transport
-
-TRANSPORTDIR=		${JABBER_TRANSDIR}/yahoo
-
-FILES_SUBST+=		TRANSPORTDIR=${TRANSPORTDIR:Q}
-FILES_SUBST+=		PYTHONBIN=${PYTHONBIN:Q}
-PLIST_SUBST+=		TRANSPORTDIR=${TRANSPORTDIR:Q}
-MESSAGE_SUBST+=		PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
-MESSAGE_SUBST+=		HOMEPAGE=${HOMEPAGE:Q}
-
-.include "../../wip/jabberd/transports.mk"
-
-CONF_FILES=	${EGDIR}/yahoo-transport.xml ${PKG_SYSCONFDIR}/yahoo-transport.xml
-
-INSTALLATION_DIRS+=	${TRANSPORTDIR}
-
-do-build:
-
-do-install:
-	cd ${WRKSRC} && \
-	for i in `find . -type f -name '*.py' -print` ; do \
-	    ${ECHO} "Installing $$i -> " \
-				"${DESTDIR}${PREFIX}/${TRANSPORTDIR}/$$i";\
-	    ${INSTALL_SCRIPT_DIR} \
-			`${DIRNAME} ${DESTDIR}${PREFIX}/${TRANSPORTDIR}/$$i`;\
-	    ${INSTALL_DATA} $$i ${DESTDIR}${PREFIX}/${TRANSPORTDIR}/$$i;\
-	    ${ECHO} "Compiling ${PREFIX}/${TRANSPORTDIR}/$$i.";\
-	    ${PYTHONBIN} -m py_compile ${DESTDIR}${PREFIX}/${TRANSPORTDIR}/$$i;\
-	done ;\
-	${INSTALL_DATA} ChangeLog ${DESTDIR}${PREFIX}/${TRANSPORTDIR}/ ;\
-	${INSTALL_SCRIPT} yahoo.py ${DESTDIR}${PREFIX}/${TRANSPORTDIR}
-	${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
-	${INSTALL_DATA} ${WRKSRC}/config_example.xml \
-					${DESTDIR}${EGDIR}/yahoo-transport.xml
-
-SUBST_CLASSES+=		paths
-SUBST_MESSAGE.paths=	Localizing Paths
-SUBST_STAGE.paths=	post-patch
-SUBST_FILES.paths=	config_example.xml
-SUBST_FILES.paths+=	config.py
-SUBST_VARS.paths=	PKG_SYSCONFDIR
-SUBST_VARS.paths+=	TRANSPORTDIR
-SUBST_VARS.paths+=	JABBER_SPOOLDIR
-SUBST_VARS.paths+=	JABBER_TRANSDIR
-SUBST_VARS.paths+=	JABBER_GROUP
-SUBST_VARS.paths+=	JABBER_USER
-SUBST_VARS.paths+=	JABBER_LOGDIR
-SUBST_VARS.paths+=	PREFIX
-SUBST_VARS.paths+=	JABBER_PIDDIR
-
-.include "../../lang/python/application.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/py-jabber-yahoo-transport/PLIST b/py-jabber-yahoo-transport/PLIST
deleted file mode 100644
index 05635fb690..0000000000
--- a/py-jabber-yahoo-transport/PLIST
+++ /dev/null
@@ -1,39 +0,0 @@
-@comment $NetBSD: PLIST,v 1.5 2009/10/05 03:34:01 schnoebe Exp $
-${TRANSPORTDIR}/adhoc.py
-${TRANSPORTDIR}/adhoc.pyc
-${TRANSPORTDIR}/avatar.py
-${TRANSPORTDIR}/avatar.pyc
-${TRANSPORTDIR}/config.py
-${TRANSPORTDIR}/config.pyc
-${TRANSPORTDIR}/curphoo/YahooMD5.py
-${TRANSPORTDIR}/curphoo/YahooMD5.pyc
-${TRANSPORTDIR}/curphoo/__init__.py
-${TRANSPORTDIR}/curphoo/__init__.pyc
-${TRANSPORTDIR}/curphoo/cpformat.py
-${TRANSPORTDIR}/curphoo/cpformat.pyc
-${TRANSPORTDIR}/curphoo/md5crypt.py
-${TRANSPORTDIR}/curphoo/md5crypt.pyc
-${TRANSPORTDIR}/curphoo/pysha.py
-${TRANSPORTDIR}/curphoo/pysha.pyc
-${TRANSPORTDIR}/curphoo/yahoo_fn.py
-${TRANSPORTDIR}/curphoo/yahoo_fn.pyc
-${TRANSPORTDIR}/htmlutils.py
-${TRANSPORTDIR}/htmlutils.pyc
-${TRANSPORTDIR}/jep0133.py
-${TRANSPORTDIR}/jep0133.pyc
-${TRANSPORTDIR}/migratespool.py
-${TRANSPORTDIR}/migratespool.pyc
-${TRANSPORTDIR}/roomlist.py
-${TRANSPORTDIR}/roomlist.pyc
-${TRANSPORTDIR}/toolbox.py
-${TRANSPORTDIR}/toolbox.pyc
-${TRANSPORTDIR}/xmlconfig.py
-${TRANSPORTDIR}/xmlconfig.pyc
-${TRANSPORTDIR}/yahoo.py
-${TRANSPORTDIR}/yahoo.pyc
-${TRANSPORTDIR}/yahoo_helpers.py
-${TRANSPORTDIR}/yahoo_helpers.pyc
-${TRANSPORTDIR}/ylib.py
-${TRANSPORTDIR}/ylib.pyc
-${JABBER_EXDIR}/yahoo-transport.xml
-share/examples/rc.d/yahoo-transport
diff --git a/py-jabber-yahoo-transport/distinfo b/py-jabber-yahoo-transport/distinfo
deleted file mode 100644
index 34f0c87211..0000000000
--- a/py-jabber-yahoo-transport/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.10 2009/10/05 03:28:46 schnoebe Exp $
-
-RMD160 (yahoo-transport-0.4.90.tar.gz) = 3917dda1eebc828d93d2e861ea6c2dccae740b31
-Size (yahoo-transport-0.4.90.tar.gz) = 424053 bytes
-SHA1 (patch-ab) = 8ba2d2cb010a1a3fd4053e181e51ef97a657d1ab
-SHA1 (patch-ag) = b728cdb548a7fe77fd3372ac7a289b78eafddb7c
diff --git a/py-jabber-yahoo-transport/files/yahoo-transport.sh b/py-jabber-yahoo-transport/files/yahoo-transport.sh
deleted file mode 100644
index 3319526df4..0000000000
--- a/py-jabber-yahoo-transport/files/yahoo-transport.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!@RCD_SCRIPTS_SHELL@
-#
-# $NetBSD: yahoo-transport.sh,v 1.2 2007/12/18 00:27:34 schnoebe Exp $
-#
-#   startup script for the Yahoo transport for Jabber
-#
-# PROVIDE: yahoo-transport
-# REQUIRE: DAEMON s2s
-#
-
-name="yahoo_transport"
-rcvar=$name
-command=@PREFIX@/@TRANSPORTDIR@/yahoo.py
-command_interpreter="@PYTHONBIN@"
-required_files="@PKG_SYSCONFDIR@/yahoo-transport.xml"
-yahoo_transport_user="@JABBER_USER@"
-pidfile="@JABBER_PIDDIR@/yahoo-transport.pid"
-logfile="@JABBER_LOGDIR@/yahoo-transport.log"
-command_args=""
-stop_postcmd="remove_pidfile"
-start_precmd="ensure_piddir"
-
-PID=${pidfile} 
-export PID
-
-ensure_piddir()
-{
-	mkdir -p @JABBER_PIDDIR@ @JABBER_LOGDIR@
-	chown @JABBER_USER@ @JABBER_PIDDIR@ @JABBER_LOGDIR@
-}
-
-remove_pidfile()
-{
-        if [ -f $pidfile ]; then
-            rm -f $pidfile
-        fi
-}
-
-if [ -f /etc/rc.subr ]; then
-	. /etc/rc.subr
-	load_rc_config $name
-	run_rc_command "$1"
-else
-	@ECHO@ -n " ${name}"
-	@SU@ ${yahoo_user} -c "${command} ${yahoo_transport_flags} ${command_args}"
-fi
diff --git a/py-jabber-yahoo-transport/patches/patch-ab b/py-jabber-yahoo-transport/patches/patch-ab
deleted file mode 100644
index 06f3786af5..0000000000
--- a/py-jabber-yahoo-transport/patches/patch-ab
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2007/12/18 00:27:34 schnoebe Exp $
-
---- config_example.xml.orig	2007-04-09 11:40:37.000000000 -0500
-+++ config_example.xml
-@@ -22,11 +22,11 @@
- 
-     <!-- The location of the spool file.. if relative, relative to the PyYIMt dir. -->
-     <!-- Include the jid of the transport, if running multiple copies of the same transport -->
--    <spoolFile>yahoouser.dbm</spoolFile>
-+    <spoolFile>@JABBER_SPOOLDIR@/yahoo</spoolFile>
- 
-     <!-- The location of the PID file, relative to the PyYIMt directory -->
-     <!-- Comment out if you do not want a PID file -->
--    <pid>PyYIMt.pid</pid>
-+    <pid>@JABBER_PIDDIR@/yahoo-transport.pid</pid>
- 
-     <!-- The IP address or DNS name of the main Jabber server -->
-     <mainServer>127.0.0.1</mainServer>
-@@ -67,9 +67,12 @@
-     </admins>-->
- 
-     <!-- The file to log to. Leave this disabled for stdout only -->
--    <debugFile>yahooerror.log</debugFile>
-+    <debugFile>@JABBER_LOGDIR@/yahoo-transport.log</debugFile>
- 
-     <!-- Show the raw data being sent and received from the xmpp and yahoo servers -->
-     <!--<dumpProtocol/>-->
- 
-+    <!-- Daemonize the process.  aka, fork and go into the background.  -->
-+    <!-- <daemonize/> -->
-+
- </pyyimt>
diff --git a/py-jabber-yahoo-transport/patches/patch-ag b/py-jabber-yahoo-transport/patches/patch-ag
deleted file mode 100644
index 36677ba2bc..0000000000
--- a/py-jabber-yahoo-transport/patches/patch-ag
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD: patch-ag,v 1.1 2007/12/18 00:27:34 schnoebe Exp $
-
---- config.py.orig	2007-04-09 11:40:37.000000000 -0500
-+++ config.py
-@@ -1,7 +1,7 @@
- # This file contains the default settings for various options.
- # Please edit config.xml instead of this file
- 
--configFiles = ['config.xml', '/etc/pyyimt.conf.xml']
-+configFiles = ['@PKG_SYSCONFDIR@/yahoo-transport.xml']
- configFile = None
- 
- jid = "yim"
-@@ -29,3 +29,5 @@ saslUsername = ""
- debugFile = ""
- 
- dumpProtocol = False
-+
-+daemonize = False


Home | Main Index | Thread Index | Old Index