summaryrefslogtreecommitdiff
path: root/app-arch/lha
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-arch/lha
reinit the tree, so we can have metadata
Diffstat (limited to 'app-arch/lha')
-rw-r--r--app-arch/lha/Manifest8
-rw-r--r--app-arch/lha/files/lha-114i-file-list-from-stdin.patch29
-rw-r--r--app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch11
-rw-r--r--app-arch/lha/lha-114i-r7.ebuild46
-rw-r--r--app-arch/lha/lha-114i-r8.ebuild52
-rw-r--r--app-arch/lha/metadata.xml18
6 files changed, 164 insertions, 0 deletions
diff --git a/app-arch/lha/Manifest b/app-arch/lha/Manifest
new file mode 100644
index 000000000000..0ecc1bf83882
--- /dev/null
+++ b/app-arch/lha/Manifest
@@ -0,0 +1,8 @@
+AUX lha-114i-file-list-from-stdin.patch 991 SHA256 f54adeb588365f50ec81b590254260254e58100a936e0a096c5f25964f9afd8d SHA512 fb3e112ef592b7542cab4cd34759407b5bace3ebc83af0aad52daf9d8584ec897e26ef1e0d4cc3656c1b0bfbd5eb242dedc6fb0a8fedce765ae30735a95b79a2 WHIRLPOOL c667324d271a79c7da83329e98044b64f41f2d6c99cc4411f37bf6a073cfbccb614875484d72af09f2fcce6e5c12f445c5d0f176d59f2a104194a973b2357466
+AUX lha-114i-fix-getopt_long-declaration.patch 267 SHA256 ae54c105caf6ed48f32e2331d5c900c1234ddceca004c3af8ea5f9141d800f18 SHA512 c0e23d742a4e37b86f69e7096eba95e0c41619e2a459d526f5ede31ec73d2cfc14b3660fd1741c68e40d2ddb9bfd7c4250f275edea3965e1077b1a482a788f10 WHIRLPOOL 6a223ac3d5bebbb2b2e39165a38462f449f469ea9f5cb4ac8fb51635e72afffa04b3ae9e9076d334da40efbfad78f119ec643caa252c25a92e5cf28e860ed369
+DIST lha-1.14i-ac20050924p1.tar.gz 285518 SHA256 b5261e9f98538816aa9e64791f23cb83f1632ecda61f02e54b6749e9ca5e9ee4 SHA512 efe43d407d273f8f724f7b205223bd122c76adac4b67ad5e9811e88cae03f1f3c3af4297aa6f24951a02558975bbafacf697e97ab0da578b4e0115b89237566f WHIRLPOOL 2aaa99fa8106423fea381b4ebe72e7a454008032be88420d9d92d8cda0c9e4f38857909d5e5f6fb0303db0311978eb2ca64ee0465beb9dc780a9f5be2218e774
+EBUILD lha-114i-r7.ebuild 991 SHA256 528d5afc6bb90c134aa43c577a0e0d3967fe88edc9fae2bd7d7f699e53fe056e SHA512 58af6daefe2f32f9479496811c78e0b224196da43f798d9734ee2bb4e78fcefd143bd2b01b409c8aeb1a736e6eae3548ef483e4a829b0a5a8d52dd226426a1e5 WHIRLPOOL 2390524cca419755cdedd9d6a10c87852108eb5e6fde46f0f008a454f33e970b8594f13c42ad3e508a6684de78f39c1c1c772dddd3d606dd0c0c844ceaceae56
+EBUILD lha-114i-r8.ebuild 1147 SHA256 3830bb93c8f7374552c98139ed8e00fcf5944b0f52da50534a58f3b1dce49bb1 SHA512 fc3be81aba9e9f7d9a27c753ea187790956dcec389a890e6d06e939c0aafdc88a0b7e579f05f57809950f88bc32777b10ad3948b95fe27a41cecfd149ef08544 WHIRLPOOL 8d51976543a2a06ff2a981a35d3d8c35d62c2a0921b8cea4e1f0257d534cee18b0c3d4dec363207b4061cf38e5573d0b27166670d2f5bfb6de80e9fecb8879b4
+MISC ChangeLog 3230 SHA256 eacc813dc4ea6e3c56bfbf3fd4ff47bad2298da0f4c21cedc93d0e5caf7d0824 SHA512 d13066ea248ac5821b9bc89648bcab082892b900c6c3087c1e790d338bd3e655c416a70f5550964346e346e4ba84bfb0ae1921ca57306b6b5284a216a10976bb WHIRLPOOL a5269bf24d718228e5278b3c053463f1b9126d35208e1406a973fa1d7974bdf41aaae937d9d60bec2623d8fbb90239dd61518b066aefa9ac17fd112582672c57
+MISC ChangeLog-2015 6744 SHA256 49a22c4dc6c5b9074d627c0345b4e8a5ebc540be7e0e3050d985e0de4fd26776 SHA512 9fa30fc4e14d7d0931ca5ffdfbdf89fff4f1caf7ec68c5f4ecb1b64295715c22f7591a3d27e467126e07cc1d467b21cdf961fccd4138caffac028d3c3d9891ba WHIRLPOOL 1c6e2be6e8d8256e5f269bb1184285642ce28f85413e496a7cfd1c111b09e18da28a2ffb90237cdfd3db3c50eccadcd8f68d7fb339f85d8fa342d08a89dd37bc
+MISC metadata.xml 534 SHA256 8dbe9ac33d531a9762089736045595ae08b6d68206330d4a12c3bdf7c6fade56 SHA512 499669685613b31d118c1878fda13c25551d13eedb1532507d2952a490725b1083dd16aaf4d6927bb2cc8ca859c2d29e1a064d15f9d4e099108ad7ea80fc040f WHIRLPOOL 4e68d174914fcad590e2e783a7d1a29764de64554d9aa4e9aa914ee3e3a762f0cd17ee981820788e5dfdfa0d2ee90e93abc188fd025109a177b862fdc90fa780
diff --git a/app-arch/lha/files/lha-114i-file-list-from-stdin.patch b/app-arch/lha/files/lha-114i-file-list-from-stdin.patch
new file mode 100644
index 000000000000..4bd0d17d7527
--- /dev/null
+++ b/app-arch/lha/files/lha-114i-file-list-from-stdin.patch
@@ -0,0 +1,29 @@
+Index: src/lharc.c
+===================================================================
+--- src/lharc.c (revision 773)
++++ src/lharc.c (working copy)
+@@ -561,7 +561,7 @@
+ if (!isatty(1) && cmd == CMD_ADD)
+ quiet = TRUE;
+ }
+-#if 0 /* Comment out; IMHO, this feature is useless. by Koji Arai */
++#ifndef MINGW32
+ else {
+ if (argc == 3 && !isatty(0)) { /* 1999.7.18 */
+ /* Bug(?) on MinGW, isatty() return 0 on Cygwin console.
+Index: configure.ac
+===================================================================
+--- configure.ac (revision 773)
++++ configure.ac (working copy)
+@@ -289,6 +289,11 @@
+ [Define to 1 if you want to ignore dot files with -X command line switch])
+ fi
+
++AC_MINGW32
++if test "x$MINGW32" = xyes; then
++ AC_DEFINE(MINGW32, 1, [Define to 1 if we're being compiled with MinGW.])
++fi
++
+ AC_CONFIG_FILES([Makefile src/Makefile man/Makefile olddoc/Makefile])
+ AC_CONFIG_FILES([tests/Makefile tests/lha-test])
+ AC_OUTPUT
diff --git a/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch b/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch
new file mode 100644
index 000000000000..b57a1c9c6158
--- /dev/null
+++ b/app-arch/lha/files/lha-114i-fix-getopt_long-declaration.patch
@@ -0,0 +1,11 @@
+--- src/getopt_long.c.orig 2013-12-18 16:05:59.789413528 -0600
++++ src/getopt_long.c 2013-12-18 16:06:01.200420472 -0600
+@@ -64,7 +64,7 @@
+
+ #ifndef USE_GNU
+ #include <stdio.h>
+-#include <getopt_long.h>
++#include "getopt_long.h"
+
+ char *optarg;
+ int optind;
diff --git a/app-arch/lha/lha-114i-r7.ebuild b/app-arch/lha/lha-114i-r7.ebuild
new file mode 100644
index 000000000000..9bc254e7cf19
--- /dev/null
+++ b/app-arch/lha/lha-114i-r7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+inherit autotools eutils flag-o-matic
+
+MY_P=${PN}-1.14i-ac20050924p1
+
+DESCRIPTION="Utility for creating and opening lzh archives"
+HOMEPAGE="http://lha.sourceforge.jp"
+SRC_URI="mirror://sourceforge.jp/${PN}/22231/${MY_P}.tar.gz"
+
+LICENSE="lha"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-file-list-from-stdin.patch
+
+ sed -i -e '/^AM_C_PROTOTYPES/d' configure.ac || die #423125
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -DPROTOTYPES #423125
+
+ if [[ ${CHOST} == *-interix* ]]; then
+ export ac_cv_header_inttypes_h=no
+ export ac_cv_func_iconv=no
+ fi
+
+ econf
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ mandir="${EPREFIX}"/usr/share/man/ja \
+ install
+
+ dodoc ChangeLog Hacking_of_LHa
+}
diff --git a/app-arch/lha/lha-114i-r8.ebuild b/app-arch/lha/lha-114i-r8.ebuild
new file mode 100644
index 000000000000..2964658932b9
--- /dev/null
+++ b/app-arch/lha/lha-114i-r8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+MY_P=${PN}-1.14i-ac20050924p1
+
+DESCRIPTION="Utility for creating and opening lzh archives"
+HOMEPAGE="http://lha.sourceforge.jp"
+SRC_URI="mirror://sourceforge.jp/${PN}/22231/${MY_P}.tar.gz"
+LICENSE="lha"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint"
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-file-list-from-stdin.patch
+ "${FILESDIR}"/${P}-fix-getopt_long-declaration.patch
+)
+
+src_prepare() {
+ epatch "${PATCHES[@]}"
+
+ sed -e '/^AM_C_PROTOTYPES/d' \
+ -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
+ -i configure.ac || die #423125, 467544
+
+ eautoreconf
+}
+
+src_configure() {
+ append-cppflags -DPROTOTYPES #423125
+
+ if [[ ${CHOST} == *-interix* ]]; then
+ export ac_cv_header_inttypes_h=no
+ export ac_cv_func_iconv=no
+ fi
+
+ econf
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ mandir="${EPREFIX}"/usr/share/man/ja \
+ install
+
+ dodoc ChangeLog Hacking_of_LHa
+}
diff --git a/app-arch/lha/metadata.xml b/app-arch/lha/metadata.xml
new file mode 100644
index 000000000000..ee8ee630babf
--- /dev/null
+++ b/app-arch/lha/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nitro@legroom.net</email>
+ <name>Jared B.</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription lang="en">
+ A utility for creating and opening lzh archives.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge-jp">lha</remote-id>
+ </upstream>
+</pkgmetadata>