parent
7fc0a60fe4
commit
f26db9cc30
Binary file not shown.
Binary file not shown.
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>juippis@gentoo.org</email>
|
||||
<name>Joonas Niilola</name>
|
||||
<maintainer type="project">
|
||||
<email>virtualization@gentoo.org</email>
|
||||
<name>Gentoo Virtualization Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST fam-2.7.0.tar.gz 301974 BLAKE2B 9a915e61b2898717cac1b7bbe9b2049aee0701314710906c5c8323aafe0847a9f017d09c4d9345e1fba386ac3c1001ec013325f9841d716e8c91e35bcf1e3962 SHA512 62b6222ee925eb2af1e258097c9bb676191690f38f8504ae16b1883a1019e0ac6dc7116ac2c4c596a956b3b3cfc3ce3ee7b613c319654681afb13e3ad3f284e2
|
||||
DIST fam_2.7.0-17.2.diff.gz 28826 BLAKE2B 880f8614304b048a24be03231ec26a02901befd75c8c5d51abf07d5afb42f370f4d3702d0db790f2f651f040372791024d9cbfbea15a1932629fb13a7b6a5ec8 SHA512 295c954fcecb7357a72ecf3c7469bb37c29e8969fc7be3a0e92e40e79911c9578f44c42a0a6f900610c8a9886f1addc62e50f258105aaadb61c718f526608697
|
||||
DIST fam_2.7.0-17.3.diff.gz 28847 BLAKE2B d46e0d60d438459b43e24d2757771f02f3b5eec1b297f16a0359b26d14fbfba9701ebdc63d9b4dbbe2247cc7b38b9670ed9900a896224a3c4d8affc1481a8a79 SHA512 67d339e1cd4409897b044aa9b4c755a43b939982ee70c0ab5d99afd807994ad1f571a52bf04125a633cc3a735e99ff9e156caf2fb4288f5c008121a4eb9379b6
|
||||
DIST fam_2.7.0-17.diff.gz 28056 BLAKE2B 4db010fdf7a2548f5651e9da876df63d3bd0d1a5f184b26df99f7d4204bbcbadf4c7672d248d9d1af2e7297b0ec17a5ec80e6b57016774877465a957ae3c6ae8 SHA512 76b14e1d17713eb86d52cb804d34012e5369b5f4e8bcbdc73a063d2ad9219e0c4a261cef9e144ee07744a953a2e893bdf2ceeefcf21edc7a2ac5e70a51a8e209
|
||||
DIST fam_2.7.0.orig.tar.gz 301945 BLAKE2B 9219c15b998bbac49e76eeac86f2de666ac49dca773c82ff6220c11ee77f0381b93ddbeeb500a7775bff3cc29ad6e7008e12304f0b0e361cbcc951d9f995a229 SHA512 dae6e883ef10214b1506d342e32cb5c59d0b4b7b66c1b099daa836958651ff3b04d526b4e516abd96e51587a97a8950e9517d1b38c6f7e6637ee3e7d20243531
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
||||
|
||||
FAM_PV="${PV/_p*/}"
|
||||
DEBIAN_PATCH="${PV#*_p}"
|
||||
DEBIAN_PATCH="${DEBIAN_PATCH/_p/.}"
|
||||
DESCRIPTION="FAM, the File Alteration Monitor"
|
||||
HOMEPAGE="http://oss.sgi.com/projects/fam/"
|
||||
SRC_URI="
|
||||
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${FAM_PV}.orig.tar.gz
|
||||
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${FAM_PV}-${DEBIAN_PATCH}.diff.gz
|
||||
"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND="
|
||||
!app-admin/gamin
|
||||
net-libs/libtirpc
|
||||
net-nds/rpcbind
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO README )
|
||||
S=${WORKDIR}/${PN}-${FAM_PV}
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-${FAM_PV}-AM_CONFIG_HEADER.patch
|
||||
"${FILESDIR}"/${PN}-${FAM_PV}-bindresvport.patch #729120
|
||||
"${FILESDIR}"/${PN}-${FAM_PV}-out-of-tree.patch
|
||||
"${FILESDIR}"/${PN}-${FAM_PV}-sysmacros.patch #580702
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cd "${WORKDIR}" || die
|
||||
tar xzf "${WORKDIR}"/${PN}-${FAM_PV}/${PN}-${FAM_PV}.tar.gz || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
find "${S}" -type f -exec chmod +w {} \; || die
|
||||
|
||||
eapply "${WORKDIR}"/${PN}_${FAM_PV}-${DEBIAN_PATCH}.diff
|
||||
edos2unix debian/patches/10_debianbug375967.patch
|
||||
eapply "${FILESDIR}"/${PN}-${FAM_PV}-patch-header.patch
|
||||
eapply debian/patches/*patch
|
||||
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
tc-export PKG_CONFIG
|
||||
append-cppflags $(${PKG_CONFIG} --cflags libtirpc)
|
||||
append-libs $(${PKG_CONFIG} --libs libtirpc)
|
||||
ECONF_SOURCE=${S} econf $(use_enable static-libs static)
|
||||
|
||||
# These are thrown away later
|
||||
if ! multilib_is_native_abi ; then
|
||||
sed -i -e 's/src conf man//' Makefile || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
einstalldocs
|
||||
|
||||
sed -i "${D}"/etc/fam.conf \
|
||||
-e "s:local_only = false:local_only = true:g" \
|
||||
|| die "sed fam.conf"
|
||||
|
||||
doinitd "${FILESDIR}/famd"
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- a/src/Listener.c++
|
||||
+++ b/src/Listener.c++
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "Cred.h"
|
||||
#include "BTree.h"
|
||||
|
||||
-#if !(HAVE_BINDRESVPORT_PROTO)
|
||||
+#if !(HAVE_BINDRESVPORT)
|
||||
extern "C" int bindresvport(int sd, struct sockaddr_in *);
|
||||
#endif
|
||||
|
Binary file not shown.
@ -0,0 +1,222 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="https://www.clamav.net/"
|
||||
SRC_URI="https://www.clamav.net/downloads/production/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 doc clamdtop clamsubmit iconv ipv6 libclamav-only libressl milter metadata-analysis-api selinux test uclibc xml"
|
||||
|
||||
REQUIRED_USE="libclamav-only? ( !clamdtop !clamsubmit !milter !metadata-analysis-api )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# Require acct-{user,group}/clamav at build time so that we can set
|
||||
# the permissions on /var/lib/clamav in src_install rather than in
|
||||
# pkg_postinst; calling "chown" on the live filesystem scares me.
|
||||
CDEPEND="acct-group/clamav
|
||||
acct-user/clamav
|
||||
dev-libs/libltdl
|
||||
dev-libs/libmspack
|
||||
|| ( dev-libs/libpcre2 >dev-libs/libpcre-6 )
|
||||
dev-libs/tomsfastmath
|
||||
>=sys-libs/zlib-1.2.2:=
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses:0 )
|
||||
clamsubmit? ( net-misc/curl dev-libs/json-c:= )
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
iconv? ( virtual/libiconv )
|
||||
!libclamav-only? ( net-misc/curl )
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
xml? ( dev-libs/libxml2 )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
metadata-analysis-api? ( dev-libs/json-c:* )
|
||||
test? ( dev-libs/check )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.101.2-tinfo.patch" #670729
|
||||
"${FILESDIR}/${PN}-0.102.1-libxml2_pkgconfig.patch" #661328
|
||||
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
|
||||
"${FILESDIR}/${P}-system-tomsfastmath.patch" # 649394
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Be extra sure that we're using the system copy of tomsfastmath
|
||||
einfo "removing bundled copy of dev-libs/tomsfastmath"
|
||||
rm -r libclamav/tomsfastmath || \
|
||||
die "failed to remove bundled tomsfastmath"
|
||||
|
||||
AT_NO_RECURSIVE="yes" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use elibc_musl && append-ldflags -lfts
|
||||
use ppc64 && append-flags -mminimal-toc
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
|
||||
# according to configure help it should be
|
||||
# $(use_enable xml)
|
||||
# but that does not work
|
||||
# do not add this, since --disable-xml seems to override
|
||||
# --without-xml
|
||||
JSONUSE="--without-libjson"
|
||||
|
||||
if use clamsubmit || use metadata-analysis-api; then
|
||||
# either of those 2 requires libjson.
|
||||
# clamsubmit will be built as soon as libjson and curl are found
|
||||
# but we only install the binary if requested
|
||||
JSONUSE="--with-libjson=${EPREFIX}/usr"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable bzip2)
|
||||
$(use_enable clamdtop)
|
||||
$(use_enable ipv6)
|
||||
$(use_enable milter)
|
||||
$(use_enable test check)
|
||||
$(use_with xml)
|
||||
$(use_with iconv)
|
||||
${JSONUSE}
|
||||
$(use_enable libclamav-only)
|
||||
$(use_with !libclamav-only libcurl)
|
||||
--with-system-libmspack
|
||||
--cache-file="${S}"/config.cache
|
||||
--disable-experimental
|
||||
--disable-static
|
||||
--disable-zlib-vcheck
|
||||
--enable-id-check
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav
|
||||
# Don't call --with-zlib=/usr (see bug #699296)
|
||||
--with-zlib
|
||||
--disable-llvm
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav || die
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
newinitd "${FILESDIR}"/clamd.initd-r6 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf-r1 clamd
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
systemd_dounit "${FILESDIR}/freshclamd.service"
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(DatabaseDirectory\).*:\1 /var/lib/clamav:" \
|
||||
"${ED}"/etc/clamd.conf.sample || die
|
||||
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(DatabaseDirectory\).*:\1 /var/lib/clamav:" \
|
||||
"${ED}"/etc/freshclam.conf.sample || die
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
##dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf.sample || die
|
||||
|
||||
cat >> "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_newunit "${FILESDIR}/clamav-milter.service-r1" clamav-milter.service
|
||||
fi
|
||||
|
||||
local i
|
||||
for i in clamd freshclam clamav-milter
|
||||
do
|
||||
if [[ -f "${ED}"/etc/"${i}".conf.sample ]]; then
|
||||
mv "${ED}"/etc/"${i}".conf{.sample,} || die
|
||||
fi
|
||||
done
|
||||
|
||||
# These both need to be writable by the clamav user.
|
||||
# TODO: use syslog by default; that's what it's for.
|
||||
diropts -o clamav -g clamav
|
||||
keepdir /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fi
|
||||
|
||||
if use doc ; then
|
||||
local HTML_DOCS=( docs/html/. )
|
||||
einstalldocs
|
||||
|
||||
if ! use libclamav-only ; then
|
||||
doman docs/man/*.[1-8]
|
||||
fi
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use libclamav-only ; then
|
||||
ewarn "Test target not available when USE=libclamav-only is set, skipping tests ..."
|
||||
return 0
|
||||
fi
|
||||
|
||||
emake quick-check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
|
||||
local databases=( "${EROOT}"/var/lib/clamav/main.c[lv]d )
|
||||
if [[ ! -f "${databases}" ]] ; then
|
||||
ewarn "You must run freshclam manually to populate the virus database"
|
||||
ewarn "before starting clamav for the first time."
|
||||
fi
|
||||
|
||||
elog "For instructions on how to use clamonacc, see"
|
||||
elog
|
||||
elog " https://www.clamav.net/documents/on-access-scanning"
|
||||
}
|
@ -0,0 +1,113 @@
|
||||
From bcf63fa6bbd519bc61c2b2553fb1913f802eb96e Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
|
||||
Date: Wed, 11 Mar 2015 20:03:15 +0100
|
||||
Subject: add support for system tomsfastmath
|
||||
|
||||
Patch-Name: add-support-for-system-tomsfastmath.patch
|
||||
---
|
||||
configure.ac | 2 ++
|
||||
libclamav/Makefile.am | 10 ++++++++--
|
||||
libclamav/bignum.h | 6 +++++-
|
||||
libclamav/xdp.c | 2 +-
|
||||
m4/reorganization/libs/tomsfastmath.m4 | 12 ++++++++++++
|
||||
5 files changed, 28 insertions(+), 4 deletions(-)
|
||||
create mode 100644 m4/reorganization/libs/tomsfastmath.m4
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 8375971..3cacfb8 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -98,6 +98,7 @@ m4_include([m4/reorganization/libs/libmspack.m4])
|
||||
if test "x$use_internal_mspack" = "xno"; then
|
||||
mspack_msg="External, $LIBMSPACK_CFLAGS $LIBMSPACK_LIBS"
|
||||
fi
|
||||
+m4_include([m4/reorganization/libs/tomsfastmath.m4])
|
||||
|
||||
AM_MAINTAINER_MODE
|
||||
m4_include([m4/reorganization/libs/libz.m4])
|
||||
@@ -356,6 +357,7 @@ fi
|
||||
CL_MSG_STATUS([yara ],[$enable_yara],[$enable_yara])
|
||||
CL_MSG_STATUS([fts ],[yes],[$lfs_fts_msg])
|
||||
|
||||
+CL_MSG_STATUS([tomsfastmath],[yes],[$tomsfastmath_msg])
|
||||
|
||||
# Yep, downgrading the compiler avoids the bug too:
|
||||
# 4.0.x, and 4.1.0 are the known buggy versions
|
||||
diff --git a/libclamav/Makefile.am b/libclamav/Makefile.am
|
||||
index 699d033..3282272 100644
|
||||
--- a/libclamav/Makefile.am
|
||||
+++ b/libclamav/Makefile.am
|
||||
@@ -602,8 +602,10 @@ libclamav_la_SOURCES += yara_arena.c \
|
||||
yara_clam.h
|
||||
endif
|
||||
|
||||
-libclamav_la_SOURCES += bignum.h\
|
||||
- bignum_fast.h\
|
||||
+libclamav_la_SOURCES += bignum.h
|
||||
+
|
||||
+if !SYSTEM_TOMSFASTMATH
|
||||
+libclamav_la_SOURCES += bignum_fast.h\
|
||||
tomsfastmath/addsub/fp_add.c\
|
||||
tomsfastmath/addsub/fp_add_d.c\
|
||||
tomsfastmath/addsub/fp_addmod.c\
|
||||
@@ -685,6 +687,10 @@ libclamav_la_SOURCES += bignum.h\
|
||||
tomsfastmath/sqr/fp_sqr_comba_generic.c\
|
||||
tomsfastmath/sqr/fp_sqr_comba_small_set.c\
|
||||
tomsfastmath/sqr/fp_sqrmod.c
|
||||
+else
|
||||
+libclamav_la_CFLAGS += $(TOMSFASTMATH_CFLAGS)
|
||||
+libclamav_la_LIBADD += $(TOMSFASTMATH_LIBS)
|
||||
+endif
|
||||
|
||||
.PHONY2: version.h.tmp
|
||||
version.c: version.h
|
||||
diff --git a/libclamav/bignum.h b/libclamav/bignum.h
|
||||
index 8fdc956..56dfa95 100644
|
||||
--- a/libclamav/bignum.h
|
||||
+++ b/libclamav/bignum.h
|
||||
@@ -1,9 +1,13 @@
|
||||
#ifndef BIGNUM_H_
|
||||
#define BIGNUM_H_
|
||||
|
||||
+#if HAVE_SYSTEM_TOMSFASTMATH
|
||||
+#include <tfm.h>
|
||||
+#else
|
||||
#define TFM_CHECK
|
||||
-
|
||||
#include "bignum_fast.h"
|
||||
+#endif
|
||||
+
|
||||
typedef fp_int mp_int;
|
||||
#define mp_cmp fp_cmp
|
||||
#define mp_toradix_n(a, b, c, d) fp_toradix_n(a, b, c, d)
|
||||
diff --git a/libclamav/xdp.c b/libclamav/xdp.c
|
||||
index d5a4c4b..cc3b40d 100644
|
||||
--- a/libclamav/xdp.c
|
||||
+++ b/libclamav/xdp.c
|
||||
@@ -52,7 +52,7 @@
|
||||
#include "scanners.h"
|
||||
#include "conv.h"
|
||||
#include "xdp.h"
|
||||
-#include "bignum_fast.h"
|
||||
+#include "bignum.h"
|
||||
#include "filetypes.h"
|
||||
|
||||
static char *dump_xdp(cli_ctx *ctx, const char *start, size_t sz);
|
||||
diff --git a/m4/reorganization/libs/tomsfastmath.m4 b/m4/reorganization/libs/tomsfastmath.m4
|
||||
new file mode 100644
|
||||
index 0000000..2a821a1
|
||||
--- /dev/null
|
||||
+++ b/m4/reorganization/libs/tomsfastmath.m4
|
||||
@@ -0,0 +1,12 @@
|
||||
+dnl Check for system tomsfastmath
|
||||
+PKG_CHECK_MODULES([TOMSFASTMATH], [tomsfastmath], [have_system_tomsfastmath=yes], [have_system_tomsfastmath=no])
|
||||
+
|
||||
+AM_CONDITIONAL([SYSTEM_TOMSFASTMATH], [test "x$have_system_tomsfastmath" = "xyes"])
|
||||
+
|
||||
+if test "x$have_system_tomsfastmath" = "xyes"; then
|
||||
+ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [1], [link against system-wide tomsfastmath library])
|
||||
+ tomsfastmath_msg="External, $TOMSFASTMATH_CFLAGS $TOMSFASTMATH_LIBS"
|
||||
+else
|
||||
+ AC_DEFINE([HAVE_SYSTEM_TOMSFASTMATH], [0], [don't link against system-wide tomsfastmath library])
|
||||
+ tomsfastmath_msg="Internal"
|
||||
+fi
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST rsnapshot-1.3.1.tar.gz 215806 BLAKE2B fe2d31a5bc62577b187e33bf644600fdd2ade845572a3b0ee6ee9ff146dcdab3277cb5494e84ae144c46adda8391304de83ba3cadda8b5e451b63efd9bfd517e SHA512 a74ad0a21d213dd2e05cb577a47c491af90d8994df8f5a154195515345da438ac9c0d72b563aa02314883a0b3bb86e3c23f8b530a7078c2b55a9547a2d666c10
|
||||
DIST rsnapshot-1.4.1.tar.gz 489481 BLAKE2B d8170d6b47d15a45b1d14f67cfcb62e854ef49eb071ff0bb5dd5f640a053e6791e8684e38e7a1bf1e14ab459cb850b5a1c840569732a36acf3dd392331af20d5 SHA512 a99e639bd706aafac82d2a4a40fc6c7fa026321c527ad5826a4fc7917cadea5962c4c7988c98efbe06833ef70db081605aa47a6d77c04dcf6077cc232c078cbf
|
||||
DIST rsnapshot-1.4.2.tar.gz 487959 BLAKE2B 90a52af1b2b3de5eae7e98f87b87dae4564a7fa5d240d9e844180d6a57bb4e14b4cf762aa0ed6bbdba8deda0436d77e6c5d281ca8b62eba1c3b6caf948ae9432 SHA512 621be52715a6c1f70ddb251d7f6103ba3487cd0c6c607411d744866547d3ced571862a8f6b5e40a1d050696703f3a15821bd6e829a3fca057848f04566d0e4a0
|
||||
DIST rsnapshot-1.4.3.tar.gz 370840 BLAKE2B 6a3acde4afd8d1f999cfb00f07a0547b6d877aa483e2548b5ecb933c3f6e742046730a78b95fd83bfa6496a71f61dbce2a8bedc42562503bef753b0c72c40eba SHA512 606b5c195e609197ae6711a9764c07a0f0822fe228aba07014155636bd5caa7ad7dbf8f42316275a71490b5c9dd33bf04c42580b92f4910c38ef871694ae09e3
|
||||
|
@ -1,12 +0,0 @@
|
||||
diff -ur rsnapshot-1.3.1.original/rsnapshot-program.pl rsnapshot-1.3.1/rsnapshot-program.pl
|
||||
--- rsnapshot-1.3.1.original/rsnapshot-program.pl 2006-10-21 08:12:30.000000000 +0200
|
||||
+++ rsnapshot-1.3.1/rsnapshot-program.pl 2006-11-22 21:37:39.133222510 +0100
|
||||
@@ -3269,7 +3269,7 @@
|
||||
if (0 == $test) {
|
||||
$result = cp_al(
|
||||
"$config_vars{'snapshot_root'}/$interval.0/",
|
||||
- "$config_vars{'snapshot_root'}/$interval.1/"
|
||||
+ "$config_vars{'snapshot_root'}/$interval.1"
|
||||
);
|
||||
if (! $result) {
|
||||
my $errstr = '';
|
@ -1,17 +0,0 @@
|
||||
Fixed man-page creation with pod2man from >=perl-5.18
|
||||
|
||||
https://bugs.gentoo.org/490486
|
||||
|
||||
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
|
||||
|
||||
--- rsnapshot-1.3.1/rsnapshot-program.pl
|
||||
+++ rsnapshot-1.3.1/rsnapshot-program.pl
|
||||
@@ -6716,6 +6716,8 @@
|
||||
|
||||
=back
|
||||
|
||||
+=back
|
||||
+
|
||||
=head1 USAGE
|
||||
|
||||
B<rsnapshot> can be used by any user, but for system-wide backups
|
@ -1,5 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!--maintainer-needed-->
|
||||
<maintainer type="person">
|
||||
<email>Sergiy.Borodych@gmail.com</email>
|
||||
<name>Sergiy Borodych</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A filesystem backup utility based on rsync"
|
||||
HOMEPAGE="http://www.rsnapshot.org"
|
||||
SRC_URI="http://www.rsnapshot.org/downloads/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/perl-5.8.2
|
||||
dev-perl/Lchown
|
||||
>=sys-apps/util-linux-2.12-r4
|
||||
>=sys-apps/coreutils-5.0.91-r4
|
||||
>=net-misc/openssh-3.7.1_p2-r1
|
||||
>=net-misc/rsync-2.6.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-cp_al.patch \
|
||||
"${FILESDIR}"/${P}-perl518.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Change sysconfdir to install the template file as documentation
|
||||
# rather than in /etc.
|
||||
emake install DESTDIR="${D}" \
|
||||
sysconfdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
dodoc README AUTHORS TODO ChangeLog \
|
||||
docs/Upgrading_from_1.1 \
|
||||
docs/HOWTOs/rsnapshot-{Mac,windows}-howto
|
||||
|
||||
docinto utils
|
||||
dodoc utils/{README,rsnaptar,*.sh,*.pl}
|
||||
|
||||
docinto utils/rsnapshotdb
|
||||
dodoc utils/rsnapshotdb/*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The template configuration file has been installed as"
|
||||
elog "/usr/share/doc/${PF}/rsnapshot.conf.default"
|
||||
elog "Copy and edit the the above file as /etc/rsnapshot.conf"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit unpacker
|
||||
|
||||
DESCRIPTION="GnuPG archive keys of the Debian archive"
|
||||
HOMEPAGE="https://packages.debian.org/sid/debian-archive-keyring"
|
||||
SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}_all.deb"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
doins -r .
|
||||
|
||||
# https://bugs.gentoo.org/729142
|
||||
gunzip "${D}"/usr/share/doc/${PN}/changelog.gz || die
|
||||
|
||||
mv "${D}"/usr/share/doc/{${PN},${PF}} || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,11 @@
|
||||
--- a/vlock 2020-06-22 10:03:48.700469805 -0000
|
||||
+++ b/vlock 2020-06-22 10:03:57.880385148 -0000
|
||||
@@ -17,7 +17,7 @@
|
||||
set -e
|
||||
|
||||
# Magic characters to clear the terminal.
|
||||
-CLEAR_SCREEN="`echo -e '\033[H\033[J'`"
|
||||
+CLEAR_SCREEN="`printf '\033[H\033[J'`"
|
||||
|
||||
# Enter message that is common to different the messages.
|
||||
VLOCK_ENTER_PROMPT="Please press [ENTER] to unlock."
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST repoman-2.3.16.tar.bz2 86739 BLAKE2B dc3e3b5e72df751cfacc17e6f5c847160438a4d6f5d86b4dd17ab8a3a69cd0502f2965934c456ea7538f228c40364535e861c489ab2a09a0df14183b111e9a38 SHA512 d0e8bee1e3bd6dd8aecb1278fc7877768552612c4638488b61a9b8856ad9cd7333c7d52f0c334925d90170a1d8af20e9ead6533edbc10cae02baec629dece121
|
||||
DIST repoman-2.3.20.tar.bz2 87313 BLAKE2B cc0ff9b651e01b12202b32d48979f42ffde6e8a7c72095a3f75228a54892bc11c521f015738443133bec223f9ca0faf5687388680ddfd19e07514f873094b0f9 SHA512 edb5564de920156fd89b4df136d86b73401d4d5cf591abc2fbbf97f0ebb7bb43ed17d076560a76a1f3269d19a64c7c52d48540134a9fb86d9fa952d1702e01e2
|
||||
DIST repoman-2.3.21.tar.bz2 87094 BLAKE2B feb972d9585440d2a5ed6800146a1d7027fde4c5e7a70904905837261776b9c09bc9bfc6c4da8248a1420635ad8443b31d7716990e6425db3403c8bb74ddca5d SHA512 537c6f6152134df4cd99321b812a1e02608ef0621e674214789dc79ca6540ff1ddab05d100e2bbc2fd0d85664cd92549fb39f8da3cf6850c1a190a88a95814e5
|
||||
DIST repoman-2.3.22.tar.bz2 87026 BLAKE2B 52262339410b95d47df19e225493075d6e9f763e85b7fa9c982c47ed88b652620d3ab083781c9e4747d8e3659795de7a05163b00339065ce5d84f8babfadc1dd SHA512 8be75f58127452ed162b0f5feac96110b82f7a06fa904c65f6084dff4c542602870cde7fde5cf4108b04142d433c1167dc5bccdf839064dbce2278ea789f77ae
|
||||
DIST repoman-2.3.23.tar.bz2 87108 BLAKE2B c1190433bd8aedf59e1ddf192dd14cca13e3bdae7367decd6bf64a79021f54a63f21ec49d5737b90c46be3894f4d3ff11bf5bd2868c9ebf65e44b4eb3bb4eee0 SHA512 9d01fadc5820501a9bfb9c1b6d9634ecbc14aacdc448bb440d1e37d47f7e4bcdea8269f8ba90e3783d84f31121870a9d7b165f58b78f0d0f0f4e822a25687d1b
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
|
||||
S="${WORKDIR}/${P}/repoman"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/portage-2.3.43[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z {REPLACING_VERSIONS} ]]; then
|
||||
elog ""
|
||||
elog "This release of repoman is from the new portage/repoman split"
|
||||
elog "release code base."
|
||||
elog "This new repoman code base is still being developed. So its API's"
|
||||
elog "are not to be considered stable and are subject to change."
|
||||
elog "The code released has been tested and considered ready for use."
|
||||
elog "This however does not guarantee it to be completely bug free."
|
||||
elog "Please report any bugs you may encounter."
|
||||
elog ""
|
||||
fi
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_REQ_USE='bzip2(+)'
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git"
|
||||
S="${WORKDIR}/${P}/repoman"
|
||||
else
|
||||
SRC_URI="https://dev.gentoo.org/~zmedico/portage/archives/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Repoman is a Quality Assurance tool for Gentoo ebuilds"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/portage-2.3.80[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-3.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# Install sbin scripts to bindir for python-exec linking
|
||||
# they will be relocated in pkg_preinst()
|
||||
distutils-r1_python_install \
|
||||
--system-prefix="${EPREFIX}/usr" \
|
||||
--bindir="$(python_get_scriptdir)" \
|
||||
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
|
||||
--htmldir="${EPREFIX}/usr/share/doc/${PF}/html" \
|
||||
--sbindir="$(python_get_scriptdir)" \
|
||||
--sysconfdir="${EPREFIX}/etc" \
|
||||
"${@}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z {REPLACING_VERSIONS} ]]; then
|
||||
elog ""
|
||||
elog "This release of repoman is from the new portage/repoman split"
|
||||
elog "release code base."
|
||||
elog "This new repoman code base is still being developed. So its API's"
|
||||
elog "are not to be considered stable and are subject to change."
|
||||
elog "The code released has been tested and considered ready for use."
|
||||
elog "This however does not guarantee it to be completely bug free."
|
||||
elog "Please report any bugs you may encounter."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST cherrytree-0.37.0.tar.gz 8888703 BLAKE2B 737c0c247c581086e23e4c3e5fba0b18459788b385078ec8092af8b7352d77c8b273c939f702178d0ae59c8633bf996a7a7e5223e22da703ced3c8bf1d7cbde3 SHA512 a1aaf92657c58c70430a45adaa771050b43476bc2a33dc929b108842d5ef46aa83c4fa4cfe8c4f54a9a3656fc0d30046fae34cbac5aa9fe3f32aa539058636f5
|
||||
DIST cherrytree-0.38.9.tar.gz 9928805 BLAKE2B 4de4187ae7e650090d82de5e8b1b7f85c4af6dbb2c9b2bc67f10b074db4c08c4b4593c4769708bfaf584958eefe083a3626f7e9c4d7736bc53d143528c754e09 SHA512 40c1c26fa1a6868b447d31625c14b10cf712185289cf97b71881c253d2f72c58f51b974a1615fca5b532099c4741c56f8419df2d02e4ca821b2a1b909152e56b
|
||||
DIST cherrytree-0.99.0_p20200523.tar.gz 10452221 BLAKE2B cbac9b5b1c4fc1454d229a56784a59f1622b134d640db720e496cc0f1b4f95ee097343572f33d8b0626903f58ae188e8b85065144fcad8c647732e7eddadd0b9 SHA512 4eb142368bd1d3838879669d5bf1742689b02f08f50edd51a6fa6f22fef83d0f1871147aca3c346e9fcd1193c3f494e112cdc9e10eda4b3124587f605f89cc54
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A hierarchical note taking application"
|
||||
HOMEPAGE="https://www.giuspen.com/cherrytree"
|
||||
SRC_URI="https://github.com/giuspen/cherrytree/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygtksourceview:2[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -r -i \
|
||||
-e '/\bupdate-desktop-database\b/d' \
|
||||
setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
use nls || mydistutilsargs+=( --without-gettext )
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
DISTUTILS_SINGLE_IMPL=true
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="A hierarchical note taking application"
|
||||
HOMEPAGE="https://www.giuspen.com/cherrytree"
|
||||
SRC_URI="https://github.com/giuspen/cherrytree/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pyenchant[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygtk:2[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/pygtksourceview:2[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_MULTI_USEDEP}]
|
||||
')"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}_update_setup_py.patch )
|
||||
|
||||
python_configure_all() {
|
||||
use nls || mydistutilsargs+=( --without-gettext )
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
python_optimize "${D}/usr/share/${PN}/modules"
|
||||
|
||||
dodoc README.md changelog.txt
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
diff -ur a/setup.py b/setup.py
|
||||
--- a/setup.py 2019-08-17 14:23:16.000000000 +0300
|
||||
+++ b/setup.py 2019-11-17 15:33:44.243070851 +0300
|
||||
@@ -195,7 +195,7 @@
|
||||
("share/mime-info", ["linux/cherrytree.mime", "linux/cherrytree.keys"]),
|
||||
("share/application-registry", ["linux/cherrytree.applications"]),
|
||||
("share/metainfo", ["linux/cherrytree.appdata.xml"]),
|
||||
- ("share/man/man1", ["linux/cherrytree.1.gz"])
|
||||
+ ("share/man/man1", ["linux/cherrytree.1"])
|
||||
],
|
||||
cmdclass={
|
||||
'build': BuildData,
|
||||
@@ -205,4 +205,3 @@
|
||||
},
|
||||
distclass=CherryTreeDist
|
||||
)
|
||||
- subprocess.call("update-desktop-database")
|
@ -1,2 +1 @@
|
||||
DIST libspectre-0.2.8.tar.gz 421791 BLAKE2B bbefa06cf80ecb91f0f780493e1829eadc34061b6f2b3004f9ae01e06fc4609edd440df290be9ff1c9f43e580b53791aae033feb4115743a0f03f703bc18e0c7 SHA512 ebbe7f6adcbc7f7d6af61f24e23b114116c878755dbe90f1163546c1284a005b4d539be01986c1f940611e84141ca19768b8effc2abf1013606da7c93547da86
|
||||
DIST libspectre-0.2.9.tar.gz 433384 BLAKE2B ed75a7013763a86c0f0702e0e47dcfb8401db6c957ed4851ecc85e27db6a49c8d4dae6443b302bcce5b0ae0da18dce3294a010eee5531a253020a650c19388c5 SHA512 7c24b5c83c6d356c89417d09dc76566afbe886ec189fe80d030a239c23ad25b061db071768117fa06805aa3d86f749fb232b7491bd7d467f26a40e348e74d5d2
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools eutils ltprune
|
||||
|
||||
DESCRIPTION="A library for rendering Postscript documents"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
|
||||
SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||
IUSE="debug doc static-libs"
|
||||
|
||||
RDEPEND=">=app-text/ghostscript-gpl-8.62"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
# does not actually test anything, see bug 362557
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eapply "${FILESDIR}"/${PN}-0.2.0-interix.patch
|
||||
eautoreconf # need new libtool for interix
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug asserts) \
|
||||
$(use_enable debug checks) \
|
||||
$(use_enable static-libs static) \
|
||||
--disable-test
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use doc && dohtml -r doc/html/*
|
||||
prune_libtool_files
|
||||
}
|
Binary file not shown.
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit python-single-r1 vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: automated tag file generation and syntax highlighting"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/easytags/"
|
||||
SRC_URI="https://github.com/xolox/vim-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-vim/vim-misc
|
||||
dev-util/ctags"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S="${WORKDIR}/vim-${P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-ctags-detection.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm addon-info.json INSTALL.md README.md || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
vim-plugin_src_install
|
||||
|
||||
fperms 755 /usr/share/vim/vimfiles/misc/easytags/{normalize-tags,why-so-slow}.py
|
||||
|
||||
# fix scripts
|
||||
local f
|
||||
for f in $(find "${ED}" -type f -name \*.py); do
|
||||
ebegin "Fixing $(basename ${f})"
|
||||
if [[ $f =~ highlight.py ]]; then
|
||||
sed -e '1 i\#!/usr/bin/env python3' -i "${f}" || die "can't sed patch ${f}"
|
||||
fi
|
||||
2to3 -w -n --no-diffs "${f}" >& /dev/null || die "can't convert ${f} to Python 3"
|
||||
python_fix_shebang -q -f "${f}"
|
||||
eend $?
|
||||
done
|
||||
}
|
@ -1,30 +1,35 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit python-single-r1 vim-plugin
|
||||
inherit vim-plugin python-single-r1
|
||||
|
||||
DESCRIPTION="vim plugin: easy note taking in vim"
|
||||
HOMEPAGE="http://peterodding.com/code/vim/notes/"
|
||||
SRC_URI="https://github.com/xolox/vim-notes/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="amd64 x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-vim/vim-misc-1.17.6"
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
app-vim/vim-misc"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${PN}.txt"
|
||||
|
||||
S=${WORKDIR}/vim-${P}
|
||||
S="${WORKDIR}/vim-${P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# remove unnecessary files
|
||||
rm addon-info.json INSTALL.md README.md || die
|
||||
|
||||
python_fix_shebang .
|
||||
python_fix_shebang "${S}"
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit vim-plugin python-single-r1
|
||||
|
||||
DESCRIPTION="A comprehensive set of tools to view, edit and compile LaTeX documents"
|
||||
HOMEPAGE="http://vim-latex.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
app-editors/vim[python,${PYTHON_SINGLE_USEDEP}]
|
||||
app-editors/gvim[python,${PYTHON_SINGLE_USEDEP}]
|
||||
)
|
||||
virtual/latex-base
|
||||
!app-vim/vimtex"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="latex-suite.txt latex-suite-quickstart.txt latexhelp.txt imaps.txt"
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# remove unused metadata
|
||||
rm vim-latex.metainfo.xml || die
|
||||
|
||||
# don't mess up vim's doc dir with random files
|
||||
mv doc mydoc || die
|
||||
mkdir doc || die
|
||||
mv mydoc/*.txt doc/ || die
|
||||
rm -rf mydoc || die
|
||||
|
||||
# don't install buggy tags scripts, use ctags instead
|
||||
rm latextags ltags || die
|
||||
|
||||
vim-plugin_src_install
|
||||
|
||||
# use executable permissions (bug #352403)
|
||||
fperms a+x /usr/share/vim/vimfiles/ftplugin/latex-suite/outline.py
|
||||
|
||||
python_fix_shebang "${ED}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
vim-plugin_pkg_postinst
|
||||
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
echo
|
||||
elog "To use the vim-latex plugin add:"
|
||||
elog " filetype plugin on"
|
||||
elog ' set grepprg=grep\ -nH\ $*'
|
||||
elog " let g:tex_flavor='latex'"
|
||||
elog "to your ~/.vimrc-file"
|
||||
echo
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST goatee-0.3.0.tar.gz 83679 BLAKE2B 53ccdd9b46024f854c25818158e0e79f70f8494202d1a609a9df0f0c2410aacdd653307d9cd1436a98a7d4e8d8289a10067d2c95448fdbe9229dd9e2196d4f83 SHA512 57c5340ba6aadbd4fd5d328702012e02a5e36c50be7f714bc1f8adedb3270c2174ad3c60d30dd7b93b93b4a3a3e6436ec9e5957561e13046dfde869b71ec2cd6
|
||||
DIST goatee-0.3.1.1.tar.gz 84493 BLAKE2B b3264abcbfa53b4a549fc2339df610a7510c23921e8b6b7c760c0c68b7836d4f6389ccb17d0419277e33a5220b5bb0bf836a2cc0c04511ce20f31f2c95f553d1 SHA512 cc08009476a9f5d670874f3a4417d9c1c942e7c38ad88fe45dccc008585ad9e4d7cc3db61eeb84ebb65ff31cec7ba387a6ab5f27490152796a148b6bca3a47c0
|
||||
DIST goatee-0.3.1.2.tar.gz 84576 BLAKE2B 66eea2e0685279acadba0ae857786bc8bf5eec26d4856745f6a040ac220a824d02e7c9ccf36e38d81ad8a60e90972681f9e2ab2e5f67fa4af267e5f8bb5cc98c SHA512 b8723679823dbb092346f8a6c556c3391888f004d609d6b61c73c9f590901abc5d4024d0ad4063692078637be0171d78e9a91c9436735423d597f310226ee9db
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff --git a/tests/Game/Goatee/CommonTest.hs b/tests/Game/Goatee/CommonTest.hs
|
||||
index bf27662..33e4f24 100644
|
||||
--- a/tests/Game/Goatee/CommonTest.hs
|
||||
+++ b/tests/Game/Goatee/CommonTest.hs
|
||||
@@ -1 +1,2 @@
|
||||
+{-# LANGUAGE FlexibleContexts #-}
|
||||
-- This file is part of Goatee.
|
||||
diff --git a/tests/Game/Goatee/Lib/MonadTest.hs b/tests/Game/Goatee/Lib/MonadTest.hs
|
||||
index c5b505f..bf10f4e 100644
|
||||
--- a/tests/Game/Goatee/Lib/MonadTest.hs
|
||||
+++ b/tests/Game/Goatee/Lib/MonadTest.hs
|
||||
@@ -1 +1,2 @@
|
||||
+{-# LANGUAGE FlexibleContexts #-}
|
||||
-- This file is part of Goatee.
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A monadic take on a 2,500-year-old board game - library"
|
||||
HOMEPAGE="http://khumba.net/projects/goatee"
|
||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
||||
>=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
>=dev-libs/gmp-5:=
|
||||
virtual/libffi:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( >=dev-haskell/hunit-1.2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-ghc-7.10.patch
|
||||
|
||||
cabal_chdeps \
|
||||
'HUnit >= 1.2 && < 1.3' 'HUnit >= 1.2'
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# ebuild generated by hackport 0.5.9999
|
||||
|
||||
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A monadic take on a 2,500-year-old board game - library"
|
||||
HOMEPAGE="http://khumba.net/projects/goatee"
|
||||
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-haskell/mtl-2.1:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
|
||||
>=dev-haskell/parsec-3.1:=[profile?] <dev-haskell/parsec-3.2:=[profile?]
|
||||
>=dev-lang/ghc-7.4.1:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.8
|
||||
test? ( >=dev-haskell/hunit-1.2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cabal_chdeps \
|
||||
'HUnit >= 1.2 && < 1.3' 'HUnit >= 1.2'
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
DIST R-3.4.1.tar.gz 30200109 BLAKE2B 03602e9a48759caee8ce047fa6273df7a54af089de4489e21953c0e3fc7bfdf720d924f1e0167d3dbf65f63ed42ac10dea8b45289b921cda1c0e6d25a0063ebb SHA512 19bd50c87dc001ef947c15c1760f27ac8986ff6b43c6d90d3093ae184e42963027ef06faf31ec57ac9e519af7a35a2f53f8ea23ef75d800ebbd02945cedc4651
|
||||
DIST R-3.6.3.tar.gz 33308185 BLAKE2B f82751e21d3b502132f8f27d4fc47a921fb085a50c3da3b45e08fbbdd1ab3d42e89b4fa6653a570c21176d79f492277b1d0b86c3c9f4da1386d8b6e4771d4d2c SHA512 9b1dc78922e431bd1af81e6e560b10ad04d121718f680fed32db735d561fd40ea6028759976722db11559f1a78fe684119b766f0567128cb2ee5003aa87a0931
|
||||
DIST R-4.0.0.tar.gz 33173947 BLAKE2B 6b67ba5b008f1fd3d5fa3c92805c1e206ece64e821124e3b2d6f72a550ed8084699916b88d41dcc1985b57a286518dcf63d240503aeb2ae7fe31e66c0d30396d SHA512 fa8b684fd0c8a1c9784b8e0e749b34141e513a83d4f3b6792cdf97826264191e7484f6705014974c9268570e717e1a1d39f6a88225fc751189b6f51e1a303163
|
||||
DIST R-4.0.2.tar.gz 33191186 BLAKE2B 2d5b99c17a9df48a36871f18701efacfaa1e6bb89c0e5c6516fc20966547f34f9079dc52ab18ac7816e0fed25d6230076246e83dc648501553fa2d0cad67b8e4 SHA512 b7330613ee9795f54cde3dd9f7509be83d9156fb8577c17179727ee01450db27704249f68bd48e0331e2df09c2d9833d8bb019c4f9ce9ba669df74650ff2e842
|
||||
DIST R-78d6830e28ea90a046da79a9b4f70c39594bb6d6.bash_completion 13596 BLAKE2B 53338e4a1c4f68beb69247216e553dbcac47f660fbf032bfebf7a660e32d2cff5b11ed35411c52de7e1fd6e00bbf5b5ea19369a325fa0a38bd93d63dc3288cbd SHA512 9ccd19bb1b0c18a2f13035ccd6809447429e197e298fb4d1df808ef345d723b42f75a1b91c349f6dbb46e4a82e59ef33e11300c495d79b63d670d0c0f2b16a06
|
||||
|
@ -0,0 +1,19 @@
|
||||
libatomic does not respect --disable-werror
|
||||
|
||||
https://bugs.gentoo.org/475350
|
||||
--- a/libatomic/configure.ac
|
||||
+++ b/libatomic/configure.ac
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
||||
--- a/libatomic/configure
|
||||
+++ b/libatomic/configure
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
@ -0,0 +1,20 @@
|
||||
libgomp does not respect --disable-werror
|
||||
|
||||
https://bugs.gentoo.org/229059
|
||||
http://gcc.gnu.org/PR38436
|
||||
--- a/libgomp/configure.ac
|
||||
+++ b/libgomp/configure.ac
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
||||
--- a/libgomp/configure
|
||||
+++ b/libgomp/configure
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
@ -0,0 +1,19 @@
|
||||
libitm does not respect --disable-werror
|
||||
|
||||
https://bugs.gentoo.org/475350
|
||||
--- a/libitm/configure.ac
|
||||
+++ b/libitm/configure.ac
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
||||
--- a/libitm/configure
|
||||
+++ b/libitm/configure
|
||||
@@ -4282,4 +4282,4 @@ save_CFLAGS="$CFLAGS"
|
||||
# Add -Wall -Werror if we are using GCC.
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- XCFLAGS="$XCFLAGS -Wall -Werror"
|
||||
+ XCFLAGS="$XCFLAGS -Wall"
|
||||
fi
|
@ -0,0 +1,32 @@
|
||||
From 54d87ffe4b34052f159ac5b72b250129ce813b2a Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Jelinek <jakub@redhat.com>
|
||||
Date: Fri, 14 Feb 2020 12:33:27 +0100
|
||||
Subject: [PATCH] backport: re PR sanitizer/92154 (new glibc breaks arm
|
||||
bootstrap due to libsanitizer)
|
||||
|
||||
Backported from mainline
|
||||
2019-10-22 Tamar Christina <tamar.christina@arm.com>
|
||||
|
||||
PR sanitizer/92154
|
||||
* sanitizer_common/sanitizer_platform_limits_posix.cc:
|
||||
Cherry-pick compiler-rt revision r375220.
|
||||
---
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||
@@ -1147,8 +1147,12 @@ CHECK_SIZE_AND_OFFSET(ipc_perm, uid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, gid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
|
||||
-#if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)
|
||||
+#if (!defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)) && \
|
||||
+ !defined(__arm__)
|
||||
/* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */
|
||||
+/* On Arm glibc 2.31 and later provide a different mode field, this field is
|
||||
+ never used by libsanitizer so we can simply ignore this assert for all glibc
|
||||
+ versions. */
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
|
||||
#endif
|
||||
|
||||
--
|
||||
2.25.2
|
||||
|
@ -0,0 +1,59 @@
|
||||
From dbdf86838aaaef76620c00c53096cfe157d5af6e Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Jelinek <jakub@redhat.com>
|
||||
Date: Fri, 14 Feb 2020 12:38:30 +0100
|
||||
Subject: [PATCH] backport: re PR sanitizer/92154 (new glibc breaks arm
|
||||
bootstrap due to libsanitizer)
|
||||
|
||||
Backported from mainline
|
||||
2019-11-26 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR sanitizer/92154
|
||||
* sanitizer_common/sanitizer_platform_limits_posix.h: Cherry-pick
|
||||
llvm-project revision 947f9692440836dcb8d88b74b69dd379d85974ce.
|
||||
* sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise.
|
||||
---
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
|
||||
@@ -1147,12 +1147,9 @@ CHECK_SIZE_AND_OFFSET(ipc_perm, uid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, gid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
|
||||
-#if (!defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)) && \
|
||||
- !defined(__arm__)
|
||||
-/* On aarch64 glibc 2.20 and earlier provided incorrect mode field. */
|
||||
-/* On Arm glibc 2.31 and later provide a different mode field, this field is
|
||||
- never used by libsanitizer so we can simply ignore this assert for all glibc
|
||||
- versions. */
|
||||
+#if !SANITIZER_LINUX || __GLIBC_PREREQ (2, 31)
|
||||
+/* glibc 2.30 and earlier provided 16-bit mode field instead of 32-bit
|
||||
+ on many architectures. */
|
||||
CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
|
||||
#endif
|
||||
|
||||
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
|
||||
@@ -210,20 +210,13 @@ namespace __sanitizer {
|
||||
unsigned long __unused1;
|
||||
unsigned long __unused2;
|
||||
#elif defined(__sparc__)
|
||||
-# if defined(__arch64__)
|
||||
unsigned mode;
|
||||
- unsigned short __pad1;
|
||||
-# else
|
||||
- unsigned short __pad1;
|
||||
- unsigned short mode;
|
||||
unsigned short __pad2;
|
||||
-# endif
|
||||
unsigned short __seq;
|
||||
unsigned long long __unused1;
|
||||
unsigned long long __unused2;
|
||||
#else
|
||||
- unsigned short mode;
|
||||
- unsigned short __pad1;
|
||||
+ unsigned int mode;
|
||||
unsigned short __seq;
|
||||
unsigned short __pad2;
|
||||
#if defined(__x86_64__) && !defined(_LP64)
|
||||
--
|
||||
2.25.2
|
||||
|
@ -0,0 +1,204 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
RESTRICT="splitdebug"
|
||||
|
||||
inherit llvm pax-utils toolchain-funcs
|
||||
|
||||
MY_PV="${PV//_rc/-rc}"
|
||||
MY_CACERT_V="2020-01-01"
|
||||
MY_DSFMT_V="2.2.3"
|
||||
MY_LIBGIT2_V="b3e1a56ebb2b9291e82dc027ba9cbcfc3ead54d3"
|
||||
MY_LIBUV_V="35b1504507a7a4168caae3d78db54d1121b121e1"
|
||||
MY_LIBWHICH_V="81e9723c0273d78493dc8c8ed570f68d9ce7e89e"
|
||||
MY_LLVM_V="8.0.1"
|
||||
MY_PKG_V="49908bffe83790bc7cf3c5d46faf3667f8902ad4"
|
||||
MY_UTF8PROC_V="5c632c57426f2e4246e3b64dd2fd088d3920f9e5"
|
||||
|
||||
DESCRIPTION="High-performance programming language for technical computing"
|
||||
HOMEPAGE="https://julialang.org/"
|
||||
SRC_URI="
|
||||
https://github.com/JuliaLang/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/libuv/tarball/${MY_LIBUV_V} -> ${PN}-libuv-${MY_LIBUV_V}.tar.gz
|
||||
https://api.github.com/repos/JuliaLang/utf8proc/tarball/${MY_UTF8PROC_V} -> ${PN}-utf8proc-${MY_UTF8PROC_V}.tar.gz
|
||||
https://api.github.com/repos/libgit2/libgit2/tarball/${MY_LIBGIT2_V} -> ${PN}-libgit2-${MY_LIBGIT2_V}.tar.gz
|
||||
https://api.github.com/repos/vtjnash/libwhich/tarball/${MY_LIBWHICH_V} -> ${PN}-libwhich-${MY_LIBWHICH_V}.tar.gz
|
||||
https://curl.haxx.se/ca/cacert-${MY_CACERT_V}.pem -> ${PN}-cacert-${MY_CACERT_V}.pem
|
||||
http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-${MY_DSFMT_V}.tar.gz -> ${PN}-dsfmt-${MY_DSFMT_V}.tar.gz
|
||||
https://dev.gentoo.org/~tamiko/distfiles/Pkg-${MY_PKG_V}.tar.gz -> ${PN}-Pkg-${MY_PKG_V}.tar.gz
|
||||
!system-llvm? ( http://releases.llvm.org/${MY_LLVM_V}/llvm-${MY_LLVM_V}.src.tar.xz )
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="system-llvm"
|
||||
|
||||
RDEPEND="
|
||||
system-llvm? ( sys-devel/llvm:9=[llvm_targets_NVPTX(-)] )
|
||||
"
|
||||
LLVM_MAX_SLOT=9
|
||||
|
||||
RDEPEND+="
|
||||
dev-libs/double-conversion:0=
|
||||
dev-libs/gmp:0=
|
||||
>=dev-libs/libpcre2-10.23:0=[jit,unicode]
|
||||
dev-libs/mpfr:0=
|
||||
dev-libs/openspecfun
|
||||
>=net-libs/mbedtls-2.2
|
||||
sci-libs/amd:0=
|
||||
sci-libs/arpack:0=
|
||||
sci-libs/camd:0=
|
||||
sci-libs/ccolamd:0=
|
||||
sci-libs/cholmod:0=
|
||||
sci-libs/colamd:0=
|
||||
sci-libs/fftw:3.0=[threads]
|
||||
sci-libs/openlibm:0=
|
||||
sci-libs/spqr:0=
|
||||
sci-libs/umfpack:0=
|
||||
sci-mathematics/glpk:0=
|
||||
>=sci-visualization/gr-0.50.0-r1
|
||||
>=sys-libs/libunwind-1.1:0=
|
||||
sys-libs/readline:0=
|
||||
sys-libs/zlib:0=
|
||||
>=virtual/blas-3.6
|
||||
virtual/lapack"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/patchelf
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_build_system.patch
|
||||
"${FILESDIR}"/${PN}-1.1.0-fix_llvm_install.patch
|
||||
"${FILESDIR}"/${PN}-1.4.0-no_symlink_llvm.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_setup() {
|
||||
use system-llvm && llvm_pkg_setp
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
tounpack=(${A})
|
||||
# the main source tree, followed by deps
|
||||
unpack "${A/%\ */}"
|
||||
|
||||
mkdir -p "${S}/deps/srccache/"
|
||||
for i in "${tounpack[@]:1}"; do
|
||||
if [[ $i == *Pkg* ]] || [[ $i = *Statistics* ]]; then
|
||||
# Bundled Pkg and Statistics packages go into ./stdlib
|
||||
local tarball="${i#julia-}"
|
||||
cp "${DISTDIR}/${i}" "${S}/stdlib/srccache/${tarball}" || die
|
||||
# and we have to fix up the sha1sum
|
||||
local name="${tarball%-*}"
|
||||
local sha1="${tarball#*-}"
|
||||
sha1="${sha1%.tar*}"
|
||||
einfo "using patched stdlib package \"${name}\""
|
||||
sed -i -e "s/PKG_SHA1 = .*/PKG_SHA1 = ${sha1}/" "${S}/stdlib/${name}.version" || die
|
||||
else
|
||||
cp "${DISTDIR}/${i}" "${S}/deps/srccache/${i#julia-}" || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Sledgehammer:
|
||||
# - prevent fetching of bundled stuff in compile and install phase
|
||||
# - respect CFLAGS
|
||||
# - respect EPREFIX and Gentoo specific paths
|
||||
|
||||
sed -i \
|
||||
-e "s|git submodule|${EPREFIX}/bin/true|g" \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|/usr/include|${EPREFIX}/usr/include|g" \
|
||||
deps/Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|GENTOOCFLAGS|${CFLAGS}|g" \
|
||||
-e "s|GENTOOLIBDIR|$(get_libdir)|" \
|
||||
Make.inc || die
|
||||
|
||||
sed -i \
|
||||
-e "s|,lib)|,$(get_libdir))|g" \
|
||||
-e "s|\$(BUILD)/lib|\$(BUILD)/$(get_libdir)|g" \
|
||||
Makefile || die
|
||||
|
||||
sed -i \
|
||||
-e "s|ar -rcs|$(tc-getAR) -rcs|g" \
|
||||
src/Makefile || die
|
||||
|
||||
# disable doc install starting git fetching
|
||||
sed -i -e 's~install: $(build_depsbindir)/stringreplace $(BUILDROOT)/doc/_build/html/en/index.html~install: $(build_depsbindir)/stringreplace~' Makefile || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# julia does not play well with the system versions of dsfmt, libuv,
|
||||
# and utf8proc
|
||||
|
||||
use system-llvm && ewarn "You have enabled system-llvm. This is unsupported by upstream and may not work."
|
||||
|
||||
# USE_SYSTEM_LIBM=0 implies using external openlibm
|
||||
cat <<-EOF > Make.user
|
||||
USE_BINARYBUILDER:=0
|
||||
USE_SYSTEM_LLVM:=$(usex system-llvm 1 0)
|
||||
USE_SYSTEM_LIBUNWIND:=1
|
||||
USE_SYSTEM_PCRE:=1
|
||||
USE_SYSTEM_LIBM:=0
|
||||
USE_SYSTEM_OPENLIBM:=1
|
||||
USE_SYSTEM_DSFMT:=0
|
||||
USE_SYSTEM_BLAS:=1
|
||||
USE_SYSTEM_LAPACK:=1
|
||||
USE_SYSTEM_GMP:=1
|
||||
USE_SYSTEM_MPFR:=1
|
||||
USE_SYSTEM_SUITESPARSE:=1
|
||||
USE_SYSTEM_LIBUV:=0
|
||||
USE_SYSTEM_UTF8PROC:=0
|
||||
USE_SYSTEM_MBEDTLS:=1
|
||||
USE_SYSTEM_LIBSSH2:=1
|
||||
USE_SYSTEM_CURL:=1
|
||||
USE_SYSTEM_PATCHELF:=1
|
||||
USE_SYSTEM_ZLIB:=1
|
||||
USE_SYSTEM_P7ZIP:=1
|
||||
VERBOSE=1
|
||||
libdir="${EROOT}/usr/$(get_libdir)"
|
||||
EOF
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
# Julia accesses /proc/self/mem on Linux
|
||||
addpredict /proc/self/mem
|
||||
|
||||
emake julia-release \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
pax-mark m "$(file usr/bin/julia-* | awk -F : '/ELF/ {print $1}')"
|
||||
emake
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install \
|
||||
prefix="${EPREFIX}/usr" DESTDIR="${D}" \
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)"
|
||||
|
||||
if ! use system-llvm ; then
|
||||
cp "${S}/usr/lib/libLLVM"-?jl.so "${ED}/usr/$(get_libdir)/julia/" || die
|
||||
fi
|
||||
|
||||
dodoc README.md
|
||||
|
||||
mv "${ED}"/usr/etc/julia "${ED}"/etc || die
|
||||
rmdir "${ED}"/usr/etc || die
|
||||
mv "${ED}"/usr/share/doc/julia/html "${ED}"/usr/share/doc/${PF} || die
|
||||
rmdir "${ED}"/usr/share/doc/julia || die
|
||||
}
|
@ -1 +1,3 @@
|
||||
DIST mozart-1.4.0.20080704-std.tar.gz 1305359 BLAKE2B 1dc665a801f2ab1a87b6256279cf097053865b6d78c8131f15188b5b5e25d4b70c34c8dc590b9c4c708ece9821ba1d46fc62ddec698471ff5c629dfcee171a71 SHA512 5b9d9811d739c3533b7f1fa98757d842b506d58a3fd5d89ee2c1d9c036b3130f152da05b19036c8c1609057e361d71b106a728afea47140ebab3b4fc82441aed
|
||||
DIST mozart-stdlib-2.0.1-gentoo-patchset-0.tar.gz 1237 BLAKE2B c18fbaba2860faed1ab1b53cc9ead90af338da8fc673c08e167463c784e1b31ec9b6edadb1a55cf70d25f545e88fa226ccec313df09f1ecaa16eb619f9242b8d SHA512 84f2c44124901f63ee11706cdd573b2f6a4eb8427d12560be8f0772bb872ca9f5a14ad3f047ce64da8060188f21ccf774b1866ecc439381294822c6d9a41f2eb
|
||||
DIST mozart2-stdlib-2.0.1.tar.gz 1315353 BLAKE2B b2bd25634dc9194af6dc5e23da369515b3a55e0b23bf6d1bf312d0b8eb9f92eee732ea9cf14ebd659e0e296f77c1b1cffa13a74885279bfc5fc0be5d583fd8c3 SHA512 8bb481b00cd9b62aef348dba9e905b3210d1a2fd219cf561d7d243dc0ead135d3ca53378a5945deedfc67ae076ca72008dd098f4a326f00992764123b682f79c
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
MY_PN=mozart2-stdlib
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="The Mozart Standard Library"
|
||||
HOMEPAGE="http://mozart2.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~keri/distfiles/mozart-stdlib/${MY_PN}-${PV}.tar.gz
|
||||
https://dev.gentoo.org/~keri/distfiles/mozart-stdlib/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="Mozart"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-lang/mozart-2.0.1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
BUILD_DIR="${S}/build"
|
||||
CMAKE_USE_DIR="${S}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
eapply "${WORKDIR}"/${PV}
|
||||
fi
|
||||
eapply_user
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils java-pkg-2 java-ant-2
|
||||
|
||||
PATCHSET_VER="0"
|
||||
|
||||
DESCRIPTION="Advanced development platform for intelligent, distributed applications"
|
||||
HOMEPAGE="http://mozart2.org/"
|
||||
SRC_URI="https://github.com/mozart/mozart2/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://dev.gentoo.org/~keri/distfiles/mozart/${P}-gentoo-patchset-${PATCHSET_VER}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="emacs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-libs/boost:=
|
||||
dev-libs/gmp:0
|
||||
dev-lang/tcl:0
|
||||
dev-lang/tk:0
|
||||
emacs? ( >=app-editors/emacs-23.1:* )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-java/ant-core
|
||||
>=virtual/jdk-1.8:=
|
||||
|| (
|
||||
dev-lang/scala
|
||||
dev-lang/scala-bin
|
||||
)
|
||||
test? ( dev-cpp/gtest:= )"
|
||||
|
||||
S="${WORKDIR}/${PN}2-${PV}"
|
||||
BUILD_DIR="${S}/build"
|
||||
CMAKE_USE_DIR="${S}"
|
||||
|
||||
src_prepare() {
|
||||
if [[ -d "${WORKDIR}"/${PV} ]] ; then
|
||||
eapply "${WORKDIR}"/${PV}
|
||||
fi
|
||||
eapply_user
|
||||
|
||||
touch "${S}"/stdlib/CMakeLists.txt
|
||||
touch "${S}"/vm/vm/test/gtest/CMakeLists.txt
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DMOZART_BOOST_USE_STATIC_LIBS=OFF
|
||||
-DEMACS=$(if use emacs; then echo /usr/bin/emacs; fi)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if has_version "dev-lang/scala"; then
|
||||
EANT_GENTOO_CLASSPATH="scala"
|
||||
else
|
||||
EANT_GENTOO_CLASSPATH="scala-bin"
|
||||
fi
|
||||
cd "${S}"/bootcompiler
|
||||
ANT_OPTS="-Xss2M" eant jar
|
||||
|
||||
cd "${S}"
|
||||
cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_compile vmtest platform-test
|
||||
cmake-utils_src_test -V
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
cd "${BUILD_DIR}"
|
||||
dolib.so vm/vm/main/libmozartvm.so
|
||||
dolib.so vm/boostenv/main/libmozartvmboost.so
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use emacs; then
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use emacs; then
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST check-0.14.0.tar.gz 303471 BLAKE2B d602bb56d205eccf06e4177e3f6d3f7270c3a0cba0e1d397480f0409a916ec4118c48340ad6f6a8955ea30d9e22252ff8381a687d000c3f8e62828cf656f1245 SHA512 54ad175c00cf0c73b4386cf6b3d6a404a5da4f57897d099e772f148f410108c44767c3266a940113be73a6861b3f3ee1706c558cc71ec51df99687f19f3a3bb4
|
||||
DIST check-0.15.0.tar.gz 306428 BLAKE2B fea2a169b86248a6657f890469f41cd699dd95efb91e311ccf188548a6c8c28568decf0b5f03b08aed31e14c69d50707b418e1e71c6db7e1b7938ee36aa19cd8 SHA512 efde93977a38520b3b83a9e2f678d07b916fc27e41cf839a663900c4153d645fe4274ec3b7e2dabf475457f909f61734632c97b7257c49f5853fd11d920b0c84
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="https://libcheck.github.io/check/"
|
||||
SRC_URI="https://github.com/libcheck/check/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc subunit test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-apps/texinfo"
|
||||
BDEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
PATCHES=( "${FILESDIR}/check-0.14.0-r2-disable-automagic-dep.patch" )
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Fix wrong libdir, probably caused by multilib
|
||||
sed -i "s|\${libdir}|/usr/$(get_libdir)|g" check.pc.in || die "sed .pc failed."
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test ON OFF)
|
||||
-DCHECK_ENABLE_SUBUNIT=$(usex subunit ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
if use doc && multilib_is_native_abi; then
|
||||
cd "${S}"/doc/ || die "Failed to switch directories."
|
||||
doxygen "." || die "Failed to run doxygen to generate docs."
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
use doc && local HTML_DOCS=( "${S}"/doc/html/. )
|
||||
einstalldocs
|
||||
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
}
|
@ -1,96 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="pcsc-${PN}"
|
||||
MY_PV="${PV/_p/final.SP}"
|
||||
MY_P="${MY_PN}_${MY_PV}"
|
||||
|
||||
inherit autotools flag-o-matic linux-info toolchain-funcs udev
|
||||
|
||||
DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver"
|
||||
HOMEPAGE="https://www.reiner-sct.de/"
|
||||
SRC_URI="https://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.gz"
|
||||
|
||||
KEYWORDS="amd64 x86"
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
IUSE="static-libs threads tools +udev +usb xml"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/pcsc-lite
|
||||
usb? ( virtual/libusb:1 )
|
||||
udev? ( virtual/udev )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P/_/-}"
|
||||
|
||||
CONFIG_CHECK="~USB_SERIAL_CYBERJACK"
|
||||
|
||||
pkg_setup() {
|
||||
# Add workaround for GCC-10,
|
||||
# by defining narrowing as warning like GCC-9 did.
|
||||
append-cxxflags -Wno-narrowing
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-debug
|
||||
--disable-error-on-warning
|
||||
--disable-hal
|
||||
--disable-mac-universal
|
||||
--disable-mac-arches-i386
|
||||
--disable-mac-arches-x86_64
|
||||
--disable-visibility
|
||||
--enable-pcsc
|
||||
--enable-release
|
||||
--enable-warnings
|
||||
--sysconfdir="/etc/cyberjack"
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable threads)
|
||||
$(use_enable udev)
|
||||
$(use_enable usb nonserial)
|
||||
$(use_enable xml xml2)
|
||||
--with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use tools; then
|
||||
# cjBingo can't be compiled, as it's defines stuff, which got dropped
|
||||
cd "${S}"/tools/cjflash && emake
|
||||
cd "${S}"/tools/cjgeldkarte && emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use tools && dobin tools/cjflash/cjflash tools/cjgeldkarte/cjgeldkarte
|
||||
use udev && udev_newrules debian/libifd-cyberjack6.udev 99-${PN}.rules
|
||||
|
||||
dodoc debian/changelog doc/{LIESMICH,README}.{pdf,txt,xml}
|
||||
|
||||
docinto html
|
||||
dodoc doc/{LIESMICH,README}.html
|
||||
|
||||
docinto source
|
||||
dodoc doc/*.c*
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue