2591 changed files with 19158 additions and 15520 deletions
-
BINManifest.files.gz
-
BINacct-group/Manifest.gz
-
0acct-group/unbound/Manifest
-
12acct-group/unbound/metadata.xml
-
10acct-group/unbound/unbound-0.ebuild
-
BINacct-user/Manifest.gz
-
0acct-user/unbound/Manifest
-
12acct-user/unbound/metadata.xml
-
16acct-user/unbound/unbound-0.ebuild
-
BINapp-admin/Manifest.gz
-
186app-admin/conky/conky-1.10.8-r10.ebuild
-
49app-admin/conky/files/conky-1.10.8-virtual-sinks.patch
-
3app-admin/graylog/Manifest
-
83app-admin/graylog/graylog-3.3.2.ebuild
-
0app-admin/graylog/graylog-3.3.3.ebuild
-
1app-admin/helm/Manifest
-
167app-admin/helm/helm-2.16.9.ebuild
-
BINapp-arch/Manifest.gz
-
3app-arch/engrampa/engrampa-1.24.0-r1.ebuild
-
BINapp-editors/Manifest.gz
-
1app-editors/emacs/Manifest
-
411app-editors/emacs/emacs-27.1_rc2.ebuild
-
2app-editors/pluma/pluma-1.24.0.ebuild
-
BINapp-misc/Manifest.gz
-
51app-misc/golly/golly-3.3-r1.ebuild
-
BINapp-office/Manifest.gz
-
9app-office/libalkimia/libalkimia-8.0.3.ebuild
-
5app-office/scribus/metadata.xml
-
BINapp-text/Manifest.gz
-
3app-text/atril/atril-1.24.0-r1.ebuild
-
1app-text/vgrep/Manifest
-
33app-text/vgrep/vgrep-2.4.0.ebuild
-
1app-text/webgen/Manifest
-
53app-text/webgen/webgen-1.7.0.ebuild
-
BINdev-ada/Manifest.gz
-
2dev-ada/gnat-suite-bin/Manifest
-
111dev-ada/gnat-suite-bin/gnat-suite-bin-2014.ebuild
-
BINdev-cpp/Manifest.gz
-
2dev-cpp/yaml-cpp/yaml-cpp-0.6.3-r3.ebuild
-
BINdev-db/Manifest.gz
-
2dev-db/etcd/Manifest
-
87dev-db/etcd/etcd-3.3.23.ebuild
-
80dev-db/etcd/etcd-3.4.10.ebuild
-
9dev-db/mariadb/mariadb-10.2.32-r2.ebuild
-
3dev-db/mariadb/mariadb-10.3.23-r2.ebuild
-
3dev-db/mariadb/mariadb-10.4.13-r2.ebuild
-
2dev-db/myodbc/myodbc-8.0.21.ebuild
-
2dev-db/mysql-connector-c/mysql-connector-c-8.0.21.ebuild
-
2dev-db/mysql/mysql-5.7.31.ebuild
-
2dev-db/mysql/mysql-8.0.21.ebuild
-
BINdev-erlang/Manifest.gz
-
2dev-erlang/base64url/base64url-1.0.1.ebuild
-
2dev-erlang/cache_tab/cache_tab-1.0.23.ebuild
-
2dev-erlang/eimp/eimp-1.0.15.ebuild
-
2dev-erlang/epam/epam-1.0.8.ebuild
-
2dev-erlang/esip/esip-1.0.34.ebuild
-
2dev-erlang/ezlib/ezlib-1.0.7.ebuild
-
2dev-erlang/fast_tls/fast_tls-1.1.6.ebuild
-
2dev-erlang/fast_xml/fast_xml-1.1.41.ebuild
-
2dev-erlang/fast_yaml/fast_yaml-1.0.25.ebuild
-
4dev-erlang/goldrush/goldrush-0.2.0.ebuild
-
2dev-erlang/idna/idna-6.0.0.ebuild
-
2dev-erlang/jiffy/jiffy-1.0.5.ebuild
-
2dev-erlang/jose/jose-1.10.1.ebuild
-
2dev-erlang/lager/lager-3.8.0.ebuild
-
2dev-erlang/mqtree/mqtree-1.0.7.ebuild
-
2dev-erlang/p1_acme/p1_acme-1.0.5.ebuild
-
2dev-erlang/p1_mysql/p1_mysql-1.0.15.ebuild
-
2dev-erlang/p1_oauth2/p1_oauth2-0.6.6.ebuild
-
2dev-erlang/p1_pgsql/p1_pgsql-1.1.9.ebuild
-
2dev-erlang/p1_utils/p1_utils-1.0.19.ebuild
-
2dev-erlang/pkix/pkix-1.0.5.ebuild
-
2dev-erlang/sqlite3/sqlite3-1.1.7.ebuild
-
2dev-erlang/stringprep/stringprep-1.0.20.ebuild
-
2dev-erlang/stun/stun-1.0.33.ebuild
-
2dev-erlang/xmpp/xmpp-1.4.7.ebuild
-
2dev-erlang/yconf/yconf-1.0.4.ebuild
-
BINdev-haskell/Manifest.gz
-
2dev-haskell/base-prelude/base-prelude-1.3.ebuild
-
4dev-haskell/filelock/Manifest
-
24dev-haskell/filelock/filelock-0.1.0.1.ebuild
-
25dev-haskell/filelock/filelock-0.1.1.3.ebuild
-
6dev-haskell/filelock/filelock-0.1.1.5.ebuild
-
4dev-haskell/filelock/metadata.xml
-
7dev-haskell/happstack-server/Manifest
-
53dev-haskell/happstack-server/happstack-server-7.1.7.1.ebuild
-
55dev-haskell/happstack-server/happstack-server-7.3.9.ebuild
-
58dev-haskell/happstack-server/happstack-server-7.4.5.ebuild
-
58dev-haskell/happstack-server/happstack-server-7.4.6.1.ebuild
-
58dev-haskell/happstack-server/happstack-server-7.4.6.2.ebuild
-
13dev-haskell/happstack-server/happstack-server-7.6.0.ebuild
-
2dev-haskell/hspec-smallcheck/Manifest
-
15dev-haskell/hspec-smallcheck/hspec-smallcheck-0.5.2.ebuild
-
2dev-haskell/json/Manifest
-
15dev-haskell/json/json-0.10.ebuild
-
1dev-haskell/json/metadata.xml
-
2dev-haskell/rio-prettyprint/Manifest
-
20dev-haskell/rio-prettyprint/rio-prettyprint-0.1.1.0.ebuild
-
2dev-haskell/rio/Manifest
-
2dev-haskell/rio/rio-0.1.18.0.ebuild
@ -0,0 +1,12 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>mschiff@gentoo.org</email> |
|||
<name>Marc Schiffbauer</name> |
|||
</maintainer> |
|||
<maintainer type="person"> |
|||
<email>whissi@gentoo.org</email> |
|||
<name>Thomas Deutschmann</name> |
|||
</maintainer> |
|||
</pkgmetadata> |
@ -0,0 +1,10 @@ |
|||
# Copyright 2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-group |
|||
|
|||
DESCRIPTION="unbound program group" |
|||
|
|||
ACCT_GROUP_ID=391 |
@ -0,0 +1,12 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
|||
<pkgmetadata> |
|||
<maintainer type="person"> |
|||
<email>mschiff@gentoo.org</email> |
|||
<name>Marc Schiffbauer</name> |
|||
</maintainer> |
|||
<maintainer type="person"> |
|||
<email>whissi@gentoo.org</email> |
|||
<name>Thomas Deutschmann</name> |
|||
</maintainer> |
|||
</pkgmetadata> |
@ -0,0 +1,16 @@ |
|||
# Copyright 2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit acct-user |
|||
|
|||
DESCRIPTION="unbound program user" |
|||
|
|||
ACCT_USER_ID=391 |
|||
ACCT_USER_HOME="/etc/${PN}" |
|||
ACCT_USER_HOME_OWNER="root:${PN}" |
|||
ACCT_USER_HOME_PERMS=0750 |
|||
ACCT_USER_GROUPS=( ${PN} ) |
|||
|
|||
acct-user_add_deps |
@ -0,0 +1,186 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit cmake linux-info readme.gentoo-r1 |
|||
|
|||
DESCRIPTION="An advanced, highly configurable system monitor for X" |
|||
HOMEPAGE="https://github.com/brndnmtthws/conky" |
|||
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="GPL-3 BSD LGPL-2.1 MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
|||
IUSE="apcupsd cmus curl eve hddtemp ical iconv imlib iostats ipv6 irc |
|||
lua-cairo lua-imlib lua-rsvg math moc mpd mysql nano-syntax ncurses |
|||
nvidia +portmon pulseaudio rss systemd thinkpad truetype vim-syntax |
|||
weather-metar webserver wifi X xmms2" |
|||
|
|||
COMMON_DEPEND=" |
|||
X? ( |
|||
imlib? ( media-libs/imlib2[X] ) |
|||
lua-cairo? ( >=dev-lua/toluapp-1.0.93 x11-libs/cairo[X] ) |
|||
lua-imlib? ( >=dev-lua/toluapp-1.0.93 media-libs/imlib2[X] ) |
|||
lua-rsvg? ( >=dev-lua/toluapp-1.0.93 gnome-base/librsvg ) |
|||
nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] ) |
|||
truetype? ( x11-libs/libXft >=media-libs/freetype-2 ) |
|||
x11-libs/libX11 |
|||
x11-libs/libXdamage |
|||
x11-libs/libXinerama |
|||
x11-libs/libXfixes |
|||
x11-libs/libXext |
|||
xmms2? ( media-sound/xmms2 ) |
|||
) |
|||
cmus? ( media-sound/cmus ) |
|||
curl? ( net-misc/curl ) |
|||
eve? ( net-misc/curl dev-libs/libxml2 ) |
|||
ical? ( dev-libs/libical:= ) |
|||
iconv? ( virtual/libiconv ) |
|||
irc? ( net-libs/libircclient ) |
|||
mysql? ( dev-db/mysql-connector-c ) |
|||
ncurses? ( sys-libs/ncurses:= ) |
|||
pulseaudio? ( media-sound/pulseaudio ) |
|||
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 ) |
|||
systemd? ( sys-apps/systemd ) |
|||
wifi? ( net-wireless/wireless-tools ) |
|||
weather-metar? ( net-misc/curl ) |
|||
webserver? ( net-libs/libmicrohttpd ) |
|||
|| ( dev-lang/lua:0 dev-lang/lua:5.1 ) |
|||
" |
|||
RDEPEND=" |
|||
${COMMON_DEPEND} |
|||
apcupsd? ( sys-power/apcupsd ) |
|||
hddtemp? ( app-admin/hddtemp ) |
|||
moc? ( media-sound/moc ) |
|||
nano-syntax? ( app-editors/nano ) |
|||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) |
|||
" |
|||
DEPEND=" |
|||
${COMMON_DEPEND} |
|||
app-text/docbook2X |
|||
" |
|||
|
|||
CONFIG_CHECK=~IPV6 |
|||
|
|||
DOCS=( README.md TODO ChangeLog NEWS AUTHORS ) |
|||
|
|||
PATCHES=( |
|||
"${FILESDIR}"/${P}-use-pkgconfig.patch |
|||
"${FILESDIR}"/${P}-libical-3.patch |
|||
"${FILESDIR}"/${P}-portmon.patch |
|||
"${FILESDIR}"/${P}-clang.patch |
|||
"${FILESDIR}"/${P}-virtual-sinks.patch |
|||
) |
|||
|
|||
DISABLE_AUTOFORMATTING="yes" |
|||
DOC_CONTENTS="You can find sample configurations at ${ROOT}/usr/share/doc/${PF}. |
|||
To customize, copy to ${XDG_CONFIG_HOME}/conky/conky.conf |
|||
and edit it to your liking. |
|||
|
|||
There are pretty html docs available at the conky homepage |
|||
or in ${ROOT}/usr/share/doc/${PF}/html. |
|||
|
|||
Also see https://wiki.gentoo.org/wiki/Conky/HOWTO" |
|||
|
|||
pkg_setup() { |
|||
use ipv6 && linux-info_pkg_setup |
|||
} |
|||
|
|||
src_prepare() { |
|||
cmake_src_prepare |
|||
|
|||
sed -i -e "s|find_program(APP_MAN man)|set(APP_MAN $(which man) CACHE FILEPATH MAN_BINARY)|" \ |
|||
cmake/ConkyPlatformChecks.cmake || die |
|||
} |
|||
|
|||
src_configure() { |
|||
local mycmakeargs |
|||
|
|||
if use X; then |
|||
mycmakeargs=( |
|||
-DBUILD_X11=ON |
|||
-DOWN_WINDOW=ON |
|||
-DBUILD_XDAMAGE=ON |
|||
-DBUILD_XINERAMA=ON |
|||
-DBUILD_XDBE=ON |
|||
-DBUILD_XFT=$(usex truetype) |
|||
-DBUILD_IMLIB2=$(usex imlib) |
|||
-DBUILD_XSHAPE=ON |
|||
-DBUILD_ARGB=ON |
|||
-DBUILD_LUA_CAIRO=$(usex lua-cairo) |
|||
-DBUILD_LUA_IMLIB2=$(usex lua-imlib) |
|||
-DBUILD_LUA_RSVG=$(usex lua-rsvg) |
|||
-DBUILD_NVIDIA=$(usex nvidia) |
|||
-DBUILD_XMMS2=$(usex xmms2) |
|||
) |
|||
else |
|||
mycmakeargs=( |
|||
-DBUILD_X11=OFF |
|||
-DBUILD_NVIDIA=OFF |
|||
-DBUILD_LUA_CAIRO=OFF |
|||
-DBUILD_LUA_IMLIB2=OFF |
|||
-DBUILD_LUA_RSVG=OFF |
|||
-DBUILD_XMMS2=OFF |
|||
) |
|||
fi |
|||
|
|||
mycmakeargs+=( |
|||
-DBUILD_APCUPSD=$(usex apcupsd) |
|||
-DBUILD_CMUS=$(usex cmus) |
|||
-DBUILD_CURL=$(usex curl) |
|||
-DBUILD_EVE=$(usex eve) |
|||
-DBUILD_HDDTEMP=$(usex hddtemp) |
|||
-DBUILD_IOSTATS=$(usex iostats) |
|||
-DBUILD_ICAL=$(usex ical) |
|||
-DBUILD_ICONV=$(usex iconv) |
|||
-DBUILD_IPV6=$(usex ipv6) |
|||
-DBUILD_IRC=$(usex irc) |
|||
-DBUILD_MATH=$(usex math) |
|||
-DBUILD_MOC=$(usex moc) |
|||
-DBUILD_MPD=$(usex mpd) |
|||
-DBUILD_MYSQL=$(usex mysql) |
|||
-DBUILD_NCURSES=$(usex ncurses) |
|||
-DBUILD_PORT_MONITORS=$(usex portmon) |
|||
-DBUILD_PULSEAUDIO=$(usex pulseaudio) |
|||
-DBUILD_RSS=$(usex rss) |
|||
-DBUILD_JOURNAL=$(usex systemd) |
|||
-DBUILD_IBM=$(usex thinkpad) |
|||
-DBUILD_HTTP=$(usex webserver) |
|||
-DBUILD_WEATHER_METAR=$(usex weather-metar) |
|||
-DBUILD_WLAN=$(usex wifi) |
|||
-DBUILD_BUILTIN_CONFIG=ON |
|||
-DBUILD_OLD_CONFIG=ON |
|||
-DBUILD_I18N=ON |
|||
-DMAINTAINER_MODE=ON |
|||
-DRELEASE=ON |
|||
-DBUILD_AUDACIOUS=OFF |
|||
-DBUILD_BMPX=OFF |
|||
-DDOC_PATH=/usr/share/doc/${PF} |
|||
) |
|||
|
|||
cmake_src_configure |
|||
} |
|||
|
|||
src_install() { |
|||
cmake_src_install |
|||
|
|||
if use vim-syntax; then |
|||
insinto /usr/share/vim/vimfiles/ftdetect |
|||
doins "${S}"/extras/vim/ftdetect/conkyrc.vim |
|||
|
|||
insinto /usr/share/vim/vimfiles/syntax |
|||
doins "${S}"/extras/vim/syntax/conkyrc.vim |
|||
fi |
|||
|
|||
if use nano-syntax; then |
|||
insinto /usr/share/nano/ |
|||
doins "${S}"/extras/nano/conky.nanorc |
|||
fi |
|||
|
|||
readme.gentoo_create_doc |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
readme.gentoo_print_elog |
|||
} |
@ -0,0 +1,49 @@ |
|||
From 8221ba62045012abf8a4443de20f17a0a8fc1288 Mon Sep 17 00:00:00 2001 |
|||
From: Jan Seeger <jan.seeger@thenybble.de> |
|||
Date: Wed, 5 Aug 2020 15:39:20 +0200 |
|||
Subject: Fixed crash on virtual sinks. |
|||
|
|||
Taken from upstream commits |
|||
https://github.com/brndnmtthws/conky/commit/ddf8a0f58f3110e31ec4c44ecff838d2b231f6f3 and |
|||
https://github.com/brndnmtthws/conky/commit/2a7226d89331f7d5d0abf0b9aff6d75435dd3a2d. |
|||
|
|||
Signed-off-by: Jan Seeger <jan.seeger@thenybble.de> |
|||
---
|
|||
src/pulseaudio.cc | 12 +++++++++--- |
|||
1 file changed, 9 insertions(+), 3 deletions(-) |
|||
|
|||
diff --git a/src/pulseaudio.cc b/src/pulseaudio.cc
|
|||
index 93226c1b..af814bd6 100644
|
|||
--- a/src/pulseaudio.cc
|
|||
+++ b/src/pulseaudio.cc
|
|||
@@ -53,8 +53,13 @@ void pa_sink_info_callback(pa_context *c, const pa_sink_info *i, int eol, void *
|
|||
pdr->sink_mute = i->mute; |
|||
pdr->sink_card = i->card; |
|||
pdr->sink_index = i->index; |
|||
- pdr->sink_active_port_name.assign(i->active_port->name);
|
|||
- pdr->sink_active_port_description.assign(i->active_port->description);
|
|||
+ if (i->active_port != nullptr) {
|
|||
+ pdr->sink_active_port_name.assign(i->active_port->name);
|
|||
+ pdr->sink_active_port_description.assign(i->active_port->description);
|
|||
+ } else {
|
|||
+ pdr->sink_active_port_name.erase();
|
|||
+ pdr->sink_active_port_name.erase();
|
|||
+ }
|
|||
pdr->sink_volume = round_to_int(100.0f * (float)pa_cvolume_avg(&(i->volume)) / (float)PA_VOLUME_NORM); |
|||
pa_threaded_mainloop_signal(pulseaudio->mainloop, 0); |
|||
} |
|||
@@ -224,9 +229,10 @@ void init_pulseaudio(struct text_object *obj) {
|
|||
return; |
|||
} |
|||
|
|||
- if(pulseaudio->result.sink_card!=(uint32_t)-1)
|
|||
+ if(pulseaudio->result.sink_card!=(uint32_t)-1) {
|
|||
PULSEAUDIO_WAIT(pa_context_get_card_info_by_index(pulseaudio->context, pulseaudio->result.sink_card, |
|||
pa_card_info_callback, &pulseaudio->result)); |
|||
+ }
|
|||
|
|||
// get notification when something changes in PA |
|||
pa_context_set_subscribe_callback(pulseaudio->context, subscribe_cb, &pulseaudio->result); |
|||
--
|
|||
2.26.2 |
|||
|
@ -1,2 +1 @@ |
|||
DIST graylog-3.3.1.tgz 129279195 BLAKE2B b3894a453d369f200951d260c0229cec7dbbeb01fcd5df1d8be354c0669c32c1ae3f435a7bad2fc92823f2408fd6e06eded19a56442d6eaa636bd8401f8573a9 SHA512 9e99784e4c349965aafae8c153bd843007dadf664febe7088cfa7561568841d6acb73592d5f57feaece683ea667a535124cdd49e6ed3a05bab13d07239c8b3dd |
|||
DIST graylog-3.3.2.tgz 129297286 BLAKE2B a09e8211f39cf5ea57bd05c49ccd2efba4d166e20bbd2bfa9f52d2de0768d54821a002453497545bc8022ee161c8a69080cf8f99d6988eb1a6e56f7ee13fdb9f SHA512 6422f15d75067f5639d1d3c181c29429bf10f2f499179df304441ff1b01a7cc0b29a27361837c7b2ef8b6d33fbd3448fc759e123f59843391838daf3ee353824 |
|||
DIST graylog-3.3.3.tgz 129284019 BLAKE2B 35c8dec3becd0cd513e435fec38c296e40a0c330304effb40e40f656702cd791c68ca9c814baf45671d7494d16d4478f9a0b3e44812c4814bea8dc1213f06793 SHA512 6e7445d1bac5addfe4e09f22ba2425859b44720105ba61ec2d819d12a8d693789f717d6fc1bdacb0ef1fe2e4583c405689a60ddd250e4fa17d1d10e70020f75c |
@ -1,83 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
DESCRIPTION="Free and open source log management" |
|||
HOMEPAGE="https://www.graylog.org" |
|||
SRC_URI="https://downloads.graylog.org/releases/graylog/${P}.tgz" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64 ~ppc64 ~x86" |
|||
RESTRICT="strip" |
|||
|
|||
RDEPEND="!app-admin/graylog2 |
|||
acct-group/graylog |
|||
acct-user/graylog |
|||
>=virtual/jdk-1.8:*" |
|||
|
|||
DOCS=( |
|||
COPYING README.markdown UPGRADING.rst |
|||
) |
|||
|
|||
GRAYLOG_DATA_DIR="/var/lib/graylog" |
|||
GRAYLOG_INSTALL_DIR="/usr/share/graylog" |
|||
QA_PREBUILT="${GRAYLOG_INSTALL_DIR}/lib/sigar/libsigar*" |
|||
|
|||
src_prepare() { |
|||
default |
|||
|
|||
# Stick to architecture of build host |
|||
if ! use amd64; then |
|||
rm -r lib/sigar/libsigar-amd64-*.so || die "Failed in removing AMD64 support libraries" |
|||
fi |
|||
if ! use ppc64; then |
|||
rm -r lib/sigar/libsigar-ppc64-*.so || die "Failed in removing PPC64 support libraries" |
|||
fi |
|||
if ! use x86; then |
|||
rm -r lib/sigar/libsigar-x86-*.so || die "Failed in removing X86 support libraries" |
|||
fi |
|||
# Currently unsupported platforms |
|||
# QA warning galore but testing/patches welcome |
|||
rm lib/sigar/libsigar-*freebsd*so \ |
|||
lib/sigar/libsigar-*solaris*so \ |
|||
lib/sigar/libsigar-*hpux*.sl \ |
|||
lib/sigar/libsigar-*macosx*.dylib \ |
|||
lib/sigar/libsigar-ia64-*.so \ |
|||
lib/sigar/libsigar-ppc-*.so \ |
|||
lib/sigar/libsigar-s390x*.so \ |
|||
lib/sigar/*winnt* || die "Failed in removing unsupported platform libraries" |
|||
|
|||
# gentoo specific paths |
|||
sed -i "s@\(node_id_file = \).*@\1${GRAYLOG_DATA_DIR}/node-id@g; \ |
|||
s@\(message_journal_dir = \).*@\1${GRAYLOG_DATA_DIR}/data/journal@g;" \ |
|||
graylog.conf.example || die |
|||
} |
|||
|
|||
src_install() { |
|||
default |
|||
|
|||
insinto /etc/graylog |
|||
doins graylog.conf.example |
|||
|
|||
insinto "${GRAYLOG_INSTALL_DIR}" |
|||
doins graylog.jar |
|||
doins -r lib plugin |
|||
|
|||
keepdir "${GRAYLOG_DATA_DIR}" |
|||
|
|||
newconfd "${FILESDIR}/graylog.confd" graylog |
|||
newinitd "${FILESDIR}/graylog.initd" graylog |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
ewarn "Graylog does not depend on need.net any more (#439092)." |
|||
ewarn |
|||
ewarn "Please configure rc_need according to your binding address in:" |
|||
ewarn "/etc/conf.d/graylog" |
|||
ewarn |
|||
ewarn "Graylog requires Java >= 8" |
|||
ewarn "Elasticsearch 5.x or 6.x (does NOT work with 7.x)" |
|||
ewarn "and MongoDB 3.6 or 4.0 (does NOT work with 4.2)" |
|||
} |
@ -0,0 +1,167 @@ |
|||
# Copyright 1999-2019 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=6 |
|||
|
|||
EGO_PN="k8s.io/helm" |
|||
|
|||
MY_PV=${PV/_rc/-rc.} |
|||
|
|||
EGO_VENDOR=( |
|||
"cloud.google.com/go 8c41231e01b2085512d98153bcffb847ff9b4b9f github.com/GoogleCloudPlatform/gcloud-golang" |
|||
"github.com/asaskevich/govalidator 7664702784775e51966f0885f5cd27435916517b" |
|||
"github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d058875b0371ff8109" |
|||
"github.com/Azure/go-autorest 69b4126ece6b5257e2f9b0017007d2334153655f" |
|||
"github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceafb" |
|||
"github.com/BurntSushi/toml 3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005" |
|||
"github.com/chai2010/gettext-go c6fed771bfd517099caf0f7a961671fa8ed08723" |
|||
"github.com/cpuguy83/go-md2man 7762f7e404f8416dfa1d9bb6a8c192aa9acb4d19" |
|||
"github.com/cyphar/filepath-securejoin a261ee33d7a517f054effbf451841abaafe3e0fd" |
|||
"github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73" |
|||
"github.com/dgrijalva/jwt-go 06ea1031745cb8b3dab3f6a236daf2b0aa468b7e" |
|||
"github.com/docker/distribution 2461543d988979529609e8cb6fca9ca190dc48da" |
|||
"github.com/docker/docker be7ac8be2ae072032a4005e8f232be3fc57e4127" |
|||
"github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1" |
|||
"github.com/docker/spdystream 449fdfce4d962303d702fec724ef0ad181c92528" |
|||
"github.com/emicklei/go-restful ff4f55a206334ef123e4f79bbf348980da81ca46" |
|||
"github.com/evanphx/json-patch 5858425f75500d40c52783dce87d085a483ce135" |
|||
"github.com/exponent-io/jsonpath d6023ce2651d8eafb5c75bb0c7167536102ec9f5" |
|||
"github.com/fatih/color 3f9d52f7176a6927daacff70a3e8d1dc2025c53e" |
|||
"github.com/ghodss/yaml c7ce16629ff4cd059ed96ed06419dd3856fd3577" |
|||
"github.com/gofrs/flock 392e7fae8f1b0bdbd67dad7237d23f618feb6dbb" |
|||
"github.com/go-openapi/jsonpointer 46af16f9f7b149af66e5d1bd010e3574dc06de98" |
|||
"github.com/go-openapi/jsonreference 13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272" |
|||
"github.com/go-openapi/spec 6aced65f8501fe1217321abf0749d354824ba2ff" |
|||
"github.com/go-openapi/swag 1d0bd113de87027671077d3c71eb3ac5d7dbba72" |
|||
"github.com/gobwas/glob 5ccd90ef52e1e632236f7326478d4faa74f99438" |
|||
"github.com/gogo/protobuf 65acae22fc9d1fe290b33faa2bd64cdc20a463a0" |
|||
"github.com/golang/glog 44145f04b68cf362d9c4df2182967c2275eaefed" |
|||
"github.com/golang/groupcache 02826c3e79038b59d737d3b1c0a1d937f71a4433" |
|||
"github.com/golang/protobuf 6c65a5562fc06764971b7c5d05c76c75e84bdbf7" |
|||
"github.com/google/btree 4030bb1f1f0c35b30ca7009e9ebd06849dd45306" |
|||
"github.com/google/go-cmp 6f77996f0c42f7b84e5a2b252227263f93432e9b" |
|||
"github.com/google/gofuzz f140a6486e521aad38f5917de355cbf147cc0496" |
|||
"github.com/google/uuid 0cd6bf5da1e1c83f8b45653022c74f71af0538a4" |
|||
"github.com/googleapis/gnostic 0c5108395e2debce0d731cf0287ddf7242066aba" |
|||
"github.com/gophercloud/gophercloud c2d73b246b48e239d3f03c455905e06fe26e33c3" |
|||
"github.com/gosuri/uitable 2cf933346b8370a3a3d8867ef5cf54b2129d8ecf" |
|||
"github.com/gregjones/httpcache 787624de3eb7bd915c329cba748687a3b22666a6" |
|||
"github.com/grpc-ecosystem/go-grpc-prometheus 6af20e3a5340d5e6bde20c8a7a78699efe19ac0a" |
|||
"github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c" |
|||
"github.com/huandu/xstrings f02667b379e2fb5916c3cda2cf31e0eb885d79f8" |
|||
"github.com/imdario/mergo 9316a62528ac99aaecb4e47eadd6dc8aa6533d58" |
|||
"github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" |
|||
"github.com/jmoiron/sqlx d161d7a76b5661016ad0b085869f77fd410f3e6a" |
|||
"github.com/json-iterator/go 27518f6661eba504be5a7a9a9f6d9460d892ade3" |
|||
"github.com/konsorten/go-windows-terminal-sequences 5c8c8bd35d3832f5d134ae1e1e375b69a4d25242" |
|||
"github.com/lib/pq f91d3411e481ed313eeab65ebfe9076466c39d01" |
|||
"github.com/liggitt/tabwriter 89fcab3d43de07060e4fd4c1547430ed57e87f24" |
|||
"github.com/mailru/easyjson d5b7844b561a7bc640052f1b935f7b800330d7e0" |
|||
"github.com/MakeNowJust/heredoc bb23615498cded5e105af4ce27de75b089cbe851" |
|||
"github.com/Masterminds/goutils 41ac8693c5c10a92ea1ff5ac3a7f95646f6123b0" |
|||
"github.com/Masterminds/semver 805c489aa98f412e79eb308a37996bf9d8b1c91e" |
|||
"github.com/Masterminds/sprig e4c0945838d570720d876a6ad9b4568ed32317b4" |
|||
"github.com/Masterminds/vcs f94282d8632a0620f79f0c6ff0e82604e8c5c85b" |
|||
"github.com/mattn/go-colorable 98ec13f34aabf44cc914c65a1cfb7b9bc815aef1" |
|||
"github.com/mattn/go-isatty 0e9ddb7c0c0aef74fa25eaba4141e6b5ab7aca2a" |
|||
"github.com/mattn/go-runewidth 9d4e0701ab53d89eeb2f46b282d1cd71f458f0bf" |
|||
"github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c" |
|||
"github.com/mitchellh/copystructure 9a1b6f44e8da0e0e374624fb0a825a231b00c537" |
|||
"github.com/mitchellh/go-wordwrap 9e67c67572bc5dd02aef930e2b0ae3c02a4b5a5c" |
|||
"github.com/mitchellh/reflectwalk 3e2c75dfad4fbf904b58782a80fd595c760ad185" |
|||
"github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" |
|||
"github.com/modern-go/reflect2 94122c33edd36123c84d5368cfb2b69df93a0ec8" |
|||
"github.com/opencontainers/go-digest 279bed98673dd5bef374d3b6e4b09e2af76183bf" |
|||
"github.com/peterbourgon/diskv 5f041e8faa004a95c88a202771f4cc3e991971e6" |
|||
"github.com/pkg/errors 27936f6d90f9c8e1145f11ed52ffffbfdb9e0af7" |
|||
"github.com/prometheus/client_golang 505eaef017263e299324067d40ca2c48f6a2cf50" |
|||
"github.com/prometheus/client_model 5c3871d89910bfb32f5fcab2aa4b9ec68e65a99f" |
|||
"github.com/prometheus/common 4724e9255275ce38f7179b2478abeae4e28c904f" |
|||
"github.com/prometheus/procfs 1dc9a6cbc91aacc3e8b2d63db4d2e957a5394ac4" |
|||
"github.com/PuerkitoBio/purell 8a290539e2e8629dbc4e6bad948158f790ec31f4" |
|||
"github.com/PuerkitoBio/urlesc 5bd2802263f21d8788851d5305584c82a5c75d7e" |
|||
"github.com/rubenv/sql-migrate 9355dd04f4b3dc9ed604623307307a3491a627bc" |
|||
"github.com/russross/blackfriday 05f3235734ad95d0016f6a23902f06461fcf567a" |
|||
"github.com/sirupsen/logrus 839c75faf7f98a33d445d181f3018b5c3409a45e" |
|||
"github.com/spf13/cobra f2b07da1e2c38d5f12845a4f607e2e1018cbb1f5" |
|||
"github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab" |
|||
"github.com/technosophos/moniker a5dbd03a2245d554160e3ae6bfdcf969fe58b431" |
|||
"golang.org/x/crypto e84da0312774c21d64ee2317962ef669b27ffb41 github.com/golang/crypto" |
|||
"golang.org/x/net cdfb69ac37fc6fa907650654115ebebb3aae2087 github.com/golang/net" |
|||
"golang.org/x/oauth2 9f3314589c9a9136388751d9adae6b0ed400978a github.com/golang/oauth2" |
|||
"golang.org/x/sync 42b317875d0fa942474b76e1b46a6060d720ae6e github.com/golang/sync" |
|||
"golang.org/x/sys b90733256f2e882e81d52f9126de08df5615afd9 github.com/golang/sys" |
|||
"golang.org/x/text e6919f6577db79269a6443b9dc46d18f2238fb5d github.com/golang/text" |
|||
"golang.org/x/time f51c12702a4d776e4c1fa9b0fabab841babae631 github.com/golang/time" |
|||
"google.golang.org/appengine 54a98f90d1c46b7731eb8fb305d2a321c30ef610 github.com/golang/appengine" |
|||
"google.golang.org/genproto 919d9bdd9fe6f1a5dd95ce5d5e4cdb8fd3c516d0 github.com/google/go-genproto" |
|||
"google.golang.org/grpc a02b0774206b209466313a0b525d2c738fe407eb github.com/grpc/grpc-go" |
|||
"gopkg.in/gorp.v1 6a667da9c028871f98598d85413e3fc4c6daa52e github.com/go-gorp/gorp" |
|||
"gopkg.in/inf.v0 3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4 github.com/go-inf/inf" |
|||
"gopkg.in/square/go-jose.v2 e94fb177d3668d35ab39c61cbb2f311550557e83 github.com/square/go-jose" |
|||
"gopkg.in/yaml.v2 f221b8435cfb71e54062f6c6e99e9ade30b124d5 github.com/go-yaml/yaml" |
|||
"k8s.io/api 35e52d86657aba06859dd22099bfa14faf1effb2 github.com/kubernetes/api" |
|||
"k8s.io/apiextensions-apiserver 5357c4baaf6562e4d37c9afc9fef99bd16d76a9f github.com/kubernetes/apiextensions-apiserver" |
|||
"k8s.io/apimachinery a2eda9f80ab8a454a81bdde16d62a1afe5f931c0 github.com/kubernetes/apimachinery" |
|||
"k8s.io/apiserver 5190913f932d82e562d4eb91d0f3d7a063bdbc07 github.com/kubernetes/apiserver" |
|||
"k8s.io/client-go bec269661e48cb1e5fbb0d037f356ffe9e9978a0 github.com/kubernetes/client-go" |
|||
"k8s.io/cli-runtime 74ad18325ed51ea6de9ee19bae59156bad18ecd2 github.com/kubernetes/cli-runtime" |
|||
"k8s.io/component-base 039242c015a9f5eeaccea3ea17c6973b9c27166a github.com/kubernetes/component-base" |
|||
"k8s.io/klog 3ca30a56d8a775276f9cdae009ba326fdc05af7f github.com/kubernetes/klog" |
|||
"k8s.io/kube-openapi 743ec37842bffe49dd4221d9026f30fb1d5adbc4 github.com/kubernetes/kube-openapi" |
|||
"k8s.io/kubectl 2ed914427d51f6fd865e0db43d72b2f22610cf32 github.com/kubernetes/kubectl" |
|||
"k8s.io/kubernetes c97fe5036ef3df2967d086711e6c0c405941e14b github.com/kubernetes/kubernetes" |
|||
"k8s.io/utils 581e00157fb1a0435d4fac54a52d1ca1e481d60e github.com/kubernetes/utils" |
|||
"sigs.k8s.io/kustomize a6f65144121d1955266b0cd836ce954c04122dc8 github.com/kubernetes-sigs/kustomize" |
|||
"sigs.k8s.io/yaml fd68e9863619f6ec2fdd8625fe1f02e7c877e480 github.com/kubernetes-sigs/yaml" |
|||
"vbom.ml/util efcd4e0f97874370259c7d93e12aad57911dea81 github.com/fvbommel/util" |
|||
) |
|||
|
|||
inherit golang-build golang-vcs-snapshot bash-completion-r1 |
|||
|
|||
GIT_COMMIT=8ad7037828e5a0fca1009dabe290130da6368e39 |
|||
|
|||
ARCHIVE_URI="https://github.com/kubernetes/helm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz |
|||
${EGO_VENDOR_URI}" |
|||
KEYWORDS="~amd64" |
|||
|
|||
DESCRIPTION="Kubernetes Package Manager" |
|||
HOMEPAGE="https://github.com/kubernetes/helm https://helm.sh" |
|||
SRC_URI="${ARCHIVE_URI}" |
|||
|
|||
LICENSE="Apache-2.0" |
|||
SLOT="0" |
|||
IUSE="" |
|||
|
|||
DEPEND=">=dev-lang/go-1.12" |
|||
|
|||
RESTRICT="test" |
|||
|
|||
src_prepare() { |
|||
default |
|||
sed -i -e "s/git rev-parse HEAD/echo ${GIT_COMMIT}/"\ |
|||
-e "s/git rev-parse --short HEAD/echo ${GIT_COMMIT:0:7}/"\ |
|||
-e "s#git describe --tags --abbrev=0 --exact-match 2>/dev/null#echo v${PV}#"\ |
|||
-e 's/test -n "`git status --porcelain`" && echo "dirty" ||//' src/${EGO_PN}/versioning.mk || die |
|||
|
|||
rm -rf src/${EGO_PN}/vendor/*/*/vendor src/${EGO_PN}/vendor/*/*/*/vendor || die |
|||
} |
|||
|
|||
src_compile() { |
|||
pushd src/${EGO_PN} || die |
|||
GOPATH="${S}" go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go || die |
|||
GOBINDIR="$(pwd)/bin" GOPATH="${S}"\ |
|||
go install -v -ldflags "-X k8s.io/helm/pkg/version.Version=v${PV} -X k8s.io/helm/pkg/version.BuildMetadata= -X k8s.io/helm/pkg/version.GitCommit=${GIT_COMMIT} -X k8s.io/helm/pkg/version.GitTreeState=clean" k8s.io/helm/cmd/... || die |
|||
popd || die |
|||
bin/${PN} completion bash > ${PN}.bash || die |
|||
bin/${PN} completion zsh > ${PN}.zsh || die |
|||
} |
|||
|
|||
src_install() { |
|||
newbashcomp ${PN}.bash ${PN} |
|||
insinto /usr/share/zsh/site-functions |
|||
newins ${PN}.zsh _${PN} |
|||
|
|||
dobin bin/${PN} bin/tiller |
|||
dodoc src/${EGO_PN}/README.md |
|||
} |
@ -0,0 +1,411 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 |
|||
|
|||
if [[ ${PV##*.} = 9999 ]]; then |
|||
inherit git-r3 |
|||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git" |
|||
EGIT_BRANCH="emacs-27" |
|||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs" |
|||
S="${EGIT_CHECKOUT_DIR}" |
|||
else |
|||
SRC_URI="mirror://gnu-alpha/emacs/pretest/emacs-${PV/_/-}.tar.xz" |
|||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
|||
# FULL_VERSION keeps the full version number, which is needed in |
|||
# order to determine some path information correctly for copy/move |
|||
# operations later on |
|||
FULL_VERSION="${PV%%_*}" |
|||
S="${WORKDIR}/emacs-${FULL_VERSION}" |
|||
[[ ${PV} == *_pre* ]] && S="${WORKDIR}/emacs" |
|||
fi |
|||
|
|||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor" |
|||
HOMEPAGE="https://www.gnu.org/software/emacs/" |
|||
|
|||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2" |
|||
SLOT="27-vcs" |
|||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gtk2 gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib" |
|||
REQUIRED_USE="?? ( aqua X )" |
|||
RESTRICT="test" |
|||
|
|||
RDEPEND=">=app-emacs/emacs-common-gentoo-1.5[games?,X?] |
|||
sys-libs/ncurses:0= |
|||
acl? ( virtual/acl ) |
|||
alsa? ( media-libs/alsa-lib ) |
|||
dbus? ( sys-apps/dbus ) |
|||
games? ( acct-group/gamestat ) |
|||
gmp? ( dev-libs/gmp:0= ) |
|||
gpm? ( sys-libs/gpm ) |
|||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) ) |
|||
json? ( dev-libs/jansson ) |
|||
kerberos? ( virtual/krb5 ) |
|||
lcms? ( media-libs/lcms:2 ) |
|||
libxml2? ( >=dev-libs/libxml2-2.2.0 ) |
|||
mailutils? ( net-mail/mailutils[clients] ) |
|||
!mailutils? ( net-libs/liblockfile ) |
|||
selinux? ( sys-libs/libselinux ) |
|||
ssl? ( net-libs/gnutls:0= ) |
|||
systemd? ( sys-apps/systemd ) |
|||
zlib? ( sys-libs/zlib ) |
|||
X? ( |
|||
x11-libs/libICE |
|||
x11-libs/libSM |
|||
x11-libs/libX11 |
|||
x11-libs/libXext |
|||
x11-libs/libXfixes |
|||
x11-libs/libXinerama |
|||
x11-libs/libXrandr |
|||
x11-libs/libxcb |
|||
x11-misc/xbitmaps |
|||
gconf? ( >=gnome-base/gconf-2.26.2 ) |
|||
gsettings? ( >=dev-libs/glib-2.28.6 ) |
|||
gif? ( media-libs/giflib:0= ) |
|||
jpeg? ( virtual/jpeg:0= ) |
|||
png? ( >=media-libs/libpng-1.4:0= ) |
|||
svg? ( >=gnome-base/librsvg-2.0 ) |
|||
tiff? ( media-libs/tiff:0 ) |
|||
xpm? ( x11-libs/libXpm ) |
|||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= ) |
|||
xft? ( |
|||
media-libs/fontconfig |
|||
media-libs/freetype |
|||
x11-libs/libXft |
|||
x11-libs/libXrender |
|||
cairo? ( >=x11-libs/cairo-1.12.18 ) |
|||
harfbuzz? ( media-libs/harfbuzz:0= ) |
|||
m17n-lib? ( |
|||
>=dev-libs/libotf-0.9.4 |
|||
>=dev-libs/m17n-lib-1.5.1 |
|||
) |
|||
) |
|||
gtk? ( |
|||
gtk2? ( x11-libs/gtk+:2 ) |
|||
!gtk2? ( |
|||
x11-libs/gtk+:3 |
|||
xwidgets? ( |
|||
net-libs/webkit-gtk:4= |
|||
x11-libs/libXcomposite |
|||
) |
|||
) |
|||
) |
|||
!gtk? ( |
|||
motif? ( |
|||
>=x11-libs/motif-2.3:0 |
|||
x11-libs/libXpm |
|||
x11-libs/libXmu |
|||
x11-libs/libXt |
|||
) |
|||
!motif? ( |
|||
Xaw3d? ( |
|||
x11-libs/libXaw3d |
|||
x11-libs/libXmu |
|||
x11-libs/libXt |
|||
) |
|||
!Xaw3d? ( athena? ( |
|||
x11-libs/libXaw |
|||
x11-libs/libXmu |
|||
x11-libs/libXt |
|||
) ) |
|||
) |
|||
) |
|||
)" |
|||
|
|||
DEPEND="${RDEPEND} |
|||
X? ( x11-base/xorg-proto )" |
|||
|
|||
BDEPEND="app-eselect/eselect-emacs |
|||
sys-apps/texinfo |
|||
virtual/pkgconfig |
|||
gzip-el? ( app-arch/gzip )" |
|||
|
|||
RDEPEND="${RDEPEND} |
|||
!app-editors/emacs-vcs:27 |
|||
app-eselect/eselect-emacs" |
|||
|
|||
EMACS_SUFFIX="emacs-${SLOT}" |
|||
SITEFILE="20${EMACS_SUFFIX}-gentoo.el" |
|||
|
|||
src_prepare() { |
|||
if [[ ${PV##*.} = 9999 ]]; then |
|||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \ |
|||
configure.ac) |
|||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version" |
|||
einfo "Emacs branch: ${EGIT_BRANCH}" |
|||
einfo "Commit: ${EGIT_VERSION}" |
|||
einfo "Emacs version number: ${FULL_VERSION}" |
|||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \ |
|||
|| die "Upstream version number changed to ${FULL_VERSION}" |
|||
fi |
|||
|
|||
eapply_user |
|||
|
|||
# Fix filename reference in redirected man page |
|||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die |
|||
|
|||
#AT_M4DIR=m4 eautoreconf |
|||
} |
|||
|
|||
src_configure() { |
|||
strip-flags |
|||
filter-flags -pie #526948 |
|||
|
|||
if use ia64; then |
|||
replace-flags "-O[2-9]" -O1 #325373 |
|||
else |
|||
replace-flags "-O[3-9]" -O2 |
|||
fi |
|||
|
|||
local myconf |
|||
|
|||
if use alsa; then |
|||
use sound || ewarn \ |
|||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support." |
|||
myconf+=" --with-sound=alsa" |
|||
else |
|||
myconf+=" --with-sound=$(usex sound oss)" |
|||
fi |
|||
|
|||
if use X; then |
|||
myconf+=" --with-x --without-ns" |
|||
myconf+=" $(use_with gconf)" |
|||
myconf+=" $(use_with gsettings)" |
|||
myconf+=" $(use_with toolkit-scroll-bars)" |
|||
myconf+=" $(use_with gif)" |
|||
myconf+=" $(use_with jpeg)" |
|||
myconf+=" $(use_with png)" |
|||
myconf+=" $(use_with svg rsvg)" |
|||
myconf+=" $(use_with tiff)" |
|||
myconf+=" $(use_with xpm)" |
|||
myconf+=" $(use_with imagemagick)" |
|||
|
|||
if use xft; then |
|||
myconf+=" --with-xft" |
|||
myconf+=" $(use_with cairo)" |
|||
myconf+=" $(use_with harfbuzz)" |
|||
myconf+=" $(use_with m17n-lib libotf)" |
|||
myconf+=" $(use_with m17n-lib m17n-flt)" |
|||
else |
|||
myconf+=" --without-xft" |
|||
myconf+=" --without-cairo" |
|||
myconf+=" --without-libotf --without-m17n-flt" |
|||
use cairo && ewarn \ |
|||
"USE flag \"cairo\" has no effect if \"xft\" is not set." |
|||
use m17n-lib && ewarn \ |
|||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set." |
|||
fi |
|||
|
|||
local f line |
|||
if use gtk; then |
|||
einfo "Configuring to build with GIMP Toolkit (GTK+)" |
|||
while read line; do ewarn "${line}"; done <<-EOF |
|||
Your version of GTK+ will have problems with closing open |
|||
displays. This is no problem if you just use one display, but |
|||
if you use more than one and close one of them Emacs may crash. |
|||
See <https://bugzilla.gnome.org/show_bug.cgi?id=85715>. |
|||
If you intend to use more than one display, then it is strongly |
|||
recommended that you compile Emacs with the Athena/Lucid or the |
|||
Motif toolkit instead. |
|||
EOF |
|||
if use gtk2; then |
|||
myconf+=" --with-x-toolkit=gtk2 --without-xwidgets" |
|||
use xwidgets && ewarn \ |
|||
"USE flag \"xwidgets\" has no effect if \"gtk2\" is set." |
|||
else |
|||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)" |
|||
fi |
|||
for f in motif Xaw3d athena; do |
|||
use ${f} && ewarn \ |
|||
"USE flag \"${f}\" has no effect if \"gtk\" is set." |
|||
done |
|||
elif use motif; then |
|||
einfo "Configuring to build with Motif toolkit" |
|||
myconf+=" --with-x-toolkit=motif" |
|||
for f in Xaw3d athena; do |
|||
use ${f} && ewarn \ |
|||
"USE flag \"${f}\" has no effect if \"motif\" is set." |
|||
done |
|||
elif use athena || use Xaw3d; then |
|||
einfo "Configuring to build with Athena/Lucid toolkit" |
|||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)" |
|||
else |
|||
einfo "Configuring to build with no toolkit" |
|||
myconf+=" --with-x-toolkit=no" |
|||
fi |
|||
if ! use gtk; then |
|||
use gtk2 && ewarn \ |
|||
"USE flag \"gtk2\" has no effect if \"gtk\" is not set." |
|||
use xwidgets && ewarn \ |
|||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set." |
|||
fi |
|||
elif use aqua; then |
|||
einfo "Configuring to build with Nextstep (Cocoa) support" |
|||
myconf+=" --with-ns --disable-ns-self-contained" |
|||
myconf+=" --without-x" |
|||
else |
|||
myconf+=" --without-x --without-ns" |
|||
fi |
|||
|
|||
econf \ |
|||
--program-suffix="-${EMACS_SUFFIX}" \ |
|||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \ |
|||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \ |
|||
--localstatedir="${EPREFIX}"/var \ |
|||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \ |
|||
--without-compress-install \ |
|||
--without-hesiod \ |
|||
--without-pop \ |
|||
--with-dumping=pdumper \ |
|||
--with-file-notification=$(usev inotify || usev gfile || echo no) \ |
|||
$(use_enable acl) \ |
|||
$(use_with dbus) \ |
|||
$(use_with dynamic-loading modules) \ |
|||
$(use_with games gameuser ":gamestat") \ |
|||
$(use_with gmp libgmp) \ |
|||
$(use_with gpm) \ |
|||
$(use_with json) \ |
|||
$(use_with kerberos) $(use_with kerberos kerberos5) \ |
|||
$(use_with lcms lcms2) \ |
|||
$(use_with libxml2 xml2) \ |
|||
$(use_with mailutils) \ |
|||
$(use_with selinux) \ |
|||
$(use_with ssl gnutls) \ |
|||
$(use_with systemd libsystemd) \ |
|||
$(use_with threads) \ |
|||
$(use_with wide-int) \ |
|||
$(use_with zlib) \ |
|||
${myconf} |
|||
} |
|||
|
|||
#src_compile() { |
|||
# # Disable sandbox when dumping. For the unbelievers, see bug #131505 |
|||
# emake RUN_TEMACS="SANDBOX_ON=0 LD_PRELOAD= env ./temacs" |
|||
#} |
|||
|
|||
src_install() { |
|||
emake DESTDIR="${D}" NO_BIN_LINK=t install |
|||
|
|||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die |
|||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die |
|||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die |
|||
|
|||
# move info dir to avoid collisions with the dir file generated by portage |
|||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die |
|||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir |
|||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig |
|||
|
|||
# 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 |
|||
|
|||
# remove unused <version>/site-lisp dir |
|||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp |
|||
|
|||
# remove COPYING file (except for etc/COPYING used by describe-copying) |
|||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING |
|||
|
|||
if use systemd; then |
|||
insinto /usr/lib/systemd/user |
|||
sed -e "/^##/d" \ |
|||
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \ |
|||
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \ |
|||
etc/emacs.service | newins - ${EMACS_SUFFIX}.service |
|||
assert |
|||
fi |
|||
|
|||
if use gzip-el; then |
|||
# compress .el files when a corresponding .elc exists |
|||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \ |
|||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n |
|||
assert "gzip .el failed" |
|||
fi |
|||
|
|||
local cdir |
|||
if use source; then |
|||
cdir="/usr/share/emacs/${FULL_VERSION}/src" |
|||
insinto "${cdir}" |
|||
# This is not meant to install all the source -- just the |
|||
# C source you might find via find-function |
|||
doins src/*.{c,h,m} |
|||
elif has installsources ${FEATURES}; then |
|||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src" |
|||
fi |
|||
|
|||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die |
|||
X |
|||
;;; ${EMACS_SUFFIX} site-lisp configuration |
|||
X |
|||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version) |
|||
Y (setq find-function-C-source-directory |
|||
Y "${EPREFIX}${cdir}") |
|||
X (let ((path (getenv "INFOPATH")) |
|||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}") |
|||
X (re "\\\\\`${EPREFIX}/usr/share\\\\>")) |
|||
X (and path |
|||
X ;; move Emacs Info dir before anything else in /usr/share |
|||
X (let* ((p (cons nil (split-string path ":" t))) (q p)) |
|||
X (while (and (cdr q) (not (string-match re (cadr q)))) |
|||
X (setq q (cdr q))) |
|||
X (setcdr q (cons dir (delete dir (cdr q)))) |
|||
X (setq Info-directory-list (prune-directory-list (cdr p))))))) |
|||
EOF |
|||
elisp-site-file-install "${T}/${SITEFILE}" || die |
|||
|
|||
dodoc README BUGS CONTRIBUTE |
|||
|
|||
if use aqua; then |
|||
dodir /Applications/Gentoo |
|||
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app |
|||
mv nextstep/Emacs.app \ |
|||
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die |
|||
fi |
|||
|
|||
local DOC_CONTENTS="You can set the version to be started by |
|||
/usr/bin/emacs through the Emacs eselect module, which also |
|||
redirects man and info pages. Therefore, several Emacs versions can |
|||
be installed at the same time. \"man emacs.eselect\" for details. |
|||
\\n\\nIf you upgrade from Emacs version 24.2 or earlier, then it is |
|||
strongly recommended that you use app-admin/emacs-updater to rebuild |
|||
all byte-compiled elisp files of the installed Emacs packages." |
|||
use X && DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs. |
|||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's |
|||
machine would satisfy basic Emacs requirements under X11. |
|||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs |
|||
for how to enable anti-aliased fonts." |
|||
use aqua && DOC_CONTENTS+="\\n\\n${EMACS_SUFFIX^}.app is in |
|||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or symlink |
|||
it into /Applications by yourself." |
|||
readme.gentoo_create_doc |
|||
} |
|||
|
|||
pkg_preinst() { |
|||
# move Info dir file to correct name |
|||
if [[ -d ${ED}/usr/share/info ]]; then |
|||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} || die |
|||
fi |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
elisp-site-regen |
|||
readme.gentoo_print_elog |
|||
|
|||
if use livecd; then |
|||
# force an update of the emacs symlink for the livecd/dvd, |
|||
# because some microemacs packages set it with USE=livecd |
|||
eselect emacs update |
|||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then |
|||
# refresh symlinks in case any installed files have changed |
|||
eselect emacs set ${EMACS_SUFFIX} |
|||
else |
|||
eselect emacs update ifunset |
|||
fi |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
elisp-site-regen |
|||
eselect emacs update ifunset |
|||
} |
@ -1,51 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
|
|||
WX_GTK_VER=3.0 |
|||
PYTHON_COMPAT=( python2_7 ) |
|||
|
|||
inherit desktop eutils flag-o-matic python-single-r1 wxwidgets xdg-utils |
|||
|
|||
DESCRIPTION="simulator for Conway's Game of Life and other cellular automata" |
|||
HOMEPAGE="http://golly.sourceforge.net/" |
|||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" |
|||
|
|||
LICENSE="GPL-2" |
|||
SLOT="0" |
|||
KEYWORDS="amd64 x86" |
|||
IUSE="tiff" |
|||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
|||
|
|||
DEPEND="virtual/opengl |
|||
sys-libs/zlib |
|||
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,tiff?]" |
|||
RDEPEND="${DEPEND} |
|||
${PYTHON_DEPS}" |
|||
|
|||
S=${WORKDIR}/${P}-src |
|||
|
|||
pkg_setup() { |
|||
setup-wxwidgets |
|||
} |
|||
|
|||
src_configure() { |
|||
ECONF_SOURCE=gui-wx/configure econf \ |
|||
--with-wxshared |
|||
} |
|||
|
|||
src_install() { |
|||
emake docdir= DESTDIR="${D}" install |
|||
dodoc docs/ReadMe.html |
|||
newicon --size 32 gui-wx/icons/appicon.xpm ${PN}.xpm |
|||
make_desktop_entry ${PN} "Golly" ${PN} "Science" |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
xdg_icon_cache_update |
|||
} |
|||
|
|||
pkg_postrm() { |
|||
xdg_icon_cache_update |
|||
} |
@ -1,2 +1,3 @@ |
|||
DIST vgrep-2.3.1.tar.gz 1149421 BLAKE2B c4c9a414bba5e509d57faa9ca6f6ce5cae1dbb001ff8b410ad54691ec6bf39f41c535fd25bdd5d93fdf89b4e4b49acf4dfa9a8956653e5c5e2ce39bd7da8d484 SHA512 0fa65151ae40f7fefc4e5b1af8e6ea332b50b1136849ec0902dd110786ca14204441e27c65a036b08fa56bf04a6325d8aa8ef2d4d02cdb0e0fe219896e24d694 |
|||
DIST vgrep-2.3.3.tar.gz 1149769 BLAKE2B 59f15e0f2d9fd069b4926cb26a0517cb1d201dccce53d7c6b3ec1954693a3286396e8d4d72e2c3bcc4bb8e70083ba1ea349dfc4bec244caa112fcc2289063c25 SHA512 b745ec24bb5c329a3d0e4e756e54432f3acf9c24f9492339b69850d5a8e688074323d7e56c584e59f3aedf3a41b84997497791512dae2950424eaed56d6b7329 |
|||
DIST vgrep-2.4.0.tar.gz 1196159 BLAKE2B f8b6b8166feb17ddeea7978ff14fd729ee395feb9658cbfc838f978f33169c7ca15dcd4008af54582aca25a0803924c508da11603d02e42d1e597a5813f78c3b SHA512 c614b52fe7fa720d3d2bb57830805c1ebb7c47db549aadda9309676b9c286447e693e51f74f969ccd0450934510bfe79c1603717022dd69c9f7f2709cbfd4465 |
@ -0,0 +1,33 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI="7" |
|||
|
|||
inherit go-module |
|||
|
|||
DESCRIPTION="A pager for grep, git-grep and similar grep implementations" |
|||
HOMEPAGE="https://github.com/vrothberg/vgrep" |
|||
SRC_URI="https://github.com/vrothberg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="BSD GPL-3+ MIT MIT-with-advertising" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64" |
|||
|
|||
# Uses golangci-lint |
|||
RESTRICT="test" |
|||
|
|||
DOCS=( README.md ) |
|||
|
|||
# go binary |
|||
QA_PRESTRIPPED="usr/bin/vgrep" |
|||
|
|||
src_compile() { |
|||
emake build |
|||
} |
|||
|
|||
src_install() { |
|||
local prefix="${D}/usr" |
|||
mkdir -p "${prefix}"/bin || die |
|||
|
|||
emake PREFIX="${prefix}" install |
|||
} |
@ -1,2 +1 @@ |
|||
DIST webgen-1.7.0.gem 201728 BLAKE2B ed44657420817d98ffbd72093ff56db22ae3a8da43c77661a663d938f3958c4055df4b7b34252eee162846af27a35320f680fdb6b9b1818f96aa1e51eceffd9f SHA512 1e791f720108996a4f52b151d160d9b6f613c036aae2350c634f5539257c4ae946737ba2df94bc424199413463e3016432a6d1e67e30b419b2770bc83b3b14db |
|||
DIST webgen-1.7.1.gem 201728 BLAKE2B 2ea7d7911b4edf29cb7310a676593a77956b3fffd1a4ca5f69731270e648365fb8293a292b8fdd717444ed8f690dd5f095ac5dd77f5c950253b5de7d6086f966 SHA512 7b58c7d2b8ff6a4feabc1435e6bddbf25b3e4695517c2bd8d97b698a49b6fd61538f1a77bdd4e13f7368fdfbeae9f007dfc09ecfcde4eb75a366b8e0ccc8c58a |
@ -1,53 +0,0 @@ |
|||
# Copyright 1999-2019 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
USE_RUBY="ruby24 ruby25 ruby26" |
|||
|
|||
RUBY_FAKEGEM_RECIPE_DOC="task" |
|||
RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc" |
|||
RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS" |
|||
RUBY_FAKEGEM_EXTRAINSTALL="data" |
|||
|
|||
inherit ruby-fakegem |
|||
|
|||
DESCRIPTION="A template-based static website generator" |
|||
HOMEPAGE="https://webgen.gettalong.org" |
|||
|
|||
LICENSE="GPL-3" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64" |
|||
IUSE="builder doc highlight markdown" |
|||
|
|||
ruby_add_bdepend "doc? ( dev-ruby/rdoc ) |
|||
test? ( |
|||
dev-ruby/kramdown |
|||
dev-ruby/minitest:5 |
|||
dev-ruby/rdiscount |
|||
>=dev-ruby/sass-3.2:* )" |
|||
|
|||
ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3 |
|||
>=dev-ruby/systemu-2.5 =dev-ruby/systemu-2* |
|||
>=dev-ruby/kramdown-1.3 =dev-ruby/kramdown-1* |
|||
builder? ( >=dev-ruby/builder-2.1.0:* ) |
|||
highlight? ( >=dev-ruby/coderay-1.0 ) |
|||
markdown? ( dev-ruby/maruku )" |
|||
|
|||
all_ruby_prepare() { |
|||
# Avoid a test fragile for sass version differences |
|||
sed -i -e '/test_static_call/,/^ end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die |
|||
# Avoid a test with fragile whitespace tests |
|||
rm -f test/webgen/content_processor/test_haml.rb || die |
|||
|
|||
# Avoid tests for rdoc since that requires an obsolete version |
|||
sed -i -e '/def test_create_nodes/askip' test/webgen/path_handler/test_api.rb || die |
|||
|
|||
# Avoid tests for unpackaged dependencies |
|||
rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die |
|||
} |
|||
|
|||
all_ruby_install() { |
|||
all_fakegem_install |
|||
|
|||
doman man/man1/webgen.1 |
|||
} |
@ -1,5 +1,3 @@ |
|||
DIST gnat-gpl-2014-x86-linux-bin.tar.gz 233049287 BLAKE2B 2e8bab113f6a319533ec12fdf71c481f72aee227c22bd0cc42a53bd727b323caba1e7b6298053db8b4d3016236b31649b0b255f4ebcbb81a08a69f29f78f13fc SHA512 ac7f53fb4bd71b0e8fbd62abc45de76f7f8f2f405b80e9b60b4b65a6cef6ee98e3b06848e4b752af3c8268237e5a0529cf6145ebc5b33cd6e5cf4928d85f5be2 |
|||
DIST gnat-gpl-2014-x86_64-linux-bin.tar.gz 236253400 BLAKE2B c1db70db9442ba24688b8e323d5a02e2e9707ba1f02835ea551038d0a09aafede93a224091e5186f2f2a9d0f96144027af2184ee05ca1c19cc997a6cf3902df7 SHA512 5e40a251baac3d0ace78352956ca21a7d294d902d344a9ed7a8d376e900468c283721ebfb773adfedbf4d623ace02536505c0147815a0c1908933ad611ea085e |
|||
DIST gnat-gpl-2016-x86_64-linux-bin.tar.gz 372813330 BLAKE2B a0374ad730ae275aaedcf5663c30f8e0221af32f14391fe87a3ce0630d4498a1e90671c02830d62f78857571a5a521af91f6db409a7b3c367c7b0f059571eefd SHA512 5115ac3be0badc5125ee048a98230f18363d72107da3325ce602c0e618cee2e3646a0decc00a2388f14bc61bfed51dd0622f365f5f7ee8b0cec2187ebcf8e075 |
|||
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f |
|||
DIST gnat-suite-bin-2018.txz 337235688 BLAKE2B cf1b8f0253907b8fc97b9c7218b23dcda8f1557be5e12293eab59e09427418a8814c1bafbcb3f89c1e5dd755a161c5dfa8a852631d137f17acb3167bf51dadbb SHA512 9b57709c05a121b0a0adabe3232128e3f27659d1928857fbd6883b73a7487c3d457317e8f236df3d16ced635514af8afbafc584cc74d865e11288820ac9c4f77 |
|||
|
@ -1,111 +0,0 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI="7" |
|||
|
|||
MYP=gnat-gpl-${PV} |
|||
DESCRIPTION="GNAT Ada suite" |
|||
HOMEPAGE="http://libre.adacore.com/" |
|||
SRC_URI=" |
|||
x86? ( http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 |
|||
-> ${MYP}-x86-linux-bin.tar.gz ) |
|||
amd64? ( http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c |
|||
-> ${MYP}-x86_64-linux-bin.tar.gz )" |
|||
|
|||
LICENSE="GPL-2 GPL-3" |
|||
SLOT="${PV}" |
|||
KEYWORDS="amd64 x86" |
|||
IUSE="" |
|||
|
|||
DEPEND="" |
|||
RDEPEND="${DEPEND} |
|||
sys-devel/binutils |
|||
sys-devel/gdb" |
|||
|
|||
S="${WORKDIR}" |
|||
|
|||
PREFIX=/opt/${P} |
|||
|
|||
src_prepare() { |
|||
default |
|||
cd ${MYP}-$(usex amd64 x86_64 x86)-linux-bin |
|||
cd share/examples/gnat |
|||
cat header.xml \ |
|||
full_project/full.xml \ |
|||
options/options.xml \ |
|||
other_languages/cpp_main/cpp_main.xml \ |
|||
other_languages/cpp_pragmas/cpp_pragmas.xml \ |
|||
other_languages/import_from_c/import_from_c.xml \ |
|||
plugins/plugins.xml \ |
|||
stream_io/stream_io.xml \ |
|||
simple_project/simple.xml \ |
|||
starter/starter.xml \ |
|||
xml_stream/xml_stream.xml \ |
|||
containers/anagram/anagram.xml \ |
|||
containers/genealogy/genealogy.xml \ |
|||
containers/hash/hash.xml \ |
|||
containers/library/library.xml \ |
|||
containers/shapes/shapes.xml \ |
|||
containers/spellcheck/spellcheck.xml \ |
|||
containers/wordcount/wordcount.xml \ |
|||
containers/wordfreq/wordfreq.xml \ |
|||
oo_interfaces/oo_interfaces.xml \ |
|||
oo_airline/oo_airline.xml \ |
|||
altivec/altivec.xml \ |
|||
footer.xml \ |
|||
> gnat-examples.xml \ |
|||
|| die |
|||
sed -i \ |
|||
-e "s:PREFIX:${PREFIX}:" \ |
|||
gnat-examples.xml || die |
|||
cd ../../.. |
|||
|
|||
# Remove objects from binutils |
|||
cd bin |
|||
rm addr2line c++filt gprof objdump || die |
|||
cd .. |
|||
rm share/doc/gnat/info/{as,bfd,binutils,ld}.info || die |
|||
rm lib*/libiberty.a || die |
|||
|
|||
# Remove objects from gdb |
|||
cd bin |
|||
rm gdb gdbserver gcore || die |
|||
cd .. |
|||
rm -r include/gdb || die |
|||
rm lib*/libinproctrace.so || die |
|||
rm -r share/gdb-* || die |
|||
rm share/doc/gnat/info/gdb.info || die |
|||
|
|||
basever=4.7.4 |
|||
machine=$(usex amd64 x86_64 x86)-pc-linux-gnu |
|||
rm libexec//gcc/${machine}/${basever}/ld || die |
|||
} |
|||
|
|||
src_install() { |
|||
cd ${MYP}-$(usex amd64 x86_64 x86)-linux-bin |
|||
into ${PREFIX} |
|||
dobin bin/* |
|||
insinto ${PREFIX} |
|||
doins -r etc include lib* share |
|||
insinto ${PREFIX}/share/gps/plug-ins |
|||
doins share/examples/gnat/gnat-examples.xml |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1 |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/cc1plus |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/collect2 |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/gnat1 |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/liblto_plugin.so.0.0.0 |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto1 |
|||
fperms 755 ${PREFIX}/libexec/gcc/${machine}/${basever}/lto-wrapper |
|||
fperms 755 ${PREFIX}/libexec/gprbuild/gprbind |
|||
fperms 755 ${PREFIX}/libexec/gprbuild/gprlib |
|||
} |
|||
|
|||
pkg_postinst() { |
|||
einfo "GNAT GPL is now installed. To launch it, you must put" |
|||
einfo " ${PREFIX}/bin" |
|||
einfo "in front of your PATH environment variable. The following" |
|||
einfo "commands enable you to do this:" |
|||
einfo " PATH=${PREFIX}/bin:\$PATH; export PATH (Bourne shell)" |
|||
einfo " setenv PATH ${PREFIX}/bin:\$PATH (C shell)" |
|||
einfo " Thank you for installing GNAT GPL Edition" |
|||
} |
@ -0,0 +1,87 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit go-module systemd |
|||
GIT_COMMIT=4873f5516 |
|||
MY_PV="${PV/_rc/-rc.}" |
|||
|
|||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery" |
|||
HOMEPAGE="https://github.com/etcd-io/etcd" |
|||
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0 BSD BSD-2 MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64" |
|||
IUSE="doc +server" |
|||
|
|||
COMMON_DEPEND="server? ( |
|||
acct-group/etcd |
|||
acct-user/etcd |
|||
)" |
|||
DEPEND="${COMMON_DEPEND}" |
|||
RDEPEND="${COMMON_DEPEND} |
|||
!dev-db/etcdctl" |
|||
|
|||
# Tests hang and emit this error: |
|||
# Too many goroutines running after all test(s). |
|||
RESTRICT="test" |
|||
|
|||
src_prepare() { |
|||
export GO_BUILD_FLAGS="-mod=vendor -v -x" |
|||
default |
|||
sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\ |
|||
-i "${S}"/build || die |
|||
sed -e 's:\(for p in \)shellcheck :\1 :' \ |
|||
-e 's:^ gofmt \\$:\\:' \ |
|||
-e 's:^ govet \\$:\\:' \ |
|||
-e 's:^ govet_shadow \\$:\\:' \ |
|||
-i "${S}"/test || die |
|||
# missing ... in args forwarded to print-like function |
|||
sed -e 's:l\.Logger\.Panic(v):l.Logger.Panic(v...):' \ |
|||
-i "${S}"/raft/logger.go || die |
|||
|
|||
sed -e 's:TestGetDefaultInterface(:_\0:' \ |
|||
-e 's:TestGetDefaultHost(:_\0:' \ |
|||
-i "${S}"/pkg/netutil/routes_linux_test.go || die |
|||
|
|||
rm "${S}"/pkg/tlsutil/cipher_suites_test.go || die |
|||
|
|||
sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \ |
|||
-e "s|go test |go test ${GO_BUILD_FLAGS} |" \ |
|||
-i ./test || die |
|||
|
|||
mkdir -p vendor/github.com/coreos || die |
|||
ln -s ../../.. vendor/github.com/coreos/etcd || die |
|||
} |
|||
|
|||
src_compile() { |
|||
./build || die |
|||
} |
|||
|
|||
src_install() { |
|||
dobin bin/etcdctl |
|||
use doc && dodoc -r Documentation |
|||
if use server; then |
|||
insinto /etc/${PN} |
|||
doins "${FILESDIR}/${PN}.conf" |
|||
dobin bin/etcd |
|||
dodoc README.md |
|||
systemd_dounit "${FILESDIR}/${PN}.service" |
|||
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf |
|||
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
|||
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
|||
insinto /etc/logrotate.d |
|||
newins "${FILESDIR}/${PN}.logrotated" "${PN}" |
|||
keepdir /var/lib/${PN} |
|||
fowners ${PN}:${PN} /var/lib/${PN} |
|||
fperms 0700 /var/lib/${PN} |
|||
keepdir /var/log/${PN} |
|||
fowners ${PN}:${PN} /var/log/${PN} |
|||
fperms 755 /var/log/${PN} |
|||
fi |
|||
} |
|||
|
|||
src_test() { |
|||
./test || die |
|||
} |
@ -0,0 +1,80 @@ |
|||
# Copyright 1999-2020 Gentoo Authors |
|||
# Distributed under the terms of the GNU General Public License v2 |
|||
|
|||
EAPI=7 |
|||
inherit go-module systemd |
|||
GIT_COMMIT=18dfb9cca |
|||
MY_PV="${PV/_rc/-rc.}" |
|||
|
|||
DESCRIPTION="Highly-available key value store for shared configuration and service discovery" |
|||
HOMEPAGE="https://github.com/etcd-io/etcd" |
|||
SRC_URI="https://github.com/etcd-io/etcd/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" |
|||
|
|||
LICENSE="Apache-2.0 BSD BSD-2 MIT" |
|||
SLOT="0" |
|||
KEYWORDS="~amd64" |
|||
IUSE="doc +server" |
|||
|
|||
COMMON_DEPEND="server? ( |
|||
acct-group/etcd |
|||
acct-user/etcd |
|||
)" |
|||
DEPEND="${COMMON_DEPEND}" |
|||
RDEPEND="${COMMON_DEPEND} |
|||
!dev-db/etcdctl" |
|||
|
|||
# Tests fail with this error: |
|||
# fatal error: checkptr: unsafe pointer conversion |
|||
RESTRICT="test" |
|||
|
|||
src_prepare() { |
|||
export GO_BUILD_FLAGS="-mod=vendor -v -x" |
|||
default |
|||
sed -e "s|GIT_SHA=.*|GIT_SHA=${GIT_COMMIT}|"\ |
|||
-i "${S}"/build || die |
|||
sed -e 's:\(for p in \)shellcheck :\1 :' \ |
|||
-e 's:^ gofmt \\$:\\:' \ |
|||
-e 's:^ govet \\$:\\:' \ |
|||
-e 's:^ govet_shadow \\$:\\:' \ |
|||
-i "${S}"/test || die |
|||
|
|||
sed -e "s|GO_BUILD_FLAGS=\"[^\"]*\"|GO_BUILD_FLAGS=\"${GO_BUILD_FLAGS}\"|" \ |
|||
-e "s|go test |go test ${GO_BUILD_FLAGS} |" \ |
|||
-i ./test || die |
|||
|
|||
mkdir -p vendor/github.com/coreos || die |
|||
ln -s ../../.. vendor/github.com/coreos/etcd || die |
|||
|
|||
echo 'module go.etcd.io/etcd' > go.mod || die |
|||
} |
|||
|
|||
src_compile() { |
|||
./build || die |
|||
} |
|||
|
|||
src_install() { |
|||
dobin bin/etcdctl |
|||
use doc && dodoc -r Documentation |
|||
if use server; then |
|||
insinto /etc/${PN} |
|||
doins "${FILESDIR}/${PN}.conf" |
|||
dobin bin/etcd |
|||
dodoc README.md |
|||
systemd_dounit "${FILESDIR}/${PN}.service" |
|||
systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles.d.conf" ${PN}.conf |
|||
newinitd "${FILESDIR}"/${PN}.initd ${PN} |
|||
newconfd "${FILESDIR}"/${PN}.confd ${PN} |
|||
insinto /etc/logrotate.d |
|||
newins "${FILESDIR}/${PN}.logrotated" "${PN}" |
|||
keepdir /var/lib/${PN} |
|||
fowners ${PN}:${PN} /var/lib/${PN} |
|||
fperms 0700 /var/lib/${PN} |
|||
keepdir /var/log/${PN} |
|||
fowners ${PN}:${PN} /var/log/${PN} |
|||
fperms 755 /var/log/${PN} |
|||
fi |
|||
} |
|||
|
|||
src_test() { |
|||
./test || die |
|||
} |