Date: Wed, 29 Aug 2012 22:52:32 GMT From: David Yeske <dyeske@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/171176: new port: net/winexe Message-ID: <201208292252.q7TMqWRd035263@red.freebsd.org> Resent-Message-ID: <201208292300.q7TN0HNv044148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171176 >Category: ports >Synopsis: new port: net/winexe >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 Aug 29 23:00:16 UTC 2012 >Closed-Date: >Last-Modified: >Originator: David Yeske >Release: RELENG_9 >Organization: personal >Environment: FreeBSD myhost 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #3 r239033M: Sat Aug 4 15:52:32 PDT 2012 root@myhost:/usr/obj/usr/src/sys/MYHOST amd64 >Description: This is a tool that is based off samba4 that provides psexec like functionality. Here is an example. % winexe --reinstall --system --debug-stderr -U myuser --interactive=1 --password=mypass //10.11.12.13 "wmic bios get Manufacturer /Format:csv" Node,Manufacturer WINHOST,Xen This works well on most versions of Windows. Windows XP needs to be set to "classic" authentication via local policy. >How-To-Repeat: n/a >Fix: n/a Patch attached with submission follows: # 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: # # winexe # winexe/Makefile # winexe/distinfo # winexe/pkg-descr # echo c - winexe mkdir -p winexe > /dev/null 2>&1 echo x - winexe/Makefile sed 's/^X//' >winexe/Makefile << 'b82a2823d1fca7b79930890d00b67847' X# New ports collection makefile for: winexe X# Date created: 29 Aug 2012 X# Whom: David Yeske <dyeske@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= winexe XPORTVERSION= 1.00 XCATEGORIES= net XMASTER_SITES= SF/${PORTNAME} X XMAINTAINER= ports@freebsd.org XCOMMENT= Remotely execute commands on Windows systems X XLICENSE= GPLv3 XLICENSE_FILE= ${WRKSRC}/COPYING X XUSE_AUTOTOOLS= automake:env autoconf:env XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_ICONV= yes XUSE_PYTHON_BUILD=yes X XMAKE_ENV+= LDFLAGS+=-static X XPLIST_FILES= bin/winexe X XCONFIGURE_ARGS+= --disable-external-libtdb XCONFIGURE_ARGS+= --disable-external-libldb XCONFIGURE_ARGS+= --disable-external-libtalloc XCONFIGURE_ARGS+= --disable-external-libtevent XCONFIGURE_ARGS+= --disable-gnutls XCONFIGURE_ARGS+= --with-included-popt XCONFIGURE_ARGS+= --disable-external-heimdal XCONFIGURE_ARGS+= --enable-fhs XCONFIGURE_ARGS+= --enable-static X XCONFIGURE_WRKSRC= ${WRKSRC}/source4 XBUILD_WRKSRC= ${WRKSRC}/source4 XALL_TARGET= basics bin/winexe X X.include <bsd.port.pre.mk> X Xrun-autotools: X (cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh) X Xdo-install: X ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/bin/winexe ${PREFIX}/bin X X.include <bsd.port.post.mk> b82a2823d1fca7b79930890d00b67847 echo x - winexe/distinfo sed 's/^X//' >winexe/distinfo << '395a504c1715cde17b4f315dc79ecb17' XSHA256 (winexe-1.00.tar.gz) = 99238bd3e1c0637041c737c86a05bd73a9375abc9794dca71d2765e22d87537e XSIZE (winexe-1.00.tar.gz) = 21931368 395a504c1715cde17b4f315dc79ecb17 echo x - winexe/pkg-descr sed 's/^X//' >winexe/pkg-descr << '0c69b0a36e59fed072b2725a14bef726' XWinexe remotely executes commands on Windows systems X XWWW: http://winexe.sourceforge.net/ 0c69b0a36e59fed072b2725a14bef726 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208292252.q7TMqWRd035263>