From d5c77147971a3b49eda4c74aaa235483ab1ae5df Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 3 May 2014 13:00:15 +0200 Subject: winexe: Move to net-misc --- sys-apps/winexe/ChangeLog | 47 -------------- sys-apps/winexe/Manifest | 7 -- .../1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch | 11 ---- ...Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch | 29 --------- sys-apps/winexe/metadata.xml | 8 --- sys-apps/winexe/winexe-1.00.ebuild | 41 ------------ sys-apps/winexe/winexe-9999.ebuild | 74 ---------------------- 7 files changed, 217 deletions(-) delete mode 100644 sys-apps/winexe/ChangeLog delete mode 100644 sys-apps/winexe/Manifest delete mode 100644 sys-apps/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch delete mode 100644 sys-apps/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch delete mode 100644 sys-apps/winexe/metadata.xml delete mode 100644 sys-apps/winexe/winexe-1.00.ebuild delete mode 100644 sys-apps/winexe/winexe-9999.ebuild (limited to 'sys-apps') diff --git a/sys-apps/winexe/ChangeLog b/sys-apps/winexe/ChangeLog deleted file mode 100644 index 74d2c1fb..00000000 --- a/sys-apps/winexe/ChangeLog +++ /dev/null @@ -1,47 +0,0 @@ -# ChangeLog for sys-apps/winexe -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - - 28 Apr 2014; Bertrand Jacquin winexe-9999.ebuild: - sys-apps/winexe: Fix MINGW32_VARIANT, replace i486 with i586 - - 27 Apr 2014; Bertrand Jacquin - +files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch, -files/filesdir.patch, - winexe-1.00.ebuild: - sys-apps/winexe: Rename 1.00 patch - -*winexe-9999 (27 Apr 2014) - - 27 Apr 2014; Bertrand Jacquin - +files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch, - +winexe-9999.ebuild: - sys-apps/winexe: Add live ebuild from git, use WAF build system, remove non - necessary gnutls USE flag, remove non necessary net-libs/gnutls and dev-libs - /cyrus-sasl DEPEND, mingw (32 and 64) are needed to build, so pkg_pretend() to - find them, refresh NT_STATUS_SERVICE_DOES_NOT_EXIST patch to valid one - - 15 Jun 2013; Bertrand Jacquin winexe-1.00.ebuild: - sys-apps/winexe: remove unneeded die() - - 10 Jun 2013; Bertrand Jacquin metadata.xml: - Fix manifest - - 08 Jun 2013; Bertrand Jacquin -winexe-0.91.ebuild, - winexe-1.00.ebuild: - sys-apps/winexe: Remove old, move to EAPI 5 - - 29 May 2013; Bertrand Jacquin winexe-0.91.ebuild, - winexe-1.00.ebuild: - Fix ebuild headers - - 28 May 2013; Bertrand Jacquin +metadata.xml: - Add missing metadata.xml - -*winexe-1.00 (27 May 2013) -*winexe-0.91 (27 May 2013) - - 27 May 2013; Bertrand Jacquin +files/filesdir.patch, - +winexe-0.91.ebuild, +winexe-1.00.ebuild: - sys-apps: Add winexe 0.91 and 1.00 - - http://sourceforge.net/projects/winexe/ diff --git a/sys-apps/winexe/Manifest b/sys-apps/winexe/Manifest deleted file mode 100644 index 09b9996d..00000000 --- a/sys-apps/winexe/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX 1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch 505 SHA256 bac1d7e1ac0b81a35e3edc8bc24718b8d31913a79b7c860001e60de73e3c736b WHIRLPOOL 9f3b30ad5be4f4e2e4c16711d36f906796eb449bbbad94267e92add23ed7ec8f39c90f2cacdd4129b54b8b304453c4cf844e98137447d15c2aff1d1099b7435f -AUX 9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch 1250 SHA256 79c98e41d1ac40c4eb86acba190fde4b856947edc60611d3b385dcd6d4302c3a WHIRLPOOL e326533e052e1e2b31088aad0be1e9717c25f90c8f2a6a6ace4bac8150ff63df6683fdff5d422cce1ff9fbf47f06f0ae3f06f4769ff9ace6b5fb230ffb12d79d -DIST winexe-1.00.tar.gz 21931368 SHA256 99238bd3e1c0637041c737c86a05bd73a9375abc9794dca71d2765e22d87537e WHIRLPOOL 84fc03e1e683dbf7272f9362acd59649643389cbe535d0d00eae4a472326fe49268f2ac7e3c2d3f307ea62b09113d5212540a89adcdcd4b17d42a3461d9bca0b -EBUILD winexe-1.00.ebuild 790 SHA256 e1cc2bd75ba711a78781d7f28f623831887a11b4bcf3d26eaa6a406a57c614df WHIRLPOOL 42188ebad37c622b88b87cf08e638b0e35da96914c4318eecf35cd3f5826f8fa4e6bb402128f333abf660815ec3b4a74c82af1f2bf4a3d3e4b7b18bf59ac8765 -EBUILD winexe-9999.ebuild 1718 SHA256 2db75f8cc60ce824e0bf54cad3ba62439a2565ccf14a12571921b25da81dcd77 WHIRLPOOL 4f5a44ad0c5c10a4260c456ce09256074135b0d491429aa2efeee6acb3f3dd51d3110f3e9faa9243f0fbc8d9f5b62b82cb9c92ec89bcd310d96382bad7e8d6fd -MISC ChangeLog 1742 SHA256 be47058c3814cb2e676f62c1c2e6643d0c926f73c025ee14ca4d792ae41e40a3 WHIRLPOOL bbdbc3a3a8afef1e10cba7dd7caea9678716605d8ef9d9b16209e3ffaaf4260a087b0e9e0da9d163b3c4e18984f722297b400e5437772aa679f272d18696ed96 -MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae diff --git a/sys-apps/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch b/sys-apps/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch deleted file mode 100644 index d9683893..00000000 --- a/sys-apps/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- winexe/service.c.original 2010-09-08 12:57:03.000000000 +0200 -+++ winexe/service.c 2010-09-08 12:57:36.000000000 +0200 -@@ -15,7 +15,7 @@ - #define SERVICE_DEMAND_START (0x00000003) - #define SERVICE_ERROR_NORMAL (0x00000001) - #define SERVICE_CONTROL_STOP (0x00000001) --#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0xc0000424) -+#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0xc00000424) - #include "system/filesys.h" - #include "libcli/libcli.h" - #include "libcli/smb_composite/smb_composite.h" diff --git a/sys-apps/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch b/sys-apps/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch deleted file mode 100644 index 4168cf1d..00000000 --- a/sys-apps/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 48a6ff7243d8b72fabe827df2179b400b4fba7ec Mon Sep 17 00:00:00 2001 -From: Bertrand Jacquin -Date: Sun, 27 Apr 2014 23:10:34 +0200 -Subject: [PATCH] BUG/MEDIUM: Fix NT_STATUS_SERVICE_DOES_NOT_EXIST definition - -Avoiding error like: - [winexe/winexe.c:120:on_ctrl_pipe_error()] ERROR: Failed to install service winexesvc - NT code 0x00000424 - -See also: http://infosys.beckhoff.com/index.php?content=../content/1031/tcdiagnostics/html/tcdiagnostics_win32_errorcodes.htm&id= ---- - source/svcinstall.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/source/svcinstall.c b/source/svcinstall.c -index 06848cc..a97de0d 100644 ---- a/source/svcinstall.c -+++ b/source/svcinstall.c -@@ -30,7 +30,7 @@ - #define SERVICE_DEMAND_START (0x00000003) - #define SERVICE_ERROR_NORMAL (0x00000001) - #define SERVICE_CONTROL_STOP (0x00000001) --#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0xc0000424) -+#define NT_STATUS_SERVICE_DOES_NOT_EXIST NT_STATUS(0x00000424) - - #define NT_ERR(status, lvl, args...) if (!NT_STATUS_IS_OK(status)) { DEBUG(lvl,("ERROR: " args)); DEBUG(lvl,(". %s.\n", nt_errstr(status))); return status; } - #define NT_RES(status, werr) (NT_STATUS_IS_OK(status) ? werror_to_ntstatus(werr) : status) --- -1.8.3.2 - diff --git a/sys-apps/winexe/metadata.xml b/sys-apps/winexe/metadata.xml deleted file mode 100644 index 933498d8..00000000 --- a/sys-apps/winexe/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - beber@meleeweb.net - Bertrand Jacquin - - diff --git a/sys-apps/winexe/winexe-1.00.ebuild b/sys-apps/winexe/winexe-1.00.ebuild deleted file mode 100644 index 28c8ffa3..00000000 --- a/sys-apps/winexe/winexe-1.00.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit eutils flag-o-matic - -DESCRIPTION="winexe remotely executes commands on WindowsNT/2000/XP/2003 systems" -HOMEPAGE="http://sourceforge.net/projects/winexe" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gnutls" - -DEPEND="dev-libs/cyrus-sasl - gnutls? ( net-libs/gnutls ) - dev-libs/popt" -RDEPEND="${DEPEND}" - -S="${S}/source4" - -src_prepare () { - epatch "${FILESDIR}/${PV}-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch" -} - -src_configure () { - ./autogen.sh || die "autogen failed" - econf \ - --enable-fhs \ - $(use_enable gnutls) -} - -src_compile() { - emake basics bin/winexe -} - -src_install() { - dobin bin/winexe -} diff --git a/sys-apps/winexe/winexe-9999.ebuild b/sys-apps/winexe/winexe-9999.ebuild deleted file mode 100644 index 231bea8d..00000000 --- a/sys-apps/winexe/winexe-9999.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit eutils waf-utils git-r3 - -DESCRIPTION="winexe remotely executes commands on WindowsNT/2000/XP/2003 systems" -HOMEPAGE="http://sourceforge.net/projects/winexe" -EGIT_REPO_URI="git://git.code.sf.net/p/winexe/winexe-waf" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="" -IUSE="" - -DEPEND=">=net-fs/samba-4 - dev-libs/popt" -RDEPEND="${DEPEND}" - -S="${S}/source" - -pkg_pretend () { - # From source/wscript - # AR32 = ['i386', 'i586', 'i686'] - # AR64 = ['x86_64', 'amd64'] - # TC = ['mingw32', 'mingw32msvc', 'w64-mingw32'] - MINGW32_VARIANT=( i{3,5,6}86-{w64-,}mingw32 ) - MINGW64_VARIANT=( x86_64-{w64-,}mingw32 ) - - local tc - - for tc in ${MINGW32_VARIANT[@]} ; do - if type -p "${tc}-gcc" > /dev/null ; then - MINGW32_CC="${tc}" - break - fi - done - - for tc in ${MINGW64_VARIANT[@]} ; do - if type -p "${tc}-gcc" > /dev/null ; then - MINGW64_CC="${tc}" - break - fi - done - - if [[ -z "${MINGW32_CC}" || -z "${MINGW64_CC}" ]] ; then - eerror "Before you could emerge ${PN}, you need to install mingw" - eerror "Run the following commands:" - eerror " emerge crossdev" - eerror " crossdev --stable --libc '[latest]' -t i686-w64-mingw32" - eerror " crossdev --stable --libc '[latest]' -t x86_64-w64-mingw32" - die "mingw environnement not available" - fi - - return 0 -} - -src_prepare () { - epatch "${FILESDIR}/${PV}-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch" -} - -src_configure () { - NO_WAF_LIBDIR=yes \ - waf-utils_src_configure \ - --samba-inc-dirs="${EROOT}usr/include/samba-4.0" \ - --samba-lib-dirs="${EROOT}usr/$(get_libdir)/samba" -} - -src_install () { - waf-utils_src_install - - dodoc ../README -} -- cgit v1.2.3