bobwire / pentoo

Automatically exported from code.google.com/p/pentoo
1 stars 0 forks source link

Yara version bump to 2.1.0 #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Two small patches to allow bumping of Yara to v2.1.0.  Code now seems to be 
hosted on Github (https://github.com/plusvic/yara) and the old URL for source 
does not work.

--- /var/lib/layman/pentoo/dev-python/yara-python/yara-python-1.7.ebuild        
2014-04-08 14:11:34.844862100 +0100
+++ dev-python/yara-python/yara-python-2.1.0.ebuild     2014-06-17 
13:03:40.041002704 +0100
@@ -9,11 +9,13 @@

 DESCRIPTION="A malware identification and classification tool"
 HOMEPAGE="http://yara-project.googlecode.com/"
-SRC_URI="http://yara-project.googlecode.com/files/${P}.tar.gz"
+SRC_URI="https://github.com/plusvic/yara/archive/v${PV}.tar.gz"

 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"

+S=$WORKDIR/yara-${PV}/yara-python
+
 DEPEND="~app-forensics/yara-${PV}"
 RDEPEND="${DEPEND}"

--- /var/lib/layman/pentoo/app-forensics/yara/yara-1.7.ebuild   2014-04-08 
14:11:22.854862189 +0100
+++ app-forensics/yara/yara-2.1.0.ebuild        2014-06-17 12:35:33.931003510 
+0100
@@ -6,7 +6,7 @@

 DESCRIPTION="A malware identification and classification tool"
 HOMEPAGE="http://yara-project.googlecode.com/"
-SRC_URI="http://yara-project.googlecode.com/files/${P}.tar.gz"
+SRC_URI="https://github.com/plusvic/yara/archive/v${PV}.tar.gz"

 LICENSE="Apache-2.0"
 SLOT="0"
@@ -14,3 +14,8 @@
 IUSE="python"

 PDEPEND="python? ( ~dev-python/yara-python-${PV} )"
+
+src_configure() {
+       ./bootstrap.sh
+       ./configure
+}

Original issue reported on code.google.com by sig...@gmail.com on 17 Jun 2014 at 12:25

GoogleCodeExporter commented 9 years ago
ok, fixed in r5740 and r5741.

Thanks!

Original comment by blshkv on 22 Jun 2014 at 1:03