diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/hivex |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/hivex')
-rw-r--r-- | app-misc/hivex/Manifest | 7 | ||||
-rw-r--r-- | app-misc/hivex/hivex-1.3.11-r1.ebuild | 116 | ||||
-rw-r--r-- | app-misc/hivex/hivex-1.3.14.ebuild | 102 | ||||
-rw-r--r-- | app-misc/hivex/metadata.xml | 8 |
4 files changed, 233 insertions, 0 deletions
diff --git a/app-misc/hivex/Manifest b/app-misc/hivex/Manifest new file mode 100644 index 000000000000..f88b8be3a97f --- /dev/null +++ b/app-misc/hivex/Manifest @@ -0,0 +1,7 @@ +DIST hivex-1.3.11.tar.gz 1264487 SHA256 c63adf6c7ef9140acf20775d35bef35ab563c0d2f59d3dfb8e0d15cfa7c77678 SHA512 1ff9fbcfb976fea5bba41c5ff06e4dc68af0e507accc236ca0406644ee2c865619b3b3bf9550124778fcd782ddc257f1d89861b45f48c0c3ceed18dfa1e02ced WHIRLPOOL 6d741ad14660390b2c171bff400645cbcd20a991a55b7fb4e349c864e2dd4e606f57f344d8b851acf87d12bf8a3b608a77c073c565d9aa55cd23094d7e09e8cd +DIST hivex-1.3.14.tar.gz 1332257 SHA256 eb5cb29f5eb41185688cc1be454895b53c1965578f036ebf31ac32992f121b2b SHA512 dd7dd52dceda580179a815fc48a2a2c7e8f7234614beceb937fba7e317df17984e65453338160c4c467b70d7d4f9bd61b48aad3ca51e19bd5e4cfbca8ee3adb6 WHIRLPOOL 51395c0915d88e167e9909a856c975865751de9c37aeee5fde7c64875569b08ad70c9987b35d949dee9fc01b616827abeb276f2464982521a31199c478932366 +EBUILD hivex-1.3.11-r1.ebuild 2150 SHA256 b7628830321154c4ad09f10145df1dbdae1322dd734ea71fe46319decccce84b SHA512 77b65aa11d50ec1d97ad9bb2f15e2aabbb7652fa509432c748127cec6f1fdda9a4d19814f00a047e28cb48cd360c583c311f40deafb5e8afd23f844e06a7f187 WHIRLPOOL 02ca37bf5dcfcee29b6e8668f1bc516ebb3aa0596750a93293abeccda8773821cf9df36778d7acb3719e9a7e8cc3793dd539d72a71c5926f8177198653ab8885 +EBUILD hivex-1.3.14.ebuild 1849 SHA256 5eef5fcfa5e5e3a658fe725ebe23d26ce258453c660e1a96aabe1b3a376977b2 SHA512 aae0812060c40ea54918214439e27c82262b2339498bb6a0865519a3f175b7b0d808150a9eb47bc0964eff8ad27d5ed94cc5444eb540df0e9c3fbfe26cc82824 WHIRLPOOL 5e5977e03e97ce9c1bb9c7fe7119dff9f676c801b6f2117ad245b66bc3147dc1f4c02049fda4e03e954d11fff6dea59ae3b5216239b9a578a7bc78e8cff33755 +MISC ChangeLog 3113 SHA256 4a6f61095d833c0e9e976de63b5f8cad44a56fe6bedf99a8d68c6f2a7da41513 SHA512 b837537ae1db284cfac2799283656aaff711cc13004568de09de82c93409a8265b69251c5dbb5deae4cbb108de9703514f00c135eea1582da56ebf792c2ca7f8 WHIRLPOOL 8ae04bcf550dd093d25042a704bb1ae0296cc09681c9399f3175c43f0f58887f243711b99ed096fd1d411ca1ade6d129829ee9ae9873811820c6979e13007993 +MISC ChangeLog-2015 7732 SHA256 1945c3b1efd2cf50a4d4cc86776eab6a1c751953a4c106827d22bb2c793022d5 SHA512 04baa5db624a7531b6f6dd48d0eb2a4c4103fdcb31238fd89cd094a2388de6ba5f109577537e0583681c7fad8242844a6d15defdef377be906e24a38326af48d WHIRLPOOL 3b8d0a8f894b73066a4eae0d6737b8e4a0fde96278148339ce63aba8c78fa4745cb10fc63179649f21a039b04bb9dc5eada28949849e5b0705793ac7326a0ff5 +MISC metadata.xml 245 SHA256 d8a2d603183590c960989695dbe8e1b40b18c4405314cc754b4a609ef266be7c SHA512 1c6cdb75d4cbbd8d3a5f2cc24950924c030db330e135cf2cacecdaaa99ee65117efd7abd9f8652bf5dfa8169d427f51ff84123aab11fa8ef82498a6834b0805a WHIRLPOOL 8d19cc9bf7a59c51d8a9e346f23576705184758bc5a732bafa587d4d51ce3ec01b77a6a1c06d6121b72342fe401a02f03935acf5d386cb48f7e5b14b197810d5 diff --git a/app-misc/hivex/hivex-1.3.11-r1.ebuild b/app-misc/hivex/hivex-1.3.11-r1.ebuild new file mode 100644 index 000000000000..89044477d977 --- /dev/null +++ b/app-misc/hivex/hivex-1.3.11-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=1 + +USE_RUBY="ruby21 ruby22" +RUBY_OPTIONAL=yes + +PYTHON_COMPAT=(python2_7 python3_{4,5,6}) + +inherit autotools-utils eutils perl-app ruby-ng python-single-r1 + +DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files" +HOMEPAGE="http://libguestfs.org" +SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ocaml readline +perl python test static-libs ruby" + +RDEPEND=" + virtual/libiconv + virtual/libintl + dev-libs/libxml2:2 + ocaml? ( dev-lang/ocaml[ocamlopt] + dev-ml/findlib[ocamlopt] + ) + readline? ( sys-libs/readline:0 ) + perl? ( dev-perl/IO-stringy ) + ruby? ( $(ruby_implementations_depend) ) + python? ( ${PYTHON_DEPS} ) + " + +DEPEND="${RDEPEND} + dev-lang/perl + perl? ( + test? ( dev-perl/Pod-Coverage + dev-perl/Test-Pod-Coverage ) + ) + " + +ruby_add_bdepend "ruby? ( dev-ruby/rake + virtual/rubygems + dev-ruby/rdoc )" +ruby_add_rdepend "ruby? ( virtual/rubygems )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +DOCS=( README ) +S="${WORKDIR}/${P}" + +#We are aware of rather poor quality of this ebuild, but the bump is required to fix security bug. We will fix other matters later. + +pkg_setup() { + if use python; then + python-single-r1_pkg_setup + fi + if use perl; then + perl_set_version + fi +} + +src_unpack() { + default +} + +src_prepare() { + epatch_user +} + +src_configure() { + local myeconfargs=( + $(use_with readline) + $(use_enable ocaml) + $(use_enable perl) + --enable-nls + $(use_enable python) + $(use_enable ruby) + --disable-rpath ) + + autotools-utils_src_configure + + if use perl; then + pushd perl + perl-app_src_configure + popd + fi +} + +src_compile() { + autotools-utils_src_compile +} + +# Test binding's dont't wok properly in gentoo layout +#src_test() { +# if use perl;then +# pushd perl +# perl-app_src_install +# popd +# fi +# +# autotools-utils_src_compile check +#} + +src_install() { + strip-linguas -i po + + autotools-utils_src_install "LINGUAS=""${LINGUAS}""" + + if use perl; then + perl_delete_localpod + fi +} diff --git a/app-misc/hivex/hivex-1.3.14.ebuild b/app-misc/hivex/hivex-1.3.14.ebuild new file mode 100644 index 000000000000..dd48bcb9adfa --- /dev/null +++ b/app-misc/hivex/hivex-1.3.14.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23" +RUBY_OPTIONAL=yes + +PYTHON_COMPAT=(python2_7 python3_{4,5,6}) + +inherit eutils perl-module ruby-ng python-single-r1 + +DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary files" +HOMEPAGE="http://libguestfs.org" +SRC_URI="http://libguestfs.org/download/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ocaml readline +perl python test static-libs ruby" + +RDEPEND=" + virtual/libiconv + virtual/libintl + dev-libs/libxml2:2 + ocaml? ( dev-lang/ocaml[ocamlopt] + dev-ml/findlib[ocamlopt] + ) + readline? ( sys-libs/readline:0 ) + perl? ( dev-perl/IO-stringy ) + ruby? ( $(ruby_implementations_depend) ) + python? ( ${PYTHON_DEPS} ) + " + +DEPEND="${RDEPEND} + perl? ( + test? ( dev-perl/Pod-Coverage + dev-perl/Test-Pod-Coverage ) + ) + " + +ruby_add_bdepend "ruby? ( dev-ruby/rake + virtual/rubygems + dev-ruby/rdoc )" +ruby_add_rdepend "ruby? ( virtual/rubygems )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) + ruby? ( || ( $(ruby_get_use_targets) ) )" + +DOCS=( README ) + +S="${WORKDIR}/${P}" + +pkg_setup() { + if use python; then + python-single-r1_pkg_setup + fi +} + +src_unpack() { + default + cp -prlP "${WORKDIR}/${P}" "${WORKDIR}"/all +} + +src_configure() { + ruby-ng_src_configure + + if use perl; then + pushd perl + perl-module_src_configure + popd + fi + + local myeconfargs=( + $(use_with readline) + $(use_enable ocaml) + $(use_enable perl) + --enable-nls + --disable-ruby + $(use_enable python) + --disable-rpath + ) + + econf ${myeconfargs[@]} +} + +src_compile() { + default + ruby-ng_src_compile +} + +src_install() { + strip-linguas -i po + + emake install DESTDIR="${ED}" "LINGUAS=""${LINGUAS}""" + + ruby-ng_src_install + + if use perl; then + perl_delete_localpod + fi +} diff --git a/app-misc/hivex/metadata.xml b/app-misc/hivex/metadata.xml new file mode 100644 index 000000000000..c5adddd4b3e6 --- /dev/null +++ b/app-misc/hivex/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>maksbotan@gentoo.org</email> + <name>Maxim Koltsov</name> +</maintainer> +</pkgmetadata> |