parent
83a6748cdb
commit
04ac43b66e
Binary file not shown.
Binary file not shown.
@ -1,22 +0,0 @@
|
|||||||
Fix no-ipv6
|
|
||||||
From https://github.com/brndnmtthws/conky/issues/1033#issue-748414180
|
|
||||||
|
|
||||||
diff '--color=auto' -aur a/src/linux.cc b/src/linux.cc
|
|
||||||
--- a/src/linux.cc 2019-08-12 14:53:54.000000000 -0700
|
|
||||||
+++ b/src/linux.cc 2020-11-22 18:44:04.394329722 -0700
|
|
||||||
@@ -667,6 +667,7 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+#ifdef BUILD_IPV6
|
|
||||||
void update_ipv6_net_stats() {
|
|
||||||
FILE *file;
|
|
||||||
char v6addr[33];
|
|
||||||
@@ -731,6 +732,7 @@
|
|
||||||
|
|
||||||
fclose(file);
|
|
||||||
}
|
|
||||||
+#endif /* BUILD_IPV6 */
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Parses information from /proc/net/dev and stores them in ???
|
|
@ -1,36 +0,0 @@
|
|||||||
From 415c730133476d6652f479242b0638496b5f673b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Steven Xu <stevenxxiu@gmail.com>
|
|
||||||
Date: Tue, 23 Mar 2021 20:12:52 +1100
|
|
||||||
Subject: [PATCH] fix: update `update last_update_time` earlier, so the network
|
|
||||||
speed is correctly displayed, otherwise the speed shown is much lower than
|
|
||||||
the actual speed (resolves #863)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/conky.cc | 7 ++++++-
|
|
||||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/conky.cc b/src/conky.cc
|
|
||||||
index b116b2bed..af5602c5b 100644
|
|
||||||
--- a/src/conky.cc
|
|
||||||
+++ b/src/conky.cc
|
|
||||||
@@ -766,6 +766,12 @@ static void generate_text() {
|
|
||||||
* some info.mem entries */
|
|
||||||
update_stuff();
|
|
||||||
|
|
||||||
+ /* Update `last_update_time` before `generate_text_internal()`, as the latter
|
|
||||||
+ * calls `evaluate()` -> `update_net_stats()`, which needs `last_update_time`
|
|
||||||
+ * to be set correctly. If this is not done, than the network speed being
|
|
||||||
+ * shown will be much lower than the actual speed.*/
|
|
||||||
+ last_update_time = current_update_time;
|
|
||||||
+
|
|
||||||
/* populate the text buffer; generate_text_internal() iterates through
|
|
||||||
* global_root_object (an instance of the text_object struct) and calls
|
|
||||||
* any callbacks that were set on startup by construct_text_object(). */
|
|
||||||
@@ -822,7 +828,6 @@ static void generate_text() {
|
|
||||||
if (next_update_time < time || next_update_time > time + ui) {
|
|
||||||
next_update_time = time - fmod(time, ui) + ui;
|
|
||||||
}
|
|
||||||
- last_update_time = current_update_time;
|
|
||||||
total_updates++;
|
|
||||||
}
|
|
||||||
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST clamav-0.103.4.tar.gz 16425023 BLAKE2B beca05941ce462bd98473a5ac72b36e63afeef5dea3e591fd8c9426c2077e550139b198ea7d0d12ac2be311d18c0170b94255c07df3e9a0defd3646ba4879bc7 SHA512 422a8cb98d355be098b0a0c575e4f08cf964e992d10ee02e7600eb9db6dfa943efbd988489f268e81e4d2ef29cfe582b236688ea209d6d2e46467f3c08eb475e
|
|
||||||
DIST clamav-0.103.5.tar.gz 16434316 BLAKE2B c5a21b72419a8cd731656d8a8bbc79c5850895f1d8cc56cb5d19eabe2356a5dfcf88e7dc9553071a24b2719bae07cf1a941da3dbed69da8ac4ae3b8897ab32fe SHA512 242423b507eacbbd31dbae6dd0325dff87da25bb8072f2cee7a5e7cab4b8eb5ee6196c759570c1d75986a2777f0f79f92cfbd6250a30ae5b53390c75b238c29a
|
DIST clamav-0.103.5.tar.gz 16434316 BLAKE2B c5a21b72419a8cd731656d8a8bbc79c5850895f1d8cc56cb5d19eabe2356a5dfcf88e7dc9553071a24b2719bae07cf1a941da3dbed69da8ac4ae3b8897ab32fe SHA512 242423b507eacbbd31dbae6dd0325dff87da25bb8072f2cee7a5e7cab4b8eb5ee6196c759570c1d75986a2777f0f79f92cfbd6250a30ae5b53390c75b238c29a
|
||||||
DIST clamav-0.104.2.tar.gz 11950409 BLAKE2B 7d7eb9d22ca519f7ad0c171b6cab4b59cb52787a897ab31b9567166be2223f9ea89e79f42f1e4e0caf32fcb4b008f5ce755fa136566f85fe1de7808b436f80fa SHA512 8c89a05dec6650677125177434cc49ec2298701525508cdda52358e8f98086d80892287f6267f8b7fda0aef2ca361616cb584c3059f3b066bfde65f7f1ba2df5
|
DIST clamav-0.104.2.tar.gz 11950409 BLAKE2B 7d7eb9d22ca519f7ad0c171b6cab4b59cb52787a897ab31b9567166be2223f9ea89e79f42f1e4e0caf32fcb4b008f5ce755fa136566f85fe1de7808b436f80fa SHA512 8c89a05dec6650677125177434cc49ec2298701525508cdda52358e8f98086d80892287f6267f8b7fda0aef2ca361616cb584c3059f3b066bfde65f7f1ba2df5
|
||||||
|
@ -1,239 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools flag-o-matic systemd tmpfiles
|
|
||||||
|
|
||||||
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 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE="bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml"
|
|
||||||
|
|
||||||
REQUIRED_USE="libclamav-only? ( !clamonacc !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 )
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
|
||||||
xml? ( dev-libs/libxml2 )"
|
|
||||||
|
|
||||||
# We need at least autoconf-2.69-r5 because that's the first (patched)
|
|
||||||
# version of it in Gentoo that supports ./configure --runstatedir.
|
|
||||||
BDEPEND=">=sys-devel/autoconf-2.69-r5
|
|
||||||
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.102.1-libxml2_pkgconfig.patch" #661328
|
|
||||||
"${FILESDIR}/${PN}-0.102.2-fix-curl-detection.patch" #709616
|
|
||||||
"${FILESDIR}/${PN}-0.103.0-system-tomsfastmath.patch" # 649394
|
|
||||||
"${FILESDIR}/${PN}-0.103.1-upstream-openrc.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
# 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 clamonacc)
|
|
||||||
$(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
|
|
||||||
--enable-openrc
|
|
||||||
--runstatedir=/run
|
|
||||||
)
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rm -rf "${ED}"/var/lib/clamav || die
|
|
||||||
|
|
||||||
if ! use libclamav-only ; then
|
|
||||||
if use systemd; then
|
|
||||||
# The tmpfiles entry is behind USE=systemd because the
|
|
||||||
# upstream OpenRC service files should (and do) ensure that
|
|
||||||
# the directories they need exist and have the correct
|
|
||||||
# permissions without the help of opentmpfiles. There are
|
|
||||||
# years-old root exploits in opentmpfiles, the design is
|
|
||||||
# fundamentally flawed, and the maintainer is not up to
|
|
||||||
# the task of fixing it.
|
|
||||||
dotmpfiles "${FILESDIR}/tmpfiles.d/clamav.conf"
|
|
||||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
|
||||||
systemd_dounit "${FILESDIR}/clamd.service"
|
|
||||||
systemd_newunit "${FILESDIR}/freshclamd.service-r1" \
|
|
||||||
"freshclamd.service"
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
newins "${FILESDIR}/clamd.logrotate" clamd
|
|
||||||
newins "${FILESDIR}/freshclam.logrotate" freshclam
|
|
||||||
use milter && \
|
|
||||||
newins "${FILESDIR}/clamav-milter.logrotate-r1" clamav-milter
|
|
||||||
|
|
||||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(LocalSocket .*\)/\1/" \
|
|
||||||
-e "s/^#\(User .*\)/\1/" \
|
|
||||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
|
||||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
|
||||||
-e "s/^#\(DatabaseDirectory .*\)/\1/" \
|
|
||||||
"${ED}"/etc/clamd.conf.sample || die
|
|
||||||
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(DatabaseOwner .*\)/\1/" \
|
|
||||||
-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/^#\(DatabaseDirectory .*\)/\1/" \
|
|
||||||
"${ED}"/etc/freshclam.conf.sample || die
|
|
||||||
|
|
||||||
if use milter ; then
|
|
||||||
# Note: only keep the "unix" ClamdSocket and MilterSocket!
|
|
||||||
sed -i -e "s:^\(Example\):\# \1:" \
|
|
||||||
-e "s/^#\(PidFile .*\)/\1/" \
|
|
||||||
-e "s/^#\(ClamdSocket unix:.*\)/\1/" \
|
|
||||||
-e "s/^#\(User .*\)/\1/" \
|
|
||||||
-e "s/^#\(MilterSocket unix:.*\)/\1/" \
|
|
||||||
-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 libclamav-only ; then
|
|
||||||
if use systemd ; then
|
|
||||||
tmpfiles_process clamav.conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
ewarn "This version of ClamAV provides separate OpenRC services"
|
|
||||||
ewarn "for clamd, freshclam, clamav-milter, and clamonacc. The"
|
|
||||||
ewarn "clamd service now starts only the clamd daemon itself. You"
|
|
||||||
ewarn "should add freshclam (and perhaps clamav-milter) to any"
|
|
||||||
ewarn "runlevels that previously contained clamd."
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST khal-0.10.1.tar.gz 173636 BLAKE2B 97158bc78dfbda3a3555df3588c61f6a5e8b20d71921099a74ba997eb7ccef05ed931e930afbb09f9c125f3e0e782143dd2cdf4d0da6bd09952765b9117d6ac4 SHA512 5b81a60099c201fa112ab17740b73edb17b29efa1548086766d57d9d595451e7d779aad5a2ce7a2afc78050116782ff6696c4bd284021a5e12c87fe361d15e47
|
DIST khal-0.10.4.tar.gz 185736 BLAKE2B 0cb9deb793f577bbcedcbba4788988973ee9d0ab71fdd30a01142a54434767d74b1d10e5bfa5f6a2feb9f18a8a9fe22717d4a38a07ab5e30b331c87b79a79f39 SHA512 b32f1bfe5d3a3976278726a6570eb345a5ad44f63a52b75f045fd0509d145edd5b76e11a10acffd9c3982edc124f93daec34a37c39299c2311796c0314016eb6
|
||||||
DIST khal-0.10.2.tar.gz 182534 BLAKE2B 0c7c4ab1234ebe90ef9ad8291f2a0087a3f6a60d25f5426445eedadb25f236b3598dacc051e959a108ad472efc56628bf7ba11ed714c885d956f1a8f905029ca SHA512 e15449b73175190f02b6fe5774a8feef8a5390966da3836624c94a044d146cc6e8a73985d991042fbb617f736c6759ded387a65292529e71f5b2f34bc80a686e
|
|
||||||
|
@ -0,0 +1,10 @@
|
|||||||
|
--- a/khal/ui/__init__.py 2022-02-02 16:30:20.507169060 +0100
|
||||||
|
+++ b/khal/ui/__init__.py 2022-02-02 16:30:46.497378047 +0100
|
||||||
|
@@ -1109,6 +1109,7 @@
|
||||||
|
account, href, etag = part.split('\n', 2)
|
||||||
|
event = self.collection.get_event(href, account)
|
||||||
|
event.delete_instance(rec_id)
|
||||||
|
+ event.etag = etag
|
||||||
|
self.collection.update(event)
|
||||||
|
|
||||||
|
def keypress(self, size, key):
|
@ -1,41 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_8 )
|
|
||||||
PYTHON_REQ_USE="sqlite"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A CalDAV based calendar"
|
|
||||||
HOMEPAGE="http://lostpackets.de/khal/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/click-log-0.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/icalendar-4.0.3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/urwid[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyxdg[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
||||||
dev-python/configobj[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/atomicwrites-0.1.7[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/tzlocal-3[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setproctitle[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND=">dev-python/setuptools_scm-1.12.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/vdirsyncer[${PYTHON_USEDEP}]
|
|
||||||
dev-python/freezegun[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.rst README.rst khal.conf.sample )
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
|
|
||||||
insinto /usr/share/zsh/site-functions
|
|
||||||
doins misc/__khal
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,2 @@
|
|||||||
DIST sqlite-doc-3350500.zip 10205830 BLAKE2B e078713786522f8da7984df6ddf62671c24ec5381cac88fe976c97fcdf4800cff8dc1a595df9c9010c687c9929cb5ab070957f8ccbc0b5e8bd7add88ae9a0514 SHA512 2da5357623f4db7003f46ec7ea8bdd8a794ad6e1be9a25a8ebccfe5222da43eabc32d9d17acfd7766aa4cf1fd010e476a8087fab78ac6f6596c7c5b8a06de685
|
|
||||||
DIST sqlite-doc-3370000.zip 6094848 BLAKE2B 7008936db7a744ace0e8ce10b7b3386d6075589fa1c178449c1065592f3a90f3325eed2d978e946e1766685814ad84ab39a20bcd1b94ea4cf2afb1a5952ec82b SHA512 37a764ba98d855a726998754605b501cdc887e02edbc75c19eab01916cea9659cf3bbf4baa120e3de2fbe298d00dd6ff1a09966f3a69b39f67c23baa94a67f01
|
|
||||||
DIST sqlite-doc-3370200.zip 10542395 BLAKE2B 129ae0bac8099eb2571cc31ded186ed6c166c1b31af493047608ffb63ac7a90ccbaa5df733661c92660d2436bab6e3796f92e42ac8bb4154ff15212afc74b9b0 SHA512 02c68a3906aee3fd05a4340549144032a239e5ab885d9b3b09236ed2b74a90c770de373e4ca9f99e72f92df090d0fb6789213fb361e954d9dd6709af20336857
|
DIST sqlite-doc-3370200.zip 10542395 BLAKE2B 129ae0bac8099eb2571cc31ded186ed6c166c1b31af493047608ffb63ac7a90ccbaa5df733661c92660d2436bab6e3796f92e42ac8bb4154ff15212afc74b9b0 SHA512 02c68a3906aee3fd05a4340549144032a239e5ab885d9b3b09236ed2b74a90c770de373e4ca9f99e72f92df090d0fb6789213fb361e954d9dd6709af20336857
|
||||||
DIST sqlite-src-3350500.zip 12819198 BLAKE2B 0f0d39cd663d78a3c698df62dd533019c32244e8c998e625354cb069f5839cc374476b825e2e2a6408916301333a9954c0c7b9cbab5493522fdffe8859f9b6a5 SHA512 f9afd11b3c42a8241f91e2ecafc3928e7391cc0f1fbee236b8122c2d3ca922d0c82d2605968b131351b6c5e38f983f8eed29b86c94cfa72799e2387b3b3db561
|
|
||||||
DIST sqlite-src-3370000.zip 13141152 BLAKE2B 72e3ba37dcc1e10ab822ce080319c98e67aae5092946fb32c0da02bf3fd50e043c0e35b807270f2f20aee5fd53ecdf125113571f807f2facf1d9033f5e84d7a6 SHA512 5a3c358c42782bc248a0795ca78a10d834861f98ab0a021a05d8358ba1716f3febb3da29ded187dfd205902f77bbf284ed3207aabe4979b68b90d0557d1676f7
|
|
||||||
DIST sqlite-src-3370200.zip 13145234 BLAKE2B 296eb8ac0e83552c348847ea1d0b06ce1b610ca1f53d8b56fa872196ccdc29c343a3b5cc671716854950c97425f8a5b78968e1b22c137ea1ff3bf386e94d8acc SHA512 2db103965934bb34c8336cf82ff7d77e75dc1ca00fa6324ac5697f3bf4b41bffff355dec7593515a68816449e5c9827a9503f6d7841c4c13981c231d3414ff76
|
DIST sqlite-src-3370200.zip 13145234 BLAKE2B 296eb8ac0e83552c348847ea1d0b06ce1b610ca1f53d8b56fa872196ccdc29c343a3b5cc671716854950c97425f8a5b78968e1b22c137ea1ff3bf386e94d8acc SHA512 2db103965934bb34c8336cf82ff7d77e75dc1ca00fa6324ac5697f3bf4b41bffff355dec7593515a68816449e5c9827a9503f6d7841c4c13981c231d3414ff76
|
||||||
|
@ -1,375 +0,0 @@
|
|||||||
Add initialization functions for internal usage in libsqlite3.so.
|
|
||||||
|
|
||||||
SQLite revision: acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b
|
|
||||||
|
|
||||||
--- /ext/misc/amatch.c
|
|
||||||
+++ /ext/misc/amatch.c
|
|
||||||
@@ -1480,9 +1480,18 @@
|
|
||||||
|
|
||||||
#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
|
|
||||||
+int sqlite3AmatchInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
+ rc = sqlite3_create_module(db, "approximate_match", &amatchModule, 0);
|
|
||||||
+#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
/*
|
|
||||||
** Register the amatch virtual table
|
|
||||||
*/
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -1491,11 +1500,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Not used */
|
|
||||||
-#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
- rc = sqlite3_create_module(db, "approximate_match", &amatchModule, 0);
|
|
||||||
-#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3AmatchInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/carray.c
|
|
||||||
+++ /ext/misc/carray.c
|
|
||||||
@@ -498,16 +498,8 @@
|
|
||||||
|
|
||||||
#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_carray_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3CarrayInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
rc = sqlite3_create_module(db, "carray", &carrayModule, 0);
|
|
||||||
#ifdef SQLITE_TEST
|
|
||||||
@@ -519,3 +511,18 @@
|
|
||||||
#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_carray_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3CarrayInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/completion.c
|
|
||||||
+++ /ext/misc/completion.c
|
|
||||||
@@ -483,12 +483,13 @@
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
int sqlite3_completion_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
@@ -499,3 +500,4 @@
|
|
||||||
#endif
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/csv.c
|
|
||||||
+++ /ext/misc/csv.c
|
|
||||||
@@ -928,6 +928,22 @@
|
|
||||||
#endif /* !defined(SQLITE_OMIT_VIRTUALTABLE) */
|
|
||||||
|
|
||||||
|
|
||||||
+int sqlite3CsvInit(sqlite3 *db){
|
|
||||||
+#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
+ int rc;
|
|
||||||
+ rc = sqlite3_create_module(db, "csv", &CsvModule, 0);
|
|
||||||
+#ifdef SQLITE_TEST
|
|
||||||
+ if( rc==SQLITE_OK ){
|
|
||||||
+ rc = sqlite3_create_module(db, "csv_wr", &CsvModuleFauxWrite, 0);
|
|
||||||
+ }
|
|
||||||
+#endif
|
|
||||||
+ return rc;
|
|
||||||
+#else
|
|
||||||
+ return SQLITE_OK;
|
|
||||||
+#endif
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -941,17 +957,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
-#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
- int rc;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- rc = sqlite3_create_module(db, "csv", &CsvModule, 0);
|
|
||||||
-#ifdef SQLITE_TEST
|
|
||||||
- if( rc==SQLITE_OK ){
|
|
||||||
- rc = sqlite3_create_module(db, "csv_wr", &CsvModuleFauxWrite, 0);
|
|
||||||
- }
|
|
||||||
-#endif
|
|
||||||
- return rc;
|
|
||||||
-#else
|
|
||||||
- return SQLITE_OK;
|
|
||||||
-#endif
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3CsvInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/dbdata.c
|
|
||||||
+++ /ext/misc/dbdata.c
|
|
||||||
@@ -803,7 +803,7 @@
|
|
||||||
/*
|
|
||||||
** Invoke this routine to register the "sqlite_dbdata" virtual table module
|
|
||||||
*/
|
|
||||||
-static int sqlite3DbdataRegister(sqlite3 *db){
|
|
||||||
+int sqlite3DbdataRegister(sqlite3 *db){
|
|
||||||
static sqlite3_module dbdata_module = {
|
|
||||||
0, /* iVersion */
|
|
||||||
0, /* xCreate */
|
|
||||||
@@ -838,6 +838,7 @@
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -849,3 +850,4 @@
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
return sqlite3DbdataRegister(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/decimal.c
|
|
||||||
+++ /ext/misc/decimal.c
|
|
||||||
@@ -590,14 +590,7 @@
|
|
||||||
decimal_free(pB);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_decimal_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3DecimalInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
static const struct {
|
|
||||||
const char *zFuncName;
|
|
||||||
@@ -611,10 +604,6 @@
|
|
||||||
{ "decimal_mul", 2, decimalMulFunc },
|
|
||||||
};
|
|
||||||
unsigned int i;
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
-
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
-
|
|
||||||
for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
|
|
||||||
rc = sqlite3_create_function(db, aFunc[i].zFuncName, aFunc[i].nArg,
|
|
||||||
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
|
|
||||||
@@ -632,3 +621,20 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_decimal_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+
|
|
||||||
+ return sqlite3DecimalInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/eval.c
|
|
||||||
+++ /ext/misc/eval.c
|
|
||||||
@@ -102,6 +102,20 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
+int sqlite3EvalInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+ rc = sqlite3_create_function(db, "eval", 1,
|
|
||||||
+ SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
+ sqlEvalFunc, 0, 0);
|
|
||||||
+ if( rc==SQLITE_OK ){
|
|
||||||
+ rc = sqlite3_create_function(db, "eval", 2,
|
|
||||||
+ SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
+ sqlEvalFunc, 0, 0);
|
|
||||||
+ }
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -110,16 +124,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- rc = sqlite3_create_function(db, "eval", 1,
|
|
||||||
- SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
- sqlEvalFunc, 0, 0);
|
|
||||||
- if( rc==SQLITE_OK ){
|
|
||||||
- rc = sqlite3_create_function(db, "eval", 2,
|
|
||||||
- SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
- sqlEvalFunc, 0, 0);
|
|
||||||
- }
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3EvalInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/fileio.c
|
|
||||||
+++ /ext/misc/fileio.c
|
|
||||||
@@ -340,7 +340,7 @@
|
|
||||||
** This function does the work for the writefile() UDF. Refer to
|
|
||||||
** header comments at the top of this file for details.
|
|
||||||
*/
|
|
||||||
-static int writeFile(
|
|
||||||
+static int writeFileContents(
|
|
||||||
sqlite3_context *pCtx, /* Context to return bytes written in */
|
|
||||||
const char *zFile, /* File to write */
|
|
||||||
sqlite3_value *pData, /* Data to write */
|
|
||||||
@@ -480,10 +480,10 @@
|
|
||||||
mtime = sqlite3_value_int64(argv[3]);
|
|
||||||
}
|
|
||||||
|
|
||||||
- res = writeFile(context, zFile, argv[1], mode, mtime);
|
|
||||||
+ res = writeFileContents(context, zFile, argv[1], mode, mtime);
|
|
||||||
if( res==1 && errno==ENOENT ){
|
|
||||||
if( makeDirectory(zFile)==SQLITE_OK ){
|
|
||||||
- res = writeFile(context, zFile, argv[1], mode, mtime);
|
|
||||||
+ res = writeFileContents(context, zFile, argv[1], mode, mtime);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -970,18 +970,9 @@
|
|
||||||
# define fsdirRegister(x) SQLITE_OK
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_fileio_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3FileioInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
- rc = sqlite3_create_function(db, "readfile", 1,
|
|
||||||
+ rc = sqlite3_create_function(db, "readfile", 1,
|
|
||||||
SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
readfileFunc, 0, 0);
|
|
||||||
if( rc==SQLITE_OK ){
|
|
||||||
@@ -998,3 +989,18 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_fileio_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3FileioInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/ieee754.c
|
|
||||||
+++ /ext/misc/ieee754.c
|
|
||||||
@@ -253,14 +253,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_ieee_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3IeeeInit(sqlite3 *db){
|
|
||||||
static const struct {
|
|
||||||
char *zFName;
|
|
||||||
int nArg;
|
|
||||||
@@ -277,13 +270,26 @@
|
|
||||||
};
|
|
||||||
unsigned int i;
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
for(i=0; i<sizeof(aFunc)/sizeof(aFunc[0]) && rc==SQLITE_OK; i++){
|
|
||||||
- rc = sqlite3_create_function(db, aFunc[i].zFName, aFunc[i].nArg,
|
|
||||||
+ rc = sqlite3_create_function(db, aFunc[i].zFName, aFunc[i].nArg,
|
|
||||||
SQLITE_UTF8|SQLITE_INNOCUOUS,
|
|
||||||
(void*)&aFunc[i].iAux,
|
|
||||||
aFunc[i].xFunc, 0, 0);
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_ieee_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3IeeeInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
@ -1,500 +0,0 @@
|
|||||||
Add initialization functions for internal usage in libsqlite3.so.
|
|
||||||
|
|
||||||
SQLite revision: acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b
|
|
||||||
|
|
||||||
--- /ext/misc/nextchar.c
|
|
||||||
+++ /ext/misc/nextchar.c
|
|
||||||
@@ -286,17 +286,8 @@
|
|
||||||
sqlite3_free(c.aResult);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_nextchar_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3NextcharInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
rc = sqlite3_create_function(db, "next_char", 3,
|
|
||||||
SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
nextCharFunc, 0, 0);
|
|
||||||
@@ -312,3 +303,18 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_nextchar_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3NextcharInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/percentile.c
|
|
||||||
+++ /ext/misc/percentile.c
|
|
||||||
@@ -202,6 +202,15 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
+int sqlite3PercentileInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+ rc = sqlite3_create_function(db, "percentile", 2,
|
|
||||||
+ SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
+ 0, percentStep, percentFinal);
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -210,11 +219,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- rc = sqlite3_create_function(db, "percentile", 2,
|
|
||||||
- SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
- 0, percentStep, percentFinal);
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3PercentileInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/regexp.c
|
|
||||||
+++ /ext/misc/regexp.c
|
|
||||||
@@ -740,10 +740,18 @@
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
+int sqlite3RegexpInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+ rc = sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8|SQLITE_INNOCUOUS,
|
|
||||||
+ 0, re_sql_func, 0, 0);
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
/*
|
|
||||||
** Invoke this routine to register the regexp() function with the
|
|
||||||
** SQLite database connection.
|
|
||||||
*/
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -752,9 +760,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- rc = sqlite3_create_function(db, "regexp", 2, SQLITE_UTF8|SQLITE_INNOCUOUS,
|
|
||||||
- 0, re_sql_func, 0, 0);
|
|
||||||
- return rc;
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3RegexpInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/series.c
|
|
||||||
+++ /ext/misc/series.c
|
|
||||||
@@ -423,6 +423,15 @@
|
|
||||||
|
|
||||||
#endif /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
|
|
||||||
+int sqlite3SeriesInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
+ rc = sqlite3_create_module(db, "generate_series", &seriesModule, 0);
|
|
||||||
+#endif
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -431,7 +440,6 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
#ifndef SQLITE_OMIT_VIRTUALTABLE
|
|
||||||
if( sqlite3_libversion_number()<3008012 ){
|
|
||||||
@@ -439,7 +447,7 @@
|
|
||||||
"generate_series() requires SQLite 3.8.12 or later");
|
|
||||||
return SQLITE_ERROR;
|
|
||||||
}
|
|
||||||
- rc = sqlite3_create_module(db, "generate_series", &seriesModule, 0);
|
|
||||||
#endif
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3SeriesInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/sha1.c
|
|
||||||
+++ /ext/misc/sha1.c
|
|
||||||
@@ -175,7 +175,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compute a string using sqlite3_vsnprintf() and hash it */
|
|
||||||
-static void hash_step_vformat(
|
|
||||||
+static void sha1_hash_step_vformat(
|
|
||||||
SHA1Context *p, /* Add content to this context */
|
|
||||||
const char *zFormat,
|
|
||||||
...
|
|
||||||
@@ -306,7 +306,7 @@
|
|
||||||
nCol = sqlite3_column_count(pStmt);
|
|
||||||
z = sqlite3_sql(pStmt);
|
|
||||||
n = (int)strlen(z);
|
|
||||||
- hash_step_vformat(&cx,"S%d:",n);
|
|
||||||
+ sha1_hash_step_vformat(&cx,"S%d:",n);
|
|
||||||
hash_step(&cx,(unsigned char*)z,n);
|
|
||||||
|
|
||||||
/* Compute a hash over the result of the query */
|
|
||||||
@@ -349,14 +349,14 @@
|
|
||||||
case SQLITE_TEXT: {
|
|
||||||
int n2 = sqlite3_column_bytes(pStmt, i);
|
|
||||||
const unsigned char *z2 = sqlite3_column_text(pStmt, i);
|
|
||||||
- hash_step_vformat(&cx,"T%d:",n2);
|
|
||||||
+ sha1_hash_step_vformat(&cx,"T%d:",n2);
|
|
||||||
hash_step(&cx, z2, n2);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case SQLITE_BLOB: {
|
|
||||||
int n2 = sqlite3_column_bytes(pStmt, i);
|
|
||||||
const unsigned char *z2 = sqlite3_column_blob(pStmt, i);
|
|
||||||
- hash_step_vformat(&cx,"B%d:",n2);
|
|
||||||
+ sha1_hash_step_vformat(&cx,"B%d:",n2);
|
|
||||||
hash_step(&cx, z2, n2);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
@@ -370,6 +370,20 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
+int sqlite3ShaInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+ rc = sqlite3_create_function(db, "sha1", 1,
|
|
||||||
+ SQLITE_UTF8 | SQLITE_INNOCUOUS | SQLITE_DETERMINISTIC,
|
|
||||||
+ 0, sha1Func, 0, 0);
|
|
||||||
+ if( rc==SQLITE_OK ){
|
|
||||||
+ rc = sqlite3_create_function(db, "sha1_query", 1,
|
|
||||||
+ SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
+ sha1QueryFunc, 0, 0);
|
|
||||||
+ }
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -378,16 +392,8 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- rc = sqlite3_create_function(db, "sha1", 1,
|
|
||||||
- SQLITE_UTF8 | SQLITE_INNOCUOUS | SQLITE_DETERMINISTIC,
|
|
||||||
- 0, sha1Func, 0, 0);
|
|
||||||
- if( rc==SQLITE_OK ){
|
|
||||||
- rc = sqlite3_create_function(db, "sha1_query", 1,
|
|
||||||
- SQLITE_UTF8|SQLITE_DIRECTONLY, 0,
|
|
||||||
- sha1QueryFunc, 0, 0);
|
|
||||||
- }
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3ShaInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/shathree.c
|
|
||||||
+++ /ext/misc/shathree.c
|
|
||||||
@@ -530,7 +530,7 @@
|
|
||||||
/* Compute a string using sqlite3_vsnprintf() with a maximum length
|
|
||||||
** of 50 bytes and add it to the hash.
|
|
||||||
*/
|
|
||||||
-static void hash_step_vformat(
|
|
||||||
+static void sha3_hash_step_vformat(
|
|
||||||
SHA3Context *p, /* Add content to this context */
|
|
||||||
const char *zFormat,
|
|
||||||
...
|
|
||||||
@@ -626,7 +626,7 @@
|
|
||||||
z = sqlite3_sql(pStmt);
|
|
||||||
if( z ){
|
|
||||||
n = (int)strlen(z);
|
|
||||||
- hash_step_vformat(&cx,"S%d:",n);
|
|
||||||
+ sha3_hash_step_vformat(&cx,"S%d:",n);
|
|
||||||
SHA3Update(&cx,(unsigned char*)z,n);
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -670,14 +670,14 @@
|
|
||||||
case SQLITE_TEXT: {
|
|
||||||
int n2 = sqlite3_column_bytes(pStmt, i);
|
|
||||||
const unsigned char *z2 = sqlite3_column_text(pStmt, i);
|
|
||||||
- hash_step_vformat(&cx,"T%d:",n2);
|
|
||||||
+ sha3_hash_step_vformat(&cx,"T%d:",n2);
|
|
||||||
SHA3Update(&cx, z2, n2);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
case SQLITE_BLOB: {
|
|
||||||
int n2 = sqlite3_column_bytes(pStmt, i);
|
|
||||||
const unsigned char *z2 = sqlite3_column_blob(pStmt, i);
|
|
||||||
- hash_step_vformat(&cx,"B%d:",n2);
|
|
||||||
+ sha3_hash_step_vformat(&cx,"B%d:",n2);
|
|
||||||
SHA3Update(&cx, z2, n2);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
@@ -690,17 +690,8 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_shathree_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3ShathreeInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
rc = sqlite3_create_function(db, "sha3", 1,
|
|
||||||
SQLITE_UTF8 | SQLITE_INNOCUOUS | SQLITE_DETERMINISTIC,
|
|
||||||
0, sha3Func, 0, 0);
|
|
||||||
@@ -721,3 +712,18 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_shathree_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3ShathreeInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/sqlar.c
|
|
||||||
+++ /ext/misc/sqlar.c
|
|
||||||
@@ -14,6 +14,8 @@
|
|
||||||
** for working with sqlar archives and used by the shell tool's built-in
|
|
||||||
** sqlar support.
|
|
||||||
*/
|
|
||||||
+#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
+
|
|
||||||
#include "sqlite3ext.h"
|
|
||||||
SQLITE_EXTENSION_INIT1
|
|
||||||
#include <zlib.h>
|
|
||||||
@@ -101,6 +103,20 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
+int sqlite3SqlarInit(sqlite3 *db){
|
|
||||||
+ int rc = SQLITE_OK;
|
|
||||||
+ rc = sqlite3_create_function(db, "sqlar_compress", 1,
|
|
||||||
+ SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
+ sqlarCompressFunc, 0, 0);
|
|
||||||
+ if( rc==SQLITE_OK ){
|
|
||||||
+ rc = sqlite3_create_function(db, "sqlar_uncompress", 2,
|
|
||||||
+ SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
+ sqlarUncompressFunc, 0, 0);
|
|
||||||
+ }
|
|
||||||
+ return rc;
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -109,16 +125,10 @@
|
|
||||||
char **pzErrMsg,
|
|
||||||
const sqlite3_api_routines *pApi
|
|
||||||
){
|
|
||||||
- int rc = SQLITE_OK;
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- rc = sqlite3_create_function(db, "sqlar_compress", 1,
|
|
||||||
- SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
- sqlarCompressFunc, 0, 0);
|
|
||||||
- if( rc==SQLITE_OK ){
|
|
||||||
- rc = sqlite3_create_function(db, "sqlar_uncompress", 2,
|
|
||||||
- SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
- sqlarUncompressFunc, 0, 0);
|
|
||||||
- }
|
|
||||||
- return rc;
|
|
||||||
+ return sqlite3SqlarInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
+
|
|
||||||
+#endif /* SQLITE_HAVE_ZLIB */
|
|
||||||
--- /ext/misc/totype.c
|
|
||||||
+++ /ext/misc/totype.c
|
|
||||||
@@ -491,17 +491,8 @@
|
|
||||||
#pragma warning(default: 4748)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_totype_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3TotypeInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
rc = sqlite3_create_function(db, "tointeger", 1,
|
|
||||||
SQLITE_UTF8 | SQLITE_DETERMINISTIC | SQLITE_INNOCUOUS, 0,
|
|
||||||
tointegerFunc, 0, 0);
|
|
||||||
@@ -512,3 +503,18 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_totype_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3TotypeInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/uint.c
|
|
||||||
+++ /ext/misc/uint.c
|
|
||||||
@@ -78,6 +78,11 @@
|
|
||||||
return (nKey1 - i) - (nKey2 - j);
|
|
||||||
}
|
|
||||||
|
|
||||||
+int sqlite3UintInit(sqlite3 *db){
|
|
||||||
+ return sqlite3_create_collation(db, "UINT", SQLITE_UTF8, 0, uintCollFunc);
|
|
||||||
+}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -88,5 +93,6 @@
|
|
||||||
){
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- return sqlite3_create_collation(db, "uint", SQLITE_UTF8, 0, uintCollFunc);
|
|
||||||
+ return sqlite3UintInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/uuid.c
|
|
||||||
+++ /ext/misc/uuid.c
|
|
||||||
@@ -206,21 +206,12 @@
|
|
||||||
sqlite3_result_blob(context, pBlob, 16, SQLITE_TRANSIENT);
|
|
||||||
}
|
|
||||||
|
|
||||||
-#ifdef _WIN32
|
|
||||||
-__declspec(dllexport)
|
|
||||||
-#endif
|
|
||||||
-int sqlite3_uuid_init(
|
|
||||||
- sqlite3 *db,
|
|
||||||
- char **pzErrMsg,
|
|
||||||
- const sqlite3_api_routines *pApi
|
|
||||||
-){
|
|
||||||
+int sqlite3UuidInit(sqlite3 *db){
|
|
||||||
int rc = SQLITE_OK;
|
|
||||||
- SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
- (void)pzErrMsg; /* Unused parameter */
|
|
||||||
rc = sqlite3_create_function(db, "uuid", 0, SQLITE_UTF8|SQLITE_INNOCUOUS, 0,
|
|
||||||
sqlite3UuidFunc, 0, 0);
|
|
||||||
if( rc==SQLITE_OK ){
|
|
||||||
- rc = sqlite3_create_function(db, "uuid_str", 1,
|
|
||||||
+ rc = sqlite3_create_function(db, "uuid_str", 1,
|
|
||||||
SQLITE_UTF8|SQLITE_INNOCUOUS|SQLITE_DETERMINISTIC,
|
|
||||||
0, sqlite3UuidStrFunc, 0, 0);
|
|
||||||
}
|
|
||||||
@@ -231,3 +222,18 @@
|
|
||||||
}
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
+#ifdef _WIN32
|
|
||||||
+__declspec(dllexport)
|
|
||||||
+#endif
|
|
||||||
+int sqlite3_uuid_init(
|
|
||||||
+ sqlite3 *db,
|
|
||||||
+ char **pzErrMsg,
|
|
||||||
+ const sqlite3_api_routines *pApi
|
|
||||||
+){
|
|
||||||
+ SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
+ (void)pzErrMsg; /* Unused parameter */
|
|
||||||
+ return sqlite3UuidInit(db);
|
|
||||||
+}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
--- /ext/misc/zipfile.c
|
|
||||||
+++ /ext/misc/zipfile.c
|
|
||||||
@@ -24,6 +24,8 @@
|
|
||||||
** * No support for zip64 extensions
|
|
||||||
** * Only the "inflate/deflate" (zlib) compression method is supported
|
|
||||||
*/
|
|
||||||
+#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
+
|
|
||||||
#include "sqlite3ext.h"
|
|
||||||
SQLITE_EXTENSION_INIT1
|
|
||||||
#include <stdio.h>
|
|
||||||
@@ -2139,7 +2141,7 @@
|
|
||||||
/*
|
|
||||||
** Register the "zipfile" virtual table.
|
|
||||||
*/
|
|
||||||
-static int zipfileRegister(sqlite3 *db){
|
|
||||||
+int sqlite3ZipfileInit(sqlite3 *db){
|
|
||||||
static sqlite3_module zipfileModule = {
|
|
||||||
1, /* iVersion */
|
|
||||||
zipfileConnect, /* xCreate */
|
|
||||||
@@ -2173,9 +2175,10 @@
|
|
||||||
return rc;
|
|
||||||
}
|
|
||||||
#else /* SQLITE_OMIT_VIRTUALTABLE */
|
|
||||||
-# define zipfileRegister(x) SQLITE_OK
|
|
||||||
+# define sqlite3ZipfileInit(x) SQLITE_OK
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#if !defined(SQLITE_CORE) || defined(SQLITE_TEST)
|
|
||||||
#ifdef _WIN32
|
|
||||||
__declspec(dllexport)
|
|
||||||
#endif
|
|
||||||
@@ -2186,5 +2189,8 @@
|
|
||||||
){
|
|
||||||
SQLITE_EXTENSION_INIT2(pApi);
|
|
||||||
(void)pzErrMsg; /* Unused parameter */
|
|
||||||
- return zipfileRegister(db);
|
|
||||||
+ return sqlite3ZipfileInit(db);
|
|
||||||
}
|
|
||||||
+#endif /* !defined(SQLITE_CORE) || defined(SQLITE_TEST) */
|
|
||||||
+
|
|
||||||
+#endif /* SQLITE_HAVE_ZLIB */
|
|
@ -1,292 +0,0 @@
|
|||||||
Move some code to libsqlite3.so to avoid duplication.
|
|
||||||
Link executables against libsqlite3.so.
|
|
||||||
Increase timeout for fuzzcheck.
|
|
||||||
Update list of optionally available functions.
|
|
||||||
Fix building with dlopen() not available.
|
|
||||||
|
|
||||||
SQLite revision: acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b
|
|
||||||
|
|
||||||
--- /Makefile.in
|
|
||||||
+++ /Makefile.in
|
|
||||||
@@ -313,6 +313,9 @@
|
|
||||||
# Source code for extensions
|
|
||||||
#
|
|
||||||
SRC += \
|
|
||||||
+ $(TOP)/ext/expert/sqlite3expert.c \
|
|
||||||
+ $(TOP)/ext/expert/sqlite3expert.h
|
|
||||||
+SRC += \
|
|
||||||
$(TOP)/ext/fts1/fts1.c \
|
|
||||||
$(TOP)/ext/fts1/fts1.h \
|
|
||||||
$(TOP)/ext/fts1/fts1_hash.c \
|
|
||||||
@@ -365,8 +368,29 @@
|
|
||||||
$(TOP)/ext/rbu/sqlite3rbu.h \
|
|
||||||
$(TOP)/ext/rbu/sqlite3rbu.c
|
|
||||||
SRC += \
|
|
||||||
+ $(TOP)/ext/misc/amatch.c \
|
|
||||||
+ $(TOP)/ext/misc/appendvfs.c \
|
|
||||||
+ $(TOP)/ext/misc/carray.c \
|
|
||||||
+ $(TOP)/ext/misc/completion.c \
|
|
||||||
+ $(TOP)/ext/misc/csv.c \
|
|
||||||
+ $(TOP)/ext/misc/dbdata.c \
|
|
||||||
+ $(TOP)/ext/misc/decimal.c \
|
|
||||||
+ $(TOP)/ext/misc/eval.c \
|
|
||||||
+ $(TOP)/ext/misc/fileio.c \
|
|
||||||
+ $(TOP)/ext/misc/ieee754.c \
|
|
||||||
$(TOP)/ext/misc/json1.c \
|
|
||||||
- $(TOP)/ext/misc/stmt.c
|
|
||||||
+ $(TOP)/ext/misc/nextchar.c \
|
|
||||||
+ $(TOP)/ext/misc/percentile.c \
|
|
||||||
+ $(TOP)/ext/misc/regexp.c \
|
|
||||||
+ $(TOP)/ext/misc/series.c \
|
|
||||||
+ $(TOP)/ext/misc/sha1.c \
|
|
||||||
+ $(TOP)/ext/misc/shathree.c \
|
|
||||||
+ $(TOP)/ext/misc/sqlar.c \
|
|
||||||
+ $(TOP)/ext/misc/stmt.c \
|
|
||||||
+ $(TOP)/ext/misc/totype.c \
|
|
||||||
+ $(TOP)/ext/misc/uint.c \
|
|
||||||
+ $(TOP)/ext/misc/uuid.c \
|
|
||||||
+ $(TOP)/ext/misc/zipfile.c
|
|
||||||
|
|
||||||
# Generated source code files
|
|
||||||
#
|
|
||||||
@@ -437,36 +461,21 @@
|
|
||||||
# Statically linked extensions
|
|
||||||
#
|
|
||||||
TESTSRC += \
|
|
||||||
- $(TOP)/ext/expert/sqlite3expert.c \
|
|
||||||
$(TOP)/ext/expert/test_expert.c \
|
|
||||||
- $(TOP)/ext/misc/amatch.c \
|
|
||||||
- $(TOP)/ext/misc/appendvfs.c \
|
|
||||||
- $(TOP)/ext/misc/carray.c \
|
|
||||||
$(TOP)/ext/misc/cksumvfs.c \
|
|
||||||
$(TOP)/ext/misc/closure.c \
|
|
||||||
- $(TOP)/ext/misc/csv.c \
|
|
||||||
- $(TOP)/ext/misc/decimal.c \
|
|
||||||
- $(TOP)/ext/misc/eval.c \
|
|
||||||
$(TOP)/ext/misc/explain.c \
|
|
||||||
- $(TOP)/ext/misc/fileio.c \
|
|
||||||
$(TOP)/ext/misc/fuzzer.c \
|
|
||||||
$(TOP)/ext/fts5/fts5_tcl.c \
|
|
||||||
$(TOP)/ext/fts5/fts5_test_mi.c \
|
|
||||||
$(TOP)/ext/fts5/fts5_test_tok.c \
|
|
||||||
- $(TOP)/ext/misc/ieee754.c \
|
|
||||||
$(TOP)/ext/misc/mmapwarm.c \
|
|
||||||
- $(TOP)/ext/misc/nextchar.c \
|
|
||||||
$(TOP)/ext/misc/normalize.c \
|
|
||||||
- $(TOP)/ext/misc/percentile.c \
|
|
||||||
$(TOP)/ext/misc/prefixes.c \
|
|
||||||
- $(TOP)/ext/misc/regexp.c \
|
|
||||||
$(TOP)/ext/misc/remember.c \
|
|
||||||
- $(TOP)/ext/misc/series.c \
|
|
||||||
$(TOP)/ext/misc/spellfix.c \
|
|
||||||
- $(TOP)/ext/misc/totype.c \
|
|
||||||
$(TOP)/ext/misc/unionvtab.c \
|
|
||||||
$(TOP)/ext/misc/wholenumber.c \
|
|
||||||
- $(TOP)/ext/misc/zipfile.c \
|
|
||||||
$(TOP)/ext/userauth/userauth.c
|
|
||||||
|
|
||||||
# Source code to the library files needed by the test fixture
|
|
||||||
@@ -648,25 +657,25 @@
|
|
||||||
|
|
||||||
libtclsqlite3.la: tclsqlite.lo libsqlite3.la
|
|
||||||
$(LTLINK) -no-undefined -o $@ tclsqlite.lo \
|
|
||||||
- libsqlite3.la @TCL_STUB_LIB_SPEC@ $(TLIBS) \
|
|
||||||
+ libsqlite3.la @TCL_STUB_LIB_SPEC@ \
|
|
||||||
-rpath "$(TCLLIBDIR)" \
|
|
||||||
-version-info "8:6:8" \
|
|
||||||
-avoid-version
|
|
||||||
|
|
||||||
-sqlite3$(TEXE): shell.c sqlite3.c
|
|
||||||
- $(LTLINK) $(READLINE_FLAGS) $(SHELL_OPT) -o $@ \
|
|
||||||
- shell.c sqlite3.c \
|
|
||||||
- $(LIBREADLINE) $(TLIBS) -rpath "$(libdir)"
|
|
||||||
+sqlite3$(TEXE): shell.c libsqlite3.la
|
|
||||||
+ $(LTLINK) $(READLINE_FLAGS) -o $@ \
|
|
||||||
+ shell.c libsqlite3.la \
|
|
||||||
+ $(LIBREADLINE)
|
|
||||||
|
|
||||||
-sqldiff$(TEXE): $(TOP)/tool/sqldiff.c sqlite3.lo sqlite3.h
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c sqlite3.lo $(TLIBS)
|
|
||||||
+sqldiff$(TEXE): $(TOP)/tool/sqldiff.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/sqldiff.c libsqlite3.la
|
|
||||||
|
|
||||||
-dbhash$(TEXE): $(TOP)/tool/dbhash.c sqlite3.lo sqlite3.h
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/dbhash.c sqlite3.lo $(TLIBS)
|
|
||||||
+dbhash$(TEXE): $(TOP)/tool/dbhash.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/dbhash.c libsqlite3.la
|
|
||||||
|
|
||||||
-scrub$(TEXE): $(TOP)/ext/misc/scrub.c sqlite3.lo
|
|
||||||
+scrub$(TEXE): $(TOP)/ext/misc/scrub.c libsqlite3.la
|
|
||||||
$(LTLINK) -o $@ -I. -DSCRUB_STANDALONE \
|
|
||||||
- $(TOP)/ext/misc/scrub.c sqlite3.lo $(TLIBS)
|
|
||||||
+ $(TOP)/ext/misc/scrub.c libsqlite3.la
|
|
||||||
|
|
||||||
srcck1$(BEXE): $(TOP)/tool/srcck1.c
|
|
||||||
$(BCC) -o srcck1$(BEXE) $(TOP)/tool/srcck1.c
|
|
||||||
@@ -777,7 +786,7 @@
|
|
||||||
# Rule to build the amalgamation
|
|
||||||
#
|
|
||||||
sqlite3.lo: sqlite3.c
|
|
||||||
- $(LTCOMPILE) $(TEMP_STORE) -c sqlite3.c
|
|
||||||
+ $(LTCOMPILE) $(SHELL_OPT) $(TEMP_STORE) -c sqlite3.c
|
|
||||||
|
|
||||||
# Rules to build the LEMON compiler generator
|
|
||||||
#
|
|
||||||
@@ -1083,18 +1092,6 @@
|
|
||||||
# Source files that go into making shell.c
|
|
||||||
SHELL_SRC = \
|
|
||||||
$(TOP)/src/shell.c.in \
|
|
||||||
- $(TOP)/ext/misc/appendvfs.c \
|
|
||||||
- $(TOP)/ext/misc/completion.c \
|
|
||||||
- $(TOP)/ext/misc/decimal.c \
|
|
||||||
- $(TOP)/ext/misc/fileio.c \
|
|
||||||
- $(TOP)/ext/misc/ieee754.c \
|
|
||||||
- $(TOP)/ext/misc/series.c \
|
|
||||||
- $(TOP)/ext/misc/shathree.c \
|
|
||||||
- $(TOP)/ext/misc/sqlar.c \
|
|
||||||
- $(TOP)/ext/misc/uint.c \
|
|
||||||
- $(TOP)/ext/expert/sqlite3expert.c \
|
|
||||||
- $(TOP)/ext/expert/sqlite3expert.h \
|
|
||||||
- $(TOP)/ext/misc/zipfile.c \
|
|
||||||
$(TOP)/ext/misc/memtrace.c \
|
|
||||||
$(TOP)/src/test_windirent.c
|
|
||||||
|
|
||||||
@@ -1264,11 +1261,11 @@
|
|
||||||
|
|
||||||
# Fuzz testing
|
|
||||||
fuzztest: fuzzcheck$(TEXE) $(FUZZDATA) sessionfuzz$(TEXE) $(TOP)/test/sessionfuzz-data1.db
|
|
||||||
- ./fuzzcheck$(TEXE) $(FUZZDATA)
|
|
||||||
+ ./fuzzcheck$(TEXE) --timeout 3600 $(FUZZDATA)
|
|
||||||
./sessionfuzz$(TEXE) run $(TOP)/test/sessionfuzz-data1.db
|
|
||||||
|
|
||||||
valgrindfuzz: fuzzcheck$(TEXT) $(FUZZDATA) sessionfuzz$(TEXE) $(TOP)/test/sessionfuzz-data1.db
|
|
||||||
- valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M $(FUZZDATA)
|
|
||||||
+ valgrind ./fuzzcheck$(TEXE) --cell-size-check --limit-mem 10M --timeout 3600 $(FUZZDATA)
|
|
||||||
valgrind ./sessionfuzz$(TEXE) run $(TOP)/test/sessionfuzz-data1.db
|
|
||||||
|
|
||||||
# The veryquick.test TCL tests.
|
|
||||||
@@ -1302,24 +1299,23 @@
|
|
||||||
shelltest: $(TESTPROGS)
|
|
||||||
./testfixture$(TEXT) $(TOP)/test/permutations.test shell
|
|
||||||
|
|
||||||
-sqlite3_analyzer.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in
|
|
||||||
+sqlite3_analyzer.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/spaceanal.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in
|
|
||||||
$(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqlite3_analyzer.c.in >sqlite3_analyzer.c
|
|
||||||
|
|
||||||
-sqlite3_analyzer$(TEXE): sqlite3_analyzer.c
|
|
||||||
- $(LTLINK) sqlite3_analyzer.c -o $@ $(LIBTCL) $(TLIBS)
|
|
||||||
+sqlite3_analyzer$(TEXE): sqlite3_analyzer.c libsqlite3.la
|
|
||||||
+ $(LTLINK) sqlite3_analyzer.c -o $@ libsqlite3.la $(LIBTCL)
|
|
||||||
|
|
||||||
-sqltclsh.c: sqlite3.c $(TOP)/src/tclsqlite.c $(TOP)/tool/sqltclsh.tcl $(TOP)/ext/misc/appendvfs.c $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in
|
|
||||||
+sqltclsh.c: $(TOP)/src/tclsqlite.c $(TOP)/tool/sqltclsh.tcl $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in
|
|
||||||
$(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/tool/sqltclsh.c.in >sqltclsh.c
|
|
||||||
|
|
||||||
-sqltclsh$(TEXE): sqltclsh.c
|
|
||||||
- $(LTLINK) sqltclsh.c -o $@ $(LIBTCL) $(TLIBS)
|
|
||||||
+sqltclsh$(TEXE): sqltclsh.c libsqlite3.la
|
|
||||||
+ $(LTLINK) sqltclsh.c -o $@ libsqlite3.la $(LIBTCL)
|
|
||||||
|
|
||||||
-sqlite3_expert$(TEXE): $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c $(TOP)/ext/expert/expert.c sqlite3.c
|
|
||||||
- $(LTLINK) $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/sqlite3expert.c $(TOP)/ext/expert/expert.c sqlite3.c -o sqlite3_expert $(TLIBS)
|
|
||||||
+sqlite3_expert$(TEXE): $(TOP)/ext/expert/sqlite3expert.h $(TOP)/ext/expert/expert.c libsqlite3.la
|
|
||||||
+ $(LTLINK) $(TOP)/ext/expert/expert.c -o sqlite3_expert libsqlite3.la
|
|
||||||
|
|
||||||
CHECKER_DEPS =\
|
|
||||||
$(TOP)/tool/mkccode.tcl \
|
|
||||||
- sqlite3.c \
|
|
||||||
$(TOP)/src/tclsqlite.c \
|
|
||||||
$(TOP)/ext/repair/sqlite3_checker.tcl \
|
|
||||||
$(TOP)/ext/repair/checkindex.c \
|
|
||||||
@@ -1330,36 +1326,36 @@
|
|
||||||
sqlite3_checker.c: $(CHECKER_DEPS)
|
|
||||||
$(TCLSH_CMD) $(TOP)/tool/mkccode.tcl $(TOP)/ext/repair/sqlite3_checker.c.in >$@
|
|
||||||
|
|
||||||
-sqlite3_checker$(TEXE): sqlite3_checker.c
|
|
||||||
- $(LTLINK) sqlite3_checker.c -o $@ $(LIBTCL) $(TLIBS)
|
|
||||||
+sqlite3_checker$(TEXE): sqlite3_checker.c libsqlite3.la
|
|
||||||
+ $(LTLINK) sqlite3_checker.c -o $@ libsqlite3.la $(LIBTCL)
|
|
||||||
|
|
||||||
-dbdump$(TEXE): $(TOP)/ext/misc/dbdump.c sqlite3.lo
|
|
||||||
+dbdump$(TEXE): $(TOP)/ext/misc/dbdump.c libsqlite3.la
|
|
||||||
$(LTLINK) -DDBDUMP_STANDALONE -o $@ \
|
|
||||||
- $(TOP)/ext/misc/dbdump.c sqlite3.lo $(TLIBS)
|
|
||||||
+ $(TOP)/ext/misc/dbdump.c libsqlite3.la
|
|
||||||
|
|
||||||
-dbtotxt$(TEXE): $(TOP)/tool/dbtotxt.c
|
|
||||||
- $(LTLINK)-o $@ $(TOP)/tool/dbtotxt.c
|
|
||||||
+dbtotxt$(TEXE): $(TOP)/tool/dbtotxt.c
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/dbtotxt.c
|
|
||||||
|
|
||||||
-showdb$(TEXE): $(TOP)/tool/showdb.c sqlite3.lo
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/showdb.c sqlite3.lo $(TLIBS)
|
|
||||||
+showdb$(TEXE): $(TOP)/tool/showdb.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/showdb.c libsqlite3.la
|
|
||||||
|
|
||||||
-showstat4$(TEXE): $(TOP)/tool/showstat4.c sqlite3.lo
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/showstat4.c sqlite3.lo $(TLIBS)
|
|
||||||
+showstat4$(TEXE): $(TOP)/tool/showstat4.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/showstat4.c libsqlite3.la
|
|
||||||
|
|
||||||
-showjournal$(TEXE): $(TOP)/tool/showjournal.c sqlite3.lo
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/showjournal.c sqlite3.lo $(TLIBS)
|
|
||||||
+showjournal$(TEXE): $(TOP)/tool/showjournal.c
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/showjournal.c
|
|
||||||
|
|
||||||
-showwal$(TEXE): $(TOP)/tool/showwal.c sqlite3.lo
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/tool/showwal.c sqlite3.lo $(TLIBS)
|
|
||||||
+showwal$(TEXE): $(TOP)/tool/showwal.c
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/showwal.c
|
|
||||||
|
|
||||||
showshm$(TEXE): $(TOP)/tool/showshm.c
|
|
||||||
$(LTLINK) -o $@ $(TOP)/tool/showshm.c
|
|
||||||
|
|
||||||
-index_usage$(TEXE): $(TOP)/tool/index_usage.c sqlite3.lo
|
|
||||||
- $(LTLINK) $(SHELL_OPT) -o $@ $(TOP)/tool/index_usage.c sqlite3.lo $(TLIBS)
|
|
||||||
+index_usage$(TEXE): $(TOP)/tool/index_usage.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/tool/index_usage.c libsqlite3.la
|
|
||||||
|
|
||||||
-changeset$(TEXE): $(TOP)/ext/session/changeset.c sqlite3.lo
|
|
||||||
- $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c sqlite3.lo $(TLIBS)
|
|
||||||
+changeset$(TEXE): $(TOP)/ext/session/changeset.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -o $@ $(TOP)/ext/session/changeset.c libsqlite3.la
|
|
||||||
|
|
||||||
changesetfuzz$(TEXE): $(TOP)/ext/session/changesetfuzz.c sqlite3.lo
|
|
||||||
$(LTLINK) -o $@ $(TOP)/ext/session/changesetfuzz.c sqlite3.lo $(TLIBS)
|
|
||||||
@@ -1387,11 +1383,11 @@
|
|
||||||
kvtest$(TEXE): $(TOP)/test/kvtest.c sqlite3.c
|
|
||||||
$(LTLINK) $(KV_OPT) -o $@ $(TOP)/test/kvtest.c sqlite3.c $(TLIBS)
|
|
||||||
|
|
||||||
-rbu$(EXE): $(TOP)/ext/rbu/rbu.c $(TOP)/ext/rbu/sqlite3rbu.c sqlite3.lo
|
|
||||||
- $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c sqlite3.lo $(TLIBS)
|
|
||||||
+rbu$(EXE): $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
|
||||||
+ $(LTLINK) -I. -o $@ $(TOP)/ext/rbu/rbu.c libsqlite3.la
|
|
||||||
|
|
||||||
-loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
|
|
||||||
- $(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@ $(TLIBS)
|
|
||||||
+loadfts$(EXE): $(TOP)/tool/loadfts.c libsqlite3.la
|
|
||||||
+ $(LTLINK) $(TOP)/tool/loadfts.c libsqlite3.la -o $@
|
|
||||||
|
|
||||||
# This target will fail if the SQLite amalgamation contains any exported
|
|
||||||
# symbols that do not begin with "sqlite3_". It is run as part of the
|
|
||||||
--- /configure.ac
|
|
||||||
+++ /configure.ac
|
|
||||||
@@ -108,7 +108,7 @@
|
|
||||||
#########
|
|
||||||
# Figure out whether or not we have these functions
|
|
||||||
#
|
|
||||||
-AC_CHECK_FUNCS([fdatasync gmtime_r isnan localtime_r localtime_s malloc_usable_size strchrnul usleep utime pread pread64 pwrite pwrite64])
|
|
||||||
+AC_CHECK_FUNCS([fdatasync fullfsync gmtime_r isnan localtime_r localtime_s malloc_usable_size posix_fallocate pread pread64 pwrite pwrite64 strchrnul usleep utime])
|
|
||||||
|
|
||||||
#########
|
|
||||||
# By default, we use the amalgamation (this may be changed below...)
|
|
||||||
@@ -587,6 +587,9 @@
|
|
||||||
if test "${enable_load_extension}" = "yes" ; then
|
|
||||||
OPT_FEATURE_FLAGS=""
|
|
||||||
AC_SEARCH_LIBS(dlopen, dl)
|
|
||||||
+ if test "${ac_cv_search_dlopen}" = "no" ; then
|
|
||||||
+ OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
|
||||||
+ fi
|
|
||||||
else
|
|
||||||
OPT_FEATURE_FLAGS="-DSQLITE_OMIT_LOAD_EXTENSION=1"
|
|
||||||
fi
|
|
@ -1,441 +0,0 @@
|
|||||||
Move some code to libsqlite3.so to avoid duplication.
|
|
||||||
Initialize some extensions in libsqlite3.so.
|
|
||||||
Update test suite.
|
|
||||||
|
|
||||||
SQLite revision: acd63062eb06748bfe9e4886639e4f2b54ea6a496a83f10716abbaba4115500b
|
|
||||||
|
|
||||||
--- /ext/repair/sqlite3_checker.c.in
|
|
||||||
+++ /ext/repair/sqlite3_checker.c.in
|
|
||||||
@@ -2,6 +2,7 @@
|
|
||||||
** Read an SQLite database file and analyze its space utilization. Generate
|
|
||||||
** text on standard output.
|
|
||||||
*/
|
|
||||||
+#define SQLITE_CORE 1
|
|
||||||
#define TCLSH_INIT_PROC sqlite3_checker_init_proc
|
|
||||||
#define SQLITE_ENABLE_DBPAGE_VTAB 1
|
|
||||||
#define SQLITE_ENABLE_JSON1 1
|
|
||||||
@@ -14,7 +15,7 @@
|
|
||||||
#define SQLITE_OMIT_SHARED_CACHE 1
|
|
||||||
#define SQLITE_DEFAULT_MEMSTATUS 0
|
|
||||||
#define SQLITE_MAX_EXPR_DEPTH 0
|
|
||||||
-INCLUDE sqlite3.c
|
|
||||||
+#include "sqlite3.h"
|
|
||||||
INCLUDE $ROOT/src/tclsqlite.c
|
|
||||||
INCLUDE $ROOT/ext/misc/btreeinfo.c
|
|
||||||
INCLUDE $ROOT/ext/repair/checkindex.c
|
|
||||||
--- /src/main.c
|
|
||||||
+++ /src/main.c
|
|
||||||
@@ -50,12 +50,36 @@
|
|
||||||
#ifdef SQLITE_ENABLE_FTS5
|
|
||||||
int sqlite3Fts5Init(sqlite3*);
|
|
||||||
#endif
|
|
||||||
+#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
|
|
||||||
+int sqlite3DbdataRegister(sqlite3*);
|
|
||||||
+#endif
|
|
||||||
#ifdef SQLITE_ENABLE_JSON1
|
|
||||||
int sqlite3Json1Init(sqlite3*);
|
|
||||||
#endif
|
|
||||||
#ifdef SQLITE_ENABLE_STMTVTAB
|
|
||||||
int sqlite3StmtVtabInit(sqlite3*);
|
|
||||||
#endif
|
|
||||||
+int sqlite3AmatchInit(sqlite3*);
|
|
||||||
+int sqlite3CarrayInit(sqlite3*);
|
|
||||||
+int sqlite3CompletionVtabInit(sqlite3*);
|
|
||||||
+int sqlite3CsvInit(sqlite3*);
|
|
||||||
+int sqlite3DecimalInit(sqlite3*);
|
|
||||||
+int sqlite3EvalInit(sqlite3*);
|
|
||||||
+int sqlite3FileioInit(sqlite3*);
|
|
||||||
+int sqlite3IeeeInit(sqlite3*);
|
|
||||||
+int sqlite3NextcharInit(sqlite3*);
|
|
||||||
+int sqlite3PercentileInit(sqlite3*);
|
|
||||||
+int sqlite3RegexpInit(sqlite3*);
|
|
||||||
+int sqlite3SeriesInit(sqlite3*);
|
|
||||||
+int sqlite3ShaInit(sqlite3*);
|
|
||||||
+int sqlite3ShathreeInit(sqlite3*);
|
|
||||||
+int sqlite3TotypeInit(sqlite3*);
|
|
||||||
+int sqlite3UintInit(sqlite3*);
|
|
||||||
+int sqlite3UuidInit(sqlite3*);
|
|
||||||
+#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_HAVE_ZLIB)
|
|
||||||
+int sqlite3ZipfileInit(sqlite3*);
|
|
||||||
+int sqlite3SqlarInit(sqlite3*);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
/*
|
|
||||||
** An array of pointers to extension initializer functions for
|
|
||||||
@@ -83,6 +107,9 @@
|
|
||||||
#ifdef SQLITE_ENABLE_DBPAGE_VTAB
|
|
||||||
sqlite3DbpageRegister,
|
|
||||||
#endif
|
|
||||||
+#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
|
|
||||||
+ sqlite3DbdataRegister,
|
|
||||||
+#endif
|
|
||||||
#ifdef SQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
sqlite3DbstatRegister,
|
|
||||||
#endif
|
|
||||||
@@ -96,6 +123,27 @@
|
|
||||||
#ifdef SQLITE_ENABLE_BYTECODE_VTAB
|
|
||||||
sqlite3VdbeBytecodeVtabInit,
|
|
||||||
#endif
|
|
||||||
+ sqlite3AmatchInit,
|
|
||||||
+ sqlite3CarrayInit,
|
|
||||||
+ sqlite3CompletionVtabInit,
|
|
||||||
+ sqlite3CsvInit,
|
|
||||||
+ sqlite3DecimalInit,
|
|
||||||
+ sqlite3EvalInit,
|
|
||||||
+ sqlite3FileioInit,
|
|
||||||
+ sqlite3IeeeInit,
|
|
||||||
+ sqlite3NextcharInit,
|
|
||||||
+ sqlite3PercentileInit,
|
|
||||||
+ sqlite3RegexpInit,
|
|
||||||
+ sqlite3SeriesInit,
|
|
||||||
+ sqlite3ShaInit,
|
|
||||||
+ sqlite3ShathreeInit,
|
|
||||||
+ sqlite3TotypeInit,
|
|
||||||
+ sqlite3UintInit,
|
|
||||||
+ sqlite3UuidInit,
|
|
||||||
+#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_HAVE_ZLIB)
|
|
||||||
+ sqlite3ZipfileInit,
|
|
||||||
+ sqlite3SqlarInit,
|
|
||||||
+#endif
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifndef SQLITE_AMALGAMATION
|
|
||||||
--- /src/shell.c.in
|
|
||||||
+++ /src/shell.c.in
|
|
||||||
@@ -69,6 +69,7 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <assert.h>
|
|
||||||
#include "sqlite3.h"
|
|
||||||
+#include "ext/expert/sqlite3expert.h"
|
|
||||||
typedef sqlite3_int64 i64;
|
|
||||||
typedef sqlite3_uint64 u64;
|
|
||||||
typedef unsigned char u8;
|
|
||||||
@@ -135,6 +136,10 @@
|
|
||||||
# define SHELL_USE_LOCAL_GETLINE 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
+#include <zlib.h>
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
|
|
||||||
#if defined(_WIN32) || defined(WIN32)
|
|
||||||
# if SQLITE_OS_WINRT
|
|
||||||
@@ -1018,25 +1023,7 @@
|
|
||||||
INCLUDE test_windirent.c
|
|
||||||
#define dirent DIRENT
|
|
||||||
#endif
|
|
||||||
-INCLUDE ../ext/misc/shathree.c
|
|
||||||
-INCLUDE ../ext/misc/fileio.c
|
|
||||||
-INCLUDE ../ext/misc/completion.c
|
|
||||||
-INCLUDE ../ext/misc/appendvfs.c
|
|
||||||
INCLUDE ../ext/misc/memtrace.c
|
|
||||||
-INCLUDE ../ext/misc/uint.c
|
|
||||||
-INCLUDE ../ext/misc/decimal.c
|
|
||||||
-INCLUDE ../ext/misc/ieee754.c
|
|
||||||
-INCLUDE ../ext/misc/series.c
|
|
||||||
-#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
-INCLUDE ../ext/misc/zipfile.c
|
|
||||||
-INCLUDE ../ext/misc/sqlar.c
|
|
||||||
-#endif
|
|
||||||
-INCLUDE ../ext/expert/sqlite3expert.h
|
|
||||||
-INCLUDE ../ext/expert/sqlite3expert.c
|
|
||||||
-
|
|
||||||
-#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
|
|
||||||
-INCLUDE ../ext/misc/dbdata.c
|
|
||||||
-#endif
|
|
||||||
|
|
||||||
#if defined(SQLITE_ENABLE_SESSION)
|
|
||||||
/*
|
|
||||||
@@ -4608,20 +4595,6 @@
|
|
||||||
#ifndef SQLITE_OMIT_LOAD_EXTENSION
|
|
||||||
sqlite3_enable_load_extension(p->db, 1);
|
|
||||||
#endif
|
|
||||||
- sqlite3_fileio_init(p->db, 0, 0);
|
|
||||||
- sqlite3_shathree_init(p->db, 0, 0);
|
|
||||||
- sqlite3_completion_init(p->db, 0, 0);
|
|
||||||
- sqlite3_uint_init(p->db, 0, 0);
|
|
||||||
- sqlite3_decimal_init(p->db, 0, 0);
|
|
||||||
- sqlite3_ieee_init(p->db, 0, 0);
|
|
||||||
- sqlite3_series_init(p->db, 0, 0);
|
|
||||||
-#if !defined(SQLITE_OMIT_VIRTUALTABLE) && defined(SQLITE_ENABLE_DBPAGE_VTAB)
|
|
||||||
- sqlite3_dbdata_init(p->db, 0, 0);
|
|
||||||
-#endif
|
|
||||||
-#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
- sqlite3_zipfile_init(p->db, 0, 0);
|
|
||||||
- sqlite3_sqlar_init(p->db, 0, 0);
|
|
||||||
-#endif
|
|
||||||
sqlite3_create_function(p->db, "shell_add_schema", 3, SQLITE_UTF8, 0,
|
|
||||||
shellAddSchemaName, 0, 0);
|
|
||||||
sqlite3_create_function(p->db, "shell_module_schema", 1, SQLITE_UTF8, 0,
|
|
||||||
@@ -6644,8 +6617,6 @@
|
|
||||||
);
|
|
||||||
goto end_ar_command;
|
|
||||||
}
|
|
||||||
- sqlite3_fileio_init(cmd.db, 0, 0);
|
|
||||||
- sqlite3_sqlar_init(cmd.db, 0, 0);
|
|
||||||
sqlite3_create_function(cmd.db, "shell_putsnl", 1, SQLITE_UTF8, cmd.p,
|
|
||||||
shellPutsFunc, 0, 0);
|
|
||||||
|
|
||||||
@@ -11108,6 +11079,7 @@
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
data.out = stdout;
|
|
||||||
+ extern int sqlite3_appendvfs_init(sqlite3 *, char **, const sqlite3_api_routines *);
|
|
||||||
sqlite3_appendvfs_init(0,0,0);
|
|
||||||
|
|
||||||
/* Go ahead and open the database file if it already exists. If the
|
|
||||||
--- /src/test_config.c
|
|
||||||
+++ /src/test_config.c
|
|
||||||
@@ -359,6 +359,8 @@
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "datetime", "1", TCL_GLOBAL_ONLY);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ Tcl_SetVar2(interp, "sqlite_options", "decimal", "1", TCL_GLOBAL_ONLY);
|
|
||||||
+
|
|
||||||
#ifdef SQLITE_OMIT_DECLTYPE
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "decltype", "0", TCL_GLOBAL_ONLY);
|
|
||||||
#else
|
|
||||||
@@ -546,6 +548,8 @@
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "progress", "1", TCL_GLOBAL_ONLY);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ Tcl_SetVar2(interp, "sqlite_options", "regexp", "1", TCL_GLOBAL_ONLY);
|
|
||||||
+
|
|
||||||
#ifdef SQLITE_OMIT_REINDEX
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "reindex", "0", TCL_GLOBAL_ONLY);
|
|
||||||
#else
|
|
||||||
@@ -668,6 +672,8 @@
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "truncate_opt", "1", TCL_GLOBAL_ONLY);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+ Tcl_SetVar2(interp, "sqlite_options", "uint", "1", TCL_GLOBAL_ONLY);
|
|
||||||
+
|
|
||||||
#ifdef SQLITE_OMIT_UTF16
|
|
||||||
Tcl_SetVar2(interp, "sqlite_options", "utf16", "0", TCL_GLOBAL_ONLY);
|
|
||||||
#else
|
|
||||||
--- /test/e_expr.test
|
|
||||||
+++ /test/e_expr.test
|
|
||||||
@@ -1079,7 +1079,7 @@
|
|
||||||
#
|
|
||||||
# There is a regexp function if ICU is enabled though.
|
|
||||||
#
|
|
||||||
-ifcapable !icu {
|
|
||||||
+ifcapable !icu&&!regexp {
|
|
||||||
do_catchsql_test e_expr-18.1.1 {
|
|
||||||
SELECT regexp('abc', 'def')
|
|
||||||
} {1 {no such function: regexp}}
|
|
||||||
--- /test/icu.test
|
|
||||||
+++ /test/icu.test
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
#
|
|
||||||
test_expr icu-1.1 {i1='hello'} {i1 REGEXP 'hello'} 1
|
|
||||||
test_expr icu-1.2 {i1='hello'} {i1 REGEXP '.ello'} 1
|
|
||||||
- test_expr icu-1.3 {i1='hello'} {i1 REGEXP '.ell'} 0
|
|
||||||
+ test_expr icu-1.3 {i1='hello'} {i1 REGEXP '.ell$'} 0
|
|
||||||
test_expr icu-1.4 {i1='hello'} {i1 REGEXP '.ell.*'} 1
|
|
||||||
test_expr icu-1.5 {i1=NULL} {i1 REGEXP '.ell.*'} {}
|
|
||||||
|
|
||||||
--- /test/pragma.test
|
|
||||||
+++ /test/pragma.test
|
|
||||||
@@ -1370,17 +1370,62 @@
|
|
||||||
} ;# ifcapable trigger
|
|
||||||
|
|
||||||
ifcapable schema_pragmas {
|
|
||||||
- do_test pragma-11.1 {
|
|
||||||
- execsql2 {
|
|
||||||
- pragma collation_list;
|
|
||||||
+ ifcapable decimal {
|
|
||||||
+ ifcapable uint {
|
|
||||||
+ do_test pragma-11.1 {
|
|
||||||
+ execsql2 {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {seq 0 name UINT seq 1 name decimal seq 2 name RTRIM seq 3 name NOCASE seq 4 name BINARY}
|
|
||||||
+ do_test pragma-11.2 {
|
|
||||||
+ db collate New_Collation blah...
|
|
||||||
+ execsql {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {0 New_Collation 1 UINT 2 decimal 3 RTRIM 4 NOCASE 5 BINARY}
|
|
||||||
}
|
|
||||||
- } {seq 0 name RTRIM seq 1 name NOCASE seq 2 name BINARY}
|
|
||||||
- do_test pragma-11.2 {
|
|
||||||
- db collate New_Collation blah...
|
|
||||||
- execsql {
|
|
||||||
- pragma collation_list;
|
|
||||||
+ ifcapable !uint {
|
|
||||||
+ do_test pragma-11.1 {
|
|
||||||
+ execsql2 {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {seq 0 name decimal seq 1 name RTRIM seq 2 name NOCASE seq 3 name BINARY}
|
|
||||||
+ do_test pragma-11.2 {
|
|
||||||
+ db collate New_Collation blah...
|
|
||||||
+ execsql {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {0 New_Collation 1 decimal 2 RTRIM 3 NOCASE 4 BINARY}
|
|
||||||
}
|
|
||||||
- } {0 New_Collation 1 RTRIM 2 NOCASE 3 BINARY}
|
|
||||||
+ }
|
|
||||||
+ ifcapable !decimal {
|
|
||||||
+ ifcapable uint {
|
|
||||||
+ do_test pragma-11.1 {
|
|
||||||
+ execsql2 {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {seq 0 name UINT seq 1 name RTRIM seq 2 name NOCASE seq 3 name BINARY}
|
|
||||||
+ do_test pragma-11.2 {
|
|
||||||
+ db collate New_Collation blah...
|
|
||||||
+ execsql {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {0 New_Collation 1 UINT 2 RTRIM 3 NOCASE 4 BINARY}
|
|
||||||
+ }
|
|
||||||
+ ifcapable !uint {
|
|
||||||
+ do_test pragma-11.1 {
|
|
||||||
+ execsql2 {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {seq 0 name RTRIM seq 1 name NOCASE seq 2 name BINARY}
|
|
||||||
+ do_test pragma-11.2 {
|
|
||||||
+ db collate New_Collation blah...
|
|
||||||
+ execsql {
|
|
||||||
+ pragma collation_list;
|
|
||||||
+ }
|
|
||||||
+ } {0 New_Collation 1 RTRIM 2 NOCASE 3 BINARY}
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
ifcapable schema_pragmas&&tempdb {
|
|
||||||
--- /test/sessionfuzz.c
|
|
||||||
+++ /test/sessionfuzz.c
|
|
||||||
@@ -698,49 +698,6 @@
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <assert.h>
|
|
||||||
-#ifndef OMIT_ZLIB
|
|
||||||
-#include "zlib.h"
|
|
||||||
-#endif
|
|
||||||
-
|
|
||||||
-/*
|
|
||||||
-** Implementation of the "sqlar_uncompress(X,SZ)" SQL function
|
|
||||||
-**
|
|
||||||
-** Parameter SZ is interpreted as an integer. If it is less than or
|
|
||||||
-** equal to zero, then this function returns a copy of X. Or, if
|
|
||||||
-** SZ is equal to the size of X when interpreted as a blob, also
|
|
||||||
-** return a copy of X. Otherwise, decompress blob X using zlib
|
|
||||||
-** utility function uncompress() and return the results (another
|
|
||||||
-** blob).
|
|
||||||
-*/
|
|
||||||
-static void sqlarUncompressFunc(
|
|
||||||
- sqlite3_context *context,
|
|
||||||
- int argc,
|
|
||||||
- sqlite3_value **argv
|
|
||||||
-){
|
|
||||||
-#ifdef OMIT_ZLIB
|
|
||||||
- sqlite3_result_value(context, argv[0]);
|
|
||||||
-#else
|
|
||||||
- uLong nData;
|
|
||||||
- uLongf sz;
|
|
||||||
-
|
|
||||||
- assert( argc==2 );
|
|
||||||
- sz = sqlite3_value_int(argv[1]);
|
|
||||||
-
|
|
||||||
- if( sz<=0 || sz==(nData = sqlite3_value_bytes(argv[0])) ){
|
|
||||||
- sqlite3_result_value(context, argv[0]);
|
|
||||||
- }else{
|
|
||||||
- const Bytef *pData= sqlite3_value_blob(argv[0]);
|
|
||||||
- Bytef *pOut = sqlite3_malloc(sz);
|
|
||||||
- if( Z_OK!=uncompress(pOut, &sz, pData, nData) ){
|
|
||||||
- sqlite3_result_error(context, "error in uncompress()", -1);
|
|
||||||
- }else{
|
|
||||||
- sqlite3_result_blob(context, pOut, sz, SQLITE_TRANSIENT);
|
|
||||||
- }
|
|
||||||
- sqlite3_free(pOut);
|
|
||||||
- }
|
|
||||||
-#endif
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
|
|
||||||
/* Run a chunk of SQL. If any errors happen, print an error message
|
|
||||||
** and exit.
|
|
||||||
--- /tool/mksqlite3c.tcl
|
|
||||||
+++ /tool/mksqlite3c.tcl
|
|
||||||
@@ -129,6 +129,7 @@
|
|
||||||
rtree.h
|
|
||||||
sqlite3session.h
|
|
||||||
sqlite3.h
|
|
||||||
+ sqlite3expert.h
|
|
||||||
sqlite3ext.h
|
|
||||||
sqlite3rbu.h
|
|
||||||
sqliteicu.h
|
|
||||||
@@ -416,6 +417,28 @@
|
|
||||||
sqlite3session.c
|
|
||||||
fts5.c
|
|
||||||
stmt.c
|
|
||||||
+ amatch.c
|
|
||||||
+ appendvfs.c
|
|
||||||
+ carray.c
|
|
||||||
+ completion.c
|
|
||||||
+ csv.c
|
|
||||||
+ dbdata.c
|
|
||||||
+ decimal.c
|
|
||||||
+ eval.c
|
|
||||||
+ fileio.c
|
|
||||||
+ ieee754.c
|
|
||||||
+ nextchar.c
|
|
||||||
+ percentile.c
|
|
||||||
+ regexp.c
|
|
||||||
+ series.c
|
|
||||||
+ sha1.c
|
|
||||||
+ shathree.c
|
|
||||||
+ sqlar.c
|
|
||||||
+ sqlite3expert.c
|
|
||||||
+ totype.c
|
|
||||||
+ uint.c
|
|
||||||
+ uuid.c
|
|
||||||
+ zipfile.c
|
|
||||||
} {
|
|
||||||
copy_file tsrc/$file
|
|
||||||
}
|
|
||||||
--- /tool/sqlite3_analyzer.c.in
|
|
||||||
+++ /tool/sqlite3_analyzer.c.in
|
|
||||||
@@ -14,9 +14,6 @@
|
|
||||||
#define SQLITE_DEFAULT_MEMSTATUS 0
|
|
||||||
#define SQLITE_MAX_EXPR_DEPTH 0
|
|
||||||
#define SQLITE_OMIT_LOAD_EXTENSION 1
|
|
||||||
-#ifndef USE_EXTERNAL_SQLITE
|
|
||||||
-INCLUDE sqlite3.c
|
|
||||||
-#endif
|
|
||||||
INCLUDE $ROOT/src/tclsqlite.c
|
|
||||||
|
|
||||||
const char *sqlite3_analyzer_init_proc(Tcl_Interp *interp){
|
|
||||||
--- /tool/sqltclsh.c.in
|
|
||||||
+++ /tool/sqltclsh.c.in
|
|
||||||
@@ -27,21 +27,13 @@
|
|
||||||
#define SQLITE_OMIT_SHARED_CACHE 1
|
|
||||||
#define SQLITE_DEFAULT_MEMSTATUS 0
|
|
||||||
#define SQLITE_MAX_EXPR_DEPTH 0
|
|
||||||
-INCLUDE sqlite3.c
|
|
||||||
-INCLUDE $ROOT/ext/misc/appendvfs.c
|
|
||||||
-#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
-INCLUDE $ROOT/ext/misc/zipfile.c
|
|
||||||
-INCLUDE $ROOT/ext/misc/sqlar.c
|
|
||||||
-#endif
|
|
||||||
+#include "sqlite3.h"
|
|
||||||
INCLUDE $ROOT/src/tclsqlite.c
|
|
||||||
|
|
||||||
const char *sqlite3_tclapp_init_proc(Tcl_Interp *interp){
|
|
||||||
(void)interp;
|
|
||||||
+ extern int sqlite3_appendvfs_init(sqlite3 *,char **, const sqlite3_api_routines *);
|
|
||||||
sqlite3_appendvfs_init(0,0,0);
|
|
||||||
-#ifdef SQLITE_HAVE_ZLIB
|
|
||||||
- sqlite3_auto_extension((void(*)(void))sqlite3_sqlar_init);
|
|
||||||
- sqlite3_auto_extension((void(*)(void))sqlite3_zipfile_init);
|
|
||||||
-#endif
|
|
||||||
|
|
||||||
return
|
|
||||||
BEGIN_STRING
|
|
@ -1,428 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
|
||||||
DOC_PV="${SRC_PV}"
|
|
||||||
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="SQL database engine"
|
|
||||||
HOMEPAGE="https://sqlite.org/"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://sqlite.org/2021/${PN}-src-${SRC_PV}.zip
|
|
||||||
doc? ( https://sqlite.org/2021/${PN}-doc-${DOC_PV}.zip )"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="public-domain"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
PROPERTIES="live"
|
|
||||||
fi
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
BDEPEND=">=dev-lang/tcl-8.6:0
|
|
||||||
dev-vcs/fossil"
|
|
||||||
else
|
|
||||||
BDEPEND="app-arch/unzip
|
|
||||||
>=dev-lang/tcl-8.6:0"
|
|
||||||
fi
|
|
||||||
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
|
||||||
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
|
||||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
|
||||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
tools? ( dev-lang/tcl:0= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
else
|
|
||||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_fossil_fetch() {
|
|
||||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
|
||||||
local repo_id="${1}"
|
|
||||||
local repo_uri="${2}"
|
|
||||||
|
|
||||||
local -x FOSSIL_HOME="${HOME}"
|
|
||||||
|
|
||||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
|
||||||
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
|
||||||
|
|
||||||
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
|
||||||
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
|
||||||
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
|
||||||
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
||||||
(
|
|
||||||
addwrite "${distdir}"
|
|
||||||
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
|
||||||
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
}
|
|
||||||
|
|
||||||
_fossil_checkout() {
|
|
||||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
|
||||||
local repo_id="${1}"
|
|
||||||
local branch_or_commit="${2}"
|
|
||||||
local target_directory="${3}"
|
|
||||||
|
|
||||||
local -x FOSSIL_HOME="${HOME}"
|
|
||||||
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
|
||||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir "${target_directory}" || die
|
|
||||||
pushd "${target_directory}" > /dev/null || die
|
|
||||||
|
|
||||||
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
|
||||||
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
|
||||||
echo
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
}
|
|
||||||
|
|
||||||
fossil_fetch() {
|
|
||||||
local repo_id="${1}"
|
|
||||||
local repo_uri="${2}"
|
|
||||||
local target_directory="${3}"
|
|
||||||
|
|
||||||
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
|
||||||
|
|
||||||
_fossil_fetch "${repo_id}" "${repo_uri}"
|
|
||||||
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
|
||||||
if use doc; then
|
|
||||||
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
default
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}/"${PN}-3.35.0-build_{1.1,1.2,2.1,2.2}.patch
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
|
||||||
local options=()
|
|
||||||
|
|
||||||
options+=(
|
|
||||||
--enable-load-extension
|
|
||||||
--enable-threadsafe
|
|
||||||
)
|
|
||||||
|
|
||||||
# Support detection of misuse of SQLite API.
|
|
||||||
# https://sqlite.org/compile.html#enable_api_armor
|
|
||||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
|
||||||
|
|
||||||
# Support bytecode and tables_used virtual tables.
|
|
||||||
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
|
||||||
# https://sqlite.org/bytecodevtab.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
|
||||||
|
|
||||||
# Support column metadata functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_column_metadata
|
|
||||||
# https://sqlite.org/c3ref/column_database_name.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
|
||||||
|
|
||||||
# Support sqlite_dbpage virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
|
||||||
# https://sqlite.org/dbpage.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
|
||||||
|
|
||||||
# Support dbstat virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
|
||||||
# https://sqlite.org/dbstat.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
|
|
||||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_deserialize
|
|
||||||
# https://sqlite.org/c3ref/serialize.html
|
|
||||||
# https://sqlite.org/c3ref/deserialize.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
|
||||||
|
|
||||||
# Support comments in output of EXPLAIN.
|
|
||||||
# https://sqlite.org/compile.html#enable_explain_comments
|
|
||||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
|
||||||
|
|
||||||
# Support Full-Text Search versions 3, 4 and 5.
|
|
||||||
# https://sqlite.org/compile.html#enable_fts3
|
|
||||||
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
|
||||||
# https://sqlite.org/compile.html#enable_fts4
|
|
||||||
# https://sqlite.org/compile.html#enable_fts5
|
|
||||||
# https://sqlite.org/fts3.html
|
|
||||||
# https://sqlite.org/fts5.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
|
||||||
options+=(--enable-fts5)
|
|
||||||
|
|
||||||
# Support hidden columns.
|
|
||||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
|
||||||
|
|
||||||
# Support JSON1 extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_json1
|
|
||||||
# https://sqlite.org/json1.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_JSON1
|
|
||||||
|
|
||||||
# Support memsys5 memory allocator.
|
|
||||||
# https://sqlite.org/compile.html#enable_memsys5
|
|
||||||
# https://sqlite.org/malloc.html#memsys5
|
|
||||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
|
||||||
|
|
||||||
# Support sqlite3_normalized_sql() function.
|
|
||||||
# https://sqlite.org/c3ref/expanded_sql.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
|
||||||
|
|
||||||
# Support sqlite_offset() function.
|
|
||||||
# https://sqlite.org/compile.html#enable_offset_sql_func
|
|
||||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
|
||||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
|
||||||
|
|
||||||
# Support pre-update hook functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_preupdate_hook
|
|
||||||
# https://sqlite.org/c3ref/preupdate_count.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
|
||||||
|
|
||||||
# Support Resumable Bulk Update extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_rbu
|
|
||||||
# https://sqlite.org/rbu.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_RBU
|
|
||||||
|
|
||||||
# Support R*Trees.
|
|
||||||
# https://sqlite.org/compile.html#enable_rtree
|
|
||||||
# https://sqlite.org/compile.html#enable_geopoly
|
|
||||||
# https://sqlite.org/rtree.html
|
|
||||||
# https://sqlite.org/geopoly.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
|
||||||
|
|
||||||
# Support Session extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_session
|
|
||||||
# https://sqlite.org/sessionintro.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_SESSION
|
|
||||||
|
|
||||||
# Support scan status functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
|
||||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
|
||||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
|
||||||
|
|
||||||
# Support sqlite_stmt virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_stmtvtab
|
|
||||||
# https://sqlite.org/stmt.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
|
||||||
|
|
||||||
# Support unknown() function.
|
|
||||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
|
||||||
|
|
||||||
# Support unlock notification.
|
|
||||||
# https://sqlite.org/compile.html#enable_unlock_notify
|
|
||||||
# https://sqlite.org/c3ref/unlock_notify.html
|
|
||||||
# https://sqlite.org/unlock_notify.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
|
||||||
|
|
||||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
|
||||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
|
||||||
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
|
||||||
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
|
||||||
|
|
||||||
# Support soundex() function.
|
|
||||||
# https://sqlite.org/compile.html#soundex
|
|
||||||
# https://sqlite.org/lang_corefunc.html#soundex
|
|
||||||
append-cppflags -DSQLITE_SOUNDEX
|
|
||||||
|
|
||||||
# Support URI filenames.
|
|
||||||
# https://sqlite.org/compile.html#use_uri
|
|
||||||
# https://sqlite.org/uri.html
|
|
||||||
append-cppflags -DSQLITE_USE_URI
|
|
||||||
|
|
||||||
# debug USE flag.
|
|
||||||
options+=($(use_enable debug))
|
|
||||||
|
|
||||||
# icu USE flag.
|
|
||||||
if use icu; then
|
|
||||||
# Support ICU extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_icu
|
|
||||||
append-cppflags -DSQLITE_ENABLE_ICU
|
|
||||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# readline USE flag.
|
|
||||||
options+=(
|
|
||||||
--disable-editline
|
|
||||||
$(use_enable readline)
|
|
||||||
)
|
|
||||||
if use readline; then
|
|
||||||
options+=(--with-readline-inc="-I${ESYSROOT}/usr/include/readline")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# secure-delete USE flag.
|
|
||||||
if use secure-delete; then
|
|
||||||
# Enable secure_delete pragma by default.
|
|
||||||
# https://sqlite.org/compile.html#secure_delete
|
|
||||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
|
||||||
append-cppflags -DSQLITE_SECURE_DELETE
|
|
||||||
fi
|
|
||||||
|
|
||||||
# static-libs USE flag.
|
|
||||||
options+=($(use_enable static-libs static))
|
|
||||||
|
|
||||||
# tcl, test, tools USE flags.
|
|
||||||
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
|
||||||
options+=(
|
|
||||||
--enable-tcl
|
|
||||||
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
options+=(--disable-tcl)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${ABI}" == "x86" ]]; then
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
|
||||||
append-cflags -mfpmath=sse
|
|
||||||
else
|
|
||||||
append-cflags -ffloat-store
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${options[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]] && use doc && multilib_is_native_abi; then
|
|
||||||
emake tclsqlite3.c
|
|
||||||
|
|
||||||
local build_directory="$(pwd)"
|
|
||||||
build_directory="${build_directory##*/}"
|
|
||||||
|
|
||||||
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
|
||||||
|
|
||||||
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
|
||||||
rmdir doc/matrix{/*,} || die
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
if [[ "${EUID}" -eq 0 ]]; then
|
|
||||||
ewarn "Skipping tests due to root permissions"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
|
||||||
|
|
||||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
install_tool() {
|
|
||||||
if [[ -f ".libs/${1}" ]]; then
|
|
||||||
newbin ".libs/${1}" "${2}"
|
|
||||||
else
|
|
||||||
newbin "${1}" "${2}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
install_tool changeset sqlite3-changeset
|
|
||||||
install_tool dbdump sqlite3-db-dump
|
|
||||||
install_tool dbhash sqlite3-db-hash
|
|
||||||
install_tool dbtotxt sqlite3-db-to-txt
|
|
||||||
install_tool index_usage sqlite3-index-usage
|
|
||||||
install_tool rbu sqlite3-rbu
|
|
||||||
install_tool scrub sqlite3-scrub
|
|
||||||
install_tool showdb sqlite3-show-db
|
|
||||||
install_tool showjournal sqlite3-show-journal
|
|
||||||
install_tool showshm sqlite3-show-shm
|
|
||||||
install_tool showstat4 sqlite3-show-stat4
|
|
||||||
install_tool showwal sqlite3-show-wal
|
|
||||||
install_tool sqldiff sqlite3-diff
|
|
||||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
|
||||||
install_tool sqlite3_checker sqlite3-checker
|
|
||||||
install_tool sqlite3_expert sqlite3-expert
|
|
||||||
install_tool sqltclsh sqlite3-tclsh
|
|
||||||
|
|
||||||
unset -f install_tool
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
find "${ED}" -name "*.la" -delete || die
|
|
||||||
|
|
||||||
doman sqlite3.1
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
|
||||||
else
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
rm search search.d/admin || die
|
|
||||||
rmdir search.d || die
|
|
||||||
find -name "*~" -delete || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
(
|
|
||||||
docinto html
|
|
||||||
dodoc -r *
|
|
||||||
)
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,428 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
|
|
||||||
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
|
|
||||||
DOC_PV="${SRC_PV}"
|
|
||||||
# DOC_PV="$(printf "%u%02u%02u00" $(ver_rs 1-3 " "))"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="SQL database engine"
|
|
||||||
HOMEPAGE="https://sqlite.org/"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://sqlite.org/2021/${PN}-src-${SRC_PV}.zip
|
|
||||||
doc? ( https://sqlite.org/2021/${PN}-doc-${DOC_PV}.zip )"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="public-domain"
|
|
||||||
SLOT="3"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="debug doc icu +readline secure-delete static-libs tcl test tools"
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
PROPERTIES="live"
|
|
||||||
fi
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
BDEPEND=">=dev-lang/tcl-8.6:0
|
|
||||||
dev-vcs/fossil"
|
|
||||||
else
|
|
||||||
BDEPEND="app-arch/unzip
|
|
||||||
>=dev-lang/tcl-8.6:0"
|
|
||||||
fi
|
|
||||||
RDEPEND="sys-libs/zlib:0=[${MULTILIB_USEDEP}]
|
|
||||||
icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )
|
|
||||||
readline? ( sys-libs/readline:0=[${MULTILIB_USEDEP}] )
|
|
||||||
tcl? ( dev-lang/tcl:0=[${MULTILIB_USEDEP}] )
|
|
||||||
tools? ( dev-lang/tcl:0= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( >=dev-lang/tcl-8.6:0[${MULTILIB_USEDEP}] )"
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
S="${WORKDIR}/${PN}"
|
|
||||||
else
|
|
||||||
S="${WORKDIR}/${PN}-src-${SRC_PV}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
_fossil_fetch() {
|
|
||||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
|
||||||
local repo_id="${1}"
|
|
||||||
local repo_uri="${2}"
|
|
||||||
|
|
||||||
local -x FOSSIL_HOME="${HOME}"
|
|
||||||
|
|
||||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
|
||||||
pushd "${T}/fossil/${repo_id}" > /dev/null || die
|
|
||||||
|
|
||||||
if [[ -n "${EVCS_OFFLINE}" ]]; then
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
die "Network activity disabled using EVCS_OFFLINE and clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
einfo fossil clone --verbose "${repo_uri}" "${repo_id}.fossil"
|
|
||||||
fossil clone --verbose "${repo_uri}" "${repo_id}.fossil" || die
|
|
||||||
echo
|
|
||||||
else
|
|
||||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" . || die
|
|
||||||
einfo fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}"
|
|
||||||
fossil pull --repository "${repo_id}.fossil" --verbose "${repo_uri}" || die
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
||||||
(
|
|
||||||
addwrite "${distdir}"
|
|
||||||
mkdir -p "${distdir}/fossil-src/${repo_id}" || die
|
|
||||||
cp -p "${repo_id}.fossil" "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" || die
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
}
|
|
||||||
|
|
||||||
_fossil_checkout() {
|
|
||||||
local distdir="${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}"
|
|
||||||
local repo_id="${1}"
|
|
||||||
local branch_or_commit="${2}"
|
|
||||||
local target_directory="${3}"
|
|
||||||
|
|
||||||
local -x FOSSIL_HOME="${HOME}"
|
|
||||||
|
|
||||||
if [[ ! -f "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
die "Clone of repository missing: \"${distdir}/fossil-src/${repo_id}/${repo_id}.fossil\""
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! -f "${T}/fossil/${repo_id}/${repo_id}.fossil" ]]; then
|
|
||||||
mkdir -p "${T}/fossil/${repo_id}" || die
|
|
||||||
cp -p "${distdir}/fossil-src/${repo_id}/${repo_id}.fossil" "${T}/fossil/${repo_id}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir "${target_directory}" || die
|
|
||||||
pushd "${target_directory}" > /dev/null || die
|
|
||||||
|
|
||||||
einfo fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}"
|
|
||||||
fossil open --quiet "${T}/fossil/${repo_id}/${repo_id}.fossil" "${branch_or_commit}" || die
|
|
||||||
echo
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
}
|
|
||||||
|
|
||||||
fossil_fetch() {
|
|
||||||
local repo_id="${1}"
|
|
||||||
local repo_uri="${2}"
|
|
||||||
local target_directory="${3}"
|
|
||||||
|
|
||||||
local branch_or_commit="${EFOSSIL_COMMIT:-${EFOSSIL_BRANCH:-trunk}}"
|
|
||||||
|
|
||||||
_fossil_fetch "${repo_id}" "${repo_uri}"
|
|
||||||
_fossil_checkout "${repo_id}" "${branch_or_commit}" "${target_directory}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
fossil_fetch sqlite https://sqlite.org/src "${WORKDIR}/${PN}"
|
|
||||||
if use doc; then
|
|
||||||
fossil_fetch sqlite-doc https://sqlite.org/docsrc "${WORKDIR}/${PN}-doc"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
default
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply "${FILESDIR}"/sqlite-3.37.0-configure-amalgamation.patch
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local -x CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
|
|
||||||
local options=()
|
|
||||||
|
|
||||||
options+=(
|
|
||||||
--enable-load-extension
|
|
||||||
--enable-threadsafe
|
|
||||||
)
|
|
||||||
|
|
||||||
# Support detection of misuse of SQLite API.
|
|
||||||
# https://sqlite.org/compile.html#enable_api_armor
|
|
||||||
append-cppflags -DSQLITE_ENABLE_API_ARMOR
|
|
||||||
|
|
||||||
# Support bytecode and tables_used virtual tables.
|
|
||||||
# https://sqlite.org/compile.html#enable_bytecode_vtab
|
|
||||||
# https://sqlite.org/bytecodevtab.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_BYTECODE_VTAB
|
|
||||||
|
|
||||||
# Support column metadata functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_column_metadata
|
|
||||||
# https://sqlite.org/c3ref/column_database_name.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
|
|
||||||
|
|
||||||
# Support sqlite_dbpage virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_dbpage_vtab
|
|
||||||
# https://sqlite.org/dbpage.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBPAGE_VTAB
|
|
||||||
|
|
||||||
# Support dbstat virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_dbstat_vtab
|
|
||||||
# https://sqlite.org/dbstat.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DBSTAT_VTAB
|
|
||||||
|
|
||||||
# Support sqlite3_serialize() and sqlite3_deserialize() functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_deserialize
|
|
||||||
# https://sqlite.org/c3ref/serialize.html
|
|
||||||
# https://sqlite.org/c3ref/deserialize.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_DESERIALIZE
|
|
||||||
|
|
||||||
# Support comments in output of EXPLAIN.
|
|
||||||
# https://sqlite.org/compile.html#enable_explain_comments
|
|
||||||
append-cppflags -DSQLITE_ENABLE_EXPLAIN_COMMENTS
|
|
||||||
|
|
||||||
# Support Full-Text Search versions 3, 4 and 5.
|
|
||||||
# https://sqlite.org/compile.html#enable_fts3
|
|
||||||
# https://sqlite.org/compile.html#enable_fts3_parenthesis
|
|
||||||
# https://sqlite.org/compile.html#enable_fts4
|
|
||||||
# https://sqlite.org/compile.html#enable_fts5
|
|
||||||
# https://sqlite.org/fts3.html
|
|
||||||
# https://sqlite.org/fts5.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4
|
|
||||||
options+=(--enable-fts5)
|
|
||||||
|
|
||||||
# Support hidden columns.
|
|
||||||
append-cppflags -DSQLITE_ENABLE_HIDDEN_COLUMNS
|
|
||||||
|
|
||||||
# Support JSON1 extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_json1
|
|
||||||
# https://sqlite.org/json1.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_JSON1
|
|
||||||
|
|
||||||
# Support memsys5 memory allocator.
|
|
||||||
# https://sqlite.org/compile.html#enable_memsys5
|
|
||||||
# https://sqlite.org/malloc.html#memsys5
|
|
||||||
append-cppflags -DSQLITE_ENABLE_MEMSYS5
|
|
||||||
|
|
||||||
# Support sqlite3_normalized_sql() function.
|
|
||||||
# https://sqlite.org/c3ref/expanded_sql.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_NORMALIZE
|
|
||||||
|
|
||||||
# Support sqlite_offset() function.
|
|
||||||
# https://sqlite.org/compile.html#enable_offset_sql_func
|
|
||||||
# https://sqlite.org/lang_corefunc.html#sqlite_offset
|
|
||||||
append-cppflags -DSQLITE_ENABLE_OFFSET_SQL_FUNC
|
|
||||||
|
|
||||||
# Support pre-update hook functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_preupdate_hook
|
|
||||||
# https://sqlite.org/c3ref/preupdate_count.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_PREUPDATE_HOOK
|
|
||||||
|
|
||||||
# Support Resumable Bulk Update extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_rbu
|
|
||||||
# https://sqlite.org/rbu.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_RBU
|
|
||||||
|
|
||||||
# Support R*Trees.
|
|
||||||
# https://sqlite.org/compile.html#enable_rtree
|
|
||||||
# https://sqlite.org/compile.html#enable_geopoly
|
|
||||||
# https://sqlite.org/rtree.html
|
|
||||||
# https://sqlite.org/geopoly.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_RTREE -DSQLITE_ENABLE_GEOPOLY
|
|
||||||
|
|
||||||
# Support Session extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_session
|
|
||||||
# https://sqlite.org/sessionintro.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_SESSION
|
|
||||||
|
|
||||||
# Support scan status functions.
|
|
||||||
# https://sqlite.org/compile.html#enable_stmt_scanstatus
|
|
||||||
# https://sqlite.org/c3ref/stmt_scanstatus.html
|
|
||||||
# https://sqlite.org/c3ref/stmt_scanstatus_reset.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_STMT_SCANSTATUS
|
|
||||||
|
|
||||||
# Support sqlite_stmt virtual table.
|
|
||||||
# https://sqlite.org/compile.html#enable_stmtvtab
|
|
||||||
# https://sqlite.org/stmt.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_STMTVTAB
|
|
||||||
|
|
||||||
# Support unknown() function.
|
|
||||||
# https://sqlite.org/compile.html#enable_unknown_sql_function
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNKNOWN_SQL_FUNCTION
|
|
||||||
|
|
||||||
# Support unlock notification.
|
|
||||||
# https://sqlite.org/compile.html#enable_unlock_notify
|
|
||||||
# https://sqlite.org/c3ref/unlock_notify.html
|
|
||||||
# https://sqlite.org/unlock_notify.html
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UNLOCK_NOTIFY
|
|
||||||
|
|
||||||
# Support LIMIT and ORDER BY clauses on DELETE and UPDATE statements.
|
|
||||||
# https://sqlite.org/compile.html#enable_update_delete_limit
|
|
||||||
# https://sqlite.org/lang_delete.html#optional_limit_and_order_by_clauses
|
|
||||||
# https://sqlite.org/lang_update.html#optional_limit_and_order_by_clauses
|
|
||||||
append-cppflags -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
|
||||||
|
|
||||||
# Support soundex() function.
|
|
||||||
# https://sqlite.org/compile.html#soundex
|
|
||||||
# https://sqlite.org/lang_corefunc.html#soundex
|
|
||||||
append-cppflags -DSQLITE_SOUNDEX
|
|
||||||
|
|
||||||
# Support URI filenames.
|
|
||||||
# https://sqlite.org/compile.html#use_uri
|
|
||||||
# https://sqlite.org/uri.html
|
|
||||||
append-cppflags -DSQLITE_USE_URI
|
|
||||||
|
|
||||||
# debug USE flag.
|
|
||||||
options+=($(use_enable debug))
|
|
||||||
|
|
||||||
# icu USE flag.
|
|
||||||
if use icu; then
|
|
||||||
# Support ICU extension.
|
|
||||||
# https://sqlite.org/compile.html#enable_icu
|
|
||||||
append-cppflags -DSQLITE_ENABLE_ICU
|
|
||||||
sed -e "s/^TLIBS = @LIBS@/& -licui18n -licuuc/" -i Makefile.in || die "sed failed"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# readline USE flag.
|
|
||||||
options+=(
|
|
||||||
--disable-editline
|
|
||||||
$(use_enable readline)
|
|
||||||
)
|
|
||||||
if use readline; then
|
|
||||||
options+=(--with-readline-inc="-I${ESYSROOT}/usr/include/readline")
|
|
||||||
fi
|
|
||||||
|
|
||||||
# secure-delete USE flag.
|
|
||||||
if use secure-delete; then
|
|
||||||
# Enable secure_delete pragma by default.
|
|
||||||
# https://sqlite.org/compile.html#secure_delete
|
|
||||||
# https://sqlite.org/pragma.html#pragma_secure_delete
|
|
||||||
append-cppflags -DSQLITE_SECURE_DELETE
|
|
||||||
fi
|
|
||||||
|
|
||||||
# static-libs USE flag.
|
|
||||||
options+=($(use_enable static-libs static))
|
|
||||||
|
|
||||||
# tcl, test, tools USE flags.
|
|
||||||
if use tcl || use test || { use tools && multilib_is_native_abi; }; then
|
|
||||||
options+=(
|
|
||||||
--enable-tcl
|
|
||||||
--with-tcl="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
options+=(--disable-tcl)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${ABI}" == "x86" ]]; then
|
|
||||||
if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} -E -P -dM - < /dev/null 2> /dev/null | grep -q "^#define __SSE__ 1$"; then
|
|
||||||
append-cflags -mfpmath=sse
|
|
||||||
else
|
|
||||||
append-cflags -ffloat-store
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${options[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}"
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
emake changeset dbdump dbhash dbtotxt index_usage rbu scrub showdb showjournal showshm showstat4 showwal sqldiff sqlite3_analyzer sqlite3_checker sqlite3_expert sqltclsh
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ "${PV}" == "9999" ]] && use doc && multilib_is_native_abi; then
|
|
||||||
emake tclsqlite3.c
|
|
||||||
|
|
||||||
local build_directory="$(pwd)"
|
|
||||||
build_directory="${build_directory##*/}"
|
|
||||||
|
|
||||||
mkdir "${WORKDIR}/${PN}-doc-build" || die
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-build" > /dev/null || die
|
|
||||||
|
|
||||||
emake -f "../${PN}-doc/Makefile" -j1 SRC="../${PN}" BLD="../${build_directory}" DOC="../${PN}-doc" CC="$(tc-getBUILD_CC)" TCLINC="" TCLFLAGS="$($(tc-getBUILD_PKG_CONFIG) --libs tcl) -ldl -lm" base doc
|
|
||||||
rmdir doc/matrix{/*,} || die
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
if [[ "${EUID}" -eq 0 ]]; then
|
|
||||||
ewarn "Skipping tests due to root permissions"
|
|
||||||
return
|
|
||||||
fi
|
|
||||||
|
|
||||||
local -x SQLITE_HISTORY="${T}/sqlite_history_${ABI}"
|
|
||||||
|
|
||||||
emake HAVE_TCL="$(usex tcl 1 "")" $(use debug && echo fulltest || echo test)
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake DESTDIR="${D}" HAVE_TCL="$(usex tcl 1 "")" TCLLIBDIR="${EPREFIX}/usr/$(get_libdir)/${P}" install
|
|
||||||
|
|
||||||
if use tools && multilib_is_native_abi; then
|
|
||||||
install_tool() {
|
|
||||||
if [[ -f ".libs/${1}" ]]; then
|
|
||||||
newbin ".libs/${1}" "${2}"
|
|
||||||
else
|
|
||||||
newbin "${1}" "${2}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
install_tool changeset sqlite3-changeset
|
|
||||||
install_tool dbdump sqlite3-db-dump
|
|
||||||
install_tool dbhash sqlite3-db-hash
|
|
||||||
install_tool dbtotxt sqlite3-db-to-txt
|
|
||||||
install_tool index_usage sqlite3-index-usage
|
|
||||||
install_tool rbu sqlite3-rbu
|
|
||||||
install_tool scrub sqlite3-scrub
|
|
||||||
install_tool showdb sqlite3-show-db
|
|
||||||
install_tool showjournal sqlite3-show-journal
|
|
||||||
install_tool showshm sqlite3-show-shm
|
|
||||||
install_tool showstat4 sqlite3-show-stat4
|
|
||||||
install_tool showwal sqlite3-show-wal
|
|
||||||
install_tool sqldiff sqlite3-diff
|
|
||||||
install_tool sqlite3_analyzer sqlite3-analyzer
|
|
||||||
install_tool sqlite3_checker sqlite3-checker
|
|
||||||
install_tool sqlite3_expert sqlite3-expert
|
|
||||||
install_tool sqltclsh sqlite3-tclsh
|
|
||||||
|
|
||||||
unset -f install_tool
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
find "${ED}" -name "*.la" -delete || die
|
|
||||||
|
|
||||||
doman sqlite3.1
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
if [[ "${PV}" == "9999" ]]; then
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-build/doc" > /dev/null || die
|
|
||||||
else
|
|
||||||
pushd "${WORKDIR}/${PN}-doc-${DOC_PV}" > /dev/null || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "(" -name "*.db" -o -name "*.txt" ")" -delete || die
|
|
||||||
if [[ "${PV}" != "9999" ]]; then
|
|
||||||
rm search search.d/admin || die
|
|
||||||
rmdir search.d || die
|
|
||||||
find -name "*~" -delete || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
(
|
|
||||||
docinto html
|
|
||||||
dodoc -r *
|
|
||||||
)
|
|
||||||
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST lazarus-2.0.12.tar.gz 69560778 BLAKE2B ff6c9414483b0d50dbbb30c8fbf626c81d9c71ef0329aa1d58b37aa4288a500e1ab55d06bad27f637e3f09b9d062af1896720b9cb7367b092fc872cf613f8a3d SHA512 dfd22b2b96fca9d0f672f03b9120c4294a7e640737a09b26c274d304025c61566a8504a5484638c108e42a322b21992229451d95e38d7e491a1c2f07a663483e
|
DIST lazarus-2.0.12.tar.gz 69560778 BLAKE2B ff6c9414483b0d50dbbb30c8fbf626c81d9c71ef0329aa1d58b37aa4288a500e1ab55d06bad27f637e3f09b9d062af1896720b9cb7367b092fc872cf613f8a3d SHA512 dfd22b2b96fca9d0f672f03b9120c4294a7e640737a09b26c274d304025c61566a8504a5484638c108e42a322b21992229451d95e38d7e491a1c2f07a663483e
|
||||||
|
DIST lazarus-2.2.0-0.tar.gz 76777421 BLAKE2B 29a7ed3285e3fbb6f72fe932d72d71edfd6903a8a5eb24f9534a12a4d1ccf5e40c61ce3cc1cbd8eef6dd7700f6e29fb640e35510b23a1ca1b02f7df0a4a738cc SHA512 4ebd8b4b7c6dfea491a30b1253e604646109d208c237e59be2fd9f6be3fb1e29443dd4e482076d77100678d0e4085b998398fca0532aa6122b59db7157af0ce4
|
||||||
|
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit desktop
|
||||||
|
|
||||||
|
# See https://wiki.freepascal.org/Lazarus_2.0_fixes_branch for notes and
|
||||||
|
# changes in FPCVER. It *does* change between minor versions of lazarus.
|
||||||
|
FPCVER="3.2.2"
|
||||||
|
|
||||||
|
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi"
|
||||||
|
HOMEPAGE="https://www.lazarus-ide.org/"
|
||||||
|
SRC_URI="https://sourceforge.net/projects/${PN}/files/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${P}-0.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
|
||||||
|
SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="minimal"
|
||||||
|
|
||||||
|
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
|
||||||
|
net-misc/rsync
|
||||||
|
x11-libs/gtk+:2
|
||||||
|
>=sys-devel/binutils-2.19.1-r1:="
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
RESTRICT="strip" #269221
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-0.9.26-fpcsrc.patch )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# Use default configuration (minus stripping) unless specifically requested otherwise
|
||||||
|
if ! test ${PPC_CONFIG_PATH+set} ; then
|
||||||
|
local FPCVER=$(fpc -iV)
|
||||||
|
export PPC_CONFIG_PATH="${WORKDIR}"
|
||||||
|
sed -e 's/^FPBIN=/#&/' /usr/lib/fpc/${FPCVER}/samplecfg |
|
||||||
|
sh -s /usr/lib/fpc/${FPCVER} "${PPC_CONFIG_PATH}" || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# TODO: Change to LCL_PLATFORM=qt5?
|
||||||
|
# bug #732758
|
||||||
|
LCL_PLATFORM=gtk2 emake \
|
||||||
|
$(usex minimal "" "bigide") \
|
||||||
|
-j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
diropts -m0755
|
||||||
|
dodir /usr/share
|
||||||
|
# Using rsync to avoid unnecessary copies and cleaning...
|
||||||
|
# Note: *.o and *.ppu are needed
|
||||||
|
rsync -a \
|
||||||
|
--exclude="CVS" --exclude=".cvsignore" \
|
||||||
|
--exclude="*.ppw" --exclude="*.ppl" \
|
||||||
|
--exclude="*.ow" --exclude="*.a"\
|
||||||
|
--exclude="*.rst" --exclude=".#*" \
|
||||||
|
--exclude="*.~*" --exclude="*.bak" \
|
||||||
|
--exclude="*.orig" --exclude="*.rej" \
|
||||||
|
--exclude=".xvpics" --exclude="*.compiled" \
|
||||||
|
--exclude="killme*" --exclude=".gdb_hist*" \
|
||||||
|
--exclude="debian" --exclude="COPYING*" \
|
||||||
|
--exclude="*.app" \
|
||||||
|
"${S}" "${ED}"/usr/share \
|
||||||
|
|| die "Unable to copy files!"
|
||||||
|
|
||||||
|
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
|
||||||
|
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
|
||||||
|
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
|
||||||
|
use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
|
||||||
|
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
|
||||||
|
|
||||||
|
make_desktop_entry startlazarus "Lazarus IDE" "lazarus"
|
||||||
|
}
|
Binary file not shown.
@ -1,240 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit multilib flag-o-matic pax-utils toolchain-funcs
|
|
||||||
|
|
||||||
#same order as http://www.sbcl.org/platform-table.html
|
|
||||||
BV_X86=1.4.3
|
|
||||||
BV_AMD64=2.1.11
|
|
||||||
BV_PPC=1.2.7
|
|
||||||
BV_PPC64LE=1.5.8
|
|
||||||
BV_SPARC=1.0.28
|
|
||||||
BV_ALPHA=1.0.28
|
|
||||||
BV_ARM=1.4.11
|
|
||||||
BV_ARM64=1.4.2
|
|
||||||
BV_X64_MACOS=1.2.11
|
|
||||||
BV_PPC_MACOS=1.0.47
|
|
||||||
BV_X86_SOLARIS=1.2.7
|
|
||||||
BV_X64_SOLARIS=1.2.7
|
|
||||||
BV_SPARC_SOLARIS=1.0.23
|
|
||||||
|
|
||||||
DESCRIPTION="Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp"
|
|
||||||
HOMEPAGE="http://sbcl.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/sbcl/${P}-source.tar.bz2
|
|
||||||
x86? ( mirror://sourceforge/sbcl/${PN}-${BV_X86}-x86-linux-binary.tar.bz2 )
|
|
||||||
amd64? ( mirror://sourceforge/sbcl/${PN}-${BV_AMD64}-x86-64-linux-binary.tar.bz2 )
|
|
||||||
ppc? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC}-powerpc-linux-binary.tar.bz2 )
|
|
||||||
ppc64? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC64LE}-ppc64le-linux-binary.tar.bz2 )
|
|
||||||
sparc? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC}-sparc-linux-binary.tar.bz2 )
|
|
||||||
alpha? ( mirror://sourceforge/sbcl/${PN}-${BV_ALPHA}-alpha-linux-binary.tar.bz2 )
|
|
||||||
arm? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM}-armhf-linux-binary.tar.bz2 )
|
|
||||||
arm64? ( mirror://sourceforge/sbcl/${PN}-${BV_ARM64}-arm64-linux-binary.tar.bz2 )
|
|
||||||
x64-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_MACOS}-x86-64-darwin-binary.tar.bz2 )
|
|
||||||
ppc-macos? ( mirror://sourceforge/sbcl/${PN}-${BV_PPC_MACOS}-powerpc-darwin-binary.tar.bz2 )
|
|
||||||
x86-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X86_SOLARIS}-x86-solaris-binary.tar.bz2 )
|
|
||||||
x64-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_X64_SOLARIS}-x86-64-solaris-binary.tar.bz2 )
|
|
||||||
sparc-solaris? ( mirror://sourceforge/sbcl/${PN}-${BV_SPARC_SOLARIS}-sparc-solaris-binary.tar.bz2 )"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0/${PV}"
|
|
||||||
KEYWORDS="-* ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-solaris"
|
|
||||||
IUSE="debug doc source +threads +unicode zlib"
|
|
||||||
|
|
||||||
CDEPEND=">=dev-lisp/asdf-3.3:="
|
|
||||||
BDEPEND="${CDEPEND}
|
|
||||||
doc? ( sys-apps/texinfo >=media-gfx/graphviz-2.26.0 )"
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
!prefix? ( elibc_glibc? ( >=sys-libs/glibc-2.6 ) )"
|
|
||||||
|
|
||||||
# Disable warnings about executable stacks, as this won't be fixed soon by upstream
|
|
||||||
QA_EXECSTACK="usr/bin/sbcl"
|
|
||||||
|
|
||||||
CONFIG="${S}/customize-target-features.lisp"
|
|
||||||
ENVD="${T}/50sbcl"
|
|
||||||
|
|
||||||
# Prevent ASDF from using the system libraries
|
|
||||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)"
|
|
||||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)"
|
|
||||||
|
|
||||||
usep() {
|
|
||||||
use ${1} && echo "true" || echo "false"
|
|
||||||
}
|
|
||||||
|
|
||||||
sbcl_feature() {
|
|
||||||
echo "$( [[ ${1} == "true" ]] && echo "(enable ${2})" || echo "(disable ${2})")" >> "${CONFIG}"
|
|
||||||
}
|
|
||||||
|
|
||||||
sbcl_apply_features() {
|
|
||||||
sed 's/^X//' > "${CONFIG}" <<-'EOF'
|
|
||||||
(lambda (list)
|
|
||||||
X (flet ((enable (x) (pushnew x list))
|
|
||||||
X (disable (x) (setf list (remove x list))))
|
|
||||||
EOF
|
|
||||||
if use x86 || use amd64; then
|
|
||||||
sbcl_feature "$(usep threads)" ":sb-thread"
|
|
||||||
fi
|
|
||||||
sbcl_feature "true" ":sb-ldb"
|
|
||||||
sbcl_feature "false" ":sb-test"
|
|
||||||
sbcl_feature "$(usep unicode)" ":sb-unicode"
|
|
||||||
sbcl_feature "$(usep zlib)" ":sb-core-compression"
|
|
||||||
sbcl_feature "$(usep debug)" ":sb-xref-for-internals"
|
|
||||||
sed 's/^X//' >> "${CONFIG}" <<-'EOF'
|
|
||||||
X )
|
|
||||||
X list)
|
|
||||||
EOF
|
|
||||||
cat "${CONFIG}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
mv sbcl-*-* sbcl-binary || die
|
|
||||||
cd "${S}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# bug #468482
|
|
||||||
eapply "${FILESDIR}"/concurrency-test-2.0.1.patch
|
|
||||||
# bugs #486552, #527666, #517004
|
|
||||||
eapply "${FILESDIR}"/bsd-sockets-test-2.0.5.patch
|
|
||||||
# bugs #560276, #561018
|
|
||||||
eapply "${FILESDIR}"/sb-posix-test-1.2.15.patch
|
|
||||||
# bug #767742
|
|
||||||
eapply "${FILESDIR}"/etags-2.1.0.patch
|
|
||||||
|
|
||||||
eapply "${FILESDIR}"/verbose-build-2.0.3.patch
|
|
||||||
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
# Make sure the *FLAGS variables are sane.
|
|
||||||
# sbcl needs symbols in resulting binaries, so building with the -s linker flag will fail.
|
|
||||||
strip-unsupported-flags
|
|
||||||
filter-flags -fomit-frame-pointer -Wl,-s
|
|
||||||
filter-ldflags -s
|
|
||||||
|
|
||||||
# original bugs #526194, #620532
|
|
||||||
# this broke no-pie default builds, c.f. bug #632670
|
|
||||||
# Pass CFLAGS down by appending our value, to let users override
|
|
||||||
# the default values.
|
|
||||||
# Keep passing LDFLAGS down via the LINKFLAGS variable.
|
|
||||||
sed -e "s@\(CFLAGS += -g .*\)\$@\1 ${CFLAGS}@" \
|
|
||||||
-e "s@LINKFLAGS += -g\$@LINKFLAGS += ${LDFLAGS}@" \
|
|
||||||
-i src/runtime/GNUmakefile || die
|
|
||||||
|
|
||||||
sed -e "s@SBCL_PREFIX=\"/usr/local\"@SBCL_PREFIX=\"${EPREFIX}/usr\"@" \
|
|
||||||
-i make-config.sh || die
|
|
||||||
|
|
||||||
# Use installed ASDF version
|
|
||||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
|
||||||
# Avoid installation of ASDF info page. See bug #605752
|
|
||||||
sed '/INFOFILES/s/asdf.info//' -i doc/manual/Makefile || die
|
|
||||||
|
|
||||||
use source && sed 's%"$(BUILD_ROOT)%$(MODULE).lisp "$(BUILD_ROOT)%' -i contrib/vanilla-module.mk
|
|
||||||
|
|
||||||
# Some shells(such as dash) don't have "time" as builtin
|
|
||||||
# and we don't want to DEPEND on sys-process/time
|
|
||||||
sed "s,^time ,," -i make.sh || die
|
|
||||||
sed "s,/lib,/$(get_libdir),g" -i install.sh || die
|
|
||||||
# #define SBCL_HOME ...
|
|
||||||
sed "s,/usr/local/lib,${EPREFIX}/usr/$(get_libdir),g" -i src/runtime/runtime.c || die
|
|
||||||
# change location of /etc/sbclrc ...
|
|
||||||
sed "s,/etc/sbclrc,${EPREFIX}/etc/sbclrc,g" -i src/code/toplevel.lisp || die
|
|
||||||
|
|
||||||
find . -type f -name .cvsignore -delete
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# customizing SBCL version as per
|
|
||||||
# http://sbcl.cvs.sourceforge.net/sbcl/sbcl/doc/PACKAGING-SBCL.txt?view=markup
|
|
||||||
echo -e ";;; Auto-generated by Gentoo\n\"gentoo-${PR}\"" > branch-version.lisp-expr
|
|
||||||
|
|
||||||
# applying customizations
|
|
||||||
sbcl_apply_features
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
local bindir="${WORKDIR}"/sbcl-binary
|
|
||||||
|
|
||||||
# clear the environment to get rid of non-ASCII strings, see bug #174702
|
|
||||||
# set HOME for paludis
|
|
||||||
env - HOME="${T}" PATH="${PATH}" \
|
|
||||||
CC="$(tc-getCC)" AS="$(tc-getAS)" LD="$(tc-getLD)" \
|
|
||||||
CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}" ASFLAGS="${ASFLAGS}" LDFLAGS="${LDFLAGS}" \
|
|
||||||
GNUMAKE=make ./make.sh \
|
|
||||||
"sh ${bindir}/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" \
|
|
||||||
|| die "make failed"
|
|
||||||
|
|
||||||
# need to set HOME because libpango(used by graphviz) complains about it
|
|
||||||
if use doc; then
|
|
||||||
env - HOME="${T}" PATH="${PATH}" \
|
|
||||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
|
||||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
|
||||||
make -C doc/manual info html || die "Cannot build manual"
|
|
||||||
env - HOME="${T}" PATH="${PATH}" \
|
|
||||||
CL_SOURCE_REGISTRY="(:source-registry :ignore-inherited-configuration)" \
|
|
||||||
ASDF_OUTPUT_TRANSLATIONS="(:output-translations :ignore-inherited-configuration)" \
|
|
||||||
make -C doc/internals info html || die "Cannot build internal docs"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
ewarn "Unfortunately, it is known that some tests fail eg."
|
|
||||||
ewarn "run-program.impure.lisp. This is an issue of the upstream's"
|
|
||||||
ewarn "development and not of Gentoo's side. Please, before filing"
|
|
||||||
ewarn "any bug(s) search for older submissions. Thank you."
|
|
||||||
time ( cd tests && sh run-tests.sh )
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# install system-wide initfile
|
|
||||||
dodir /etc/
|
|
||||||
sed 's/^X//' > "${ED}"/etc/sbclrc <<-EOF
|
|
||||||
;;; The following is required if you want source location functions to
|
|
||||||
;;; work in SLIME, for example.
|
|
||||||
X
|
|
||||||
(setf (logical-pathname-translations "SYS")
|
|
||||||
X '(("SYS:SRC;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/src/**/*.*")
|
|
||||||
X ("SYS:CONTRIB;**;*.*.*" #p"${EPREFIX}/usr/$(get_libdir)/sbcl/**/*.*")))
|
|
||||||
X
|
|
||||||
;;; Setup ASDF2
|
|
||||||
(load "${EPREFIX}/etc/common-lisp/gentoo-init.lisp")
|
|
||||||
EOF
|
|
||||||
|
|
||||||
# Install documentation
|
|
||||||
unset SBCL_HOME
|
|
||||||
INSTALL_ROOT="${ED}/usr" LIB_DIR="${EPREFIX}/usr/$(get_libdir)" DOC_DIR="${ED}/usr/share/doc/${PF}" \
|
|
||||||
sh install.sh || die "install.sh failed"
|
|
||||||
|
|
||||||
# bug #517008
|
|
||||||
pax-mark -mr "${D}"/usr/bin/sbcl
|
|
||||||
|
|
||||||
# rm empty directories lest paludis complain about this
|
|
||||||
find "${ED}" -empty -type d -exec rmdir -v {} +
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
dodoc -r doc/internals/sbcl-internals
|
|
||||||
|
|
||||||
doinfo doc/manual/*.info*
|
|
||||||
doinfo doc/internals/sbcl-internals.info
|
|
||||||
|
|
||||||
docinto internals-notes
|
|
||||||
dodoc doc/internals-notes/*
|
|
||||||
else
|
|
||||||
rm -Rv "${ED}/usr/share/doc/${PF}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install the SBCL source
|
|
||||||
if use source; then
|
|
||||||
./clean.sh
|
|
||||||
cp -av src "${ED}/usr/$(get_libdir)/sbcl/" || die
|
|
||||||
for d in contrib/*/; do
|
|
||||||
cp -av "$d" "${ED}/usr/$(get_libdir)/sbcl/" || die
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# necessary for running newly-saved images
|
|
||||||
echo "SBCL_HOME=${EPREFIX}/usr/$(get_libdir)/${PN}" > "${ENVD}"
|
|
||||||
echo "SBCL_SOURCE_ROOT=${EPREFIX}/usr/$(get_libdir)/${PN}/src" >> "${ENVD}"
|
|
||||||
doenvd "${ENVD}"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,12 +1,6 @@
|
|||||||
DIST Django-2.2.26.checksum.txt 2561 BLAKE2B a974c7d5c8cef76e781e4fa1559725cc7d77de3d16b08ec20d034b38cb39a986b62397532bbc81d4414b3eae8a5487a9fef9615eed73946a54a2b43cdf34a6ad SHA512 7c1d3e04913237ed0dc9955eedd02cfb5113b9536ed0b471d873269ec82099561714a061b74bf212c2e99bbe47e6cf72e639358a2f9134f751fdd7cd53e6ce17
|
|
||||||
DIST Django-2.2.26.tar.gz 9207984 BLAKE2B abd520bc5681b8450e51c4248eb97558daa6a87f74915bea8857843a5ea9be6bf3a04c9f5871c35d2076adb644da266c7b88ac39bb2837ff1eaa71f885bd08bf SHA512 2005b081e7347f6f8fd4837219043bd1728cd85aca00c62a16432f63272abec7d30b7461675708fa0f55e3273af5bbd67c26d31934f8a4a38f48e65ea721916f
|
|
||||||
DIST Django-2.2.27.checksum.txt 2556 BLAKE2B 770dc5670d0d4aebcfd1956d644b9d7e4e5bf0b511649ae072de1b8ec8d2ea12dbc48563f5372979dead9e729abd9b5174c99323a14170876b1f1b5e61de96f6 SHA512 fb76f2bef6e6d0a3002298e4eeec5b335bfdc365ae55f0c26dcb050d369864c504dd32d40ac3b49897d56bc0dadc10136b588361ddf3598ffdc03830a97e1d63
|
DIST Django-2.2.27.checksum.txt 2556 BLAKE2B 770dc5670d0d4aebcfd1956d644b9d7e4e5bf0b511649ae072de1b8ec8d2ea12dbc48563f5372979dead9e729abd9b5174c99323a14170876b1f1b5e61de96f6 SHA512 fb76f2bef6e6d0a3002298e4eeec5b335bfdc365ae55f0c26dcb050d369864c504dd32d40ac3b49897d56bc0dadc10136b588361ddf3598ffdc03830a97e1d63
|
||||||
DIST Django-2.2.27.tar.gz 9185716 BLAKE2B 26d509c722c62b5bf784331466a97ad1b961715572da9e6add4be1bdc7cf999c0ec7c763d9bc8ab2fc1ca35a48783feaf748c3c9388ae9f5f3e393972deea734 SHA512 0db670651a820b49d855e38a336c0c6990ce4701bb686c5e8a292ccb03342e995c61c2c628b1d625d2715404e969fc31c256e5bf0fd6c1ff714d1c1c1ee30bff
|
DIST Django-2.2.27.tar.gz 9185716 BLAKE2B 26d509c722c62b5bf784331466a97ad1b961715572da9e6add4be1bdc7cf999c0ec7c763d9bc8ab2fc1ca35a48783feaf748c3c9388ae9f5f3e393972deea734 SHA512 0db670651a820b49d855e38a336c0c6990ce4701bb686c5e8a292ccb03342e995c61c2c628b1d625d2715404e969fc31c256e5bf0fd6c1ff714d1c1c1ee30bff
|
||||||
DIST Django-3.2.11.checksum.txt 2561 BLAKE2B ece4f40d4d368e2e5ad3cc3ed6072aa8d1693b47d68b76020059508bfc10a30f6291f5e84c68bb959fa973c4e060bf4fd408beefaedc13b68e81b721cb78aab3 SHA512 4f2c12088cfb69f547ba687e9cac34b68a9bd28c793482430bda078f51e780b1272de7ec7816dc31d2fa93bf1c68973f847d67c01414fc8bf07fa6f6ea09dc39
|
|
||||||
DIST Django-3.2.11.tar.gz 9821958 BLAKE2B 8f83db578e31c3cbeca67bd826b4c639b346e449de83aba6ddf6bf4eef1fc58ebcbbddf91227012e592516d7796d9f3cc468ae4ce51d684b4aa0a417bb39ddb1 SHA512 ea1ca9a76afcd7e20d0ce518efc0497bbd11f4ab7ed20bd4490561bfcfc6c80db8922a22d8aca94c1dc2743e7366b28a0ae76c3d64f55afc142c38a744dd5120
|
|
||||||
DIST Django-3.2.12.checksum.txt 2556 BLAKE2B 7ae6e41305b5b07969ddad3474a0819359dff888fc3bdc1c5000ded1b9b726a7c55aa7aaffc85184558edcc6c12b617c8270cc569fa8e645622206631979a9c2 SHA512 5098dde440a15ad066fa7927943f4ec66bb925798afcb42101c5cf50b8148301866c39ad37ebb5db9d7f9e195953337c03dc6fa2c49758716f969ee2ce414d24
|
DIST Django-3.2.12.checksum.txt 2556 BLAKE2B 7ae6e41305b5b07969ddad3474a0819359dff888fc3bdc1c5000ded1b9b726a7c55aa7aaffc85184558edcc6c12b617c8270cc569fa8e645622206631979a9c2 SHA512 5098dde440a15ad066fa7927943f4ec66bb925798afcb42101c5cf50b8148301866c39ad37ebb5db9d7f9e195953337c03dc6fa2c49758716f969ee2ce414d24
|
||||||
DIST Django-3.2.12.tar.gz 9812448 BLAKE2B 39b6e7e8f50b79d7be62be171eb358ab815c9dd630b8b2ad2cf085c42c79a6a8c92914fae3c471f41578e65fa09f011f959dd0794c804e7b30cfbc9411cf4f4b SHA512 fc8ad3af019b268d514cc5240cac9c6b2fbf3a169c7933e8ab2da92e9cfed72df7a2784a8d92eaec8105bc9c245763acd307178bdf662e5d51407e72ae9d8683
|
DIST Django-3.2.12.tar.gz 9812448 BLAKE2B 39b6e7e8f50b79d7be62be171eb358ab815c9dd630b8b2ad2cf085c42c79a6a8c92914fae3c471f41578e65fa09f011f959dd0794c804e7b30cfbc9411cf4f4b SHA512 fc8ad3af019b268d514cc5240cac9c6b2fbf3a169c7933e8ab2da92e9cfed72df7a2784a8d92eaec8105bc9c245763acd307178bdf662e5d51407e72ae9d8683
|
||||||
DIST Django-4.0.1.checksum.txt 2552 BLAKE2B 123a613af7ff1ccb423c11086501a4419d86cf07c0ae7a4751f12d32f1592916e72e3e47cee13192944a3fc05ce5ee7ac81038118e346545536f313a10783de6 SHA512 979a7c5efafd4d8923d6c769ddd7d73c67482c33fd1a76c64d75aee0a03399e35703e7cbde9f5ad25baab969c33ab53690400e39c879e54066a146944e5d0ee1
|
|
||||||
DIST Django-4.0.1.tar.gz 9995484 BLAKE2B af05ec1ec1d079e383efc590de78413b7fd769e7f03c5d4bdcfd26f193a46f783b4c3428558f5d3281cab9a7fa8be4cfecdc4edaf1bea72f37e8e983b3c061f1 SHA512 7753c516b080c10673c3a95e8ec4af00984aeed5f288e4d6e7ab1efd461222a343701b21cfd27bc61ee4e63df5ce3f3be49398490a995f6839e63b40c3fe306c
|
|
||||||
DIST Django-4.0.2.checksum.txt 2547 BLAKE2B 532139126846e1758bbe7b4dc4ad4aad6c6b3607e298f4373366239637ceca7d01a26472b2a87917e64db7140d28a76c1f5fbb396e7022b1a42b723551770d1f SHA512 eddd8ac31fc60f803f1e6f975c079e84e5ef997e8ac93b7dcf3573bd0c5d057adeb6f092acaecb200529044d81aa2db9849c1c13525678c8c2bd27bd14d6b280
|
DIST Django-4.0.2.checksum.txt 2547 BLAKE2B 532139126846e1758bbe7b4dc4ad4aad6c6b3607e298f4373366239637ceca7d01a26472b2a87917e64db7140d28a76c1f5fbb396e7022b1a42b723551770d1f SHA512 eddd8ac31fc60f803f1e6f975c079e84e5ef997e8ac93b7dcf3573bd0c5d057adeb6f092acaecb200529044d81aa2db9849c1c13525678c8c2bd27bd14d6b280
|
||||||
DIST Django-4.0.2.tar.gz 9996300 BLAKE2B 422b0bb000e7f62a854dc8fa686001acc3f629ded462d2520fad9486a9c8eb5d501d29c6a9f30f63ff8da128ded6f40281439371eb688fb9bc95f2377c5ca0f7 SHA512 c64b25aa69b826805cc7a3efcd63ae41bbc31a61e68cdbda90e6bcec6bd8e2c5fc47b82176d0c1708f55d2c7b082c71939b89cb0621fcf1929d1475e3d393a97
|
DIST Django-4.0.2.tar.gz 9996300 BLAKE2B 422b0bb000e7f62a854dc8fa686001acc3f629ded462d2520fad9486a9c8eb5d501d29c6a9f30f63ff8da128ded6f40281439371eb688fb9bc95f2377c5ca0f7 SHA512 c64b25aa69b826805cc7a3efcd63ae41bbc31a61e68cdbda90e6bcec6bd8e2c5fc47b82176d0c1708f55d2c7b082c71939b89cb0621fcf1929d1475e3d393a97
|
||||||
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
PYTHON_REQ_USE='sqlite?,threads(+)'
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
|
||||||
|
|
||||||
MY_P=${P^}
|
|
||||||
DESCRIPTION="High-level Python web framework"
|
|
||||||
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
|
||||||
SRC_URI="
|
|
||||||
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
|
||||||
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
# admin fonts: Roboto (media-fonts/roboto)
|
|
||||||
LICENSE+=" Apache-2.0"
|
|
||||||
# admin icons, jquery, xregexp.js
|
|
||||||
LICENSE+=" MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
|
||||||
IUSE="doc sqlite test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND="
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
$(python_gen_impl_dep sqlite)
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/selenium[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tblib[${PYTHON_USEDEP}]
|
|
||||||
sys-devel/gettext
|
|
||||||
)
|
|
||||||
verify-sig? ( sec-keys/openpgp-keys-django )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-2.0.7-bashcomp.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs --no-autodoc
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
cd "${DISTDIR}" || die
|
|
||||||
verify-sig_verify_signed_checksums \
|
|
||||||
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
|
||||||
cd "${WORKDIR}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# Tests have non-standard assumptions about PYTHONPATH,
|
|
||||||
# and don't work with ${BUILD_DIR}/lib.
|
|
||||||
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
|
||||||
die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp extras/django_bash_completion ${PN}-admin
|
|
||||||
bashcomp_alias ${PN}-admin django-admin.py
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature_header "Additional Backend support can be enabled via:"
|
|
||||||
optfeature "MySQL backend support" dev-python/mysqlclient
|
|
||||||
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
|
||||||
optfeature_header
|
|
||||||
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
|
||||||
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
|
||||||
optfeature "ImageField Support" dev-python/pillow
|
|
||||||
optfeature "Password encryption" dev-python/bcrypt
|
|
||||||
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
|
||||||
}
|
|
@ -1,101 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE='sqlite?,threads(+)'
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
|
||||||
|
|
||||||
MY_P=${P^}
|
|
||||||
DESCRIPTION="High-level Python web framework"
|
|
||||||
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
|
||||||
SRC_URI="
|
|
||||||
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
|
||||||
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
# admin fonts: Roboto (media-fonts/roboto)
|
|
||||||
LICENSE+=" Apache-2.0"
|
|
||||||
# admin icons, jquery, xregexp.js
|
|
||||||
LICENSE+=" MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86 ~x64-macos"
|
|
||||||
IUSE="doc sqlite test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/asgiref-3.3.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_impl_dep sqlite)
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/selenium[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tblib[${PYTHON_USEDEP}]
|
|
||||||
sys-devel/gettext
|
|
||||||
!!<dev-python/ipython-7.21.0-r1
|
|
||||||
!!=dev-python/ipython-7.22.0-r0
|
|
||||||
)
|
|
||||||
verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-3.1-bashcomp.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs --no-autodoc
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
cd "${DISTDIR}" || die
|
|
||||||
verify-sig_verify_signed_checksums \
|
|
||||||
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
|
||||||
cd "${WORKDIR}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Fails because of warnings
|
|
||||||
sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# Tests have non-standard assumptions about PYTHONPATH,
|
|
||||||
# and don't work with ${BUILD_DIR}/lib.
|
|
||||||
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
|
||||||
die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp extras/django_bash_completion ${PN}-admin
|
|
||||||
bashcomp_alias ${PN}-admin django-admin.py
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature_header "Additional Backend support can be enabled via:"
|
|
||||||
optfeature "MySQL backend support" dev-python/mysqlclient
|
|
||||||
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
|
||||||
optfeature_header
|
|
||||||
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
|
||||||
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
|
||||||
optfeature "ImageField Support" dev-python/pillow
|
|
||||||
optfeature "Password encryption" dev-python/bcrypt
|
|
||||||
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
|
||||||
}
|
|
@ -1,103 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
PYTHON_REQ_USE='sqlite?,threads(+)'
|
|
||||||
|
|
||||||
inherit bash-completion-r1 distutils-r1 optfeature verify-sig
|
|
||||||
|
|
||||||
MY_P=${P^}
|
|
||||||
DESCRIPTION="High-level Python web framework"
|
|
||||||
HOMEPAGE="https://www.djangoproject.com/ https://pypi.org/project/Django/"
|
|
||||||
SRC_URI="
|
|
||||||
https://media.djangoproject.com/releases/$(ver_cut 1-2)/${MY_P}.tar.gz
|
|
||||||
verify-sig? ( https://media.djangoproject.com/pgp/${MY_P}.checksum.txt )"
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
# admin fonts: Roboto (media-fonts/roboto)
|
|
||||||
LICENSE+=" Apache-2.0"
|
|
||||||
# admin icons, jquery, xregexp.js
|
|
||||||
LICENSE+=" MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
|
||||||
IUSE="doc sqlite test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/asgiref-3.4.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
|
||||||
' python3_8 pypy3)"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
$(python_gen_impl_dep sqlite)
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/docutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pillow[webp,${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/selenium[${PYTHON_USEDEP}]
|
|
||||||
dev-python/tblib[${PYTHON_USEDEP}]
|
|
||||||
sys-devel/gettext
|
|
||||||
!!<dev-python/ipython-7.21.0-r1
|
|
||||||
!!=dev-python/ipython-7.22.0-r0
|
|
||||||
)
|
|
||||||
verify-sig? ( >=sec-keys/openpgp-keys-django-20201201 )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-4.0-bashcomp.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs --no-autodoc
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/django.asc
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
if use verify-sig; then
|
|
||||||
cd "${DISTDIR}" || die
|
|
||||||
verify-sig_verify_signed_checksums \
|
|
||||||
"${MY_P}.checksum.txt" sha256 "${MY_P}.tar.gz"
|
|
||||||
cd "${WORKDIR}" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Fails because of warnings
|
|
||||||
sed -i 's/test_dumpdata_proxy_with_concrete/_&/' tests/fixtures/tests.py
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# Tests have non-standard assumptions about PYTHONPATH,
|
|
||||||
# and don't work with ${BUILD_DIR}/lib.
|
|
||||||
PYTHONPATH=. "${EPYTHON}" tests/runtests.py --settings=test_sqlite -v2 ||
|
|
||||||
die "Tests fail with ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
newbashcomp extras/django_bash_completion ${PN}-admin
|
|
||||||
bashcomp_alias ${PN}-admin django-admin.py
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature_header "Additional Backend support can be enabled via:"
|
|
||||||
optfeature "MySQL backend support" dev-python/mysqlclient
|
|
||||||
optfeature "PostgreSQL backend support" dev-python/psycopg:2
|
|
||||||
optfeature_header
|
|
||||||
optfeature "GEO Django" "sci-libs/gdal[geos]"
|
|
||||||
optfeature "Memcached support" dev-python/pylibmc dev-python/python-memcached
|
|
||||||
optfeature "ImageField Support" dev-python/pillow
|
|
||||||
optfeature "Password encryption" dev-python/bcrypt
|
|
||||||
optfeature "High-level abstractions for Django forms" dev-python/django-formtools
|
|
||||||
}
|
|
@ -1,4 +1,2 @@
|
|||||||
DIST pylama-7.7.1.tar.gz 34740 BLAKE2B a4bd5aed40c2c4e7bdb9f9968030f0954f0309cff80567b2252ee9576fdb4598714286bda63c22676789d4919662430ef2729089faa70b5cb590784eb47ef1f0 SHA512 298fabffcdf38e3e868e3965de87a0e761bc9dfcfe33320b53057c4e05598bcc22045481ec16ccb8df27f49ea41d6fef82b69fe7327905f93ce74d9350682cf0
|
|
||||||
DIST pylama-8.0.6.tar.gz 34223 BLAKE2B 690a0a1197f6512e9511083aa079843f2ca99c9bdb5d74756531db79f7d39e8e0f60a0955b24bc7739edce0376eb79821a796978fb2365789a97628f03f240f8 SHA512 5bc75e5b2a0b141dbe2ca993d13833914980c735b84f3df766bf750909af1eeaba0d554845d8c09f0d8186ff48c8330d9ffa5b565a577ef6506f32672a2c9209
|
|
||||||
DIST pylama-8.3.6.tar.gz 36190 BLAKE2B f0c9944d3aa205c9f52fdfab6b47ad5ad08f1865db22eef20add0652fcb4355f878026aad9f1babbfcb4f98c13bc5cbaa069d9d7b5c7a775d994a8952f8a8cc5 SHA512 c279f3005e354be448f42addcfeae6025e1dd4acf84e5de0c3ae707ceac4f98e43a07f43be347b26bfb8db4167945db1db547ed7bd9eb73ca78bbc92d26fdfff
|
DIST pylama-8.3.6.tar.gz 36190 BLAKE2B f0c9944d3aa205c9f52fdfab6b47ad5ad08f1865db22eef20add0652fcb4355f878026aad9f1babbfcb4f98c13bc5cbaa069d9d7b5c7a775d994a8952f8a8cc5 SHA512 c279f3005e354be448f42addcfeae6025e1dd4acf84e5de0c3ae707ceac4f98e43a07f43be347b26bfb8db4167945db1db547ed7bd9eb73ca78bbc92d26fdfff
|
||||||
DIST pylama-8.3.7.tar.gz 36264 BLAKE2B 8092320c039b5cd45a379a2718443cf03f5cef931767ae765c90096e3b23d5b7242034009eecb40413f05e2de2fd72a4285a91ebbc1fb474d232cffc9c992b94 SHA512 acfab9584e7bd8b146350e6af83975e91391e39c00a0fea23d4e55f46dd684b519088ed68c90e335e334e8526aecab2ad2286a0c082d26a4b867eadcbd8866c8
|
DIST pylama-8.3.7.tar.gz 36264 BLAKE2B 8092320c039b5cd45a379a2718443cf03f5cef931767ae765c90096e3b23d5b7242034009eecb40413f05e2de2fd72a4285a91ebbc1fb474d232cffc9c992b94 SHA512 acfab9584e7bd8b146350e6af83975e91391e39c00a0fea23d4e55f46dd684b519088ed68c90e335e334e8526aecab2ad2286a0c082d26a4b867eadcbd8866c8
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Code audit tool for python"
|
|
||||||
HOMEPAGE="https://github.com/klen/pylama"
|
|
||||||
SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
# pypi tarball excludes unit tests
|
|
||||||
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/mccabe-0.5.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pycodestyle[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pydocstyle[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyflakes[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/mypy[${PYTHON_USEDEP}]
|
|
||||||
dev-vcs/git
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -e "s|exclude=\['plugins'\]|exclude=['plugins', 'tests']|" -i setup.py || die
|
|
||||||
sed -e 's|^\(def\) \(test_ignore_select\)|\1 _\2|' -i tests/test_config.py || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local EPYTEST_DESELECT=(
|
|
||||||
# Disable eradicate until it is fixed:
|
|
||||||
# https://github.com/klen/pylama/issues/190
|
|
||||||
tests/test_linters.py::test_eradicate
|
|
||||||
)
|
|
||||||
epytest tests
|
|
||||||
}
|
|
@ -1,40 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..10} )
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Code audit tool for python"
|
|
||||||
HOMEPAGE="https://github.com/klen/pylama"
|
|
||||||
SRC_URI="https://github.com/klen/pylama/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/mccabe-0.6.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pycodestyle-2.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pydocstyle-6.1.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
test? (
|
|
||||||
dev-python/eradicate[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mypy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pylint[${PYTHON_USEDEP}]
|
|
||||||
dev-python/radon[${PYTHON_USEDEP}]
|
|
||||||
dev-vcs/git
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
distutils_enable_sphinx docs
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
EPYTEST_DESELECT=(
|
|
||||||
# not packaged
|
|
||||||
tests/test_linters.py::test_quotes
|
|
||||||
tests/test_linters.py::test_vulture
|
|
||||||
)
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST puddletag-2.0.1.tar.gz 1227152 BLAKE2B 804e9ca9629a9d78114d6f4b6afbe9032cb414678ea6325679c21ac18867bafed8f1b16aae5fbea18995ecc800d35594c478a5164b377f3b4e5dd75148fd3246 SHA512 d84ba360a6cd8c3ddb6628e30276df58d059d9e8cbb2d1255320ca273436c69f05584059c2e768a15871d3f56dc08d7ac96fef9a9c7c077811bb9fdfde444610
|
DIST puddletag-2.0.1.tar.gz 1227152 BLAKE2B 804e9ca9629a9d78114d6f4b6afbe9032cb414678ea6325679c21ac18867bafed8f1b16aae5fbea18995ecc800d35594c478a5164b377f3b4e5dd75148fd3246 SHA512 d84ba360a6cd8c3ddb6628e30276df58d059d9e8cbb2d1255320ca273436c69f05584059c2e768a15871d3f56dc08d7ac96fef9a9c7c077811bb9fdfde444610
|
||||||
|
DIST puddletag-2.1.0.tar.gz 14628824 BLAKE2B 52ac6291682710eed81aa6176b1a53eb15aec8885a8421361d3da8850e8b1719d0d1c9b2f131ad826febc328244ec890cf6283f1945275458d75b1f923890dd2 SHA512 638c12be894d157d0456f336972f0064c4f4087d1c689f58b7b01f0e88cd773319b9c447e6f2b606f6e482b6d1e2328f5bc2aca556bab427b764d6525b8c2d5e
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||||
|
|
||||||
|
inherit distutils-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Audio tag editor"
|
||||||
|
HOMEPAGE="http://docs.puddletag.net/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2 GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="acoustid quodlibet"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/configobj-5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/PyQt5-5.15.2[${PYTHON_USEDEP},svg]
|
||||||
|
>=media-libs/mutagen-1.45.1[${PYTHON_USEDEP}]
|
||||||
|
acoustid? ( >=media-libs/chromaprint-1.4.3 )
|
||||||
|
quodlibet? ( >=media-sound/quodlibet-4.4.0[${PYTHON_USEDEP}] )
|
||||||
|
>=dev-python/sip-4.19.22:0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/lxml-4.5.2[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
# docs
|
||||||
|
# >=dev-python/wheel-0.35.1[${PYTHON_USEDEP}]
|
||||||
|
# >=dev-python/markdown-3.1.1[${PYTHON_USEDEP}]
|
||||||
|
# >=dev-python/sphinx-1.4.8[${PYTHON_USEDEP}]
|
||||||
|
# >=dev-python/sphinx-bootstrap-theme-0.4.13[${PYTHON_USEDEP}]
|
||||||
|
# >=dev-python/PyRSS2Gen-1.1[${PYTHON_USEDEP}]
|
||||||
|
|
||||||
|
DOCS=(changelog NEWS THANKS TODO)
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
Wed, 02 Feb 2022 10:09:08 +0000
|
Wed, 02 Feb 2022 17:39:07 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Wed, 02 Feb 2022 10:09:08 +0000
|
Wed, 02 Feb 2022 17:39:07 +0000
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,15 +1,15 @@
|
|||||||
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 )
|
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 )
|
||||||
DEFINED_PHASES=compile configure install postinst prepare test
|
DEFINED_PHASES=compile configure install postinst prepare test
|
||||||
DEPEND=app-text/xmlto sys-apps/gentoo-functions
|
DEPEND=app-text/xmlto sys-apps/gentoo-functions
|
||||||
DESCRIPTION=Gentoo's installer for web-based applications
|
DESCRIPTION=Gentoo's installer for web-based applications
|
||||||
EAPI=7
|
EAPI=7
|
||||||
HOMEPAGE=https://sourceforge.net/projects/webapp-config/
|
HOMEPAGE=https://sourceforge.net/projects/webapp-config/
|
||||||
IUSE=+portage python_targets_python3_8 python_targets_python3_9
|
IUSE=+portage python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||||
KEYWORDS=~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86
|
KEYWORDS=~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=portage? ( sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 )
|
RDEPEND=portage? ( sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 )
|
||||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 )
|
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=https://dev.gentoo.org/~twitch153/webapp-config/webapp-config-1.55.tar.bz2
|
SRC_URI=https://dev.gentoo.org/~twitch153/webapp-config/webapp-config-1.55.tar.bz2
|
||||||
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b prefix d04f14b297013ad1410550c0757f14f8 python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b prefix d04f14b297013ad1410550c0757f14f8 python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
_md5_=0c8971d40e818563f690ae7170eb4de4
|
_md5_=d3ed2588dd32f027f587a6901e447a7d
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) >=dev-vcs/git-1.8.2.1[curl]
|
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 ) >=dev-vcs/git-1.8.2.1[curl]
|
||||||
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
DEFINED_PHASES=compile configure install postinst prepare test unpack
|
||||||
DEPEND=app-text/xmlto sys-apps/gentoo-functions
|
DEPEND=app-text/xmlto sys-apps/gentoo-functions
|
||||||
DESCRIPTION=Gentoo's installer for web-based applications
|
DESCRIPTION=Gentoo's installer for web-based applications
|
||||||
EAPI=7
|
EAPI=7
|
||||||
HOMEPAGE=https://sourceforge.net/projects/webapp-config/
|
HOMEPAGE=https://sourceforge.net/projects/webapp-config/
|
||||||
IUSE=+portage python_targets_python3_8 python_targets_python3_9
|
IUSE=+portage python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
PROPERTIES=live
|
PROPERTIES=live
|
||||||
RDEPEND=portage? ( sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 )
|
RDEPEND=portage? ( sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8 ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9 ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10 )
|
||||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 )
|
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 git-r3 cc875b0c1e9b3bdac1af0f82f3ba29da multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b prefix d04f14b297013ad1410550c0757f14f8 python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 git-r3 cc875b0c1e9b3bdac1af0f82f3ba29da multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b prefix d04f14b297013ad1410550c0757f14f8 python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
_md5_=56463370df552e13ed53db46e1aae3ce
|
_md5_=d69f89f16e29378577e4b1abba798e26
|
||||||
|
Binary file not shown.
@ -1,16 +0,0 @@
|
|||||||
BDEPEND=>=sys-devel/autoconf-2.69-r5 virtual/pkgconfig sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.4:1.16 ) >=sys-devel/autoconf-2.71 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
|
||||||
DEFINED_PHASES=configure install postinst prepare test
|
|
||||||
DEPEND=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 ) dev-libs/openssl:0= milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) xml? ( dev-libs/libxml2 ) metadata-analysis-api? ( dev-libs/json-c:* ) test? ( dev-libs/check )
|
|
||||||
DESCRIPTION=Clam Anti-Virus Scanner
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=https://www.clamav.net/
|
|
||||||
IUSE=bzip2 doc clamonacc clamdtop clamsubmit iconv ipv6 libclamav-only milter metadata-analysis-api selinux systemd test xml
|
|
||||||
KEYWORDS=~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=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 ) dev-libs/openssl:0= milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) xml? ( dev-libs/libxml2 ) selinux? ( sec-policy/selinux-clamav ) virtual/tmpfiles
|
|
||||||
REQUIRED_USE=libclamav-only? ( !clamonacc !clamdtop !clamsubmit !milter !metadata-analysis-api )
|
|
||||||
RESTRICT=!test? ( test )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://www.clamav.net/downloads/production/clamav-0.103.4.tar.gz
|
|
||||||
_eclasses_=autotools 6cc26735fa9dd59e8c62880beda05b6e edos2unix 33e347e171066657f91f8b0c72ec8773 eutils dab5d8ec471d025b79c9e6906bcf3bff flag-o-matic a500d7cc40da3de38c361e889153bdf7 gnuconfig 262062cef0ba4f22b397193da514a350 libtool 241a8f577b9781a42a7421e53448a44e multilib de4beb52bfa93c4c5d96792a6b5e1784 strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 systemd 2736b403a83f194b59b767f3b344c2c1 tmpfiles 11d91b11caf3bbb725c7d9eba90335c8 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8 wrapper 4251d4c84c25f59094fd557e0063a974
|
|
||||||
_md5_=c606a0137cf62c812dcf19dc4cebb9d0
|
|
Binary file not shown.
Binary file not shown.
@ -1,14 +0,0 @@
|
|||||||
BDEPEND=>dev-python/setuptools_scm-1.12.0[python_targets_python3_8(-)?] dev-python/vdirsyncer[python_targets_python3_8(-)?] dev-python/freezegun[python_targets_python3_8(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] ) >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DESCRIPTION=A CalDAV based calendar
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=http://lostpackets.de/khal/
|
|
||||||
IUSE=python_targets_python3_8
|
|
||||||
KEYWORDS=~amd64 ~arm ~arm64 ~x86
|
|
||||||
LICENSE=MIT
|
|
||||||
RDEPEND=>=dev-python/click-3.2[python_targets_python3_8(-)?] >=dev-python/click-log-0.2.0[python_targets_python3_8(-)?] >=dev-python/icalendar-4.0.3[python_targets_python3_8(-)?] dev-python/urwid[python_targets_python3_8(-)?] dev-python/pyxdg[python_targets_python3_8(-)?] dev-python/pytz[python_targets_python3_8(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?] dev-python/configobj[python_targets_python3_8(-)?] >=dev-python/atomicwrites-0.1.7[python_targets_python3_8(-)?] <dev-python/tzlocal-3[python_targets_python3_8(-)?] dev-python/setproctitle[python_targets_python3_8(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] )
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_8 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://pypi/k/khal/khal-0.10.1.tar.gz
|
|
||||||
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
|
||||||
_md5_=22b815da349ffb4659d07a62a5fdd24e
|
|
@ -1,14 +0,0 @@
|
|||||||
BDEPEND=>dev-python/setuptools_scm-1.12.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/vdirsyncer[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/freezegun[python_targets_python3_8(-)?,python_targets_python3_9(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[sqlite] ) >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?]
|
|
||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DESCRIPTION=A CalDAV based calendar
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=https://lostpackets.de/khal/
|
|
||||||
IUSE=python_targets_python3_8 python_targets_python3_9
|
|
||||||
KEYWORDS=~amd64 ~arm ~arm64 ~riscv ~x86
|
|
||||||
LICENSE=MIT
|
|
||||||
RDEPEND=dev-python/click[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/click-log[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/icalendar-4.0.3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/urwid-1.3.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pyxdg[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pytz[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/configobj[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/atomicwrites-0.1.7[python_targets_python3_8(-)?,python_targets_python3_9(-)?] <dev-python/tzlocal-3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/setproctitle[python_targets_python3_8(-)?,python_targets_python3_9(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[sqlite] )
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=mirror://pypi/k/khal/khal-0.10.2.tar.gz
|
|
||||||
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
|
||||||
_md5_=4f7c8b1ab85cc4c2833c53cdd2b249a3
|
|
@ -0,0 +1,15 @@
|
|||||||
|
BDEPEND=>dev-python/setuptools_scm-1.12.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/vdirsyncer[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/freezegun[python_targets_python3_8(-)?,python_targets_python3_9(-)?] test? ( dev-python/click[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/click-log[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/icalendar-4.0.3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/urwid-1.3.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pyxdg[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pytz[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/configobj[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/atomicwrites-0.1.7[python_targets_python3_8(-)?,python_targets_python3_9(-)?] <dev-python/tzlocal-3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/setproctitle[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/pytest-6.2.5-r2[python_targets_python3_8(-)?,python_targets_python3_9(-)?] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[sqlite] ) >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?]
|
||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=A CalDAV based calendar
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://lostpackets.de/khal/
|
||||||
|
IUSE=test python_targets_python3_8 python_targets_python3_9
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~riscv ~x86
|
||||||
|
LICENSE=MIT
|
||||||
|
RDEPEND=dev-python/click[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/click-log[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/icalendar-4.0.3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/urwid-1.3.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pyxdg[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/pytz[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/python-dateutil[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/configobj[python_targets_python3_8(-)?,python_targets_python3_9(-)?] >=dev-python/atomicwrites-0.1.7[python_targets_python3_8(-)?,python_targets_python3_9(-)?] <dev-python/tzlocal-3[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/setproctitle[python_targets_python3_8(-)?,python_targets_python3_9(-)?] python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[sqlite] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[sqlite] )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 )
|
||||||
|
RESTRICT=!test? ( test )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://pypi/k/khal/khal-0.10.4.tar.gz
|
||||||
|
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
|
_md5_=ea692fff09b86a6f19bbcbc482871629
|
Binary file not shown.
@ -1,14 +0,0 @@
|
|||||||
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[xml] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[xml] ) virtual/pkgconfig
|
|
||||||
DEFINED_PHASES=compile configure install postinst prepare test
|
|
||||||
DESCRIPTION=Searchable online file/package database for Gentoo
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=http://www.portagefilelist.de https://github.com/portagefilelist/client
|
|
||||||
IUSE=+network-cron python_targets_python3_8 python_targets_python3_9
|
|
||||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos
|
|
||||||
LICENSE=GPL-2
|
|
||||||
RDEPEND=dev-python/requests[python_targets_python3_8(-)?,python_targets_python3_9(-)?] dev-python/termcolor[python_targets_python3_8(-)?,python_targets_python3_9(-)?] sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?] network-cron? ( sys-apps/util-linux[caps] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[xml] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[xml] )
|
|
||||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=https://github.com/portagefilelist/client/archive/3.2.tar.gz -> pfl-3.2.tar.gz
|
|
||||||
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 eapi8-dosym cd7d420bb5be5ee079f27239ce76b8f5 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da systemd 2736b403a83f194b59b767f3b344c2c1 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
|
||||||
_md5_=3b6708e2c2fc1274dc9233c76a806b39
|
|
@ -0,0 +1,14 @@
|
|||||||
|
BDEPEND=python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[xml] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[xml] ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10[xml] ) >=dev-python/installer-0.4.0_p20220124[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/tomli[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-60.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/wheel[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] virtual/pkgconfig
|
||||||
|
DEFINED_PHASES=compile configure install postinst prepare test
|
||||||
|
DESCRIPTION=Searchable online file/package database for Gentoo
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=http://www.portagefilelist.de https://github.com/portagefilelist/client
|
||||||
|
IUSE=+network-cron python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=dev-python/requests[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/termcolor[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] sys-apps/portage[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] network-cron? ( sys-apps/util-linux[caps] ) python_targets_python3_8? ( >=dev-lang/python-3.8.12_p1-r1:3.8[xml] ) python_targets_python3_9? ( >=dev-lang/python-3.9.9-r1:3.9[xml] ) python_targets_python3_10? ( >=dev-lang/python-3.10.0_p1-r1:3.10[xml] )
|
||||||
|
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/portagefilelist/client/archive/3.2.tar.gz -> pfl-3.2.tar.gz
|
||||||
|
_eclasses_=distutils-r1 242601d395f54f27cfbc76e53f5e0203 multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 0e7a98958af67ee30e3c2b2e3b37c0be python-utils-r1 7ee47726753a2bd062a05f6643d849da systemd 2736b403a83f194b59b767f3b344c2c1 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8
|
||||||
|
_md5_=3fd82a001baa1530170514ec754b3283
|
Binary file not shown.
@ -1,15 +0,0 @@
|
|||||||
BDEPEND=app-arch/unzip >=dev-lang/tcl-8.6:0 sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.4:1.16 ) >=sys-devel/autoconf-2.71 >=sys-devel/libtool-2.4
|
|
||||||
DEFINED_PHASES=compile configure install prepare test unpack
|
|
||||||
DEPEND=sys-libs/zlib:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0= ) test? ( >=dev-lang/tcl-8.6:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
|
||||||
DESCRIPTION=SQL database engine
|
|
||||||
EAPI=7
|
|
||||||
HOMEPAGE=https://sqlite.org/
|
|
||||||
IUSE=debug doc icu +readline secure-delete static-libs tcl test tools abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64
|
|
||||||
KEYWORDS=~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
|
||||||
LICENSE=public-domain
|
|
||||||
RDEPEND=sys-libs/zlib:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] icu? ( dev-libs/icu:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) readline? ( sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tcl? ( dev-lang/tcl:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) tools? ( dev-lang/tcl:0= )
|
|
||||||
RESTRICT=!test? ( test )
|
|
||||||
SLOT=3
|
|
||||||
SRC_URI=https://sqlite.org/2021/sqlite-src-3350500.zip doc? ( https://sqlite.org/2021/sqlite-doc-3350500.zip )
|
|
||||||
_eclasses_=autotools 6cc26735fa9dd59e8c62880beda05b6e edos2unix 33e347e171066657f91f8b0c72ec8773 eutils dab5d8ec471d025b79c9e6906bcf3bff flag-o-matic a500d7cc40da3de38c361e889153bdf7 gnuconfig 262062cef0ba4f22b397193da514a350 libtool 241a8f577b9781a42a7421e53448a44e multibuild d79bd5b4bc4edcb1f5bc19591f8d4714 multilib de4beb52bfa93c4c5d96792a6b5e1784 multilib-build 75c3a5814f2cb851f641711bfcc100c0 multilib-minimal 4b0f1857965db8869a729948d5277e0b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 toolchain-funcs badd6e329e1f3e6bee99b35bf8763ce8 wrapper 4251d4c84c25f59094fd557e0063a974
|
|
||||||
_md5_=352e499673bb53689e4d6a4bc16e5bd8
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue