www-apps/netbox: add 4.1.10, drop olds

This commit is contained in:
Andreas Billmeier 2025-01-01 12:55:26 +01:00
parent 393b4d9d0d
commit 04a36137df
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
3 changed files with 30 additions and 158 deletions

View File

@ -1,11 +1,9 @@
AUX netbox-rqworker.confd 185 BLAKE2B b46281057e20793253e4490859d4fc1a4130ca93571f3bf778b53b8bde9cc307744a648f652bc283764228078125bee770f035a4bc76354c326a2e849949707d SHA512 99c1aa8c5ea62cf60b8ab3814d3a38ea52f86ff8b67e9782e74085385b2f058e697b8696217dfe00771344744794041b490fa770ead3ea45522447dbff498716
AUX netbox-rqworker.initd 446 BLAKE2B 37ee1df88b5d0f8cadf7cd5d3d3cec602c3e277e2cb3ae8b8279779d6d6a5da26aabb3bc29f99acf484978d67c0af6ff9b26118c8fb513def7df3c224481e15f SHA512 2e02528cbac751e295c6cfa492a26db945a2c12a2388493d2205acabe33ff8c3dd3b481d9f37e819c4b735ed5501175ce1478d78646d3bee3a192390dc71b09d
DIST netbox-4.0.3.gh.tar.gz 18428300 BLAKE2B 006a2542af8da3639240f0b2ed296645cc61f617b7df185ce0f8d70702216663b0972602fcbb8fc92f2181fff9aa0f6324b41ed705e9d4c6ece8cc331c02e41a SHA512 f28582dd2112d1d3d498e659f66d7521ed16e4d71f27aebdc5e4f0676969d99d77621b32f50449698d105eeee43a69ca97e08bb6e9e0790c6c338fe19c8be49a
DIST netbox-4.0.5.gh.tar.gz 18536188 BLAKE2B 8ea7db6551de66587cfee91eca4133002d4dc7b290363b706b914431d56c52e0586ae3678cc747eb079d107479037efcda9bbb04e511c99025e6b6f08c1803b5 SHA512 352ea26eb4c930c904aa413826159273f3f0d6a83b2dab59132707e6935d5e48840373559c0b7bc25b98a44c265a9386503da54b805cfe05e091285392f085d5
DIST netbox-4.0.6.gh.tar.gz 18377501 BLAKE2B 9947f9eeb195d83b0428b5f0a2c01e77d616f9830594fb9498beed9c74942654b0647ab959b9d517aee7cb902ec5884ae3a90fadb108e9c0c2ade09c746cb4aa SHA512 8e77b6922df2920e6b959f2ba256b6b567beb3ced8c0ccc174ef2ebf3404934720cda5833747e9aa054c6fafede6995c9134e141e0402c636eec991cd58d8018
DIST netbox-4.0.7.gh.tar.gz 18385915 BLAKE2B 62ea6871ec61fdb42bdcebf821c46b26a53d13ea3b5e49294c6d5231686d30e74eb2de5acbc29927d8cc5e25ceaf5453fca50cbf2aa5d3c3e6f3dfcabab184df SHA512 e7fce63a8fb426d8072f048ee6cd4f6964c43d971b5dcc6695e0eeb78ef178b7e229cda87ecfca7179ff92625b28a792dc362f6789b9ac4990a89c91b8c981bc
EBUILD netbox-4.0.3.ebuild 4127 BLAKE2B a1e491ce89580d30736b8670ed705745b499ea0de2f738da14c990da10883e5ddf7487551a99e61a724559f8f019f63f58a544dc932194ff07076bfc6ebb4586 SHA512 b5378a4a4bd0807fac8091c97e0a4e3832f47071631f297d6a7acfed015bfdc788bf1f0349f6217902c0ce824d42561f8eb79e495762accfb9e2d1d2bd4d62ad
EBUILD netbox-4.0.5.ebuild 4127 BLAKE2B de28858179b85b6a92cfcb2da4e339756b30cc3439a95e69d9a176abd019596be67bc5112d1145f97bc354c2ee274db2d73dbfeffac91494b87404ed5a5f6af1 SHA512 e5ebe67a3cba20df329a6f9b76555bd9b491ba834c2a675654839e581111e87cf05a1953fdc771ea464b15cfa48e6137a55fefcd3ad9875f5ac3650a3aa095db
DIST netbox-4.1.10.gh.tar.gz 18109535 BLAKE2B 3782903c0dedffc99df7a67ad6b8b514169cbcf9057f504134fd1ce7c04920291b322a8d993ce3fab7cbff589539f8354042b078d87eff6ce8d4ee0dd125a086 SHA512 e89d1acc34fe187b0ec1578abdfe9fad4df1e6c5184b382731e488aa40dec04dfe976aac6124bcec47e842b86e0be2822973f02abac1148f2043775e9cdaae3b
EBUILD netbox-4.0.6.ebuild 4127 BLAKE2B 36c052b0c68cb1f458e81c456988557fc7d6347816a7bc19d221982f106d8abeccb91e7d12a39cef5e4d562937adfb51602c7fd7d8409f060ef32d5f847a6870 SHA512 bb137e81fbea66ffca9f580636d02cf262d558559c9e46d377e800cfcfc94c3413dcb060f907469547b9194718e78843a8cbd452b5bb94549d868bc4b0244896
EBUILD netbox-4.0.7.ebuild 4124 BLAKE2B 52c11a10cc2c5bbcc6502abf48fe141854be50b2bcda2e161a1b5fa00babf33630cfe79f27f0ac306f4cd8054bbc9a947b64feba1575e69220e3968d3e33f4bd SHA512 67f3c0b41fe251f73fa74b1dc58d3481b578a64d8e5e2b400c453d9f30e74fc339c9c7cf418e3f734b41443d9fd5e43898cbf7545dbeaf110bf2c33f41e08dd0
EBUILD netbox-4.1.10.ebuild 4162 BLAKE2B 701e51107fd090829a93a69b789fc3183601cf3fcc45084c70dda8c2d3bd9ae3f68ff39826eebb8dc34ff1d9d0bc08424b7951c883b94741c3197f85ae9b26a4 SHA512 033436f5aa30398c7b064cb9bcee245ecf131ef8726f258eb6c64150c472b72734eb5a0cce188ee34f59b955d962bf88bfdff576c4bcd19bfc5d6d85941bb205
MISC metadata.xml 512 BLAKE2B 0e1aaf248033d7e5ed9c1a2d621687e23c790c906b096a28d4bf07b68816f8695f34c098acb349d8ae9a93d5d34fb35c96046982568a8f180ce2cbf0caa7d19a SHA512 a4634d9f88bcb8d7c35c7785c56e9031ff29dcb9ded7c11890a2474cf166b59decd90a79a5148ee5774de9cb6fb7eb23f09839c65a10b2747bead811bd8a1513

View File

@ -1,127 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
WEBAPP_MANUAL_SLOT="yes"
inherit python-r1 webapp
DESCRIPTION="IP address and data center infrastructure management tool"
HOMEPAGE="https://github.com/netbox-community/netbox"
SRC_URI="https://github.com/netbox-community/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
IUSE="ldap vhosts"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="acct-user/netbox
${PYTHON_DEPS}
~dev-python/django-5.0.6[${PYTHON_USEDEP}]
~dev-python/django-cors-headers-4.3.1[${PYTHON_USEDEP}]
~dev-python/django-debug-toolbar-4.3.0[${PYTHON_USEDEP}]
~dev-python/django-filter-24.2[${PYTHON_USEDEP}]
~dev-python/django-htmx-1.17.3[${PYTHON_USEDEP}]
~dev-python/django-graphiql-debug-toolbar-0.2.0[${PYTHON_USEDEP}]
~dev-python/django-mptt-0.16.0[${PYTHON_USEDEP}]
~dev-python/django-pglocks-1.0.4[${PYTHON_USEDEP}]
~dev-python/django-prometheus-2.3.1[${PYTHON_USEDEP}]
~dev-python/django-redis-5.4.0[${PYTHON_USEDEP}]
~dev-python/django-rich-1.8.0[${PYTHON_USEDEP}]
~dev-python/django-rq-2.10.2[${PYTHON_USEDEP}]
~dev-python/django-taggit-5.0.1[${PYTHON_USEDEP}]
~dev-python/django-tables2-2.7.0[${PYTHON_USEDEP}]
~dev-python/django-timezone-field-6.1.0[${PYTHON_USEDEP}]
~dev-python/djangorestframework-3.15.1[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-0.27.2[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-sidecar-2024.5.1[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.11[${PYTHON_USEDEP}]
~www-servers/gunicorn-22.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.4[${PYTHON_USEDEP}]
~dev-python/markdown-3.6[${PYTHON_USEDEP}]
~dev-python/mkdocs-material-9.5.24[${PYTHON_USEDEP}]
~dev-python/mkdocstrings-0.25.1[${PYTHON_USEDEP}]
~dev-python/netaddr-1.2.1[${PYTHON_USEDEP}]
~dev-python/nh3-0.2.17[${PYTHON_USEDEP}]
~dev-python/pillow-10.3.0[${PYTHON_USEDEP}]
~dev-python/psycopg-3.1.19[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.32.2[${PYTHON_USEDEP}]
~dev-python/social-auth-app-django-5.4.1[${PYTHON_USEDEP}]
~dev-python/social-auth-core-4.5.4[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-0.230.0[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-django-0.40.0[${PYTHON_USEDEP}]
~dev-python/svgwrite-1.4.3[${PYTHON_USEDEP}]
~dev-python/tablib-3.6.1[${PYTHON_USEDEP}]
~dev-python/tzdata-2024.1[${PYTHON_USEDEP}]
ldap? ( dev-python/django-auth-ldap[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"
DOCS=( {CHANGELOG,CONTRIBUTING,README}.md )
pkg_setup() {
python_setup
webapp_pkg_setup
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r netbox/.
exeinto "${MY_HTDOCSDIR}"
doexe netbox/generate_secret_key.py
doexe netbox/manage.py
webapp_src_install
newinitd "${FILESDIR}"/netbox-rqworker.initd netbox-rqworker
newconfd "${FILESDIR}"/netbox-rqworker.confd netbox-rqworker
diropts -o netbox -g netbox -m 0700
keepdir /var/log/netbox
}
pkg_postinst() {
elog "You may need to add your web-server user to netbox group"
elog "---"
webapp_pkg_postinst
}
pkg_config() {
einfo "Enter your vhost_root/vhost_htdocs. Default: localhost/htdocs"
read -r answer
[ -z "${answer}" ] && answer="localhost/htdocs"
path="/var/www/${answer}/netbox"
unset answer
if [ -f "${path}/netbox/configuration.py" ] ; then
einfo "Applies database migrations from ${path} ?"
einfo
while [ "$correct" != "true" ] ; do
einfo "Are you ready to continue? (y/n)"
read -r answer
if [[ "$answer" =~ ^[Yy]([Ee][Ss])?$ ]] ; then
correct="true"
elif [[ "$answer" =~ ^[Nn]([Oo])?$ ]] ; then
die "Aborting migration."
else
echo "Answer not recognized" || die "echo failed"
fi
done
# Apply database migrations
"${path}"/manage.py migrate || die "migrations failed"
fi
if [ ! -d "${path}/static" ] ; then
# Collect static files
"${path}"/manage.py collectstatic || die "collectstatic failed"
fowners -R netbox:netbox "${path}"/static
else
einfo "Not managing static files since ${path}/static exists"
fi
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -20,43 +20,44 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="acct-user/netbox
${PYTHON_DEPS}
~dev-python/django-5.0.6[${PYTHON_USEDEP}]
~dev-python/django-cors-headers-4.3.1[${PYTHON_USEDEP}]
~dev-python/django-debug-toolbar-4.4.2[${PYTHON_USEDEP}]
~dev-python/django-filter-24.2[${PYTHON_USEDEP}]
~dev-python/django-htmx-1.17.3[${PYTHON_USEDEP}]
<dev-python/django-5.0.10[${PYTHON_USEDEP}]
~dev-python/django-cors-headers-4.6.0[${PYTHON_USEDEP}]
~dev-python/django-debug-toolbar-4.4.6[${PYTHON_USEDEP}]
~dev-python/django-filter-24.3[${PYTHON_USEDEP}]
~dev-python/django-htmx-1.21.0[${PYTHON_USEDEP}]
~dev-python/django-graphiql-debug-toolbar-0.2.0[${PYTHON_USEDEP}]
~dev-python/django-mptt-0.16.0[${PYTHON_USEDEP}]
~dev-python/django-pglocks-1.0.4[${PYTHON_USEDEP}]
~dev-python/django-prometheus-2.3.1[${PYTHON_USEDEP}]
~dev-python/django-redis-5.4.0[${PYTHON_USEDEP}]
~dev-python/django-rich-1.8.0[${PYTHON_USEDEP}]
~dev-python/django-rq-2.10.2[${PYTHON_USEDEP}]
~dev-python/django-taggit-5.0.1[${PYTHON_USEDEP}]
~dev-python/django-rich-1.13.0[${PYTHON_USEDEP}]
~dev-python/django-rq-3.0[${PYTHON_USEDEP}]
~dev-python/django-taggit-6.1.0[${PYTHON_USEDEP}]
~dev-python/django-tables2-2.7.0[${PYTHON_USEDEP}]
~dev-python/django-timezone-field-6.1.0[${PYTHON_USEDEP}]
~dev-python/djangorestframework-3.15.1[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-0.27.2[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-sidecar-2024.6.1[${PYTHON_USEDEP}]
~dev-python/django-timezone-field-7.0[${PYTHON_USEDEP}]
~dev-python/djangorestframework-3.15.2[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-0.28.0[${PYTHON_USEDEP}]
~dev-python/drf-spectacular-sidecar-2024.12.1[${PYTHON_USEDEP}]
~dev-python/feedparser-6.0.11[${PYTHON_USEDEP}]
~www-servers/gunicorn-22.0.0[${PYTHON_USEDEP}]
~www-servers/gunicorn-23.0.0[${PYTHON_USEDEP}]
~dev-python/jinja-3.1.4[${PYTHON_USEDEP}]
~dev-python/markdown-3.6[${PYTHON_USEDEP}]
~dev-python/mkdocs-material-9.5.26[${PYTHON_USEDEP}]
~dev-python/mkdocstrings-0.25.1[${PYTHON_USEDEP}]
~dev-python/markdown-3.7[${PYTHON_USEDEP}]
~dev-python/mkdocs-material-9.5.49[${PYTHON_USEDEP}]
~dev-python/mkdocstrings-0.27.0[${PYTHON_USEDEP}]
~dev-python/netaddr-1.3.0[${PYTHON_USEDEP}]
~dev-python/nh3-0.2.17[${PYTHON_USEDEP}]
~dev-python/pillow-10.3.0[${PYTHON_USEDEP}]
~dev-python/psycopg-3.1.19[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.1[${PYTHON_USEDEP}]
~dev-python/requests-2.32.2[${PYTHON_USEDEP}]
~dev-python/social-auth-app-django-5.4.1[${PYTHON_USEDEP}]
~dev-python/nh3-0.2.20[${PYTHON_USEDEP}]
~dev-python/pillow-11.0.0[${PYTHON_USEDEP}]
~dev-python/psycopg-3.2.3[${PYTHON_USEDEP}]
~dev-python/pyyaml-6.0.2[${PYTHON_USEDEP}]
~dev-python/requests-2.32.3[${PYTHON_USEDEP}]
~dev-python/rq-2.0[${PYTHON_USEDEP}]
~dev-python/social-auth-app-django-5.4.2[${PYTHON_USEDEP}]
~dev-python/social-auth-core-4.5.4[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-0.234.0[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-django-0.42.0[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-0.254.0[${PYTHON_USEDEP}]
~dev-python/strawberry-graphql-django-0.52.0[${PYTHON_USEDEP}]
~dev-python/svgwrite-1.4.3[${PYTHON_USEDEP}]
~dev-python/tablib-3.6.1[${PYTHON_USEDEP}]
~dev-python/tzdata-2024.1[${PYTHON_USEDEP}]
~dev-python/tablib-3.7.0[${PYTHON_USEDEP}]
~dev-python/tzdata-2024.2[${PYTHON_USEDEP}]
ldap? ( dev-python/django-auth-ldap[${PYTHON_USEDEP}] )"
DEPEND="${RDEPEND}"