summaryrefslogtreecommitdiff
path: root/www-client/httrack
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /www-client/httrack
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'www-client/httrack')
-rw-r--r--www-client/httrack/Manifest3
-rw-r--r--www-client/httrack/files/httrack-3.48.13-minizip.patch74
-rw-r--r--www-client/httrack/httrack-3.49.5.ebuild77
-rw-r--r--www-client/httrack/httrack-3.49.6.ebuild78
-rw-r--r--www-client/httrack/metadata.xml15
5 files changed, 247 insertions, 0 deletions
diff --git a/www-client/httrack/Manifest b/www-client/httrack/Manifest
new file mode 100644
index 000000000000..7445f3ec7e77
--- /dev/null
+++ b/www-client/httrack/Manifest
@@ -0,0 +1,3 @@
+DIST 3.49.5.tar.gz 1767597 BLAKE2B ed8b6915b8eb150b12d91d78c0225430796548c102b695b0917d5c9dd0e9fc3c28ec0c7fffa6bad0c7d594293915f5fb77c61dc7b1e7a378a45af3835d7da05a SHA512 4a4442563e3d4e80d3f5176793611317a86f8960c967cf0f1a568bea1e44335a76c2864dad600919d21c57ad48614d340d71a793f9f5e2a4032da24050251fd6
+DIST coucal-73ada075553b7607d083037a87cb9c73b3683bfc.tar.gz 21306 BLAKE2B c04b369f6011aa14169a933ba2a39dcc114d056968a2dc51a752979c59e93332bc302f53e865b78c7324fd568fdc3666eebe60a887fb8417e8ee7a1fbe5ed0f6 SHA512 818cfdbf6038cf27433973d3994f7231c61c366b44a28dd74e1a6d216c9bbb66b0699bf40ccbd7816de7876d73b096b93d895f6f61efbd0d79c39d559b3aee73
+DIST httrack-3.49.6.tar.gz 1771770 BLAKE2B 2bffa65f7105cb21ea7e9a1c73dbf835ae390c8580d0aeb2cdd405aa06b824a9431dd27a8d17653daf584c03a03d82a20962da8111ae4b06408314bdc3a9ae52 SHA512 c5c080812afd8793f85ef7e67b1043e6e369648b370131e592809742053a3fb53abc15d82a925a6821b0036169194bbe610077ce257fc6d16a2a36ffe8c15ce8
diff --git a/www-client/httrack/files/httrack-3.48.13-minizip.patch b/www-client/httrack/files/httrack-3.48.13-minizip.patch
new file mode 100644
index 000000000000..af1610c60dae
--- /dev/null
+++ b/www-client/httrack/files/httrack-3.48.13-minizip.patch
@@ -0,0 +1,74 @@
+From 51bbb53d5805bfa5a4530b8706e2b7f77555016d Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Mon, 9 Jun 2014 15:34:43 +0200
+Subject: [PATCH] Fix minizip fork compilation
+
+---
+ src/minizip/ioapi.h | 4 ++++
+ src/minizip/iowin32.h | 3 +++
+ src/minizip/unzip.h | 4 ++++
+ src/minizip/zip.h | 4 ++++
+ 4 files changed, 15 insertions(+)
+
+diff --git a/src/minizip/ioapi.h b/src/minizip/ioapi.h
+index e4462b8..75cc097 100644
+--- a/src/minizip/ioapi.h
++++ b/src/minizip/ioapi.h
+@@ -21,6 +21,10 @@
+ #ifndef _ZLIBIOAPI64_H
+ #define _ZLIBIOAPI64_H
+
++
++#define OF(x) x
++
++
+ #if (!defined(_WIN32)) && (!defined(WIN32)) && (!defined(__APPLE__))
+
+ // Linux needs this to support file operation on files larger then 4+GB
+diff --git a/src/minizip/iowin32.h b/src/minizip/iowin32.h
+index 0ca0969..71244d6 100644
+--- a/src/minizip/iowin32.h
++++ b/src/minizip/iowin32.h
+@@ -14,6 +14,9 @@
+ #include <windows.h>
+
+
++#define OF(x) x
++
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+diff --git a/src/minizip/unzip.h b/src/minizip/unzip.h
+index 2104e39..0b54c40 100644
+--- a/src/minizip/unzip.h
++++ b/src/minizip/unzip.h
+@@ -43,6 +43,10 @@
+ #ifndef _unz64_H
+ #define _unz64_H
+
++
++#define OF(x) x
++
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+diff --git a/src/minizip/zip.h b/src/minizip/zip.h
+index 16dea6b..906ba53 100644
+--- a/src/minizip/zip.h
++++ b/src/minizip/zip.h
+@@ -40,6 +40,10 @@
+ #ifndef _zip12_H
+ #define _zip12_H
+
++
++#define OF(x) x
++
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+--
+1.9.3
+
diff --git a/www-client/httrack/httrack-3.49.5.ebuild b/www-client/httrack/httrack-3.49.5.ebuild
new file mode 100644
index 000000000000..1cfd5022ee7a
--- /dev/null
+++ b/www-client/httrack/httrack-3.49.5.ebuild
@@ -0,0 +1,77 @@
+# Copyright 2022-2024 Liguros Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit autotools multilib xdg-utils
+
+DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
+HOMEPAGE="https://www.httrack.com/"
+COUCAL_COMMIT="73ada075553b7607d083037a87cb9c73b3683bfc"
+SRC_URI="
+ https://github.com/xroche/httrack/archive/refs/tags/${PV}.tar.gz
+ https://github.com/xroche/coucal/archive/${COUCAL_COMMIT}.tar.gz -> coucal-${COUCAL_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE=" static-libs"
+
+RDEPEND=">=sys-libs/zlib-1.2.5.1-r1
+ >=dev-libs/openssl-1.1.0:=
+
+ "
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS README greetings.txt history.txt )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.48.13-minizip.patch
+)
+
+src_prepare() {
+ default
+ # mv third party sources into the tree
+ cp -r ${WORKDIR}/coucal-${COUCAL_COMMIT}/* ${S}/src/coucal
+ rm -rf ${WORKDIR}/coucal-${COUCAL_COMMIT}
+
+ # We need to patch use of /usr/lib because it is a problem with
+ # linker lld with profile 17.1 on amd64 (see https://bugs.gentoo.org/732272).
+ # The grep sandwich acts as a regression test so that a future
+ # version bump cannot break patching without noticing.
+ if [[ "$(get_libdir)" != lib ]]; then
+ grep -wq '{ZLIB_HOME}/lib' m4/check_zlib.m4 || die
+ sed "s,{ZLIB_HOME}/lib,{ZLIB_HOME}/$(get_libdir)," -i m4/check_zlib.m4 || die
+ grep -w '{ZLIB_HOME}/lib' m4/check_zlib.m4 && die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # Make webhttrack work despite FEATURES=nodoc cutting
+ # all of /usr/share/doc/ away (bug #493376)
+ if has nodoc ${FEATURES} ; then
+ dodir /usr/share/${PF}/
+ mv "${D}"/usr/share/{doc/,}${PF}/html || die
+
+ rm "${D}"/usr/share/${PN}/html || die
+ dosym ../../${PF}/html /usr/share/${PN}/html
+ fi
+
+ find "${D}" -name '*.la' -type f -delete || die
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/www-client/httrack/httrack-3.49.6.ebuild b/www-client/httrack/httrack-3.49.6.ebuild
new file mode 100644
index 000000000000..391ab2561d81
--- /dev/null
+++ b/www-client/httrack/httrack-3.49.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2022-2024 Liguros Authors
+# Distributed under the terms of the GNU General Public License v2
+EAPI=8
+
+inherit autotools multilib xdg-utils
+
+DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
+HOMEPAGE="https://www.httrack.com/"
+COUCAL_COMMIT="73ada075553b7607d083037a87cb9c73b3683bfc"
+GIT_COMMIT="748c35de7858ead963daf1393ad023d75b7820c2"
+SRC_URI="
+ https://github.com/xroche/httrack/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/xroche/coucal/archive/${COUCAL_COMMIT}.tar.gz -> coucal-${COUCAL_COMMIT}.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE=" static-libs"
+
+RDEPEND=">=sys-libs/zlib-1.2.5.1-r1
+ >=dev-libs/openssl-1.1.0:=
+
+ "
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS README greetings.txt history.txt )
+S=${WORKDIR}/${PN}-${GIT_COMMIT}
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.48.13-minizip.patch
+)
+
+src_prepare() {
+ default
+ # mv third party sources into the tree
+ cp -r ${WORKDIR}/coucal-${COUCAL_COMMIT}/* ${S}/src/coucal
+ rm -rf ${WORKDIR}/coucal-${COUCAL_COMMIT}
+
+ # We need to patch use of /usr/lib because it is a problem with
+ # linker lld with profile 17.1 on amd64 (see https://bugs.gentoo.org/732272).
+ # The grep sandwich acts as a regression test so that a future
+ # version bump cannot break patching without noticing.
+ if [[ "$(get_libdir)" != lib ]]; then
+ grep -wq '{ZLIB_HOME}/lib' m4/check_zlib.m4 || die
+ sed "s,{ZLIB_HOME}/lib,{ZLIB_HOME}/$(get_libdir)," -i m4/check_zlib.m4 || die
+ grep -w '{ZLIB_HOME}/lib' m4/check_zlib.m4 && die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ # Make webhttrack work despite FEATURES=nodoc cutting
+ # all of /usr/share/doc/ away (bug #493376)
+ if has nodoc ${FEATURES} ; then
+ dodir /usr/share/${PF}/
+ mv "${D}"/usr/share/{doc/,}${PF}/html || die
+
+ rm "${D}"/usr/share/${PN}/html || die
+ dosym ../../${PF}/html /usr/share/${PN}/html
+ fi
+
+ find "${D}" -name '*.la' -type f -delete || die
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/www-client/httrack/metadata.xml b/www-client/httrack/metadata.xml
new file mode 100644
index 000000000000..f82d5fb66a8f
--- /dev/null
+++ b/www-client/httrack/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>dev@liguros.net</email>
+ <name>Development</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sping@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="cpe">cpe:/a:httrack:httrack</remote-id>
+ </upstream>
+ <origin>ports</origin>
+</pkgmetadata> \ No newline at end of file