summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-05-26 16:15:58 +0000
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2021-05-26 16:15:58 +0000
commita9124f86ed1749a72306d25273f38d8de2c396cb (patch)
tree2b0dfdff6c4f03b49efdf5b0424c4b9bdfcba945
parentdev-perl/Sys-CpuLoad: Whitespace. (diff)
downloadjmbsvicetto-a9124f86ed1749a72306d25273f38d8de2c396cb.tar.gz
jmbsvicetto-a9124f86ed1749a72306d25273f38d8de2c396cb.tar.bz2
jmbsvicetto-a9124f86ed1749a72306d25273f38d8de2c396cb.zip
net-analyzer/OCSInventory-ocsreports: Drop old. Fix QA issues.
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
-rw-r--r--net-analyzer/OCSInventory-ocsreports/Manifest2
-rw-r--r--net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3.1.ebuild72
-rw-r--r--net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3_rc.ebuild96
-rw-r--r--net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.4.1.ebuild2
-rw-r--r--net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.5.ebuild2
-rw-r--r--net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.6.ebuild2
6 files changed, 3 insertions, 173 deletions
diff --git a/net-analyzer/OCSInventory-ocsreports/Manifest b/net-analyzer/OCSInventory-ocsreports/Manifest
index fa6d083..71c8cad 100644
--- a/net-analyzer/OCSInventory-ocsreports/Manifest
+++ b/net-analyzer/OCSInventory-ocsreports/Manifest
@@ -1,5 +1,3 @@
-DIST OCSInventory-ocsreports-2.3.1.tar.gz 2765331 SHA256 f6a9ef9d607593244828ae076ade706ffc1b2e69264c3e190052a24f7f74a6c9 SHA512 da00a400f9f4c6a849839c7df7b8c1f70dd6ee6833bc117b5b2bc54b4a2ac7f952e347630ebc1335cc8b75b7e5396731645d5ac675628990ef05e13874652f1b WHIRLPOOL 07fcd51f7446c631116dc21eb92fd066b29e08e8b128e1e5264c26d85d11eb426d33f148f51b7c7aa71ff967f96191906697a85cd62ff38e5b2c0d9cd393f1d2
DIST OCSInventory-ocsreports-2.4.1.tar.gz 2937869 BLAKE2B c00f79b58ee77b626b68735ec494a582b36dd70d2cea014a82a5a3b183d43c36bfc4e45cfbf6816373ef904a46a9b0b335fed90b4b3079f94528afb113111686 SHA512 96211cd1e41a6b99cda73d4b3701403dc85b620139218cfd7d53ba890e8c1dc398193dc0364a2c0c95d521e599378a41ca8b37a070c2b7a2c7b2b34c7784a348
DIST OCSInventory-ocsreports-2.5.tar.gz 3222390 BLAKE2B 64de76b12934e6503560efa13958bfc975155e27aeb0e08553c9a08123ff5e1193631e36c1a6dc58ab30807bc02682a4d724e8cc9fb49b0a460892f20ee24301 SHA512 e1eb90512e7965e245a5d046b8c5af16120ceefbc975a2883266e0253593c6ec9b778b0110e95a9d6fafca46f01553094c1185ddd436bcf20496b5a0316f1800
DIST OCSInventory-ocsreports-2.6.tar.gz 2791940 BLAKE2B 239c05d6d1b17ad76001d3aa0ff23dd0a1bedf678aa8be9866b9e1c5049898539985e135e92e086b0df8b80ad989ead752f5dd5269f3417ef73bbabf058b7f03 SHA512 c53f38a6d1813515a9ccf54da4d609761002ee8349c3bb40e1eacaafb49df7efa9805dd94a367181051df7033d1ba96ea85c25537d9f1ec30501fd78df7555b3
-DIST OCSNG_UNIX_SERVER-2.3RC.tar.gz 2838691 SHA256 d2fda20224030ab917474e4d2fa77814f1588fd3ed4dd85f0240d3a38326a67f SHA512 4f13e8588291b2bd9904327b470ba1414eed3e6f8eefe33847942d219b5266f6a7165a9348fa53c9f86a56be909fc5f23313908a78cc8d8ba584a944247b2fd1 WHIRLPOOL f4a30dc4a7875b188099251edc1fc1215e40042d0f9c37db133f4ce55ff9b1fd40113db18543ec0741f9c123d90e0c5b33a294de947d8aa6e35dff44d6f28065
diff --git a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3.1.ebuild b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3.1.ebuild
deleted file mode 100644
index 677ef32..0000000
--- a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3.1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils versionator
-
-MY_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
-MY_PV="${PV//[_]/}"
-MY_PV="${MY_PV//rc/RC}"
-MY_PN="OCSInventory-NG"
-MY_LPN="ocsinventory-server"
-
-DESCRIPTION="OCS Inventory NG Management Server"
-HOMEPAGE="http://www.ocsinventory-ng.org/"
-SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="~amd64"
-IUSE="soap"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- !net-analyzer/ocsng[admin]
- dev-lang/php[mysqli,xml]
-"
-
-src_install() {
-
- LOGDIR="/var/log/ocsng"
-
- # Administration server
- ADM_STATIC_DIR="/usr/share/ocsng/reports"
- ADM_VAR_DIR="/var/lib/ocsng"
- IPD_DIR="ipd"
- PACKAGES_DIR="download"
- SNMP_DIR="snmp"
-
- # Create ocsreports dirs
- elog "Creating ${D}/${ADM_STATIC_DIR} dir"
- dodir "${ADM_STATIC_DIR}" || die "Unable to create ${ADM_STATIC_DIR}"
-
- # copy ocsreports
- insinto "${ADM_STATIC_DIR}"
- doins -r *
-
- # Create dirs (/var)
- elog "Creating ${ADM_VAR_DIR}/{${IPD_DIR},${PACKAGES_DIR},${SNMP_DIR}} dirs"
- for dir in ${IPD_DIR} ${PACKAGES_DIR} ${SNMP_DIR} ; do
- dodir "${ADM_VAR_DIR}/${dir}" || die "Unable to create ${ADM_VAR_DIR}/${dir}"
- done
-}
-
-pkg_preinst () {
-
- # Fix dir permissions
- # Protect the db config file and ocsreports
- fowners -R root:apache "${ADM_STATIC_DIR}"
- fperms -R g-w,o-rwx "${ADM_STATIC_DIR}"
-
- if [[ -f "${D}/${ADM_STATIC_DIR}/dbconfig.inc.php" ]] ; then
- fperms g+w,o-rwx "${ADM_STATIC_DIR}/dbconfig.inc.php"
- fi
-
- for dir in ${IPD_DIR} ${PACKAGES_DIR} ${SNMP_DIR} ; do
- fowners -R apache:apache "${ADM_VAR_DIR}/${dir}"
- fperms g-w,o-rwx "${ADM_VAR_DIR}/${dir}"
- done
-
- fowners root:apache "${ADM_STATIC_DIR}/ipdiscover-util.pl"
- fperms ug+x,o-rwx "${ADM_STATIC_DIR}/ipdiscover-util.pl"
-}
diff --git a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3_rc.ebuild b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3_rc.ebuild
deleted file mode 100644
index e499d4a..0000000
--- a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.3_rc.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils versionator
-
-MY_PV_MAJOR="$(get_version_component_range 1-2 ${PV})"
-MY_PV="${PV//[_]/}"
-MY_PV="${MY_PV//rc/RC}"
-MY_P="OCSNG_UNIX_SERVER-${MY_PV}"
-MY_PN="OCSInventory-NG"
-MY_LPN="ocsinventory-server"
-
-DESCRIPTION="OCS Inventory NG Management Server"
-HOMEPAGE="http://www.ocsinventory-ng.org/"
-SRC_URI="https://github.com/${MY_PN}/${PN}/releases/download/${MY_PV}1//${MY_P}.tar.gz"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="~amd64"
-IUSE="soap"
-
-S="${WORKDIR}/${MY_P}"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- !net-analyzer/ocsng[admin]
- dev-lang/php[mysqli,xml]
-"
-
-src_install() {
-
- LOGDIR="/var/log/ocsng"
-
- # Administration server
- ADM_STATIC_DIR="/usr/share/ocsng/reports"
- ADM_REPORTS_ALIAS="/ocsreports"
- ADM_VAR_DIR="/var/lib/ocsng"
- IPD_DIR="ipd"
- IPD_ALIAS="/ipd"
- PACKAGES_DIR="download"
- PACKAGES_ALIAS="/download"
- SNMP_DIR="snmp"
- SNMP_ALIAS="/snmp"
-
- # Create ocsreports dirs
- elog "Creating ${D}/${ADM_STATIC_DIR} dir"
- dodir "${ADM_STATIC_DIR}" || die "Unable to create ${ADM_STATIC_DIR}"
-
- # copy ocsreports
- insinto "${ADM_STATIC_DIR}"
- doins -r ocsreports/*
-
- # Create dirs (/var)
- elog "Creating ${ADM_VAR_DIR}/{${IPD_DIR},${PACKAGES_DIR},${SNMP_DIR}} dirs"
- for dir in ${IPD_DIR} ${PACKAGES_DIR} ${SNMP_DIR} ; do
- dodir "${ADM_VAR_DIR}/${dir}" || die "Unable to create ${ADM_VAR_DIR}/${dir}"
- done
-
- # install ipdiscover-util.pl script
- elog "Install ipdiscover-util.pl script"
- insinto "${ADM_STATIC_DIR}"
- doins binutils/ipdiscover-util.pl
-
- # Configure OCS (Administration server)
- sed -i -e "s:OCSREPORTS_ALIAS:${ADM_REPORTS_ALIAS}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:PATH_TO_OCSREPORTS_DIR:${ADM_STATIC_DIR}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:IPD_ALIAS:${IPD_ALIAS}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:PATH_TO_IPD_DIR:${IPD_DIR}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:PACKAGES_ALIAS:${PACKAGES_ALIAS}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:PATH_TO_PACKAGES_DIR:${PACKAGES_DIR}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:SNMP_ALIAS:${SNMP_ALIAS}:" etc/ocsinventory/ocsinventory-reports.conf
- sed -i -e "s:PATH_TO_SNMP_DIR:${SNMP_DIR}:" etc/ocsinventory/ocsinventory-reports.conf
-
- dodoc "etc/ocsinventory/ocsinventory-reports.conf"
-}
-
-pkg_preinst () {
-
- # Fix dir permissions
- # Protect the db config file and ocsreports
- fowners -R root:apache "${ADM_STATIC_DIR}"
- fperms -R g-w,o-rwx "${ADM_STATIC_DIR}"
-
- if [[ -f "${D}/${ADM_STATIC_DIR}/dbconfig.inc.php" ]] ; then
- fperms g+w,o-rwx "${ADM_STATIC_DIR}/dbconfig.inc.php"
- fi
-
- for dir in ${IPD_DIR} ${PACKAGES_DIR} ${SNMP_DIR} ; do
- fowners -R apache:apache "${ADM_VAR_DIR}/${dir}"
- fperms g-w,o-rwx "${ADM_VAR_DIR}/${dir}"
- done
-
- fowners root:apache "${ADM_STATIC_DIR}/ipdiscover-util.pl"
- fperms ug+x,o-rwx "${ADM_STATIC_DIR}/ipdiscover-util.pl"
-}
diff --git a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.4.1.ebuild b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.4.1.ebuild
index ad43151..50c5938 100644
--- a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.4.1.ebuild
+++ b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.5.ebuild b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.5.ebuild
index ad43151..50c5938 100644
--- a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.5.ebuild
+++ b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.6.ebuild b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.6.ebuild
index ad43151..50c5938 100644
--- a/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.6.ebuild
+++ b/net-analyzer/OCSInventory-ocsreports/OCSInventory-ocsreports-2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7