Browse Source

Sync with portage [Sun May 16 21:24:50 MSK 2021].

tags/1964
Calculate Linux 2 months ago
parent
commit
9db17fc98d
100 changed files with 354 additions and 705 deletions
  1. BIN
      Manifest.files.gz
  2. BIN
      acct-group/Manifest.gz
  3. +1
    -4
      acct-group/netbox/metadata.xml
  4. BIN
      acct-user/Manifest.gz
  5. +1
    -4
      acct-user/netbox/metadata.xml
  6. BIN
      app-accessibility/Manifest.gz
  7. +1
    -1
      app-accessibility/caribou/caribou-0.4.21-r3.ebuild
  8. +1
    -1
      app-accessibility/kontrast/kontrast-20.12.3.ebuild
  9. +1
    -1
      app-accessibility/kontrast/kontrast-21.04.1.ebuild
  10. BIN
      app-admin/Manifest.gz
  11. +0
    -1
      app-admin/elektra/Manifest
  12. +0
    -114
      app-admin/elektra/elektra-0.8.20-r1.ebuild
  13. +0
    -12
      app-admin/elektra/metadata.xml
  14. +1
    -1
      app-admin/exo/Manifest
  15. +0
    -0
      app-admin/exo/exo-1.29.0.ebuild
  16. +0
    -53
      app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild
  17. +1
    -1
      app-admin/rsyslog/rsyslog-8.2102.0.ebuild
  18. +0
    -1
      app-admin/sudo/Manifest
  19. +0
    -51
      app-admin/sudo/files/sudo-1.9.5_p2-NO_ROOT_MAILER_fix.patch
  20. +0
    -264
      app-admin/sudo/sudo-1.9.5_p2-r1.ebuild
  21. +1
    -8
      app-admin/xstow/metadata.xml
  22. BIN
      app-backup/Manifest.gz
  23. +2
    -2
      app-backup/kup/kup-0.8.0.ebuild
  24. BIN
      app-cdr/Manifest.gz
  25. +1
    -1
      app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-20.12.3-r1.ebuild
  26. +1
    -1
      app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.04.1.ebuild
  27. BIN
      app-crypt/Manifest.gz
  28. +1
    -1
      app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild
  29. BIN
      app-editors/Manifest.gz
  30. +8
    -8
      app-editors/emacs/emacs-23.4-r20.ebuild
  31. +6
    -6
      app-editors/emacs/emacs-24.5-r10.ebuild
  32. +6
    -7
      app-editors/emacs/emacs-25.3-r9.ebuild
  33. +7
    -7
      app-editors/emacs/emacs-26.3-r4.ebuild
  34. +7
    -7
      app-editors/emacs/emacs-27.1-r4.ebuild
  35. +7
    -7
      app-editors/emacs/emacs-27.2.9999.ebuild
  36. +7
    -7
      app-editors/emacs/emacs-27.2.ebuild
  37. +7
    -7
      app-editors/emacs/emacs-28.0.9999.ebuild
  38. +2
    -2
      app-editors/kile/kile-2.9.93-r1.ebuild
  39. +1
    -2
      app-editors/okteta/okteta-0.26.6.ebuild
  40. BIN
      app-emulation/Manifest.gz
  41. +1
    -1
      app-emulation/containerd/containerd-1.4.4.ebuild
  42. +1
    -1
      app-emulation/docker-cli/docker-cli-20.10.6.ebuild
  43. +1
    -1
      app-emulation/docker-proxy/docker-proxy-0.8.0_p20201215.ebuild
  44. +1
    -1
      app-emulation/docker/docker-20.10.6-r1.ebuild
  45. +1
    -1
      app-emulation/qemu/qemu-5.2.0-r50.ebuild
  46. +1
    -1
      app-emulation/runc/runc-1.0.0_rc92.ebuild
  47. BIN
      app-misc/Manifest.gz
  48. +1
    -1
      app-misc/trash-cli/trash-cli-0.20.12.26-r1.ebuild
  49. +1
    -1
      app-misc/vcontrold/metadata.xml
  50. BIN
      app-office/Manifest.gz
  51. +1
    -1
      app-office/kexi/kexi-3.2.0-r1.ebuild
  52. BIN
      app-text/Manifest.gz
  53. +2
    -2
      app-text/kbibtex/kbibtex-0.9.2.ebuild
  54. BIN
      dev-db/Manifest.gz
  55. +1
    -1
      dev-db/spatialite/spatialite-5.0.1-r1.ebuild
  56. BIN
      dev-java/Manifest.gz
  57. +1
    -1
      dev-java/commons-codec/commons-codec-1.15.ebuild
  58. +1
    -1
      dev-java/commons-collections/commons-collections-4.1-r1.ebuild
  59. +1
    -1
      dev-java/jackcess/jackcess-4.0.0.ebuild
  60. +1
    -1
      dev-java/jaxen/jaxen-1.1.6-r2.ebuild
  61. +5
    -5
      dev-java/jaxen/jaxen-1.2.0-r1.ebuild
  62. +1
    -1
      dev-java/jdom/jdom-2.0.6-r5.ebuild
  63. +1
    -1
      dev-java/joda-time/joda-time-2.10.10-r1.ebuild
  64. +1
    -1
      dev-java/poi/poi-5.0.0.ebuild
  65. +1
    -1
      dev-java/snakeyaml/snakeyaml-1.28-r1.ebuild
  66. +1
    -1
      dev-java/sparsebitset/sparsebitset-1.2.ebuild
  67. +1
    -1
      dev-java/xom/xom-1.3.7.ebuild
  68. BIN
      dev-lang/Manifest.gz
  69. +3
    -0
      dev-lang/erlang/Manifest
  70. +158
    -0
      dev-lang/erlang/erlang-24.0.ebuild
  71. BIN
      dev-libs/Manifest.gz
  72. +1
    -0
      dev-libs/libiconv/Manifest
  73. +12
    -0
      dev-libs/libiconv/files/libiconv-1.16-fix-link-install.patch
  74. +57
    -0
      dev-libs/libiconv/libiconv-1.16.ebuild
  75. +2
    -2
      dev-libs/liblogging/liblogging-1.0.6.ebuild
  76. +2
    -2
      dev-libs/liblognorm/liblognorm-2.0.6.ebuild
  77. +1
    -1
      dev-libs/librelp/librelp-1.7.0.ebuild
  78. +1
    -1
      dev-libs/protobuf/protobuf-3.14.0.ebuild
  79. BIN
      dev-ml/Manifest.gz
  80. +1
    -1
      dev-ml/alcotest/alcotest-1.2.3-r3.ebuild
  81. +1
    -1
      dev-ml/astring/astring-0.8.5.ebuild
  82. +1
    -1
      dev-ml/async_kernel/async_kernel-0.14.0.ebuild
  83. +1
    -1
      dev-ml/async_unix/async_unix-0.14.0.ebuild
  84. +1
    -1
      dev-ml/duration/duration-0.1.3.ebuild
  85. +1
    -1
      dev-ml/fmt/fmt-0.8.9-r1.ebuild
  86. +1
    -1
      dev-ml/logs/logs-0.7.0.ebuild
  87. +1
    -1
      dev-ml/mirage-clock/mirage-clock-3.1.0.ebuild
  88. +1
    -1
      dev-ml/mtime/mtime-1.1.0.ebuild
  89. +1
    -1
      dev-ml/opam-file-format/opam-file-format-2.1.2.ebuild
  90. +0
    -1
      dev-ml/opam/Manifest
  91. +0
    -11
      dev-ml/opam/files/stublibs.patch
  92. +0
    -59
      dev-ml/opam/opam-1.3.1-r2.ebuild
  93. +1
    -1
      dev-ml/uuidm/uuidm-0.9.7.ebuild
  94. +1
    -1
      dev-perl/B-Hooks-OP-Check/B-Hooks-OP-Check-0.220.0-r1.ebuild
  95. +1
    -1
      dev-perl/Class-Method-Modifiers/Class-Method-Modifiers-2.130.0.ebuild
  96. +1
    -1
      dev-perl/Crypt-CBC/Crypt-CBC-3.30.0.ebuild
  97. +1
    -1
      dev-perl/Crypt-PBKDF2/Crypt-PBKDF2-0.161.520.ebuild
  98. +1
    -1
      dev-perl/CryptX/CryptX-0.72.0.ebuild
  99. +2
    -2
      dev-perl/DBD-mysql/DBD-mysql-4.50.0-r1.ebuild
  100. +1
    -1
      dev-perl/Data-UUID/Data-UUID-1.226.0.ebuild

BIN
Manifest.files.gz View File


BIN
acct-group/Manifest.gz View File


+ 1
- 4
acct-group/netbox/metadata.xml View File

@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<!-- maintainer-needed -->
</pkgmetadata>

BIN
acct-user/Manifest.gz View File


+ 1
- 4
acct-user/netbox/metadata.xml View File

@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
<!-- maintainer-needed -->
</pkgmetadata>

BIN
app-accessibility/Manifest.gz View File


+ 1
- 1
app-accessibility/caribou/caribou-0.4.21-r3.ebuild View File

@@ -15,7 +15,7 @@ LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"

COMMON_DEPEND="
${PYTHON_DEPS}


+ 1
- 1
app-accessibility/kontrast/kontrast-20.12.3.ebuild View File

@@ -9,7 +9,7 @@ QTMIN=5.15.2
inherit ecm kde.org

DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
HOMEPAGE="https://apps.kde.org/en/kontrast"
HOMEPAGE="https://apps.kde.org/kontrast/"

LICENSE="GPL-3+"
SLOT="5"


+ 1
- 1
app-accessibility/kontrast/kontrast-21.04.1.ebuild View File

@@ -9,7 +9,7 @@ QTMIN=5.15.2
inherit ecm kde.org

DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
HOMEPAGE="https://apps.kde.org/en/kontrast"
HOMEPAGE="https://apps.kde.org/kontrast/"

LICENSE="GPL-3+"
SLOT="5"


BIN
app-admin/Manifest.gz View File


+ 0
- 1
app-admin/elektra/Manifest View File

@@ -1 +0,0 @@
DIST elektra-0.8.20.tar.gz 4740032 BLAKE2B e76ad93eadbbec9bb273da4f7bab5622d47deebdab6736c430543159c0754f3b96696954891962b60716d5b969e64bf5ef6886a6239abee8b98888aae09fcdd9 SHA512 11cc88329f84ad4d6337132d76479d26f2d9c12f7a939558a79ea96540129096ea0a26ffda3705c01a2c7c749453588bb1654a4c07cca3374e4076ce768c5848

+ 0
- 114
app-admin/elektra/elektra-0.8.20-r1.ebuild View File

@@ -1,114 +0,0 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils

DESCRIPTION="Framework to store config parameters in hierarchical key-value pairs"
HOMEPAGE="https://www.libelektra.org"
SRC_URI="https://www.libelektra.org/ftp/elektra/releases/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
PLUGIN_IUSE="augeas iconv ini simpleini syslog systemd tcl +uname xml yajl";
IUSE="dbus doc static-libs test ${PLUGIN_IUSE}"

RDEPEND="
dev-libs/libltdl:0
>=dev-libs/libxml2-2.9.1-r4
augeas? ( app-admin/augeas )
dbus? ( >=sys-apps/dbus-1.6.18-r1 )
iconv? ( >=virtual/libiconv-0-r1 )
systemd? ( sys-apps/systemd )
uname? ( sys-apps/coreutils )
yajl? ( >=dev-libs/yajl-1.0.11-r1 )
"
# qt5? (
# app-text/discount
# dev-qt/qtdeclarative:5
# dev-qt/qtgui:5
# dev-qt/qttest:5
# dev-qt/qtwidgets:5
# )
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
test? ( >=dev-cpp/gtest-1.7.0 )
"

DOCS=( README.md doc/AUTHORS doc/CODING.md doc/todo/TODO )
# tries to write to user's home directory (and doesn't respect HOME)
RESTRICT="test"

src_prepare() {
cmake-utils_src_prepare

einfo remove bundled libs
# TODO: Remove bundled inih from src/plugins/ini (add to portage):
# https://code.google.com/p/inih/
rm -rf src/external || die

# move doc files to correct location
sed -e "s/elektra-api/${PF}/" -i cmake/ElektraCache.cmake || die
sed -e "/^install.*LICENSE/s/^/#DONT /" -i CMakeLists.txt || die

# avoid useless build time, nothing ends up installed
cmake_comment_add_subdirectory benchmarks
cmake_comment_add_subdirectory examples
}

src_configure() {
# default storage and resolver requirements
local my_plugins="NONE;dump;resolver;resolver_fm_hpu_b;sync;"
# defaults chosen by availability in 0.8.16
my_plugins+="ccode;conditionals;constants;enum;error;filecheck;fstab;glob;"
my_plugins+="hexcode;hidden;hosts;iterate;keytometa;line;lineendings;list;"
my_plugins+="logchange;mathcheck;network;ni;null;path;profile;regexstore;"
my_plugins+="rename;semlock;shell;spec;struct;timeofday;tracer;type;validation;"

use augeas && my_plugins+="augeas;"
use dbus && my_plugins+="dbus;"
use iconv && my_plugins+="iconv;"
use ini && my_plugins+="ini;" # bundles inih
use simpleini && my_plugins+="simpleini;"
use syslog && my_plugins+="syslog;"
use systemd && my_plugins+="journald;"
use tcl && my_plugins+="tcl;"
use uname && my_plugins+="uname;"
use xml && my_plugins+="xmltool;"
use yajl && my_plugins+="yajl;"

# Disabling for good (?):
# counter - Only useful for debugging the plugin framework
# doc - Explaining basic makeup of a function //bug #514402
# noresolver - Does not resolve, but can act as one
# template - Template for new plugin written in C
# wresolver - Resolver for non-POSIX, e.g. w32/w64 systems
# my_plugins+=";-counter;-doc;-noresolver;-template;-wresolver"

local my_tools="kdb"
# use qt5 && my_tools+=";qt-gui"

local mycmakeargs=(
-DBUILD_PDF=OFF
-DBUILD_SHARED=ON
-DBUILD_STATIC=$(usex static-libs)
-DBUILD_TESTING=$(usex test)
-DENABLE_TESTING=$(usex test)
-DPLUGINS=${my_plugins}
-DTOOLS=${my_tools}
-DBUILD_DOCUMENTATION=$(usex doc)
-DTARGET_CMAKE_FOLDER=share/cmake/Modules
)

cmake-utils_src_configure
}

src_install() {
cmake-utils_src_install
einfo remove test_data
rm -rvf "${ED%/}/usr/share/${PN}" || die "Failed to remove test_data"
einfo remove tool_exec
rm -rvf "${ED%/}/usr/$(get_libdir)/${PN}/tool_exec" || die "Failed to remove tool_exec"
}

+ 0
- 12
app-admin/elektra/metadata.xml View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<use>
<flag name="augeas">Enable plugin for reading and writing configuration files with help from Augeas</flag>
<flag name="ini">Enable new, advanced ini support</flag>
<flag name="simpleini">Enable simpleini support</flag>
<flag name="uname">Enable uname information for the key database</flag>
<flag name="yajl">Enable yajl support</flag>
</use>
</pkgmetadata>

+ 1
- 1
app-admin/exo/Manifest View File

@@ -1 +1 @@
DIST exo-1.28.0.tar.gz 5346766 BLAKE2B 87401170b6ccbeaa81da1c5f65cb4cbab9531d340f367c0489c3a1d9a2c2fbcc534369c5a9322051e61c8ca55c58548c07442bf5d40d995113b032e71e9224e1 SHA512 21edbfc9161444582e2f6e19ee51c5c56f4b9c0dc9e38655557753510919fb5066d647d20a687b9f6c5286eabe0394864a140358864e646faae70bab8b6fc410
DIST exo-1.29.0.tar.gz 5357713 BLAKE2B e9615c492ad6a6d837a684b7a120ba3b38a99451a6b88aaa50b202dece77799f5e4ea4108acdc00a69f52173ac15bf67d495e3aaccf286cd389b39527ba06844 SHA512 ac97b1cdc9dc6e9abec255fa2f890eeed9574792931455f5f2449818577f1e1bd0b9205ac821945ab88b8d43fd8bc2392ed7d2ff5c4d46d4460b169d1c9a20c9

app-admin/exo/exo-1.28.0.ebuild → app-admin/exo/exo-1.29.0.ebuild View File


+ 0
- 53
app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r5.ebuild View File

@@ -1,53 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86"
IUSE=""

S="${WORKDIR}"

src_install() {
exeinto /opt/gentoo-rsync
doexe "${FILESDIR}"/rsync-gentoo-portage.sh
doexe "${FILESDIR}"/rsynclogparse-extended.pl
insinto etc/rsync
doins "${FILESDIR}"/rsyncd.conf
doins "${FILESDIR}"/rsyncd.motd
doins "${FILESDIR}"/gentoo-mirror.conf
dodir /opt/gentoo-rsync/portage
}

pkg_postinst() {
elog "The rsync-mirror is now installed into /opt/gentoo-rsync"
elog "The local portage copy resides in /opt/gentoo-rsync/portage"
elog "Please change /opt/gentoo-rsync/rsync-gentoo-portage.sh for"
elog "configuration of your main rsync server and use it to sync."
elog "Change /etc/rsync/rsyncd.motd to display your correct alias."
elog
elog "RSYNC_OPTS="--config=/etc/rsync/rsyncd.conf" needs"
elog "to be set in /etc/conf.d/rsyncd to make allow syncing."
elog
elog "The service can be started using /etc/init.d/rsyncd start"
elog "If you are setting up an official mirror, don't forget to add"
elog "00,30 * * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
elog "to your /etc/crontab to sync your tree every 30 minutes."
elog
elog "If you are setting up a private (unofficial) mirror, you can add"
elog "0 3 * * * root /opt/gentoo-rsync/rsync-gentoo-portage.sh"
elog "to your /etc/crontab to sync your tree once per day."
elog
elog "****IMPORTANT****"
elog "If you are setting up a private mirror, DO NOT sync against the"
elog "gentoo.org official rotations more than once a day. Doing so puts"
elog "you at risk of having your IP address banned from the rotations."
elog
elog "For more information visit: https://wiki.gentoo.org/wiki/Project:Infrastructure/Rsync"
}

+ 1
- 1
app-admin/rsyslog/rsyslog-8.2102.0.ebuild View File

@@ -16,7 +16,7 @@ if [[ ${PV} == "9999" ]]; then

inherit git-r3
else
KEYWORDS="amd64 arm ~arm64 ~hppa x86"
KEYWORDS="amd64 arm arm64 ~hppa x86"

SRC_URI="
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz


+ 0
- 1
app-admin/sudo/Manifest View File

@@ -1,3 +1,2 @@
DIST sudo-1.9.5p2.tar.gz 4012277 BLAKE2B 41913887463e4f775564af8d614fb5ed762200aa777dc789ec333842d4f432323474fc952a531fe929b33607cdfbcd18d7fe7470a15d67139deaf855841ed11f SHA512 f0fe914963c31a6f8ab6c86847ff6cdd125bd5a839b27f46dcae03963f4fc413b3d4cca54c1979feb825c8479b44c7df0642c07345c941eecf6f9f1e03ea0e27
DIST sudo-1.9.6p1.tar.gz 4119888 BLAKE2B 02bdb551c46cff11ac56e64937c64e6a29ccd8e0af34ea2f6b33c223bee8f7ad958d0fc3d7ef8ef12bf5bc82565769b923ff112a3f3d6bf6999fa4f6ea55e38e SHA512 632dfe72f04ce9a7a5a7236fcd5c09ce4535e695ced49d24dd848e3a7b1bea7380df44188b9e475af4271069539b5a5816948a98fbb0649ebebaba8b4c4b7745
DIST sudo-1.9.7.tar.gz 4194242 BLAKE2B 5addf9fc0a8fea8ada89f240f827dcec973277f120ad98f7942f8e46e2869c676eaca044b9c46e43dab120efea3413c71e19c30ef5b0d9cc4d9ad8f0413dbffe SHA512 53e9f18f6c0acd4f80c0cd695cd23781310e9edd305d1b3ea19653efa3fd7faba149daef0ba4953615b140a8816bc980c9bd8d28545dd8db98075abf11b63e61

+ 0
- 51
app-admin/sudo/files/sudo-1.9.5_p2-NO_ROOT_MAILER_fix.patch View File

@@ -1,51 +0,0 @@

# HG changeset patch
# User Todd C. Miller <Todd.Miller@sudo.ws>
# Date 1611924154 25200
# Node ID e0d4f196ba027604154f79ddd03a0b90f90c9607
# Parent cd1c7615e861083e9e9b61d0e0070354e227ea5c
Fix NO_ROOT_MAILER, broken by the eventlog refactor in sudo 1.9.4.
init_eventlog_config() is called immediately after initializing the
Defaults settings, which is before struct sudo_user is setup. This
adds a call to eventlog_set_mailuid() if NO_ROOT_MAILER is defined
after the invoking user is determined. Reported by Roman Fiedler.

diff -r cd1c7615e861 -r e0d4f196ba02 plugins/sudoers/logging.c
--- a/plugins/sudoers/logging.c Tue Dec 08 12:35:21 2020 -0700
+++ b/plugins/sudoers/logging.c Fri Jan 29 05:42:34 2021 -0700
@@ -786,11 +786,6 @@
init_eventlog_config(void)
{
int logtype = 0;
-#ifdef NO_ROOT_MAILER
- uid_t mailuid = user_uid;
-#else
- uid_t mailuid = ROOT_UID;
-#endif
debug_decl(init_eventlog_config, SUDOERS_DEBUG_LOGGING);
if (def_syslog)
@@ -805,7 +800,7 @@
eventlog_set_syslog_alertpri(def_syslog_badpri);
eventlog_set_syslog_maxlen(def_syslog_maxlen);
eventlog_set_file_maxlen(def_loglinelen);
- eventlog_set_mailuid(mailuid);
+ eventlog_set_mailuid(ROOT_UID);
eventlog_set_omit_hostname(!def_log_host);
eventlog_set_logpath(def_logfile);
eventlog_set_time_fmt(def_log_year ? "%h %e %T %Y" : "%h %e %T");
diff -r cd1c7615e861 -r e0d4f196ba02 plugins/sudoers/policy.c
--- a/plugins/sudoers/policy.c Tue Dec 08 12:35:21 2020 -0700
+++ b/plugins/sudoers/policy.c Fri Jan 29 05:42:34 2021 -0700
@@ -518,6 +518,10 @@
/* Some systems support fexecve() which we use for digest matches. */
cmnd_fd = -1;
+#ifdef NO_ROOT_MAILER
+ eventlog_set_mailuid(user_uid);
+#endif
+
/* Dump settings and user info (XXX - plugin args) */
for (cur = info->settings; *cur != NULL; cur++)
sudo_debug_printf(SUDO_DEBUG_INFO, "settings: %s", *cur);


+ 0
- 264
app-admin/sudo/sudo-1.9.5_p2-r1.ebuild View File

@@ -1,264 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit pam multilib libtool systemd tmpfiles toolchain-funcs

MY_P="${P/_/}"
MY_P="${MY_P/beta/b}"

DESCRIPTION="Allows users or groups to run commands as other users"
HOMEPAGE="https://www.sudo.ws/"
if [[ ${PV} == "9999" ]] ; then
inherit mercurial
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
else
uri_prefix=
case ${P} in
*_beta*|*_rc*) uri_prefix=beta/ ;;
esac

SRC_URI="https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz"
if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~sparc-solaris"
fi
fi

# Basic license is ISC-style as-is, some files are released under
# 3-clause BSD license
LICENSE="ISC BSD"
SLOT="0"
IUSE="gcrypt ldap nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd"

DEPEND="
sys-libs/zlib:=
gcrypt? ( dev-libs/libgcrypt:= )
ldap? (
>=net-nds/openldap-2.1.30-r1
sasl? (
dev-libs/cyrus-sasl
net-nds/openldap[sasl]
)
)
pam? ( sys-libs/pam )
sasl? ( dev-libs/cyrus-sasl )
skey? ( >=sys-auth/skey-1.1.5-r1 )
ssl? ( dev-libs/openssl:0= )
sssd? ( sys-auth/sssd[sudo] )
"
RDEPEND="
${DEPEND}
>=app-misc/editor-wrapper-3
virtual/editor
ldap? ( dev-lang/perl )
pam? ( sys-auth/pambase )
selinux? ( sec-policy/selinux-sudo )
sendmail? ( virtual/mta )
"
BDEPEND="
sys-devel/bison
virtual/pkgconfig
"

S="${WORKDIR}/${MY_P}"

REQUIRED_USE="
?? ( pam skey )
?? ( gcrypt ssl )
"

MAKEOPTS+=" SAMPLES="

PATCHES=(
"${FILESDIR}/${P}-NO_ROOT_MAILER_fix.patch" #767946
)

src_prepare() {
default
elibtoolize
}

set_secure_path() {
# FIXME: secure_path is a compile time setting. using PATH or
# ROOTPATH is not perfect, env-update may invalidate this, but until it
# is available as a sudoers setting this will have to do.
einfo "Setting secure_path ..."

# first extract the default ROOTPATH from build env
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env;
echo "${ROOTPATH}")
case "${SECURE_PATH}" in
*/usr/sbin*) ;;
*) SECURE_PATH=$(unset PATH;
. "${EPREFIX}"/etc/profile.env; echo "${PATH}")
;;
esac
if [[ -z ${SECURE_PATH} ]] ; then
ewarn " Failed to detect SECURE_PATH, please report this"
fi

# then remove duplicate path entries
cleanpath() {
local newpath thisp IFS=:
for thisp in $1 ; do
if [[ :${newpath}: != *:${thisp}:* ]] ; then
newpath+=:${thisp}
else
einfo " Duplicate entry ${thisp} removed..."
fi
done
SECURE_PATH=${newpath#:}
}
cleanpath /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}

# finally, strip gcc paths #136027
rmpath() {
local e newpath thisp IFS=:
for thisp in ${SECURE_PATH} ; do
for e ; do [[ ${thisp} == ${e} ]] && continue 2 ; done
newpath+=:${thisp}
done
SECURE_PATH=${newpath#:}
}
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'

einfo "... done"
}

src_configure() {
local SECURE_PATH
set_secure_path
tc-export PKG_CONFIG #767712

# audit: somebody got to explain me how I can test this before I
# enable it.. - Diego
# plugindir: autoconf code is crappy and does not delay evaluation
# until `make` time, so we have to use a full path here rather than
# basing off other values.
myeconfargs=(
# requires some python eclass
--disable-python
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
--enable-zlib=system
--with-editor="${EPREFIX}"/usr/libexec/editor
--with-env-editor
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
--with-rundir="${EPREFIX}"/run/sudo
--with-vardir="${EPREFIX}"/var/db/sudo
--without-linux-audit
--without-opie
$(use_enable gcrypt)
$(use_enable nls)
$(use_enable sasl)
$(use_enable ssl openssl)
$(use_with ldap)
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
$(use_with offensive insults)
$(use_with offensive all-insults)
$(use_with pam)
$(use_with pam pam-login)
$(use_with secure-path secure-path "${SECURE_PATH}")
$(use_with selinux)
$(use_with sendmail)
$(use_with skey)
$(use_with sssd)
)

econf "${myeconfargs[@]}"
}

src_install() {
default

if use ldap ; then
dodoc README.LDAP

cat <<-EOF > "${T}"/ldap.conf.sudo
# See ldap.conf(5) and README.LDAP for details
# This file should only be readable by root

# supported directives: host, port, ssl, ldap_version
# uri, binddn, bindpw, sudoers_base, sudoers_debug
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
EOF

if use sasl ; then
cat <<-EOF >> "${T}"/ldap.conf.sudo

# SASL directives: use_sasl, sasl_mech, sasl_auth_id
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
EOF
fi

insinto /etc
doins "${T}"/ldap.conf.sudo
fperms 0440 /etc/ldap.conf.sudo

insinto /etc/openldap/schema
newins doc/schema.OpenLDAP sudo.schema
fi
if use pam; then
pamd_mimic system-auth sudo auth account session
pamd_mimic system-auth sudo-i auth account session
fi

keepdir /var/db/sudo/lectured
fperms 0700 /var/db/sudo/lectured
fperms 0711 /var/db/sudo #652958

# Don't install into /run as that is a tmpfs most of the time
# (bug #504854)
rm -rf "${ED}"/run || die

find "${ED}" -type f -name "*.la" -delete || die #697812
}

pkg_postinst() {
tmpfiles_process sudo.conf

#652958
local sudo_db="${EROOT}/var/db/sudo"
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
chmod 711 "${sudo_db}" || die
fi

if use ldap ; then
ewarn
ewarn "sudo uses the /etc/ldap.conf.sudo file for ldap configuration."
ewarn
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
ewarn "configured in /etc/nsswitch.conf."
ewarn
ewarn "To make use of LDAP, add this line to your /etc/nsswitch.conf:"
ewarn " sudoers: ldap files"
ewarn
fi
fi
if use prefix ; then
ewarn
ewarn "To use sudo, you need to change file ownership and permissions"
ewarn "with root privileges, as follows:"
ewarn
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
ewarn
fi

elog "To use the -A (askpass) option, you need to install a compatible"
elog "password program from the following list. Starred packages will"
elog "automatically register for the use with sudo (but will not force"
elog "the -A option):"
elog ""
elog " [*] net-misc/ssh-askpass-fullscreen"
elog " net-misc/x11-ssh-askpass"
elog ""
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
elog "variable to the program you want to use."
}

+ 1
- 8
app-admin/xstow/metadata.xml View File

@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>kingleo@gmx.at</email>
<name>Martin Oberzalek</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<!-- maintainer-needed -->
<upstream>
<remote-id type="sourceforge">xstow</remote-id>
</upstream>


BIN
app-backup/Manifest.gz View File


+ 2
- 2
app-backup/kup/kup-0.8.0.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -7,7 +7,7 @@ ECM_HANDBOOK="forceoptional"
inherit ecm kde.org

DESCRIPTION="Backup scheduler for the Plasma desktop"
HOMEPAGE="https://apps.kde.org/en/kup"
HOMEPAGE="https://apps.kde.org/kup/"
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"

LICENSE="GPL-2+"


BIN
app-cdr/Manifest.gz View File


+ 1
- 1
app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-20.12.3-r1.ebuild View File

@@ -14,7 +14,7 @@ QTMIN=5.15.2
inherit ecm kde.org

DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
HOMEPAGE="https://apps.kde.org/en/dolphin_plugins"
HOMEPAGE="https://apps.kde.org/dolphin_plugins/"

LICENSE="GPL-2" # TODO: CHECK
SLOT="5"


+ 1
- 1
app-cdr/dolphin-plugins-mountiso/dolphin-plugins-mountiso-21.04.1.ebuild View File

@@ -14,7 +14,7 @@ QTMIN=5.15.2
inherit ecm kde.org

DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
HOMEPAGE="https://apps.kde.org/en/dolphin_plugins"
HOMEPAGE="https://apps.kde.org/dolphin_plugins/"

LICENSE="GPL-2" # TODO: CHECK
SLOT="5"


BIN
app-crypt/Manifest.gz View File


+ 1
- 1
app-crypt/tpm2-tss/tpm2-tss-2.4.5.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
KEYWORDS="amd64 arm arm64 ppc64 x86"
IUSE="doc +fapi gcrypt +openssl static-libs test"

RESTRICT="!test? ( test )"


BIN
app-editors/Manifest.gz View File


+ 8
- 8
app-editors/emacs/emacs-23.4-r20.ebuild View File

@@ -255,15 +255,15 @@ src_install() {
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{applications,icons} || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

local cdir
if use source; then
@@ -273,8 +273,8 @@ src_install() {
# C source you might find via find-function
doins src/*.{c,h,m}
doins -r src/{m,s}
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/Makefile.c || die
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/src/{m,s}/README || die
elif has installsources ${FEATURES}; then
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
fi
@@ -303,7 +303,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 6
- 6
app-editors/emacs/emacs-24.5-r10.ebuild View File

@@ -244,15 +244,15 @@ src_install() {
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{applications,icons}
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{applications,icons} || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use gzip-el; then
# compress .el files when a corresponding .elc exists
@@ -296,7 +296,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 6
- 7
app-editors/emacs/emacs-25.3-r9.ebuild View File

@@ -91,7 +91,6 @@ BDEPEND="app-eselect/eselect-emacs
gzip-el? ( app-arch/gzip )"

RDEPEND="${RDEPEND}
!<app-editors/emacs-vcs-${PV}
app-eselect/eselect-emacs"

EMACS_SUFFIX="emacs-${SLOT}"
@@ -253,15 +252,15 @@ src_install() {
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use gzip-el; then
# compress .el files when a corresponding .elc exists
@@ -305,7 +304,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 7
- 7
app-editors/emacs/emacs-26.3-r4.ebuild View File

@@ -262,16 +262,16 @@ src_install() {
fi

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}/usr/$(get_libdir)"
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use systemd; then
insinto /usr/lib/systemd/user
@@ -324,7 +324,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 7
- 7
app-editors/emacs/emacs-27.1-r4.ebuild View File

@@ -325,16 +325,16 @@ src_install() {
fi

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}/usr/$(get_libdir)"
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use systemd; then
insinto /usr/lib/systemd/user
@@ -387,7 +387,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 7
- 7
app-editors/emacs/emacs-27.2.9999.ebuild View File

@@ -324,16 +324,16 @@ src_install() {
fi

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}/usr/$(get_libdir)"
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use systemd; then
insinto /usr/lib/systemd/user
@@ -386,7 +386,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 7
- 7
app-editors/emacs/emacs-27.2.ebuild View File

@@ -324,16 +324,16 @@ src_install() {
fi

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}/usr/$(get_libdir)"
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use systemd; then
insinto /usr/lib/systemd/user
@@ -386,7 +386,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 7
- 7
app-editors/emacs/emacs-28.0.9999.ebuild View File

@@ -308,16 +308,16 @@ src_install() {
fi

# avoid collision between slots, see bug #169033 e.g.
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
rm -rf "${ED}/usr/$(get_libdir)"
rm -rf "${ED}"/var
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el || die
rm -rf "${ED}"/usr/share/{appdata,applications,icons} || die
rm -rf "${ED}/usr/$(get_libdir)" || die
rm -rf "${ED}"/var || die

# remove unused <version>/site-lisp dir
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp || die

# remove COPYING file (except for etc/COPYING used by describe-copying)
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING || die

if use systemd; then
insinto /usr/lib/systemd/user
@@ -370,7 +370,7 @@ src_install() {

if use gui && use aqua; then
dodir /Applications/Gentoo
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
mv nextstep/Emacs.app \
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
fi


+ 2
- 2
app-editors/kile/kile-2.9.93-r1.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -10,7 +10,7 @@ QTMIN=5.14.2
inherit ecm kde.org

DESCRIPTION="Latex Editor and TeX shell based on KDE Frameworks"
HOMEPAGE="https://apps.kde.org/en/kile https://kile.sourceforge.io/"
HOMEPAGE="https://apps.kde.org/kile/ https://kile.sourceforge.io/"

if [[ ${KDE_BUILD_TYPE} == release ]]; then
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"


+ 1
- 2
app-editors/okteta/okteta-0.26.6.ebuild View File

@@ -12,8 +12,7 @@ VIRTUALX_REQUIRED="test"
inherit ecm kde.org

DESCRIPTION="Hex editor by KDE"
HOMEPAGE="https://apps.kde.org/en/okteta
https://utils.kde.org/projects/okteta/"
HOMEPAGE="https://apps.kde.org/okteta/ https://utils.kde.org/projects/okteta/"

if [[ ${KDE_BUILD_TYPE} = release ]]; then
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"


BIN
app-emulation/Manifest.gz View File


+ 1
- 1
app-emulation/containerd/containerd-1.4.4.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
IUSE="apparmor btrfs device-mapper +cri hardened +seccomp selinux test"

DEPEND="


+ 1
- 1
app-emulation/docker-cli/docker-cli-20.10.6.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
IUSE="hardened"

RDEPEND="!<app-emulation/docker-20.10.1"


+ 1
- 1
app-emulation/docker-proxy/docker-proxy-0.8.0_p20201215.ebuild View File

@@ -9,7 +9,7 @@ if [[ ${PV} == *9999 ]]; then
else
EGIT_COMMIT=fa125a3512ee0f6187721c88582bf8c4378bd4d7
SRC_URI="https://github.com/docker/libnetwork/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
inherit golang-vcs-snapshot
fi



+ 1
- 1
app-emulation/docker/docker-20.10.6-r1.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/moby/moby/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
IUSE="apparmor aufs btrfs +cli +container-init device-mapper hardened overlay seccomp"

DEPEND="


+ 1
- 1
app-emulation/qemu/qemu-5.2.0-r50.ebuild View File

@@ -24,7 +24,7 @@ if [[ ${PV} = *9999* ]]; then
SRC_URI=""
else
SRC_URI="https://download.qemu.org/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86"
KEYWORDS="~amd64 arm64 ~ppc ~ppc64 ~x86"
fi

DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"


+ 1
- 1
app-emulation/runc/runc-1.0.0_rc92.ebuild View File

@@ -17,7 +17,7 @@ SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P

LICENSE="Apache-2.0 BSD-2 BSD MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~x86"
IUSE="apparmor +ambient hardened +kmem +seccomp selinux test"

DEPEND="seccomp? ( sys-libs/libseccomp )"


BIN
app-misc/Manifest.gz View File


+ 1
- 1
app-misc/trash-cli/trash-cli-0.20.12.26-r1.ebuild View File

@@ -14,7 +14,7 @@ SRC_URI="https://github.com/andreafrancia/${PN}/archive/${PV}.tar.gz -> ${P}.tar

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"

BDEPEND="
test? (


+ 1
- 1
app-misc/vcontrold/metadata.xml View File

@@ -2,7 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>tobias.leupold@gmx.de</email>
<email>tl@l3u.de</email>
<name>Tobias Leupold</name>
</maintainer>
<maintainer type="project" proxied="proxy">


BIN
app-office/Manifest.gz View File


+ 1
- 1
app-office/kexi/kexi-3.2.0-r1.ebuild View File

@@ -10,7 +10,7 @@ QTMIN=5.12.3
inherit ecm kde.org

DESCRIPTION="Visual database applications creator"
HOMEPAGE="https://apps.kde.org/en/kexi-3.3 http://kexi-project.org/
HOMEPAGE="https://apps.kde.org/kexi-3.3/ http://kexi-project.org/
https://userbase.kde.org/Kexi"

if [[ ${KDE_BUILD_TYPE} != live ]]; then


BIN
app-text/Manifest.gz View File


+ 2
- 2
app-text/kbibtex/kbibtex-0.9.2.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -10,7 +10,7 @@ QTMIN=5.12.3
inherit ecm kde.org

DESCRIPTION="BibTeX editor to edit bibliographies used with LaTeX"
HOMEPAGE="https://apps.kde.org/en/kbibtex https://userbase.kde.org/KBibTeX"
HOMEPAGE="https://apps.kde.org/kbibtex/ https://userbase.kde.org/KBibTeX"

if [[ ${KDE_BUILD_TYPE} != live ]]; then
SRC_URI="mirror://kde/stable/KBibTeX/${PV}/${P}.tar.xz"


BIN
dev-db/Manifest.gz View File


+ 1
- 1
dev-db/spatialite/spatialite-5.0.1-r1.ebuild View File

@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"

LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 x86"
KEYWORDS="amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 x86"
IUSE="+geos iconv +proj test +xls +xml"
# Further poking required
RESTRICT="test"


BIN
dev-java/Manifest.gz View File


+ 1
- 1
dev-java/commons-codec/commons-codec-1.15.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux"

# Compile dependencies
# POM: ${P}-src/pom.xml


+ 1
- 1
dev-java/commons-collections/commons-collections-4.1-r1.ebuild View File

@@ -15,7 +15,7 @@ DESCRIPTION="Extends the JCF classes with new interfaces, implementations and ut
HOMEPAGE="https://commons.apache.org/collections/"
SRC_URI="mirror://apache/${PN/-//}/source/${MY_P}-src.tar.gz"
LICENSE="Apache-2.0"
KEYWORDS="~amd64 ~arm64 ppc64 x86"
KEYWORDS="amd64 ~arm64 ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-java/jackcess/jackcess-4.0.0.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/jahlborn/${PN}/archive/refs/tags/${P}.tar.gz -> ${P}

LICENSE="Apache-2.0"
SLOT="1"
KEYWORDS="~amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
KEYWORDS="amd64 ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"

# Common dependencies
# POM: pom.xml


+ 1
- 1
dev-java/jaxen/jaxen-1.1.6-r2.ebuild View File

@@ -13,7 +13,7 @@ SRC_URI="https://repo1.maven.org/maven2/${PN}/${PN}/${PV}/${P}-sources.jar -> ${

LICENSE="JDOM"
SLOT="1.1"
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"

RDEPEND="
${CDEPEND}


+ 5
- 5
dev-java/jaxen/jaxen-1.2.0-r1.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/${PN}-xpath/${PN}/archive/refs/tags/v${PV}.tar.gz ->

LICENSE="BSD-2"
SLOT="1.2"
KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
IUSE="dom4j jdom xom"

# It seems that most tests depend on dom4j, jdom and xom which all depend back on jaxen
@@ -47,13 +47,13 @@ RDEPEND="
>=virtual/jre-1.8:*
"

S="${WORKDIR}"
S="${WORKDIR}/${P}"

DOCS=( "${P}"/{LICENSE.txt,README.md} )
DOCS=( "${S}"/{LICENSE.txt,README.md} )

JAVA_SRC_DIR="${P}/src/java/main"
JAVA_SRC_DIR="src/java/main"

JAVA_TEST_SRC_DIR="${P}/src/java/test"
JAVA_TEST_SRC_DIR="src/java/test"
JAVA_TEST_GENTOO_CLASSPATH="junit"

src_prepare() {


+ 1
- 1
dev-java/jdom/jdom-2.0.6-r5.ebuild View File

@@ -14,7 +14,7 @@ HOMEPAGE="http://www.jdom.org"

LICENSE="Apache-1.1"
SLOT="2"
KEYWORDS="amd64 ~arm arm64 ppc64 ~x86"
KEYWORDS="amd64 ~arm arm64 ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-java/joda-time/joda-time-2.10.10-r1.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/JodaOrg/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"

# Common dependencies
# POM: ${P}/pom.xml


+ 1
- 1
dev-java/poi/poi-5.0.0.ebuild View File

@@ -16,7 +16,7 @@ HOMEPAGE="https://poi.apache.org/"
SRC_URI="https://archive.apache.org/dist/${PN}/release/src/${PN}-src-${PV}-20210120.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
KEYWORDS="amd64 ~arm64 ppc64 ~x86"

# Common dependencies
# POM: ${P}/sonar/main/pom.xml


+ 1
- 1
dev-java/snakeyaml/snakeyaml-1.28-r1.ebuild View File

@@ -21,7 +21,7 @@ SRC_URI="https://bitbucket.org/asomov/${PN}/get/${P}.tar.gz -> ${MY_P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"

# Compile dependencies
# POM: pom.xml


+ 1
- 1
dev-java/sparsebitset/sparsebitset-1.2.ebuild View File

@@ -18,7 +18,7 @@ SRC_URI="https://github.com/brettwooldridge/SparseBitSet/archive/refs/tags/Spars

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ppc64 ~x86"
KEYWORDS="amd64 ~arm64 ppc64 ~x86"

DEPEND="
>=virtual/jdk-1.8:*


+ 1
- 1
dev-java/xom/xom-1.3.7.ebuild View File

@@ -14,7 +14,7 @@ SRC_URI="https://github.com/elharo/${PN}/releases/download/v${PV}/${P}-src.tar.g

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"

CDEPEND="
dev-java/jaxen:1.2


BIN
dev-lang/Manifest.gz View File


+ 3
- 0
dev-lang/erlang/Manifest View File

@@ -1,4 +1,7 @@
DIST erlang-23.3.1.tar.gz 56654422 BLAKE2B b1ccd870d4a47f12d1a65b424d6c6b0f59a4654c0779c595fb28fdc2d3e179bb9b12d2473770b239b65665b2f6a3281d239f9fb3d6b86548df3ee69fce8fe5ed SHA512 03d4be9b25a14359e9f8db52d8e7d8edff1e8c53686a189caae15373c7e15d03f05e1138c549b8b41b8e6b7c55ab154cea47356f6fe79f7b72d5fb4ce759c4b0
DIST erlang-23.3.4.tar.gz 56664814 BLAKE2B ef8aa8d5a6fd1efc02a35459d1cb15eecf5f948127266bf782544e1da9a59765aca15070ea92df5558a4de017cc810e3542e2393e9470243fc6d9be13e9f37b6 SHA512 c8c5a9676163058276c703a0db0373508fad0ed9dff0aa9806ce59115ca766ff1d343c5a3917a920b249655fe188b974482ff378e9173c9fe00ea3907e618da5
DIST erlang-24.0.tar.gz 58258571 BLAKE2B ee71c1f19a1d990977d3764bf4122593a216e4bbbef7e5a8a5c7e22142171ef869b4a5ac01aa1f4495eaf79808cbb677d4163a52917879e2a615f08e20480c7e SHA512 bd3e4dbe640e80dc2173bc9c92178acbd6aee7a486a1eebb7fe8ec70963b8c94bb456af7ac592f434700cd8b1d98ef8351bfc7a76113bbbd0c9a0e20fd68629b
DIST erlang_doc_html_23.3.tar.gz 36224657 BLAKE2B 7e2a3e16f4cfa0f15c01074740e02af7a45b480b4a94e764463717658ab7e5d0281f928c3ec585582b10168645e3e06cfe72cf6a0ba1b88f539b80f2b7ad99be SHA512 8be4aae46839239604b875b39339e7b6b6c677c099b3d749d5f1041c4508c1c3b4aa8136a93df12b1e5cb6333ef907276f5965c9726ed2b9e77a6043c8ef53b1
DIST erlang_doc_html_24.0.tar.gz 39731398 BLAKE2B 8a9fe3acb4cc13691e16c477cf89e8298df1a99bbe6a6c9e59e3c34248ecdc21077835951087b5a5bbb23ddb28f3bd7ab8b058fe64ce56c342b825a6c0ef8948 SHA512 453f8a9cf779a4f43966615433afc3be3aae7a571acf45974947bd720a331ca05949bc310de5f3b33b72d274971103ede56875bbfe757ba17f903510f690d97e
DIST erlang_doc_man_23.3.tar.gz 1456501 BLAKE2B 414bedee0e316d97b26d9d6418b799a9434a22e9980e7d3a83e2478d184d63d1633c0e10d0e180d929a3cacd82b4d703be86cbc8e99996037f6b37ea122f7a8c SHA512 6c661c210ffec4752afe624fa46700a0f62cc6589b74b859ab1dfde77d289e992988ac8744f7b4126d7512cd6d0aab3321f710a6324552b259bd7acd5b54a05e
DIST erlang_doc_man_24.0.tar.gz 1666152 BLAKE2B aaef8165322f39f7410840eafe562ec5038d9c89b4fa99b3b1d5748ba70fe755ba732de403dd916328e1fdcec895e2a347db4fb8c8837b5e41155439c9c54ef6 SHA512 7251f6eeb0534cc8538236a2c4be9d732bf0a05ba6832f9b3859116f9148e469d004331924c7187b07204798afb66067bfd321c8905000c355775927e5841918

+ 158
- 0
dev-lang/erlang/erlang-24.0.ebuild View File

@@ -0,0 +1,158 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
WX_GTK_VER="3.0-gtk3"

inherit elisp-common java-pkg-opt-2 systemd toolchain-funcs wxwidgets

# NOTE: If you need symlinks for binaries please tell maintainers or
# open up a bug to let it be created.

UPSTREAM_V="$(ver_cut 1-2)"

DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
HOMEPAGE="https://www.erlang.org/"
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"

LICENSE="Apache-2.0"
# We use this subslot because Compiled HiPE Code can be loaded on the exact
# same build of ERTS that was used when compiling the code. See
# http://erlang.org/doc/system_principles/misc.html for more information.
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc emacs java +kpoll odbc sctp ssl systemd tk wxwidgets"

RDEPEND="
acct-group/epmd
acct-user/epmd
sys-libs/ncurses:0
sys-libs/zlib
emacs? ( >=app-editors/emacs-23.1:* )
java? ( >=virtual/jdk-1.8:* )
odbc? ( dev-db/unixODBC )
sctp? ( net-misc/lksctp-tools )
ssl? ( >=dev-libs/openssl-0.9.7d:0= )
systemd? ( sys-apps/systemd )
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
"
DEPEND="${RDEPEND}
dev-lang/perl
"

S="${WORKDIR}/otp-OTP-${PV}"

PATCHES=(
"${FILESDIR}"/${PN}-22.0-dont-ignore-LDFLAGS.patch
)

SITEFILE=50"${PN}"-gentoo.el

src_prepare() {
default

tc-export AR CPP CXX LD
./otp_build autoconf || die
}

src_configure() {
use wxwidgets && setup-wxwidgets

local myconf=(
--disable-builtin-zlib

# don't search for static zlib
--with-ssl-zlib=no

$(use_enable kpoll kernel-poll)
$(use_with java javac)
$(use_enable sctp)
$(use_with ssl ssl)
$(use_enable ssl dynamic-ssl-lib)
$(use_enable systemd)
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
)
econf "${myconf[@]}"
}

src_compile() {
emake

if use emacs ; then
pushd lib/tools/emacs &>/dev/null || die
elisp-compile *.el
popd &>/dev/null || die
fi
}

extract_version() {
local path="$1"
local var_name="$2"
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
}

src_install() {
local erl_libdir_rel="$(get_libdir)/erlang"
local erl_libdir="/usr/${erl_libdir_rel}"
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
local erl_erts_ver="$(extract_version erts VSN)"
local my_manpath="/usr/share/${PN}/man"

[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"

emake INSTALL_PREFIX="${D}" install

if use doc ; then
# Note: we explicitly install docs into:
# /usr/share/doc/${PF}/{doc,lib,erts-*}
# To maintain that layout we gather everything in 'html-docs'.
# See bug #684376.
mkdir html-docs || die
mv "${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-* html-docs/ || die
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" html-docs/. )
docompress -x /usr/share/doc/${PF}
else
local DOCS=("README.md")
fi

einstalldocs

dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp

## Clean up the no longer needed files
rm "${ED}/${erl_libdir}/Install" || die

insinto "${my_manpath}"
doins -r "${WORKDIR}"/man/*
# extend MANPATH, so the normal man command can find it
# see bug 189639
newenvd - "90erlang" <<-_EOF_
MANPATH="${my_manpath}"
_EOF_

if use emacs ; then
elisp-install erlang lib/tools/emacs/*.{el,elc}
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
elisp-site-file-install "${T}/${SITEFILE}"
fi

newinitd "${FILESDIR}"/epmd.init-r2 epmd
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
}

pkg_postinst() {
use emacs && elisp-site-regen
}

pkg_postrm() {
use emacs && elisp-site-regen
}

BIN
dev-libs/Manifest.gz View File


+ 1
- 0
dev-libs/libiconv/Manifest View File

@@ -1 +1,2 @@
DIST libiconv-1.15.tar.gz 5264188 BLAKE2B 2384dbf8549fa56e841b15b7e2698b83c0ee171cdff13aef48c60eae0bc4f5e7b2e937bc8d5eddf89fba11412d17bebd77bdda7060c177ce9dc9be00172c0c12 SHA512 1233fe3ca09341b53354fd4bfe342a7589181145a1232c9919583a8c9979636855839049f3406f253a9d9829908816bb71fd6d34dd544ba290d6f04251376b1a
DIST libiconv-1.16.tar.gz 5166734 BLAKE2B 8e7f4d64d757db6c3ffa973c9cebcf20b34f9859a547dbba8cebe3a4865bda86f33c5be197951877c46eff5a7fc00b1b11474fb3baa036f08ac2faf97eca138c SHA512 365dac0b34b4255a0066e8033a8b3db4bdb94b9b57a9dca17ebf2d779139fe935caf51a465d17fd8ae229ec4b926f3f7025264f37243432075e5583925bb77b7

+ 12
- 0
dev-libs/libiconv/files/libiconv-1.16-fix-link-install.patch View File

@@ -0,0 +1,12 @@
don't link against the libtool archive to avoid recording ${D} in RUNPATH

--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -113,6 +113,7 @@
if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) $(DESTDIR)$(bindir) ; fi
case "@host_os@" in \
hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) `if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv$(EXEEXT);; \
+ *) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
*) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
esac
$(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv$(EXEEXT) $(DESTDIR)$(bindir)/iconv$(EXEEXT)

+ 57
- 0
dev-libs/libiconv/libiconv-1.16.ebuild View File

@@ -0,0 +1,57 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit libtool multilib-minimal usr-ldscript

DESCRIPTION="GNU charset conversion library for libc which doesn't implement it"
HOMEPAGE="https://www.gnu.org/software/libiconv/"
SRC_URI="mirror://gnu/libiconv/${P}.tar.gz"

LICENSE="LGPL-2+ GPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
IUSE="prefix static-libs"

DEPEND="!sys-libs/glibc
!sys-libs/musl
!userland_GNU? ( !sys-apps/man-pages )"
RDEPEND="${DEPEND}"

PATCHES=(
"${FILESDIR}/${PN}-1.15-no-gets.patch"
"${FILESDIR}/${PN}-1.16-fix-link-install.patch"
)

multilib_src_configure() {
if use prefix ; then
# In Prefix we want to have the same header declaration on every
# platform, so make configure find that it should do
# "const char * *inbuf"
export am_cv_func_iconv=no
fi
# Disable NLS support because that creates a circular dependency
# between libiconv and gettext
ECONF_SOURCE="${S}" \
econf \
--docdir="\$(datarootdir)/doc/${PF}/html" \
--disable-nls \
--enable-shared \
$(use_enable static-libs static)
}

multilib_src_install_all() {
use static-libs || find "${ED}" -name 'lib*.la' -delete

# If we have a GNU userland, we probably have sys-apps/man-pages
# installed, which means we want to rename our copies #503162.
# The use of USELAND=GNU is kind of a hack though ...
if use userland_GNU ; then
cd "${ED}"/usr/share/man || die
local f
for f in man*/*.[0-9] ; do
mv "${f}" "${f%/*}/${PN}-${f#*/}" || die
done
fi
}

+ 2
- 2
dev-libs/liblogging/liblogging-1.0.6.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://download.rsyslog.com/liblogging/${P}.tar.gz"

LICENSE="BSD-2"
SLOT="0/0"
KEYWORDS="amd64 arm ~arm64 ~hppa x86"
KEYWORDS="amd64 arm arm64 ~hppa x86"
IUSE="rfc3195 +stdlog systemd"

RDEPEND="systemd? ( sys-apps/systemd )"


+ 2
- 2
dev-libs/liblognorm/liblognorm-2.0.6.ebuild View File

@@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="6"
@@ -14,7 +14,7 @@ if [[ ${PV} == "9999" ]]; then
inherit git-r3
else
SRC_URI="https://www.liblognorm.com/files/download/${P}.tar.gz"
KEYWORDS="amd64 arm ~arm64 ~hppa x86 ~amd64-linux"
KEYWORDS="amd64 arm arm64 ~hppa x86 ~amd64-linux"
fi

LICENSE="LGPL-2.1 Apache-2.0"


+ 1
- 1
dev-libs/librelp/librelp-1.7.0.ebuild View File

@@ -15,7 +15,7 @@ LICENSE="GPL-3+ doc? ( FDL-1.3 )"
# subslot = soname version
SLOT="0/0.5.0"

KEYWORDS="amd64 arm ~arm64 ~hppa sparc x86"
KEYWORDS="amd64 arm arm64 ~hppa sparc x86"
IUSE="debug doc +ssl +gnutls openssl static-libs test"
REQUIRED_USE="ssl? ( ^^ ( gnutls openssl ) )"



+ 1
- 1
dev-libs/protobuf/protobuf-3.14.0.ebuild View File

@@ -22,7 +22,7 @@ fi

LICENSE="BSD"
SLOT="0/25"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
IUSE="emacs examples static-libs test zlib"
RESTRICT="!test? ( test )"



BIN
dev-ml/Manifest.gz View File


+ 1
- 1
dev-ml/alcotest/alcotest-1.2.3-r3.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt"

RDEPEND="


+ 1
- 1
dev-ml/astring/astring-0.8.5.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://erratique.ch/software/astring/releases/${P}.tbz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"

OCAML_DEP=">=dev-lang/ocaml-4.05.0:="
BDEPEND="


+ 1
- 1
dev-ml/async_kernel/async_kernel-0.14.0.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt"

RDEPEND="


+ 1
- 1
dev-ml/async_unix/async_unix-0.14.0.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g

LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt"

RDEPEND="


+ 1
- 1
dev-ml/duration/duration-0.1.3.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/hannesm/duration/archive/${PV}.tar.gz -> ${P}.tar.gz

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-ml/fmt/fmt-0.8.9-r1.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://erratique.ch/software/fmt/releases/${P}.tbz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-ml/logs/logs-0.7.0.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+fmt cli +lwt test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-ml/mirage-clock/mirage-clock-3.1.0.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mirage/mirage-clock/archive/v${PV}.tar.gz -> ${P}.ta

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt"

BDEPEND="dev-ml/dune-configurator"

+ 1
- 1
dev-ml/mtime/mtime-1.1.0.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-ml/opam-file-format/opam-file-format-2.1.2.ebuild View File

@@ -15,7 +15,7 @@ SRC_URI="https://github.com/ocaml/opam-file-format/archive/${MY_PV}.tar.gz -> ${

LICENSE="LGPL-2.1"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"



+ 0
- 1
dev-ml/opam/Manifest View File

@@ -1,2 +1 @@
DIST opam-1.3.1.tar.gz 669485 BLAKE2B e1aed54175d46f5dd9fd989e56c25657370356e26df6976c01dd089e381291fa04e25da295104f85d513010cd028276d80ebf7a4a77b38f3e089e52f4e64f43a SHA512 d075c9b2c9670d712f29bd2df34b8020da52041fa2bbef599cb54a81f63554507d78bebece45ecf668d3d1d4ed514e4ab88a1d86b64088d283bca7a8e75ae582
DIST opam-2.0.8.tar.gz 643221 BLAKE2B 66510a18285f315fe95665e8ba2f334dd44211c716543cdc25f2951a7dfe537f115981046e5963fd08deea4c76f5672fa7cf8e7af2274a713a3165bdd0bac8c2 SHA512 14737dc994be2c54dfeaf2658d3713178033e1bc2b4b845a58b4bfc118bbbf12b502924add0ae32b4b2b6c1944462e5ee7143df3de362d9ee39573249d013bc9

+ 0
- 11
dev-ml/opam/files/stublibs.patch View File

@@ -1,11 +0,0 @@
--- a/src/tools/opam_installer.ml
+++ b/src/tools/opam_installer.ml
@@ -312,7 +312,7 @@ let options =
let mandir = mk_dir mandir in
let libdir = mk_dir libdir in
let stubsdir = match mk_dir stubsdir, libdir with
- | None, Some d -> Some OpamFilename.Op.(d / "stubslibs")
+ | None, Some d -> Some OpamFilename.Op.(d / "stublibs")
| d, None | (Some _ as d), _ -> d
in
let topdir = match mk_dir topdir, libdir with

+ 0
- 59
dev-ml/opam/opam-1.3.1-r2.ebuild View File

@@ -1,59 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="A source-based package manager for OCaml"
HOMEPAGE="http://opam.ocaml.org/"
if [[ ${PV} != 9999 ]] ; then
SRC_URI="https://github.com/ocaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/ocaml/opam.git"
fi

LICENSE="LGPL-3-with-linking-exception"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-lang/ocaml:=
|| ( net-misc/wget net-misc/curl )
dev-ml/extlib:=
dev-ml/re:=
dev-ml/ocamlgraph:=
dev-ml/cmdliner:=
dev-ml/cudf:=
>=dev-ml/dose3-5:=
dev-ml/uutf:=
dev-ml/jsonm:=
"
DEPEND="${RDEPEND}
dev-ml/findlib
test? ( dev-vcs/git )
"

PATCHES=(
"${FILESDIR}"/stublibs.patch
)

src_compile() {
emake -j1

cd doc || die
emake man
}

src_test() {
EMAIL=foo@bar.com emake -j1 tests
}

src_install() {
default

emake \
DESTDIR="${D}" \
OPAMINSTALLER_FLAGS="--prefix=\"${ED}/usr\" --libdir=\"${D}/$(ocamlc -where)\"" \
libinstall
}

+ 1
- 1
dev-ml/uuidm/uuidm-0.9.7.ebuild View File

@@ -11,7 +11,7 @@ SRC_URI="https://github.com/dbuenzli/uuidm/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~x86"
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~x86"
IUSE="+ocamlopt"

BDEPEND="


+ 1
- 1
dev-perl/B-Hooks-OP-Check/B-Hooks-OP-Check-0.220.0-r1.ebuild View File

@@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="Wrap OP check callbacks"

SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-perl/Class-Method-Modifiers/Class-Method-Modifiers-2.130.0.ebuild View File

@@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="provides Moose-like method modifiers"

SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-perl/Crypt-CBC/Crypt-CBC-3.30.0.ebuild View File

@@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="Encrypt Data with Cipher Block Chaining Mode"

SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ia64"
KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc64"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-perl/Crypt-PBKDF2/Crypt-PBKDF2-0.161.520.ebuild View File

@@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="The PBKDF2 password hashing algorithm"

SLOT="0"
KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~sparc"
KEYWORDS="~amd64 ~arm64 ~hppa ~ia64 ~ppc64 ~sparc"
IUSE="test"
RESTRICT="!test? ( test )"



+ 1
- 1
dev-perl/CryptX/CryptX-0.72.0.ebuild View File

@@ -9,7 +9,7 @@ inherit perl-module