parent
db40c0e956
commit
260ce87efa
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST apg-2.3.0b.tar.gz 109995 BLAKE2B 9b4a6141fb7f6e649fe06ed91bda636879a03d6e5e6071267bbb6cd27e63b4588c23ea7902c5b1a74dde8520843566a4f2857a34f4d66020142425e5faf53daf SHA512 3112d2267f2311f960a52fa268b55a5faf0250a4a8c5e7444f0c1326afa2844a476a54befcf79e5b8532d74c53f6f58ffc420591c8c36798dd82b43c14869e1a
|
||||
DIST apg-2.3.0b_p20150129.tar.xz 313372 BLAKE2B f5a1b894a0379294c478020de512af047aec2e7c9d881cb2f4c79df88583707b5ce0e995623915b6bd11b720e60e0f8696e0ddce472441cb1d04f3bf7a818e32 SHA512 7be813368b4b6fe4ae2882d85c40b6cf80ad44b7aa7e46c8cb97926ef89edf4f59e9a4c76a7aa9f725ac6ce1f0df361f8b68ef6dce798e1e0a8d55767c7a16e8
|
||||
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Another Password Generator"
|
||||
HOMEPAGE="http://www.adel.nursat.kz/apg/"
|
||||
SRC_URI="http://www.adel.nursat.kz/apg/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="cracklib"
|
||||
|
||||
DEPEND="cracklib? ( sys-libs/cracklib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use cracklib; then
|
||||
eapply "${FILESDIR}"/${P}-cracklib.patch
|
||||
fi
|
||||
eapply "${FILESDIR}"/${PN}-glibc-2.4.patch
|
||||
eapply "${FILESDIR}"/${P}-crypt_password.patch
|
||||
|
||||
sed -i 's,^#\(APG_CS_CLIBS += -lnsl\)$,\1,' Makefile \
|
||||
|| die "Sed failed"
|
||||
if [[ ${CHOST} == *-darwin* ]]; then
|
||||
sed -i 's,^APG_CLIBS += -lcrypt,APG_CLIBS += ,' Makefile \
|
||||
|| die "Sed failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
FLAGS="${CFLAGS} ${LDFLAGS}" CFLAGS="${CFLAGS} ${LDFLAGS}" \
|
||||
CC="$(tc-getCC)" standalone
|
||||
emake FLAGS="${CFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" \
|
||||
-C bfconvert
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin apg apgbfm bfconvert/bfconvert
|
||||
dodoc CHANGES INSTALL README THANKS TODO \
|
||||
doc/{APG_TIPS,pronun.txt,rfc0972.txt,rfc1750.txt}
|
||||
doman doc/man/{apg.1,apgbfm.1}
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
--- a/Makefile 2003-08-07 09:40:39.000000000 -0600
|
||||
+++ b/Makefile 2004-10-14 07:16:17.288530686 -0600
|
||||
@@ -44,10 +44,10 @@
|
||||
# If you want to use cracklib for password quality check then you
|
||||
# must uncomment the folowing 4 lines (you must not do this for WIN32)
|
||||
#
|
||||
-#CRACKLIB_DICTPATH = "/usr/local/lib/pw_dict"
|
||||
-#STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib
|
||||
-#CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}' -I/usr/local/include -L/usr/local/lib
|
||||
-#APG_CLIBS += -lcrack
|
||||
+CRACKLIB_DICTPATH = "/usr/lib/cracklib_dict"
|
||||
+STANDALONE_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}'
|
||||
+CLISERV_OPTIONS += -DAPG_USE_CRACKLIB '-DCRACKLIB_DICTPATH=${CRACKLIB_DICTPATH}'
|
||||
+APG_CLIBS += -lcrack
|
||||
|
||||
##################################################################
|
||||
# Support for ANSI X9.17/SHA1 PRNG
|
@ -1,11 +0,0 @@
|
||||
--- a/restrict.h 2006-03-26 03:33:50.168661936 +0400
|
||||
+++ b/restrict.h 2006-03-26 03:34:10.427582112 +0400
|
||||
@@ -33,6 +33,8 @@
|
||||
#ifndef APG_RESTRICT_H
|
||||
#define APG_RESTRICT_H 1
|
||||
|
||||
+#define uint32_t int
|
||||
+
|
||||
#if defined(APG_USE_CRACKLIB)
|
||||
#include <packer.h>
|
||||
#endif
|
@ -1,2 +1 @@
|
||||
DIST gtkdiskfree-2.0.3.tar.bz2 216189 BLAKE2B 146dae89b0f66328840f22bd7b9e8ad751759dea3a67c332d71e513388be46122cb761fec6229258b63e85c726ee889e04a56d405437904f1eb8060ea31ee88a SHA512 c6f093ff023cb8c67090b3bd3660a998163e786b08386f346bdc1aa7b29e030a31cfb0ef54c55f109f211bf045f90afd20558b91849a4f82d041c99532f170fe
|
||||
DIST gtkdiskfree-bdda379b9109a226a37801505a19da91494144a6.tar.gz 318381 BLAKE2B 06fa325714dba0ec8ee319448286af791472d4aebdd7b94923fc102dfa0352f69247b941e91877c906b754a3b15c8c97d3b01281389274bc92ae23d1c4dfe858 SHA512 641aff62adb665ed6faa82925cc8941d894591e8209a46097b04a5feaba50a401144414edaaa1d97dd9c6b01fa6b4a057b3a5d96f9fd20318f85e535550ef2b7
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vcs-snapshot
|
||||
|
||||
DESCRIPTION="Graphical tool to show free disk space like df"
|
||||
HOMEPAGE="https://gitlab.com/mazes_80/gtkdiskfree"
|
||||
SRC_URI="https://gitlab.com/mazes_80/${PN}/repository/archive.tar.bz2?ref=${PV} -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="gtk2"
|
||||
|
||||
RDEPEND="
|
||||
gtk2? ( x11-libs/gtk+:2 )
|
||||
!gtk2? ( x11-libs/gtk+:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_with gtk2)
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST rasdaemon-0.6.1.tar.bz2 363201 BLAKE2B bdc7ec3c2e7e4b2fee02dddc55b5afd82df64717f45da15dbfd5fee87721b80ac425af5806ee7462cad29c6ab2953a2e649c4b1e455983d8821a1f633d76c85d SHA512 a221a7ea0e4555befbf8acb9d4ce22d5cc7861a0da458111a24905fa06be0e8f3b18d8de5334310a423657febc0532d2705236de89cb1788302bf487ede29f60
|
||||
DIST rasdaemon-0.6.2.tar.bz2 375140 BLAKE2B fd22185172777865120fbd13b7bfb5db9b9b0348fe8575ca6b5f16fd662c1e847729e239342b1c9ece70a4e79ad00352bb69d9f80cfbc8da2c961e68874dd03b SHA512 d8c1ee2cc801124837b3a0739f3016a206165306e300ce51e6aac2cef56bb65479f96cdb019ba3a5cffeba94e7b67ca22686d4ac94bfa8a8a1145db6ba51096b
|
||||
DIST rasdaemon-0.6.5.tar.bz2 403435 BLAKE2B bc6fa1aea6a6f0190a4f26df936f0ceb4c9b2ae00183ad9239430a018d9c8178e54b016a0aa9d22d97d851b59321b4a27cad7196f1fc22790d15a19c9c06f6e6 SHA512 aa781f3148ae32c8bc7ff8007574912454180725b9b102e1c7c583101dd1fd96debbdc78f3f2a35db45df359c7547cad4d87b490af66f444341c0dc8429c1310
|
||||
DIST rasdaemon-0.6.6.tar.bz2 404681 BLAKE2B 4314cd064b255df1cb1a148914c856d074fda1fc2d63e0554cbf0b78799c4252afdd4e827390729e191ff2ed9f719f6610487e85dd52af2b02694fb17740df05 SHA512 481ecd624ab5521d60ee7c613ee05d1d19b85e914b92eae84d18cb2e6dc788981213d49a6316cf575517b6e180f46c66c65804e4feb518bdd84bc21cd2970e08
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
dev-db/sqlite
|
||||
sys-apps/dmidecode
|
||||
dev-perl/DBD-SQLite
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --enable-abrt-report \
|
||||
--enable-aer \
|
||||
--enable-arm \
|
||||
--enable-extlog \
|
||||
--enable-hisi-ns-decode \
|
||||
--enable-mce \
|
||||
--enable-non-standard \
|
||||
--enable-sqlite3 \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit misc/*.service
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
dev-db/sqlite
|
||||
sys-apps/dmidecode
|
||||
dev-perl/DBD-SQLite
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~FUNCTION_TRACER ~FUNCTION_GRAPH_TRACER ~STACK_TRACER ~DYNAMIC_FTRACE"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --enable-abrt-report \
|
||||
--enable-aer \
|
||||
--enable-arm \
|
||||
--enable-extlog \
|
||||
--enable-hisi-ns-decode \
|
||||
--enable-mce \
|
||||
--enable-non-standard \
|
||||
--enable-sqlite3 \
|
||||
--localstatedir=/var
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc" ras-mc-ctl
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
dev-db/sqlite
|
||||
sys-apps/dmidecode
|
||||
dev-perl/DBD-SQLite
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~ACPI_EXTLOG ~DYNAMIC_FTRACE ~FUNCTION_GRAPH_TRACER ~FUNCTION_TRACER ~STACK_TRACER"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-abrt-report
|
||||
--enable-aer
|
||||
--enable-arm
|
||||
--enable-extlog
|
||||
--enable-hisi-ns-decode
|
||||
--enable-mce
|
||||
--enable-non-standard
|
||||
--enable-sqlite3
|
||||
--includedir="/usr/include/${PN}"
|
||||
--localstatedir=/var
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir "/var/lib/${PN}"
|
||||
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc-r1" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sqlite"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
sys-apps/dmidecode
|
||||
sqlite? (
|
||||
dev-db/sqlite
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~ACPI_EXTLOG"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable sqlite sqlite3)
|
||||
--enable-abrt-report
|
||||
--enable-aer
|
||||
--enable-arm
|
||||
--enable-extlog
|
||||
--enable-hisi-ns-decode
|
||||
--enable-mce
|
||||
--enable-non-standard
|
||||
--includedir="/usr/include/${PN}"
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir "/var/lib/${PN}"
|
||||
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
|
||||
newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-info systemd
|
||||
|
||||
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
|
||||
HOMEPAGE="http://www.infradead.org/~mchehab/rasdaemon/"
|
||||
SRC_URI="http://www.infradead.org/~mchehab/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sqlite"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-devel/gettext
|
||||
sys-apps/dmidecode
|
||||
sqlite? (
|
||||
dev-db/sqlite
|
||||
dev-perl/DBD-SQLite
|
||||
)
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
linux-info_pkg_setup
|
||||
local CONFIG_CHECK="~ACPI_EXTLOG"
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable sqlite sqlite3)
|
||||
--enable-abrt-report
|
||||
--enable-aer
|
||||
--enable-arm
|
||||
--enable-extlog
|
||||
--enable-hisi-ns-decode
|
||||
--enable-mce
|
||||
--enable-non-standard
|
||||
--enable-devlink
|
||||
--enable-diskerror
|
||||
--includedir="/usr/include/${PN}"
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
keepdir "/var/lib/${PN}"
|
||||
|
||||
systemd_dounit misc/*.service
|
||||
|
||||
newinitd "${FILESDIR}/rasdaemon.openrc-r2" rasdaemon
|
||||
newinitd "${FILESDIR}/ras-mc-ctl.openrc-r1" ras-mc-ctl
|
||||
newconfd "${FILESDIR}"/rasdaemon.confd rasdaemon
|
||||
}
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST pixz-1.0.6.tar.xz 119516 BLAKE2B 758a4985b946284587998ab2a653e51ded9838a7c77c7795c82c15c1693714468b07c2cbfd86a0c7ce7be34d9a5bd8fdc3285d503524ce299ba53179447e60ed SHA512 361a8d8b736c350e4e3fd19b5d36777129a087eb81439d05edc08f9378938583bef8fc70e440ffd22efb6dad1f6494c6c3e532d7dd1ab12c9350b6078aa993d7
|
||||
DIST pixz-1.0.7.tar.xz 120876 BLAKE2B 23563837169611d54dc4540715537b2e16c66bd9682097e4f37957e7422b487f221603b11aa30a39fd05c77dbeddc1697ac9ffe208d984c1da885a67f79a180f SHA512 7f343cb74958b9582b60a2e916243e72421fad1ebecc5867c9e046c881e8a318da9bb885edd71da8fe6953fd5d5c2f5119133cd0bbbf4d0f9b35f8aecd61120d
|
||||
|
@ -1,44 +0,0 @@
|
||||
https://github.com/vasi/pixz/pull/82
|
||||
|
||||
From 8b9a198d86e435929ed0c2246217d241ed1e707c Mon Sep 17 00:00:00 2001
|
||||
From: Matt Turner <mattst88@gmail.com>
|
||||
Date: Sun, 1 Sep 2019 23:58:26 -0700
|
||||
Subject: [PATCH] Avoid unaligned accesses
|
||||
|
||||
Architectures like SPARC do not allow unaligned accesses. Avoid them by
|
||||
memcpy()ing the data to an aligned buffer. On x86 systems where
|
||||
unaligned loads are fast, the memcpy() will be compiled away and the
|
||||
same code generated as before.
|
||||
---
|
||||
src/endian.c | 8 ++++++--
|
||||
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/endian.c b/src/endian.c
|
||||
index 51aea58..122c7da 100644
|
||||
--- a/src/endian.c
|
||||
+++ b/src/endian.c
|
||||
@@ -13,6 +13,7 @@ void xle64enc(uint8_t *d, uint64_t n) {
|
||||
#elif defined(__linux__) || defined(__FreeBSD__)
|
||||
|
||||
#include <stdint.h>
|
||||
+#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#include <byteswap.h>
|
||||
@@ -37,11 +38,14 @@ void xle64enc(uint8_t *d, uint64_t n) {
|
||||
#endif
|
||||
|
||||
uint64_t xle64dec(const uint8_t *d) {
|
||||
- return le64toh(*(uint64_t*)d);
|
||||
+ uint64_t tmp;
|
||||
+ memcpy(&tmp, d, sizeof(tmp));
|
||||
+ return le64toh(tmp);
|
||||
}
|
||||
|
||||
void xle64enc(uint8_t *d, uint64_t n) {
|
||||
- *(uint64_t*)d = htole64(n);
|
||||
+ uint64_t tmp = htole64(n);
|
||||
+ memcpy(d, &tmp, sizeof(tmp));
|
||||
}
|
||||
|
||||
#else
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/vasi/${PN}.git"
|
||||
inherit git-r3 autotools
|
||||
else
|
||||
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Parallel Indexed XZ compressor"
|
||||
HOMEPAGE="https://github.com/vasi/pixz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="static"
|
||||
|
||||
LIB_DEPEND=">=app-arch/libarchive-2.8:=[static-libs(+)]
|
||||
>=app-arch/xz-utils-5[static-libs(+)]"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
[[ ${PV} == "9999" ]] && DEPEND+=" app-text/asciidoc"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-avoid-unaligned-accesses.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == "9999" ]] && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
append-flags -std=gnu99
|
||||
# Workaround silly logic that breaks cross-compiles.
|
||||
# https://github.com/vasi/pixz/issues/67
|
||||
export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no)
|
||||
econf
|
||||
}
|
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
https://github.com/digint/btrbk/pull/341
|
||||
|
||||
From ec123405669762aefe813801e2c49183800cc3a9 Mon Sep 17 00:00:00 2001
|
||||
From: Xiretza <xiretza@xiretza.xyz>
|
||||
Date: Mon, 28 Sep 2020 16:49:19 +0200
|
||||
Subject: [PATCH] Fix race condition in `make install`
|
||||
|
||||
If run with -j, it's possible for install-bin-links to run before
|
||||
install-bin and subsequently fail because $(BINDIR) hasn't been created
|
||||
yet.
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 030b577..44ab19f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -54,7 +54,7 @@ install-bin:
|
||||
install -d -m 755 "$(DESTDIR)$(BINDIR)"
|
||||
install -p -m 755 $(BIN) "$(DESTDIR)$(BINDIR)"
|
||||
|
||||
-install-bin-links:
|
||||
+install-bin-links: install-bin
|
||||
@echo 'installing symlinks...'
|
||||
for name in $(BIN_LINKS); do \
|
||||
ln -s -n -f $(BIN) "$(DESTDIR)$(BINDIR)/$$name"; \
|
Binary file not shown.
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Cuecue converts .cue + [.ogg|.flac|.wav|.mp3] to .cue + .bin"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# Enable one use flag by default, bug 254745"
|
||||
IUSE="flac mp3 +vorbis"
|
||||
REQUIRED_USE="|| ( flac mp3 vorbis )"
|
||||
|
||||
DEPEND="
|
||||
flac? ( media-libs/flac )
|
||||
mp3? ( media-libs/libmad )
|
||||
vorbis? ( media-libs/libvorbis media-libs/libogg )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-flac113.diff # bug 157706
|
||||
"${FILESDIR}"/${P}-namespace.patch
|
||||
"${FILESDIR}"/${P}-unused.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable flac) \
|
||||
$(use_enable mp3) \
|
||||
$(use_enable vorbis ogg) \
|
||||
--disable-libFLACtest \
|
||||
--disable-oggtest \
|
||||
--disable-vorbistest
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/include
|
||||
doins src/libcuecue/cuecue.h
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue