pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

7z-bin: add 7z Linux binary



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue May 18 21:37:15 2021 +0200
Changeset:	0871fe495634ca96aa49ea8ea40ee54e1bdf913a

Modified Files:
	Makefile
Added Files:
	7z-bin/DESCR
	7z-bin/Makefile
	7z-bin/PLIST
	7z-bin/TODO
	7z-bin/distinfo

Log Message:
7z-bin: add 7z Linux binary

Doesn't work for me on NetBSD, probably because our emulation
support packages are too old:

7zz: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by 7zz)
7zz: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by 7zz)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0871fe495634ca96aa49ea8ea40ee54e1bdf913a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 7z-bin/DESCR    |  1 +
 7z-bin/Makefile | 28 +++++++++++++++++++++++
 7z-bin/PLIST    | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 7z-bin/TODO     |  4 ++++
 7z-bin/distinfo |  6 +++++
 Makefile        |  1 +
 6 files changed, 110 insertions(+)

diffs:
diff --git a/7z-bin/DESCR b/7z-bin/DESCR
new file mode 100644
index 0000000000..c68909ddaf
--- /dev/null
+++ b/7z-bin/DESCR
@@ -0,0 +1 @@
+7-Zip is a file archiver with a high compression ratio.
diff --git a/7z-bin/Makefile b/7z-bin/Makefile
new file mode 100644
index 0000000000..a3bea8b92e
--- /dev/null
+++ b/7z-bin/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD$
+
+DISTNAME=	7z2101-linux-x64
+PKGNAME=	7z-bin-21.01
+CATEGORIES=	archivers
+MASTER_SITES=	https://7-zip.org/a/
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://7-zip.org/
+COMMENT=	Extract, list, and test files in 7z archives (Linux binary)
+LICENSE=	gnu-lgpl-v2.1 AND modified-bsd AND unrar-license
+
+EMUL_PLATFORMS=		linux-x86_64
+EMUL_MODULES.linux=	base
+
+WRKSRC=			${WRKDIR}
+INSTALLATION_DIRS=	bin share/doc/7z-bin
+USE_TOOLS+=		pax
+
+do-build:
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/7zz ${DESTDIR}${PREFIX}/bin
+	${INSTALL_DATA} ${WRKSRC}/*txt ${DESTDIR}${PREFIX}/share/doc/7z-bin
+	cd ${WRKSRC} && ${PAX} -pp -rw MANUAL ${DESTDIR}${PREFIX}/share/doc/7z-bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/7z-bin/PLIST b/7z-bin/PLIST
new file mode 100644
index 0000000000..08019f276c
--- /dev/null
+++ b/7z-bin/PLIST
@@ -0,0 +1,70 @@
+@comment $NetBSD$
+bin/7zz
+share/doc/7z-bin/History.txt
+share/doc/7z-bin/License.txt
+share/doc/7z-bin/MANUAL/cmdline/commands/add.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/bench.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/delete.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/extract.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/extract_full.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/hash.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/index.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/list.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/rename.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/style.css
+share/doc/7z-bin/MANUAL/cmdline/commands/test.htm
+share/doc/7z-bin/MANUAL/cmdline/commands/update.htm
+share/doc/7z-bin/MANUAL/cmdline/exit_codes.htm
+share/doc/7z-bin/MANUAL/cmdline/index.htm
+share/doc/7z-bin/MANUAL/cmdline/style.css
+share/doc/7z-bin/MANUAL/cmdline/switches/ar_exclude.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/ar_include.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/ar_no.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/bb.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/bs.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/charset.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/email.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/exclude.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/include.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/index.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/large_pages.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/list_tech.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/method.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/output_dir.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/overwrite.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/password.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/recurse.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/sa.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/scc.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/scrc.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/sdel.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/sfx.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/shared.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/sni.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/sns.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/spf.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/ssc.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/stdin.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/stdout.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/stl.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/stop_switch.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/stx.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/style.css
+share/doc/7z-bin/MANUAL/cmdline/switches/type.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/update.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/volume.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/working_dir.htm
+share/doc/7z-bin/MANUAL/cmdline/switches/yes.htm
+share/doc/7z-bin/MANUAL/cmdline/syntax.htm
+share/doc/7z-bin/MANUAL/general/7z.htm
+share/doc/7z-bin/MANUAL/general/faq.htm
+share/doc/7z-bin/MANUAL/general/formats.htm
+share/doc/7z-bin/MANUAL/general/index.htm
+share/doc/7z-bin/MANUAL/general/license.htm
+share/doc/7z-bin/MANUAL/general/performance.htm
+share/doc/7z-bin/MANUAL/general/register.htm
+share/doc/7z-bin/MANUAL/general/style.css
+share/doc/7z-bin/MANUAL/general/thanks.htm
+share/doc/7z-bin/MANUAL/start.htm
+share/doc/7z-bin/MANUAL/style.css
+share/doc/7z-bin/readme.txt
diff --git a/7z-bin/TODO b/7z-bin/TODO
new file mode 100644
index 0000000000..41b1c92a2f
--- /dev/null
+++ b/7z-bin/TODO
@@ -0,0 +1,4 @@
+I think we need to install newer libraries:
+
+7zz: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by 7zz)
+7zz: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by 7zz)
diff --git a/7z-bin/distinfo b/7z-bin/distinfo
new file mode 100644
index 0000000000..3dcc8fb215
--- /dev/null
+++ b/7z-bin/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (7z2101-linux-x64.tar.xz) = cbc715dd53762e9e7006c1f68f4a450e611db864
+RMD160 (7z2101-linux-x64.tar.xz) = 400517faab2bc2b3d0d10a6e1ab9b3aa78a6de3d
+SHA512 (7z2101-linux-x64.tar.xz) = 603ba80d074afe8b6f633e641a7556d6675eb9e6872795c4e3e04f46ba1c6d4f269716b9c7d5dc0ce5e1bf3c6e92457a4161e9c12050610f7e4d40bc207d71fa
+Size (7z2101-linux-x64.tar.xz) = 883428 bytes
diff --git a/Makefile b/Makefile
index 67c73d05c5..68802fac28 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,7 @@ SUBDIR+=	0ad-data
 SUBDIR+=	2048-c
 SUBDIR+=	389-ds-base
 SUBDIR+=	3dsconv
+SUBDIR+=	7z-bin
 SUBDIR+=	8cc-git
 SUBDIR+=	ARC
 SUBDIR+=	Aseprite


Home | Main Index | Thread Index | Old Index