Merge updates from master

This commit is contained in:
Repository mirror & CI
2021-04-14 09:20:02 +00:00
22 changed files with 326 additions and 55 deletions

View File

@@ -1 +1 @@
DIST atom-bin-1.55.0.tar.gz 193419030 BLAKE2B 7c6dcb95947d10e024daa8bf160744ddb5c9885083dbfe3e9506810002a33d14599da3f27b776e185efc315cca312bc83b73c5c835361e8d1b545d050bbbaf6a SHA512 be8e80fa6f71735c05203cb95711614dd77fadf030a13c453a3921060f359c6ce2b1971c3be9c93db8accbc5151685f91b7dc77a074dbfc77f7d576a1158b211
DIST atom-bin-1.56.0.tar.gz 203117596 BLAKE2B 393f8f8518d1ce0227e4076cd5c227e26ada9080b55fa31973c52f9dfd365788b6bcc2ce96e504ac60d77564e2b4a927a40dd64bbb5081937c7f019ac70eebb1 SHA512 84f239316c51e1d43fc6317bf598c002734ed4764ee0378c0d2aea458a1591db7bbab5e1e30abf37fa01e0bb5ce77654739a4d79bcf2ff7c42b9e8bad284b111

View File

@@ -12,7 +12,7 @@ SRC_URI="https://github.com/atom/atom/releases/download/v${PV}/atom-amd64.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="alsa cups nodejs ssl test X"
IUSE="alsa cups ssl test X"
RESTRICT="!test? ( test )"
S="${WORKDIR}/atom-${PV}-amd64"
@@ -26,7 +26,6 @@ RDEPEND="
dev-vcs/git
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
nodejs? ( net-libs/nodejs[npm] )
ssl? (
dev-libs/openssl
dev-libs/openssl-compat
@@ -67,18 +66,10 @@ src_install(){
dosym ../../opt/"${PN}"/atom "${EPREFIX}"/usr/bin/atom
fperms +x /opt/"${PN}"/atom
if use nodejs; then
rm resources/app/apm/bin/npm
rm resources/app/apm/BUNDLED_NODE_VERSION
#Fix apm to use nodejs binary
sed -i "s#\$binDir\/\$nodeBin#\$\(which \$nodeBin\)#" resources/app/apm/bin/apm
else
fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
fi
fperms +x /opt/"${PN}"/resources/app/apm/bin/node
# I will use only npm provided with package itself
fperms +x /opt/"${PN}"/resources/app/apm/bin/apm
fperms +x /opt/"${PN}"/resources/app/apm/bin/node
fperms +x /opt/"${PN}"/resources/app/apm/bin/npm
doicon atom.png
make_desktop_entry "/opt/atom-bin/atom %U" "Atom" "atom" \

View File

@@ -8,7 +8,4 @@
<upstream>
<remote-id type="github">atom/atom</remote-id>
</upstream>
<use>
<flag name="nodejs">Enable nodejs support in USE</flag>
</use>
</pkgmetadata>

View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/FactoryBoy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64"
RDEPEND="dev-python/Faker[${PYTHON_USEDEP}]"
BDEPEND="

View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/FactoryBoy/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/Faker-0.7.0[${PYTHON_USEDEP}]"
BDEPEND="

View File

@@ -16,7 +16,7 @@ SRC_URI="https://github.com/pytest-dev/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="~amd64"
RDEPEND="
dev-python/docutils[${PYTHON_USEDEP}]

View File

@@ -1 +0,0 @@
DIST timeout-decorator-0.5.0.tar.gz 4754 BLAKE2B d92581f196a246c3da978f351e223117bb1554c2abf5daac18f69ae42cafd11ef8722f1c10834f6169a1e311691b1edec326523e4c0adb0869b8a48e93d35db5 SHA512 ee6d47a27ad3ed7921bc5b98391c4f933e247dc3834c9571248bf2a3b0237acaad88daa8b071eb8d443f74c792318b5be5bb9fad99fa99df682198f90cd86b1b

View File

@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<upstream>
<remote-id type="github">pnpnpn/timeout-decorator</remote-id>
<remote-id type="pypi">timeout-decorator</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,19 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
DESCRIPTION="Timeout decorator"
HOMEPAGE="
https://github.com/pnpnpn/timeout-decorator
https://pypi.org/project/timeout-decorator
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 "
SLOT="0"

View File

@@ -0,0 +1 @@
DIST geminipart-11e93034deaacee8237ac79f46854b15368f1e9c.tar.gz 19391 BLAKE2B 2824c81b8258cffe438e265f0556701f5827a2223161493fab56dca423557c24f010a5af9bb3bffd16ed0296f96aaa2376472210c6f4ee757e9899aaafd80b3f SHA512 945b44c0709a6d25f640396ff9a0fef1a69a65bc01b9d8202c9e1943e982400e1a400b039190366b0b82f05bdfe426c5ff135bd4863d43a986a0d8ce7688a025

View File

@@ -0,0 +1,27 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="11e93034deaacee8237ac79f46854b15368f1e9c"
ECM_TEST="forceoptional"
KFMIN=5.16.0
QTMIN=5.4.0
inherit ecm
DESCRIPTION="KPart for viewing text/gemini files"
HOMEPAGE="https://invent.kde.org/tobias/geminipart"
SRC_URI="https://invent.kde.org/tobias/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="LGPL-2+"
SLOT="5"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
DEPEND="
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kparts-${KFMIN}:5
"
RDEPEND="${DEPEND}"

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<maintainer>
<name>Tobias Rautenkranz</name>
<email>mail@tobias.rautenkranz.ch</email>
</maintainer>
<bugs-to>https://invent.kde.org/tobias/geminipart/-/issues</bugs-to>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST kio-gemini-d60b94caae7a4c295c0aefc4415555bb5ba62a3f.tar.gz 17115 BLAKE2B 0d78f85f2d6ead0804e1022eda25c2df54d359a538a588e499e7e6076917848cd46ce651ddd4e7afdb388ebd5ac88c39be04752720895ddb4326b7e19accbc8f SHA512 ff5471c12ab7e6246a5e36d0976724c81ba8aa6fd16d3ebbf6f44fe26ac42718db50d5fa9241240a24e09e3737b5532ca7fe6cd94e96d251a9d34a368c97c2b2

View File

@@ -0,0 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="d60b94caae7a4c295c0aefc4415555bb5ba62a3f"
ECM_HANDBOOK="forceoptional"
KFMIN=5.38.0
QTMIN=5.4.0
inherit ecm
DESCRIPTION="Gemini KIO slave"
HOMEPAGE="https://invent.kde.org/tobias/kio-gemini"
SRC_URI="https://invent.kde.org/tobias/${PN}/-/archive/${COMMIT}/${PN}-${COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="LGPL-2+"
SLOT="5"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE=""
DEPEND="
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
"
RDEPEND="${DEPEND}"

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<maintainer>
<name>Tobias Rautenkranz</name>
<email>mail@tobias.rautenkranz.ch</email>
</maintainer>
<bugs-to>https://invent.kde.org/tobias/kio-gemini/-/issues</bugs-to>
</upstream>
<maintainer type="person">
<email>cyber+gentoo@sysrq.in</email>
<name>Anna</name>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST nuclear-bin-0.6.11.tar.gz 100883653 BLAKE2B bc99721c4ea914a5453e6366b18491c81f55a009a6b83fc0f52bd1182e81ac71d5856cb7c507c8f5759f56e33dbc39afd0e1b4bcdf3a95196ac569f509537168 SHA512 39a425f8a5fc59b2d8f2c66a5c2aab971e9b2af935fa38146da7772a47e2de61073bc11d5499b7897dab90325570e836bbd87a6932b3dc5a63066ac93e83415c

View File

@@ -0,0 +1,11 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>marco@scardovi.com</email>
<name>Marco Scardovi</name>
</maintainer>
<upstream>
<remote-id type="github">nukeop/nuclear</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,76 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop xdg
MY_P="nuclear-${PV}"
DESCRIPTION="Nuclear is a streaming program that pulls content from free sources on internet"
HOMEPAGE="https://nuclear.js.org/"
SRC_URI="https://github.com/nukeop/nuclear/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="alsa cups X"
S="${WORKDIR}/${MY_P}"
DEPEND="
app-accessibility/at-spi2-atk
app-accessibility/at-spi2-core
dev-libs/atk
dev-libs/libappindicator
dev-libs/nss
alsa? ( media-libs/alsa-lib )
cups? ( net-print/cups )
X? (
media-libs/mesa
x11-libs/gdk-pixbuf
x11-libs/gtk+
x11-libs/libdrm
x11-libs/libnotify
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXfixes
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libxshmfence
x11-libs/libXtst
x11-libs/pango
)
"
QA_PREBUILT="/opt/nuclear-bin/*"
src_prepare(){
default
}
src_install(){
insinto /opt/"${PN}"
doins -r "${S}"/*
dosym ../../opt/"${PN}"/nuclear "${EPREFIX}"/usr/bin/nuclear
fperms +x /opt/"${PN}"/nuclear
fperms +x /opt/"${PN}"/chrome-sandbox
fperms +x /opt/"${PN}"/resources/bin/fpcalc
make_desktop_entry "/opt/${PN}/nuclear %U" "Nuclear" "nuclear" \
"GNOME;GTK;Utility;X-MediaPlayer;" \
"GenericName=Media Player\n\nStartupNotify=true\nStartupWMClass=nuclear"
cd "${S}"/resources/media/ || die
mv icon.icns nuclear.icns || die
doicon nuclear.icns
cd presskit/icons/color || die
for i in {16,24,32,48,64,96,128,256,512}; do
mv "${i}".png nuclear-"${i}".png || die
done
for i in {16,24,32,48,64,96,128,256,512}; do
doicon -s "${i}" nuclear-"${i}".png
done
cd ../scalable || die
mv nuclear-icon.svg nuclear.svg || die
doicon nuclear.svg
}

View File

@@ -0,0 +1 @@
DIST safeclib-3.6.0_p20210407.tar.gz 2281868 BLAKE2B 1690f4ac7504cdd37cd353cd0ddab8d9807a583113a5893fd0633c69b7434c3eecf361ae501570819bb8d75a057c0c861f6c594429162558c73330bcd2c04df5 SHA512 2e21a06b4a423ea7a7782b101ba9f0e8a60efaaec49314360014ebae02d0a02a4275ccecc618560b08dc357b9fbb4c5b220db70012728dbb3815635e8dad16c8

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
This library implements the secure C11 Annex K functions on top of most libc implementations, which are missing from them.
The ISO TR24731 Bounds Checking Interface documents indicate that the key motivation for the new specification is to help mitigate the ever increasing security attacks, specifically the buffer overrun.
The rationale document says "Buffer overrun attacks continue to be a security problem. Roughly 10% of vulnerability reports cataloged by CERT from 01/01/2005 to 07/01/2005 involved buffer overflows. Preventing buffer overruns is the primary, but not the only, motivation for this technical report."
The rationale document continues "that these only mitigate, that is lessen, security problems. When used properly, these functions decrease the danger buffer overrun attacks. Source code may remain vulnerable due to other bugs and security issues. The highest level of security is achieved by building in layers of security utilizing multiple strategies."
The rationale document lists the following key points for TR24731:
Guard against overflowing a buffer
Do not produce unterminated strings
Do not unexpectedly truncate strings
Provide a library useful to existing code
Preserve the null terminated string datatype
Only require local edits to programs
Library based solution
Support compile-time checking
Make failures obvious
Zero buffers, null strings
Runtime-constraint handler mechanism
Support re-entrant code
Consistent naming scheme
Have a uniform pattern for the function parameters and return type
Deference to existing technology
and the following can be added...
provide a library of functions with like behavior
provide a library of functions that promote and increase code safety and security
provide a library of functions that are efficient
The C11 Standard adopted many of these points, and added some secure _s variants in the Annex K. The Microsoft Windows/MINGW secure API did the same, but deviated in some functions from the standard. Besides Windows (with its msvcrt, ucrt, reactos msvcrt and wine msvcrt variants) only the unused stlport, Android's Bionic, Huawei securec and Embarcadero implemented this C11 secure Annex K API so far. They are still missing from glibc, musl, FreeBSD, darwin and DragonFly libc, OpenBSD libc, newlib, dietlibc, uClibc, minilibc.
</longdescription>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/rurban/safeclib/issues</bugs-to>
<remote-id type="github">rurban/safeclib</remote-id>
</upstream>
<use>
<flag name="constraint-handler">enable C11 invoke_safe_{str,mem}_constraint_handler for less performance, bigger size and more flexibility</flag>
<flag name="extensions">enable additional functions not defined in the C11 specification</flag>
<flag name="norm-compat">Enable NFKC and NFKD modes for wcsnorm</flag>
<flag name="nullslack">enable to null out the remaining part of a string if it is not completely used</flag>
<flag name="unsafe">Include unsafe std C11 functions: tmpnam_s</flag>
<flag name="valgrind">enable Valgrind on the unit tests</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,87 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools linux-mod
MY_REV="986f6d34e49637d68cb41221307231f0ea79ca4d"
DESCRIPTION="safec libc extension with all C11 Annex K functions"
HOMEPAGE="https://github.com/rurban/safeclib"
SRC_URI="https://github.com/rurban/safeclib/archive/${MY_REV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+constraint-handler +extensions modules norm-compat +nullslack test unsafe valgrind"
RESTRICT="!test? ( test )"
BDEPEND="
app-doc/doxygen[dot]
valgrind? ( dev-util/valgrind )
"
S="${WORKDIR}/${PN}-${MY_REV}"
MODULE_NAMES="slkm(misc:${S}-module:${S}-module)"
BUILD_TARGETS="all"
BUILD_PARAMS="-f Makefile.kernel"
src_prepare() {
eautoreconf
default
if use modules ; then
#duplicate the working folder
#one for the library and one for the module
cd "${WORKDIR}" || die
cp -r "${S}" "${S}-module" || die
fi
}
src_configure() {
#forcing wchar because of https://github.com/rurban/safeclib/issues/95
local myconf=(
--disable-static
--disable-valgrind-sgcheck
--enable-shared
$(use_enable constraint-handler)
$(use_enable extensions)
$(use_enable norm-compat)
$(use_enable nullslack)
$(use_enable unsafe)
$(use_enable valgrind)
)
econf "${myconf[@]}" --enable-wchar
if use modules ; then
cd "${S}-module" || die
econf "${myconf[@]}" --disable-wchar
fi
}
src_compile() {
default
if use modules ; then
cd "${S}-module" || die
linux-mod_src_compile
fi
}
src_install() {
# wcsstr towupper towlower manpages collide with sys-apps/man-pages
# what to do?
default
einstalldocs
rm -r doc/man || die
dodoc -r doc/.
if use modules ; then
cd "${S}-module" || die
linux-mod_src_install
fi
}
src_test() {
emake check
}

View File

@@ -44,7 +44,7 @@ DEPEND="
)
"
QA_PREBUILT="/opt/terminus/*"
QA_PREBUILT="/opt/terminus-bin/*"
src_prepare(){
default
@@ -55,7 +55,9 @@ src_install(){
doins -r "${S}"/*
dosym ../../opt/"${PN}"/terminus "${EPREFIX}"/usr/bin/terminus
fperms +x /opt/"${PN}"/terminus
make_desktop_entry /opt/${PN}/terminus Terminus terminus Utility
make_desktop_entry "/opt/${PN}/terminus %U" "Terminus" "terminus" \
"GNOME;GTK;Utility;" \
"GenericName=Terminus\n\nStartupNotify=true\nStartupWMClass=terminus"
doicon ../terminus.svg
doicon ../terminus.ico
for i in {16,24,32,48,64,72,96,128,512}; do