Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [NOMERGE] peframe: update to 6.0.1
Date: Tue, 02 Jul 2019 14:17:45 +0200	[thread overview]
Message-ID: <20190702121745.7kSR11-zVjFSa6n1I02WvUxqykKHYHxGn9o8tFl3uGo@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12533@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

There is an updated pull request by abenson against master on the void-packages repository

https://github.com/abenson/void-packages peframe_6.0.1
https://github.com/void-linux/void-packages/pull/12533

[NOMERGE] peframe: update to 6.0.1
Waiting on them to answer and fix the current license issues.

A patch file from https://github.com/void-linux/void-packages/pull/12533.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-peframe_6.0.1-12533.patch --]
[-- Type: application/text/x-diff, Size: 11170 bytes --]

From 6eefc57713f3657b9cbccae4e0b378a6451c143b Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 10:10:30 -0500
Subject: [PATCH 1/7] New package: python3-virustotal-api-1.1.10

---
 srcpkgs/python3-virustotal-api/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-virustotal-api/template

diff --git a/srcpkgs/python3-virustotal-api/template b/srcpkgs/python3-virustotal-api/template
new file mode 100644
index 00000000000..fe38c1dc819
--- /dev/null
+++ b/srcpkgs/python3-virustotal-api/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-virustotal-api'
+pkgname=python3-virustotal-api
+version=1.1.10
+revision=1
+archs=noarch
+wrksrc="virustotal-api-${version}"
+build_style=python3-module
+pycompile_module="virus_total_apis"
+hostmakedepends="python3-setuptools"
+depends="python3-requests"
+short_desc="Virus Total Public/Private/Intel API "
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/blacktop/virustotal-api"
+distfiles="${PYPI_SITE}/v/virustotal-api/virustotal-api-${version}.tar.gz"
+checksum=7705881533852e3d22f45a3e8f266c14f153aee79a6768cec36ff88dd5b625f8
+
+post_install() {
+	vlicense LICENSE
+}

From e31d68ffffd45b2417986289b0bfa08956a564b2 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 10:15:24 -0500
Subject: [PATCH 2/7] New package: python3-yara-3.10.0

---
 .../python3-yara/patches/use-system-yara.patch    |  9 +++++++++
 srcpkgs/python3-yara/template                     | 15 +++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-yara/patches/use-system-yara.patch
 create mode 100644 srcpkgs/python3-yara/template

diff --git a/srcpkgs/python3-yara/patches/use-system-yara.patch b/srcpkgs/python3-yara/patches/use-system-yara.patch
new file mode 100644
index 00000000000..89b36bd567c
--- /dev/null
+++ b/srcpkgs/python3-yara/patches/use-system-yara.patch
@@ -0,0 +1,9 @@
+--- setup.py.orig	2019-05-02 17:34:46.000000000 +0800
++++ setup.py	2019-05-07 08:20:20.841022106 +0800
+@@ -325,5 +325,5 @@
+         'update': UpdateCommand},
+     ext_modules=[Extension(
+         name='yara',
+-        include_dirs=['yara/libyara/include', 'yara/libyara/', '.'],
++        libraries = ['yara'],
+         sources=['yara-python.c'])])
diff --git a/srcpkgs/python3-yara/template b/srcpkgs/python3-yara/template
new file mode 100644
index 00000000000..f7065a9d994
--- /dev/null
+++ b/srcpkgs/python3-yara/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-yara'
+pkgname=python3-yara
+version=3.10.0
+revision=1
+wrksrc="yara-python-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="yara-devel python3-devel"
+depends="python3"
+short_desc="Python3 interface for YARA"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="Apache-2.0"
+homepage="http://virustotal.github.io/yara/"
+distfiles="https://github.com/VirusTotal/yara-python/archive/v${version}.tar.gz"
+checksum=14ae284b3963eaaea280895647cce9860e3c97d747edb5b9269c78710ee21c2b

From a49058b75c75d380175f53397de71b79016338ac Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 10:42:29 -0500
Subject: [PATCH 3/7] New package: python3-easygui-0.98.1

---
 srcpkgs/python3-easygui/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-easygui/template

diff --git a/srcpkgs/python3-easygui/template b/srcpkgs/python3-easygui/template
new file mode 100644
index 00000000000..c1ec4767ae9
--- /dev/null
+++ b/srcpkgs/python3-easygui/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-easygui'
+pkgname=python3-easygui
+version=0.98.1
+revision=1
+archs=noarch
+wrksrc="easygui-${version}"
+build_style=python3-module
+pycompile_module="easygui"
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Simple, very easy GUI programming in Python"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/robertlugg/easygui"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=b46d1f06b85a2de2b15129906d21bb42bc66a6e800315fed57e634cf151fc083
+
+post_install() {
+	sed -n '29,74p' easygui/easygui.py > LICENSE
+	vlicense LICENSE
+}

From 2ce94f7c0de17d54c5fe51667c60da18411154ad Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 11:03:54 -0500
Subject: [PATCH 4/7] New package: python3-msoffcrypto-tool-4.10.0

---
 srcpkgs/msoffcrypto-tool                  |  1 +
 srcpkgs/python3-msoffcrypto-tool/template | 28 +++++++++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/msoffcrypto-tool
 create mode 100644 srcpkgs/python3-msoffcrypto-tool/template

diff --git a/srcpkgs/msoffcrypto-tool b/srcpkgs/msoffcrypto-tool
new file mode 120000
index 00000000000..031b67bb674
--- /dev/null
+++ b/srcpkgs/msoffcrypto-tool
@@ -0,0 +1 @@
+python3-msoffcrypto-tool
\ No newline at end of file
diff --git a/srcpkgs/python3-msoffcrypto-tool/template b/srcpkgs/python3-msoffcrypto-tool/template
new file mode 100644
index 00000000000..201bb68256d
--- /dev/null
+++ b/srcpkgs/python3-msoffcrypto-tool/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-msoffcrypto-tool'
+pkgname=python3-msoffcrypto-tool
+version=4.10.0
+revision=1
+archs=noarch
+wrksrc="msoffcrypto-tool-${version}"
+build_style=python3-module
+pycompile_module="msoffcrypto"
+hostmakedepends="python3-setuptools"
+depends="python3-olefile python3-cryptography"
+short_desc="Python3 library for decrypting MS Office files"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/nolze/msoffcrypto-tool"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=546a97e991e00e8c39d90b334f738ff7a8e23e2450c0ba0aafeff0a24258ce7f
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+msoffcrypto-tool_package() {
+	short_desc="${short_desc/library/tool}"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin
+	}
+}

From 80adc720a27878c534bf602e72068b27bfecd589 Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 11:14:28 -0500
Subject: [PATCH 5/7] New package: python3-pcodedmp-1.2.5

---
 srcpkgs/pcodedmp                  |  1 +
 srcpkgs/python3-pcodedmp/template | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)
 create mode 120000 srcpkgs/pcodedmp
 create mode 100644 srcpkgs/python3-pcodedmp/template

diff --git a/srcpkgs/pcodedmp b/srcpkgs/pcodedmp
new file mode 120000
index 00000000000..d75eccabce3
--- /dev/null
+++ b/srcpkgs/pcodedmp
@@ -0,0 +1 @@
+python3-pcodedmp
\ No newline at end of file
diff --git a/srcpkgs/python3-pcodedmp/template b/srcpkgs/python3-pcodedmp/template
new file mode 100644
index 00000000000..63c54ec8ab3
--- /dev/null
+++ b/srcpkgs/python3-pcodedmp/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-pcodedmp'
+pkgname=python3-pcodedmp
+version=1.2.5
+revision=1
+archs=noarch
+wrksrc="pcodedmp-${version}"
+build_style=python3-module
+pycompile_module="pcodedmp"
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="VBA p-code disassembler library for Python3"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="GPL-3.0-only"
+homepage="https://github.com/bontchev/pcodedmp"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=da73d7ffe9decb2d2dcdbfc6d98ac554985f801c9183b954fa91d20f26bc5728
+
+pcodedmp_package() {
+	short_desc="${short_desc/library/tool}"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin
+	}
+}

From 749a94d53586c0e32d24b6862825d86bf94faadd Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 11:20:18 -0500
Subject: [PATCH 6/7] New package: python3-oletools-0.54.2b

---
 srcpkgs/oletools                  |  1 +
 srcpkgs/python3-oletools/template | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/oletools
 create mode 100644 srcpkgs/python3-oletools/template

diff --git a/srcpkgs/oletools b/srcpkgs/oletools
new file mode 120000
index 00000000000..9de9eb786e5
--- /dev/null
+++ b/srcpkgs/oletools
@@ -0,0 +1 @@
+python3-oletools
\ No newline at end of file
diff --git a/srcpkgs/python3-oletools/template b/srcpkgs/python3-oletools/template
new file mode 100644
index 00000000000..af9a91ff273
--- /dev/null
+++ b/srcpkgs/python3-oletools/template
@@ -0,0 +1,29 @@
+# Template file for 'python3-oletools'
+pkgname=python3-oletools
+version=0.54.2b
+revision=1
+archs=noarch
+wrksrc="oletools-${version}"
+build_style=python3-module
+pycompile_module="oletools"
+hostmakedepends="python3-setuptools"
+depends="python3-parsing python3-olefile python3-colorclass python3-easygui
+ python3-msoffcrypto-tool python3-pcodedmp"
+short_desc="Python3 library to analyze MS OLE2 and Office files"
+maintainer="Andrew Benson <abenson+void@gmail.com>"
+license="MIT"
+homepage="https://github.com/decalage2/oletools"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=967a88161064df1a5b1e0ff7c5092d5148555e4ae0a25c87898b078131b567da
+
+post_install() {
+	vlicense oletools/LICENSE.txt
+}
+
+oletools_package() {
+	short_desc="${short_desc/library/tools}"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/bin
+	}
+}

From 8c251dcbd7a2f8d3e8a7da582226d057807a22cd Mon Sep 17 00:00:00 2001
From: Andrew Benson <abenson+void@gmail.com>
Date: Tue, 18 Jun 2019 11:44:36 -0500
Subject: [PATCH 7/7] peframe: update to 6.0.2

---
 srcpkgs/peframe/template | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/srcpkgs/peframe/template b/srcpkgs/peframe/template
index 633281255ae..861d39703fd 100644
--- a/srcpkgs/peframe/template
+++ b/srcpkgs/peframe/template
@@ -1,25 +1,20 @@
 # Template file for 'peframe'
 pkgname=peframe
-version=5.0.1
-revision=2
+version=6.0.2
+revision=1
 archs=noarch
-_gitver=b8f46740d6870c4e3d60a1f157773af9221c2f67
-wrksrc="${pkgname}-${_gitver}"
-build_style=python2-module
+build_style="python3-module"
 pycompile_module="peframe"
-hostmakedepends="python-setuptools"
-depends="python-setuptools python-simplejson"
+hostmakedepends="python3-setuptools"
+depends="python3-pefile python3-magic python3-M2Crypto python3-virustotal-api
+ python3-yara python3-oletools"
 short_desc="Perform static analysis on Portable Executables"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
-license="MIT"
+license="GPL-2.0-only"
 homepage="https://github.com/guelfoweb/peframe"
-distfiles="https://github.com/guelfoweb/peframe/archive/${_gitver}.tar.gz"
-checksum=74cfdc51e999a4b86102dd383e7bf5e170da70f796a7cedb341e5c81774c7891
+distfiles="https://github.com/guelfoweb/peframe/archive/${version}.tar.gz"
+checksum=244fe2f1bbfd205a4939584a21ed8ebf532e06ec2ea19f916fa78fc29aec0e69
 
 pre_configure() {
-	sed -n '5,24p' peframe/peframe.py > LICENSE
-}
-
-post_install() {
-	vlicense LICENSE
+	vsed -i setup.py -e "/import peframe/d" -e "s/peframe.version()/'${version}'/"
 }

  reply	other threads:[~2019-07-02 12:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18 19:33 [PR PATCH] " voidlinux-github
2019-07-02 12:17 ` voidlinux-github [this message]
2019-07-02 12:17 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-02 22:34 ` [PR PATCH] [Merged]: peframe: update to 6.0.2 voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190702121745.7kSR11-zVjFSa6n1I02WvUxqykKHYHxGn9o8tFl3uGo@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).