From 972c4841f14d4d53fcdd3219e907025ea441a732 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 3 Sep 2016 22:36:51 +0100 Subject: net-misc/winexe: Move to branch dev/beber/to-refresh --- net-misc/winexe/Manifest | 6 -- .../1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch | 11 ---- ...Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch | 29 --------- net-misc/winexe/metadata.xml | 8 --- net-misc/winexe/winexe-1.00.ebuild | 43 ------------ net-misc/winexe/winexe-9999.ebuild | 76 ---------------------- 6 files changed, 173 deletions(-) delete mode 100644 net-misc/winexe/Manifest delete mode 100644 net-misc/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch delete mode 100644 net-misc/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch delete mode 100644 net-misc/winexe/metadata.xml delete mode 100644 net-misc/winexe/winexe-1.00.ebuild delete mode 100644 net-misc/winexe/winexe-9999.ebuild (limited to 'net-misc') diff --git a/net-misc/winexe/Manifest b/net-misc/winexe/Manifest deleted file mode 100644 index aad1f13f..00000000 --- a/net-misc/winexe/Manifest +++ /dev/null @@ -1,6 +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 1252 SHA256 06b971de88abc6f7ec89c9d49744304387454587c6f2aea0e798a95388070ef1 WHIRLPOOL 0cb33917c0c8b6e676adb3e8de77979d1bc74cec6cf3260edb9cf1c1eb7a1b6ca14aaa97bf1558946869cb41fa9097f0e1462f3b3843ea3e95c9c726f730bd38 -DIST winexe-1.00.tar.gz 21931368 SHA256 99238bd3e1c0637041c737c86a05bd73a9375abc9794dca71d2765e22d87537e WHIRLPOOL 84fc03e1e683dbf7272f9362acd59649643389cbe535d0d00eae4a472326fe49268f2ac7e3c2d3f307ea62b09113d5212540a89adcdcd4b17d42a3461d9bca0b -EBUILD winexe-1.00.ebuild 794 SHA256 f31da9077d0967d560b63eda31648808b0c333ab9d71db1ec0d661fa53d87ba0 WHIRLPOOL 72481529be9e6735b6daa718c3a80e73aec7ceb7d12312dee74de441a3fdb7a38413ce00f1f68379dbecc59737c961f6e3b381ba09423aab6346c94bc6b36ba4 -EBUILD winexe-9999.ebuild 1722 SHA256 c348420e7c6e1eb231869a011f6f9766b3a528b2dfcc1017a34f1568dd849627 WHIRLPOOL c8311d62e960eb2f6fad752d152edec3dc435d5f6c68a6984821243b16c5568c304c20118ed538e8dacf3d408abb9a4eb78f99755e26cfe00fb47912c7c34e15 -MISC metadata.xml 256 SHA256 6ca43960767ca28661abf97c85263db77fe7643902be2ce777c61aa688d8ea2d WHIRLPOOL cef8582829111be09e651eb819e6d1ea59c9c4386b842169ccd46a14c8e3ccb090486fecd61c5fd4aa47998cacc69cdc1fb5ca6bb6325a4da1ebfd0b6eebda7b diff --git a/net-misc/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch b/net-misc/winexe/files/1.00-NT_STATUS_SERVICE_DOES_NOT_EXIST.patch deleted file mode 100644 index d9683893..00000000 --- a/net-misc/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/net-misc/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch b/net-misc/winexe/files/9999-BUG-MEDIUM-Fix-NT_STATUS_SERVICE_DOES_NOT_EXIST-defi.patch deleted file mode 100644 index dd59a643..00000000 --- a/net-misc/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/net-misc/winexe/metadata.xml b/net-misc/winexe/metadata.xml deleted file mode 100644 index b5e02a8f..00000000 --- a/net-misc/winexe/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - bertrand@jacquin.bzh - Bertrand Jacquin - - diff --git a/net-misc/winexe/winexe-1.00.ebuild b/net-misc/winexe/winexe-1.00.ebuild deleted file mode 100644 index b524a46f..00000000 --- a/net-misc/winexe/winexe-1.00.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -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 () { - default - - 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/net-misc/winexe/winexe-9999.ebuild b/net-misc/winexe/winexe-9999.ebuild deleted file mode 100644 index 93596c45..00000000 --- a/net-misc/winexe/winexe-9999.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -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 () { - default - - 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