In gmane.os.openbsd.misc, Tasmanian Devil wrote: <moved to ports@>
> Hello! :-) > >> I found this post to openbsd-security > > Hehe, my old post. Was to openbsd-ports though, originally. > >> Any idea how to get tentakel running? > > That problem seems to be still unsolved. I still don't know much about > Python, so what I do on my -current system is, I simply have the old > tentakel-2.1.2p0.tgz package in my local package directory and use > that one. I once looked what changed from tentakel-2.1.2p0.tgz to > tentakel-2.1.2p1.tgz, and as far as I remember that was a one line > change to use python 2.5 instead of python 2.4. The old tentakel > package works just fine for me on -current with the current (or > 4.4-release version on 4.4 systems) Python 2.4 version. > > What you need is: > > tentakel-2.1.2p0.tgz from your preferred mirror, the version for > OpenBSD 4.2, it's in /pub/OpenBSD/4.2/packages/i386/ > > $ env | grep PKG > PKG_PATH=/usr/ports/packages/i386/all/:ftp://openbsd.informatik.uni-erlangen.de/pub/OpenBSD/snapshots/packages/i386/ > > $ ls -l /usr/ports/packages/i386/all/tentakel-2.1.2p0.tgz > -rw-r--r-- 1 root wheel 51731 Apr 12 2008 > /usr/ports/packages/i386/all/tentakel-2.1.2p0.tgz > > $ head -1 `which tentakel` > #!/usr/local/bin/python2.4 > > Tas. > > please test this update to the SVN version of Tentakel. Index: Makefile =================================================================== RCS file: /cvs/ports/sysutils/tentakel/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 8 Oct 2007 08:22:43 -0000 1.8 +++ Makefile 8 Feb 2009 12:26:59 -0000 @@ -2,20 +2,20 @@ COMMENT= distributed command execution -DISTNAME= tentakel-2.1.2 -PKGNAME= ${DISTNAME}p1 +DISTNAME= tentakel-357 CATEGORIES= sysutils MAINTAINER= Sebastian Stark <[email protected]> HOMEPAGE= http://tentakel.biskalar.de/ +MODPY_EGG_VERSION = 2.2.1 + # BSD + LGPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tentakel/} -EXTRACT_SUFX= .tgz +MASTER_SITES= http://spacehopper.org/mirrors/ MODULES= lang/python Index: distinfo =================================================================== RCS file: /cvs/ports/sysutils/tentakel/distinfo,v retrieving revision 1.5 diff -u -p -r1.5 distinfo --- distinfo 5 Apr 2007 17:26:13 -0000 1.5 +++ distinfo 8 Feb 2009 12:26:59 -0000 @@ -1,5 +1,5 @@ -MD5 (tentakel-2.1.2.tgz) = lbPmjh78yKMWhjRPETamHg== -RMD160 (tentakel-2.1.2.tgz) = YV5yXuKqHWSz/hAWI50LjJdckgQ= -SHA1 (tentakel-2.1.2.tgz) = Z+FcvXut03go3k/FkUUdf7lWBTo= -SHA256 (tentakel-2.1.2.tgz) = MVImRefZZmXcMUlvqeqkwQWm7Y65UvOFRyPfqEV46g8= -SIZE (tentakel-2.1.2.tgz) = 27167 +MD5 (tentakel-357.tar.gz) = 0qkpXjRRZZd7qhPR2pVxww== +RMD160 (tentakel-357.tar.gz) = 2irhLEbdk1PqHfajINSJevRceKM= +SHA1 (tentakel-357.tar.gz) = XIusbHswJ7fLTLKeIlmAb2gG9Zg= +SHA256 (tentakel-357.tar.gz) = Qv+PWVc+7jp4IelBaCKwqUqmmFRN+inQqwuq6Cl7Yh8= +SIZE (tentakel-357.tar.gz) = 51794 Index: patches/patch-py_lekatnet_remote_py =================================================================== RCS file: patches/patch-py_lekatnet_remote_py diff -N patches/patch-py_lekatnet_remote_py --- patches/patch-py_lekatnet_remote_py 18 Jan 2004 14:10:40 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ -$OpenBSD: patch-py_lekatnet_remote_py,v 1.1 2004/01/18 14:10:40 wilfried Exp $ ---- py/lekatnet/remote.py.orig 2004-01-17 19:50:46.000000000 +0100 -+++ py/lekatnet/remote.py 2004-01-18 15:04:44.000000000 +0100 -@@ -174,7 +174,9 @@ if __name__ == "__main__": - print "self testing..." - - print "### instantiate RemoteCommand:" -- r = RemoteCommand(user="seb", destination="localhost") -+ import pwd, os -+ user = pwd.getpwuid(os.geteuid())[0] -+ r = RemoteCommand(user=user, destination="localhost") - if isinstance(r, RemoteCommand): - print "OK" - else: Index: patches/patch-py_setup_py =================================================================== RCS file: /cvs/ports/sysutils/tentakel/patches/patch-py_setup_py,v retrieving revision 1.1 diff -u -p -r1.1 patch-py_setup_py --- patches/patch-py_setup_py 18 Apr 2004 19:14:38 -0000 1.1 +++ patches/patch-py_setup_py 8 Feb 2009 12:26:59 -0000 @@ -1,16 +1,16 @@ $OpenBSD: patch-py_setup_py,v 1.1 2004/04/18 19:14:38 xsa Exp $ ---- py/setup.py.orig 2004-01-17 19:54:19.000000000 +0100 -+++ py/setup.py 2004-04-11 01:42:54.000000000 +0200 -@@ -18,8 +18,8 @@ setup( - packages = ["lekatnet"], +--- py/setup.py.orig Sun Feb 8 12:23:08 2009 ++++ py/setup.py Sun Feb 8 12:24:10 2009 +@@ -16,9 +16,8 @@ setup( + packages = ["lekatnet", "lekatnet.plugins"], scripts = ["tentakel"], data_files = [ ("man/man1", ["../tentakel.1"]), - ("share/doc/tentakel", ["../tentakel.conf.example", - "../README", -- "../TODO", -- "../tentakel.1.html"]) ] ++ ("share/examples/tentakel", ["../tentakel.conf.example"]), + ("share/doc/tentakel", ["../README", -+ "../TODO"]), -+ ("share/examples/tentakel", -+ ["../tentakel.conf.example"]) ] + "../TODO", +- "../PLUGINS", +- "../tentakel.1.html"]) ] ++ "../PLUGINS"]) ] ) Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/sysutils/tentakel/pkg/PLIST,v retrieving revision 1.4 diff -u -p -r1.4 PLIST --- pkg/PLIST 9 Aug 2004 08:44:52 -0000 1.4 +++ pkg/PLIST 8 Feb 2009 12:26:59 -0000 @@ -7,14 +7,23 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/lekatnet/config.pyc lib/python${MODPY_VERSION}/site-packages/lekatnet/error.py lib/python${MODPY_VERSION}/site-packages/lekatnet/error.pyc +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/ +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/__init__.py +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/rsh.py +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/rsh.pyc +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/ssh.py +lib/python${MODPY_VERSION}/site-packages/lekatnet/plugins/ssh.pyc lib/python${MODPY_VERSION}/site-packages/lekatnet/remote.py lib/python${MODPY_VERSION}/site-packages/lekatnet/remote.pyc lib/python${MODPY_VERSION}/site-packages/lekatnet/shell.py lib/python${MODPY_VERSION}/site-packages/lekatnet/shell.pyc lib/python${MODPY_VERSION}/site-packages/lekatnet/tpg.py lib/python${MODPY_VERSION}/site-packages/lekatnet/tpg.pyc +lib/python${MODPY_VERSION}/site-packages/tentakel-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info @man man/man1/tentakel.1 share/doc/tentakel/ +share/doc/tentakel/PLUGINS share/doc/tentakel/README share/doc/tentakel/TODO share/examples/tentakel/
