diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/Manifest.gz | bin | 13130 -> 13129 bytes | |||
-rw-r--r-- | www-apps/bareos-webui/Manifest | 6 | ||||
-rw-r--r-- | www-apps/bareos-webui/bareos-webui-23.1.3.ebuild (renamed from www-apps/bareos-webui/bareos-webui-23.0.4.ebuild) | 2 | ||||
-rw-r--r-- | www-apps/bareos-webui/bareos-webui-24.0.2.ebuild | 105 |
4 files changed, 110 insertions, 3 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz Binary files differindex 9b7fab25e409..27b5f368b4b7 100644 --- a/www-apps/Manifest.gz +++ b/www-apps/Manifest.gz diff --git a/www-apps/bareos-webui/Manifest b/www-apps/bareos-webui/Manifest index 6e2c2a49e688..8de8f4548fc0 100644 --- a/www-apps/bareos-webui/Manifest +++ b/www-apps/bareos-webui/Manifest @@ -3,13 +3,15 @@ AUX nginx.include 328 BLAKE2B a202780d56334cfe5c226300b88e40dd9e1490c97c852fee7e AUX postinstall-en.txt 1318 BLAKE2B c5d4a74d67951bd9d3f9db677e7c526a29af108cab31a771e1623f425f1c0e4e16fca1ffc2f3cd7d8016a12fa87edab854002e5b513b07099128eb37d1cadc26 SHA512 0a1cddd68e6abba8e91d11d5ea32df18f71b64ef5f1dedcab3f5337b19fb272f05b289541da1117dac694f3d7ecb5b92d3bd3ccca96d7cbcbe3b9fad22b0ee37 DIST bareos-22.1.2.tar.gz 14746158 BLAKE2B 5d8c9c098f61bd35b11f907a3e215a7c08b504c3e529c67a4c8c5cbbf24775158966800e63efca260b4cc513417332cdf43a158d21684f09be3d89dd93258880 SHA512 76d53425b2a28f4f7887b323a70bf9b37df44302e0e25aff7156c1b3ee26ffa60bbfb45ed29a0f2fe763d5c38b8f7135ac2a3e405d8e2b10717f4893baf9c327 DIST bareos-22.1.6.tar.gz 14758055 BLAKE2B e49c2f6b38394b71a15e4826286a761e78b8c301429843630bbf024a76505381a84581296e7bcdd537bf04194e10abc3c8b4f358234ae968a10163993c9451bc SHA512 6fda879ed6ac05843d9c8c0da16228e2b009ee094230ce7cec0deb9125723f1bd8964517c355f61fda34ee5664ebaf4e76b3c6ce2b0e9b88c66788abf5d9b93e -DIST bareos-23.0.4.tar.gz 13954430 BLAKE2B dfeea6ca63be1cb376507a1270cc835d8f6ea336a8cf9c07ac74a2817d84f044da7ac974b11a34b3d6c8a66ed4cb27a1e9ba06b4dad697937e6068181f42eb03 SHA512 50686548cb2bb398d524fa208db97a68e30f40e53ac8a8f57182157e713d743baf8a3177453327943b17de128f6dd6c5b5de0fe65ddcedf7cbca715e7ae05bd5 DIST bareos-23.1.0.tar.gz 14002357 BLAKE2B f063bf0d4ce422766f8d71133e69ed39bf914672f2ff3321d792cd28bf58d6e2daac53a1fe48586e4accd6a895e9ef83b17e51e3f6b4dabccf7c54bf02fb2680 SHA512 480a7f420c7f0a626f5261e0b9c136f3ed71f08ee09ce9d493b66645e0f2c5dc00455719a3ce06a57a5424206b1c0f62cd19904f83bcaaa45066726a6b223281 +DIST bareos-23.1.3.tar.gz 14009664 BLAKE2B 767796804eb6baa6e108430a8e25de51562a99212537607a43e727702cdc3dfbd2b11365d2efca518d62518970ee53779ff2fa1d369995c4bee5b2478ee689a6 SHA512 bec95f0278a68a7ab6a96e6af97cd7c30af411a2b8eba5aa73fa1f9d33f952d5eb60c79b9d29010ce2a91855edff351d8a7143d4399709769a76925d8909e764 DIST bareos-24.0.1.tar.gz 13332658 BLAKE2B 1b5468a18816df51d77f465ff0ee9fc142b6b32e69e9875e0ae5deba8e57329f3eb142ad838c6889c2e6d7bae9cdf7e52358bd9c9dd36c6a62b98c4be21f9581 SHA512 ec510282f9b4bc5b80fddd706111ed891d776a713f4f2548fc48ea45bb59f636b92ae0c2d146c11c598f3d47a5bd9975220b0435123d084ed351ca3053110a8c +DIST bareos-24.0.2.tar.gz 13350863 BLAKE2B b9adbcc0ce5ee0a73fef9842dcdfc0ebf2b31765d515a0898a39dd63d71801bedd5365b6426b0fae9df5ef57270ba9667730c10dd0cb18d482f29bdd7273bdb7 SHA512 14458fe192409ae61b814d246747b3e7a6df338f55c02f5b9122a015327b649e86fb1e50a54886cd7acc60ed19eb638f2d26af49c29664c62afead6ccedbf52b EBUILD bareos-webui-22.1.2.ebuild 2608 BLAKE2B 8717ac735698244f95f53288c15a1b2d256d17c8e1a92bda98fe8838b3022fa73149dca6ba072659c71730d40f131d205f6e4da5582a0c4f2e9bf0ada8cfa26e SHA512 00e1b963bffd1625170b7d99921dccd700d5c79baf731d5952c8b4e2b4e3271c4b5e9e57632a0448733aec83a0853ce277b4d9ed2989bc215090ad9e441a9109 EBUILD bareos-webui-22.1.6.ebuild 2607 BLAKE2B 9c94d1d363410e5af9363ba50daa1ad5589b38bdada014f5d36e65bcd019fb86703af33708ecc83f45e6d43dda85d8fd4ffb6864fbc9aca950910e460d411555 SHA512 6987d79adb856046c64a2052b9b05281c9332d3f0fd63f87126b104fa930a6136ef7c23790fc70e9eb572eb899fbfdaadffd60d7ab8e1603a3935eb99c4a1cc4 -EBUILD bareos-webui-23.0.4.ebuild 2607 BLAKE2B 9c94d1d363410e5af9363ba50daa1ad5589b38bdada014f5d36e65bcd019fb86703af33708ecc83f45e6d43dda85d8fd4ffb6864fbc9aca950910e460d411555 SHA512 6987d79adb856046c64a2052b9b05281c9332d3f0fd63f87126b104fa930a6136ef7c23790fc70e9eb572eb899fbfdaadffd60d7ab8e1603a3935eb99c4a1cc4 EBUILD bareos-webui-23.1.0.ebuild 2607 BLAKE2B 9c94d1d363410e5af9363ba50daa1ad5589b38bdada014f5d36e65bcd019fb86703af33708ecc83f45e6d43dda85d8fd4ffb6864fbc9aca950910e460d411555 SHA512 6987d79adb856046c64a2052b9b05281c9332d3f0fd63f87126b104fa930a6136ef7c23790fc70e9eb572eb899fbfdaadffd60d7ab8e1603a3935eb99c4a1cc4 +EBUILD bareos-webui-23.1.3.ebuild 2607 BLAKE2B 82b6711945eb739088cbfa80ec1f5c69f1453ab62c6efdaecc0d0a99cf22b9d2c9e3d521eabbcbab56e03242453773b81ea6eeb802dcf31761977cd5076348bc SHA512 98c25b77a2ecdcd500aa147a7e9380543b60f1ed6e9a52573cc738ede847b5a0dc0f1895eefdd20ed4f1cafef552a6b57e2dad1a182a9c5aa0500a18bd467689 EBUILD bareos-webui-24.0.1.ebuild 2585 BLAKE2B 031cad87b051f9ea45edaebd01ee1864b5a37edbe2eacc1e88d006b8c496b5a9c989cb981a9161457f5ed2964c1c7b5b1411ae3c9a9f7eb43befdff5698bb57f SHA512 7476552ab6f37023ef0e33d2b8dbdddc12f6b770c0147b2af02559336094eedfe800dafdaed4c02e423765476b4122dae6283d4070a36773f562a2b8c8e6744e +EBUILD bareos-webui-24.0.2.ebuild 2585 BLAKE2B 031cad87b051f9ea45edaebd01ee1864b5a37edbe2eacc1e88d006b8c496b5a9c989cb981a9161457f5ed2964c1c7b5b1411ae3c9a9f7eb43befdff5698bb57f SHA512 7476552ab6f37023ef0e33d2b8dbdddc12f6b770c0147b2af02559336094eedfe800dafdaed4c02e423765476b4122dae6283d4070a36773f562a2b8c8e6744e EBUILD bareos-webui-9999.ebuild 2585 BLAKE2B 031cad87b051f9ea45edaebd01ee1864b5a37edbe2eacc1e88d006b8c496b5a9c989cb981a9161457f5ed2964c1c7b5b1411ae3c9a9f7eb43befdff5698bb57f SHA512 7476552ab6f37023ef0e33d2b8dbdddc12f6b770c0147b2af02559336094eedfe800dafdaed4c02e423765476b4122dae6283d4070a36773f562a2b8c8e6744e MISC metadata.xml 329 BLAKE2B 653a9ec26d9e389252873d548da0a3c45a6b9271bd669dff5b1f4ca7e5356ce7129213213fd8c6963d326edbe1d9193da86fa2d9870e2d554c5541cacdffd903 SHA512 b28cd41f1d0b9089fa76bc0577dc8384ac4073a6b3a67921a0d04b69ea9d81be6d546a3f30bf08ee945ada2ea17841c87abec94cad1d2b11ff57d949da60b4a1 diff --git a/www-apps/bareos-webui/bareos-webui-23.0.4.ebuild b/www-apps/bareos-webui/bareos-webui-23.1.3.ebuild index 77c9bfd5119b..19ec8cbbb7ad 100644 --- a/www-apps/bareos-webui/bareos-webui-23.0.4.ebuild +++ b/www-apps/bareos-webui/bareos-webui-23.1.3.ebuild @@ -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 diff --git a/www-apps/bareos-webui/bareos-webui-24.0.2.ebuild b/www-apps/bareos-webui/bareos-webui-24.0.2.ebuild new file mode 100644 index 000000000000..cf8fb4c4234c --- /dev/null +++ b/www-apps/bareos-webui/bareos-webui-24.0.2.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_WARN_UNUSED_CLI=no +CMAKE_MAKEFILE_GENERATOR="emake" + +inherit cmake webapp + +MY_PV=${PV/_/-} +MY_PN="bareos" +MY_P="${MY_PN}-${MY_PV}" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + S=${WORKDIR}/${PF}/webui + EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}.git" +else + S=${WORKDIR}/${MY_PN}-Release-${PV}/webui + SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/Release/${MY_PV}.tar.gz -> ${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Featureful client/server network backup suite" +HOMEPAGE="https://www.bareos.org/" +LICENSE="AGPL-3" +RESTRICT="mirror" + +RDEPEND="${DEPEND} + dev-lang/php[bzip2,ctype,curl,fileinfo,filter,fpm,gd,iconv,intl,mhash,nls,pdo,postgres,session,simplexml,ssl,xml,xmlreader,xmlwriter,zip] + virtual/httpd-php +" + +need_httpd + +pkg_setup() { + webapp_pkg_setup +} + +src_prepare() { + # fix missing VERSION + sed -i "s/@BAREOS_FULL_VERSION@/${PV}/g" version.php.in || die + + cmake_src_prepare + default +} + +src_configure() { + if [[ ${PV} == 9999 ]]; then + pushd "${WORKDIR}/${PF}" + else + pushd "${S}"/.. + fi + CURRENT_VERSION=$(echo $(cmake -P get_version.cmake) | sed 's/[- ]//g') + popd + local mycmakeargs=( + -DVERSION_STRING=${CURRENT_VERSION} + -Wno-dev + ) + cmake_src_configure +} + +src_install() { + webapp_src_preinst + + dodoc README.md doc/README-TRANSLATION.md + + dodir /etc/bareos/bareos-dir.d + cp -r install/bareos/bareos-dir.d/* "${D}"/etc/bareos/bareos-dir.d + + webapp_server_configfile nginx "${FILESDIR}"/nginx.include + webapp_server_configfile apache "${FILESDIR}"/apache.conf + + insinto /etc/"${PN}" + doins install/{configuration,directors}.ini + + insinto "${MY_HTDOCSDIR#${EPREFIX}}" + doins -r . + + webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/config/application.config.php + webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/config/autoload/global.php + + keepdir "${MY_HTDOCSDIR#${EPREFIX}}"/data + webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/data + + # cleanup + find "${D}/${MY_HTDOCSDIR#${EPREFIX}}" -name "*.in" -delete + rm -rf "${D}/${MY_HTDOCSDIR#${EPREFIX}}"/{CMakeLists.txt,install,cmake,phpunit.xml,scripts,doc,tests} + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} + +pkg_postinst() { + einfo "" + einfo "The webui uses 'webapp-config' to be installed to the webservers docroot" + einfo "E.g. to install webapp-config may be called like so:" + einfo "" + einfo " ~# webapp-config -h localhost -d bareos-webui -I bareos-webui ${PV}" + einfo "" + einfo "See 'man webapp-config' for details." + einfo "" +} |