first release

This commit is contained in:
Jörg Deckert 2025-01-07 15:06:53 +01:00
parent e419b53fc8
commit 50577a2c1d
28 changed files with 435 additions and 1 deletions

View File

@ -1,3 +1,20 @@
# unitas-oxidized
Gentoo overlay for Oxidized and dependencies
Das ist ein Gentoo Portage Overlay der Unitas Network GmbH.
Dieses enthält überwiegend Ebuilds für unsere interne Nutzung,
es wird keinerlei Garantie für die Fehlerfreiheit übernommen.
Nutzung
-------
Die Installation erfolgt z.B. mittels:
```
# emerge -av layman
# cd /etc/layman/overlays
# wget https://git.unitas-network.de/Gentoo/unitas-oxidized/raw/branch/master/unitas-oxidized-overlay.xml
# layman -L
# layman -a unitas-oxidized
```

View File

@ -0,0 +1,2 @@
EBUILD oxidized-0.ebuild 198 BLAKE2B 2aa4aadca05a75be300462fa8e61d7afe5b86df9b09aaef5cd8568caef2b3a6a969de5a7f42685d4eaf8475844744ea3892df0b5a9a4e40fc96cc57473a090de SHA512 5b7ec7c7008abdf7466530e9670d4d4649a7a312a20a049e5e8b2d653de5babc6958fd3349715d00286266aa2d3894a6d7f3a4aab6dbe586bcb2fd83e51560a2
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@ -0,0 +1,10 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-group
DESCRIPTION="A group for net-misc-oxidized"
ACCT_GROUP_ID="606"

View File

@ -0,0 +1,2 @@
EBUILD oxidized-0.ebuild 234 BLAKE2B 4ce5adbebb0607e0d0be208c0e4636462b895bfca5e046d196f531a073530a2b54b6ccc8407ea12c2218f02fb4f59a307955a7cf9346f830336279dfd1f39eed SHA512 2fc8bb075c3c8b36b6bc9fffd31c4bb863bc15ce4fa01c0932e38c9faee46af8666ba8503a0b1d62c0ab807191eddcd5fe49bf148d34ac1f0f8ef353a7d1eee9
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
</pkgmetadata>

View File

@ -0,0 +1,12 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
ACCT_USER_ID="606"
ACCT_USER_GROUPS=( "oxidized" )
ACCT_USER_HOME="/etc/oxidized"
acct-user_add_deps

2
dev-ruby/asetus/Manifest Normal file
View File

@ -0,0 +1,2 @@
DIST asetus-0.4.0.tar.gz 7127 BLAKE2B 7384f03e70fca5b283a2ccab1e1eeb0bcff6ea97de6a40b97a6057088fc703c0584f049f402d7cc721193a003751628b2836da825183c2d20026fc2707e2d745 SHA512 24461d8e73f66b497cae7c7335a4991a034453fb34527e518d8dcda2d16c0d292e260c5f66c507546aab4ca4eef580a26eb8e59ce34d8fec54b951cc5cac75bc
EBUILD asetus-0.4.0.ebuild 483 BLAKE2B 2a7fd23fba49a0efe50391a449a5ae15934af430479911f7f6b5ade514f6a201928dba47e043123763c90dd47c59ab4b4ad4ccfb74422293defa90d4143e144a SHA512 520ff09f8c60e1c62366981de51f7df0f8f54a54fc2df5ed8b2f96811e6dd05a2bd29a7e2b5e7b8c18a2aae854f33a407b8d62fbcd667b1530e06fbb8e53c669

View File

@ -0,0 +1,19 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="asetus.gemspec"
inherit ruby-fakegem
DESCRIPTION="silly little configuration library for ruby"
HOMEPAGE="https://github.com/ytti/asetus"
SRC_URI="https://github.com/ytti/asetus/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE=""

View File

@ -0,0 +1,2 @@
DIST emk-sinatra-url-for-0.2.1.gem 5632 BLAKE2B 585d27e4b0877f999de6a89251449065bbaf4fe5eb0590a7b5dd131280b4adebbf3bb7aff110010161327b77e40d17a7e951571e4a23f0843224b23618552606 SHA512 7f7b84d79658873894e48c1739b4f0d93c38ac71d9d1196aae55c55f2a1a39a52a0a18eed7861dfa132f1f5d693f1359a4ee10d93030cbfefdf6378097c4b31f
EBUILD emk-sinatra-url-for-0.2.1.ebuild 500 BLAKE2B 04fc4ec1436652978ad408a12f798bcfd66d02c9ba3cecaaed4d4c136e9f34b2056827aa5402d7029f92e352c08dfdd8e71adaf7f46f457b440e89d83a4aee51 SHA512 fe2ced63cf382188212f91ab06e32013f806da7c7d4ac9304cbc70158d0835eafdfc4e0fcbd2d71b167e0c108404735eaa98abbfe8a9f3512da4d769b0cafdf9

View File

@ -0,0 +1,23 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
inherit ruby-fakegem
DESCRIPTION="Construct absolute paths and full URLs to actions in a Sinatra application"
HOMEPAGE="https://github.com/emk/sinatra-url-for"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
IUSE=""
ruby_add_rdepend "
>=dev-ruby/sinatra-0.9.1.1
"

3
dev-ruby/rugged/Manifest Normal file
View File

@ -0,0 +1,3 @@
AUX rugged-1.7.2-remove_broken_libgit2_detection.patch 1213 BLAKE2B 7d4a5f38e5962f6a2c93229d5e9f3d441feae5bfbb07fe198358e723b970497f739543ed5b5c7aab15d6302d492f664cf9d69dfb848c2a90762bd778afad04ef SHA512 45dba7623a10f247e4eeada163d5ec88e315c5b12805c4989d99db29987dae8a798f3f0d1da4f1bf00097035ef64ab7b84b84cbdcd2ff1492864ec85ddfa13b8
DIST rugged-1.7.2.tar.gz 657408 BLAKE2B 497ad4180e962db1a2e2557852f19fac358981268cb8aa175519e4d26306a7e6ab5518825ca501896ffeeb4fc6024692af3dcc48c1a7549a2d3f288af1a443d7 SHA512 e179c99c968496f32004bdb799d96cf5d81f7b5dc242f52d2f89b2dd10d56a9bb1e6e7774e07628f146d4bbbf4d95b9530b62cce2d18f6f4a2836b200de4ff09
EBUILD rugged-1.7.2.ebuild 751 BLAKE2B 20695e0dea7f6a536b7acf47840f7417365f3f9cb0b51501e0ba4f5b835f56f580c7afcf661febe567f30d0e5daf90497ff429b4fe409f3f7f192b3a76103c73 SHA512 cea62927f7fea84b4f4a7ba79e605f2b33f1a0202bf38a47968b81f18d80224467b7155b765c5b8588fbb73da6b4fae9a1332c9cb3070d526f4df31273be3b2e

View File

@ -0,0 +1,36 @@
diff -Naur rugged-1.7.2-orig/ext/rugged/extconf.rb rugged-1.7.2/ext/rugged/extconf.rb
--- rugged-1.7.2-orig/ext/rugged/extconf.rb 2024-02-07 12:24:09.000000000 +0100
+++ rugged-1.7.2/ext/rugged/extconf.rb 2025-01-06 14:02:49.149309390 +0100
@@ -65,32 +65,6 @@
if arg_config("--use-system-libraries", !!ENV['RUGGED_USE_SYSTEM_LIBRARIES'])
puts "Building Rugged using system libraries.\n"
-
- dir_config('git2').any? or pkg_config('libgit2')
-
- major = minor = nil
-
- File.readlines(File.join(LIBGIT2_DIR, "include", "git2", "version.h")).each do |line|
- if !major && (matches = line.match(/^#define LIBGIT2_VER_MAJOR\s+([0-9]+)$/))
- major = matches[1]
- next
- end
-
- if !minor && (matches = line.match(/^#define LIBGIT2_VER_MINOR\s+([0-9]+)$/))
- minor = matches[1]
- next
- end
-
- break if major && minor
- end
-
- try_compile(<<-SRC) or abort "libgit2 version is not compatible, expected ~> #{major}.#{minor}.0"
-#include <git2/version.h>
-
-#if LIBGIT2_VER_MAJOR != #{major} || LIBGIT2_VER_MINOR != #{minor}
-#error libgit2 version is not compatible
-#endif
- SRC
else
if !find_executable('cmake')
abort "ERROR: CMake is required to build Rugged."

View File

@ -0,0 +1,32 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="rugged.gemspec"
RUBY_FAKEGEM_EXTENSIONS=(ext/rugged/extconf.rb)
inherit ruby-fakegem
DESCRIPTION="ruby bindings to libgit2"
HOMEPAGE="https://github.com/libgit2/rugged"
SRC_URI="https://github.com/libgit2/rugged/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
PATCHES=(
"${FILESDIR}/${PN}-${PV}-remove_broken_libgit2_detection.patch"
)
RDEPEND="
=dev-libs/libgit2-${PV}
"
each_ruby_configure() {
local myconf="--use-system-libraries"
RUBY_FAKEGEM_EXTENSION_OPTIONS=${myconf} each_fakegem_configure
}

View File

@ -0,0 +1,2 @@
DIST sinatra-contrib-4.0.0.gem 33792 BLAKE2B a225c4d83e1fcc3944a108617469b2e595925bf93bfa0b5b08c85798224fc6cb87e90d6eef78d4eafc833cf8b3414fabcd144908a9f9e527d821e86ad3243362 SHA512 2c52a86959e030b26f2e6585945324d4e3759f177844c32877b4e1b9f1d8827eb0292cf58844db9d6fdb58ce508fad62902a7b3c66612bda650ac4a23c0c256c
EBUILD sinatra-contrib-4.0.0.ebuild 675 BLAKE2B b2030c17ff5d17e230932b5cd21e54bcbc82bc46a15dfcca86cc8a2830fd0a5b75108145827bd6ec2543753e90db40834f351035498a93121fbc505051802fee SHA512 82a9acf4bc2c2b9115535b1c5b0db0417bb15423164d5e0c2a6e729c2b2316cf405d895f10f91269542beb3504ff1c4d666131e08a75ead466f4754558c4e61a

View File

@ -0,0 +1,25 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_EXTRADOC="README.md"
inherit ruby-fakegem
DESCRIPTION="Collection of common Sinatra extensions, semi-officially supported."
HOMEPAGE="https://sinatrarb.com/contrib/"
LICENSE="MIT"
SLOT="$(ver_cut 1)"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
ruby_add_rdepend "
~dev-ruby/sinatra-${PV}
~dev-ruby/rack-protection-${PV}
>=dev-ruby/multi_json-0.0.2
>=dev-ruby/mustermann-3.0
>=dev-ruby/tilt-2.0
"

1
metadata/layout.conf Normal file
View File

@ -0,0 +1 @@
masters = gentoo

View File

@ -0,0 +1,2 @@
DIST oxidized-script-0.6.0_p20211216.tar.gz 8685 BLAKE2B 3d7ff246431de66d6912b42ad272967dbe5987eafe9f4bb403db09f75b372e32b8dac39083930c0f3bd44d71633e88b877d127d220f8a7b5c578ea06ef467200 SHA512 5d4b66bc4a2965d4f097dfa98846a946e91396f53098c7806771948e36a36eec5e9405a0efe196abcf6842e9decc3d02dec5f7ef3b775b323d3710aba61fa48f
EBUILD oxidized-script-0.6.0_p20211216.ebuild 912 BLAKE2B e0bdd978dbe81ed3cb242903a58e5940d2382ae226c55505b0eb0ab1284557702b1163ddb3738cebd4e08afcdd92b3ecb5ecd1553fa8cfb2596c286f23b62af5 SHA512 6a9a16028f65a890d9443d01f8de1badb1bd945cc108acc30f6ce3e65f79425b367e0188d9147c10c59b4a59290f0deb614535e00996e61c359018c7aaf12b33

View File

@ -0,0 +1,34 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GIT_COMMIT=988cded5d89f52e274afb545bd3e011e19d5d22d
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="oxidized-script.gemspec"
RUBY_FAKEGEM_VERSION="0.6.0.20211216"
inherit ruby-fakegem
DESCRIPTION="CLI and LIB for scripting network devices via Oxidized "
HOMEPAGE="https://github.com/ytti/oxidized-script"
SRC_URI="https://github.com/ytti/oxidized-script/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
RUBY_S="${PN}-${GIT_COMMIT}"
ruby_add_rdepend "
>=dev-ruby/slop-4.6
>=net-misc/oxidized-0.28
"
all_ruby_prepare() {
sed -i -e 's/git ls-files/find/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e "s#require 'oxidized/script/cli'#require_relative '../lib/oxidized/script/cli'#" bin/oxs || die
}

View File

@ -0,0 +1,5 @@
AUX config 1054 BLAKE2B aca6337a320396f7b7946102571181f612e8bc996d030f7bebef82bb7ffea8d37235d538c652aecd41f42c089df65cfbb61f9005553c2494367190df3cc84a29 SHA512 48ba1432a63b55c55858fcfc292293cbf3522ae37027a2d2ef61ae65b2a263faeda122f52171751d388a99f8050dd0d213eb5a5096cd95a630c61e1de6fe4b8e
AUX oxidized.service 559 BLAKE2B b5273eb99e7125f90c6539f60a4d75fc4073517cfb7726218587fdb3a04b56d49ef328e080c3190dc1a39b4da5bbc5d69f3552041d122b396b59f234fa36412f SHA512 4fdd889fc4d76a9a74f8c6ef031797a52f4bf7ba84ca79d26579c1dac0bef05736091b8d937c8bfcdefe5cc109579dce6beab9309197c8d0ed83af95ac8cd2c4
AUX router.db 301 BLAKE2B da42e2adae5fa0e17d878b88ed65de06714d977d0f7a9f3535e36448f6d712229931512140f36b95537e13ee6489414b195b0633f7d705da0d63a6a447069175 SHA512 ac9981154d4a1940e6a8a721f8ac3d1eeae0deb35ffd653a6095db424410aa261172445e88b9f9b27e535f23670b17aad73fb6908ada117b92e04ab5617bf52c
DIST oxidized-0.31.0.tar.gz 217825 BLAKE2B f6f15f480af57702798f36e064c851945886a347965ea672e747b56021b161fd8453535390b87c4763d02a2be7c7c108cef6d1cb8d955d4be14557492287253b SHA512 61cb19e7f7a42c32c5ea459d50472c3a47ab0a61035f06d7397cabcae956494a7d158ece58bb13708c3da33919c87685e6b64f1a75a1f112394bea31d5465088
EBUILD oxidized-0.31.0.ebuild 1327 BLAKE2B 55e3b56b772ab0ebe35449a9e58381388578e38c6675efa0f470086ff7dc66dffc8d32f02ca00e6d5ed2dbcce3c52b112074e84c57cfcf5dee535d719b4d653d SHA512 1bf02118e3367850c9371688137b415e786c21bd9c3d3ef727542a61cc85474b2a73a74921c13c5addc80ad17e75d012c829381705d36a6e51ac652767715b00

View File

@ -0,0 +1,60 @@
---
username: admin
password: password
model: ios
resolve_dns: true
interval: 3600
use_syslog: false
debug: false
run_once: false
threads: 30
use_max_threads: false
timeout: 20
retries: 3
prompt: !ruby/regexp /^([\w.@-]+[#>]\s?)$/
rest: 127.0.0.1:8888
next_adds_job: false
vars: {}
groups: {}
group_map: {}
models: {}
log: /var/log/oxidized/oxidized.log
pid: /run/oxidized/pid
crash:
directory: "/var/log/oxidized/crashes"
hostnames: false
stats:
history_size: 10
input:
default: ssh, telnet
debug: false
ssh:
secure: false
ftp:
passive: true
utf8_encoded: true
output:
default: git
git:
user: oxidized
email: oxidized@unitas-network.de
repo: "/var/lib/oxidized/git-repos/default.git"
file:
directory: /var/lib/oxidized/backups/configs
source:
default: csv
csv:
file: /etc/oxidized/router.db
delimiter: !ruby/regexp /:/
map:
name: 0
ip: 1
model: 2
group: 3
username: 4
password: 5
vars_map:
enable: 6
model_map:
cisco: ios
mikrotik: routeros

View File

@ -0,0 +1,22 @@
# Put this file in /etc/systemd/system.
#
# To set OXIDIZED_HOME instead of the default,
# ~oxidized/.config/oxidized, uncomment (and modify as required) the
# "Environment" variable below so systemd sets the correct
# environment.
[Unit]
Description=Oxidized - Network Device Configuration Backup Tool
After=network.target
[Service]
ExecStart=/usr/bin/oxidized --config-file=config
User=oxidized
KillSignal=SIGKILL
Environment="OXIDIZED_HOME=/etc/oxidized"
RuntimeDirectory=oxidized
Restart=on-failure
RestartSec=300s
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,6 @@
# name:ip:model:group:username:password[:enable-password]
sw1:192.168.1.1:mikrotik:switch:admin:admin-pwd
sw2:192.168.1.2:mikrotik:switch:admin:admin-pwd
sw3:192.168.1.3:mikrotik:switch:admin:admin-pwd
sw4:192.168.1.4:mikrotik:switch:admin:admin-pwd
wlc:192.168.1.10:cisco:wlan:admin:admin-pwd:enapwd

View File

@ -0,0 +1,63 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="oxidized.gemspec"
inherit ruby-fakegem systemd
DESCRIPTION="Network device configuration backup tool."
HOMEPAGE="https://github.com/ytti/oxidized"
SRC_URI="https://github.com/ytti/oxidized/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
${RDEPEND}
acct-group/${PN}
acct-user/${PN}
"
ruby_add_rdepend "
>=dev-ruby/asetus-0.1
>=dev-ruby/bcrypt_pbkdf-1.1.0
>=dev-ruby/ed25519-1.3.0
>=dev-ruby/net-ftp-0.2
>=dev-ruby/net-http-digest_auth-1.4
>=dev-ruby/net-scp-4.0
>=dev-ruby/net-ssh-7.3
>=dev-ruby/net-telnet-0.2
>=dev-ruby/psych-5.0
>=dev-ruby/rugged-1.6
>=dev-ruby/slop-4.6
"
all_ruby_install() {
all_fakegem_install
insinto /etc/${PN}
doins "${FILESDIR}/config"
doins "${FILESDIR}/router.db"
keepdir /var/lib/${PN}/backups/configs
keepdir /var/lib/${PN}/git-repos
keepdir /var/log/${PN}/crashes
fowners -R oxidized:oxidized \
/etc/${PN} \
/var/lib/${PN} \
/var/log/${PN}
# logrotate
insinto /etc/logrotate.d
newins extra/oxidized.logrotate oxidized
# systemd unit
systemd_dounit "${FILESDIR}/oxidized.service"
}

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
unitas-oxidized

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<layman>
<overlay type="git" src="https://git.unitas-network.de/Gentoo/unitas-oxidized.git" name="unitas-oxidized" status="unofficial" contact="admin@unitas-network.de">
<description>Gentoo overlay for Oxidized.
It contains ebuilds mainly for internal use without any
warranty.</description>
<link>https://www.unitas-network.de</link>
</overlay>
</layman>

View File

@ -0,0 +1,2 @@
DIST oxidized-web-0.14.0.tar.gz 942724 BLAKE2B bb12bf732ef644da334fb50e067a64e0f0823a30149fa648890ac8050335cceaf2bc19c5c5dd998367e04f564af7e980904bf4084cd8a00d112f75e3a97a3f37 SHA512 d7d375e3988b3b51bca18943a1aeb92154abe6424d52498d791e7bee0a252dbfca25622b1dc31b3be188bda064300f882a11393e09a4d3619de8ac4cf15cfa4a
EBUILD oxidized-web-0.14.0.ebuild 765 BLAKE2B 0fbe2d5d16541b374c3a09fa0ea2ff95fc6574fc3dec7b892985b235835888401dbb3d316708ea77b2359fa3a82cb156d673edd4a0d324b151383b3ef3c16380 SHA512 9cfbe66e8d8374f5505c8d32cd3d805a1b31655824df4370fac3d95b2384e1c103aa6bd63d5502f0a1b997dfbc73fe7afe1353283eba40b6ac317301359d14af

View File

@ -0,0 +1,31 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby31 ruby32 ruby33"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_GEMSPEC="oxidized-web.gemspec"
inherit ruby-fakegem
DESCRIPTION="Web UI + RESTful API for Oxidized"
HOMEPAGE="https://github.com/ytti/oxidized-web"
SRC_URI="https://github.com/ytti/oxidized-web/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
ruby_add_rdepend "
>=dev-ruby/charlock_holmes-0.7.5
>=dev-ruby/emk-sinatra-url-for-0.2
>=dev-ruby/haml-6.0
>=dev-ruby/htmlentities-4.3
>=dev-ruby/json-2.3
<dev-ruby/sinatra-5.0
<dev-ruby/sinatra-contrib-5.0
>=net-misc/oxidized-0.26
<www-servers/puma-6.5.0
"