summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/OCSInventory-Server/Manifest2
-rw-r--r--net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3.1.ebuild125
-rw-r--r--net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3_rc1.ebuild104
3 files changed, 0 insertions, 231 deletions
diff --git a/net-analyzer/OCSInventory-Server/Manifest b/net-analyzer/OCSInventory-Server/Manifest
index 35589a3..c4c2701 100644
--- a/net-analyzer/OCSInventory-Server/Manifest
+++ b/net-analyzer/OCSInventory-Server/Manifest
@@ -1,5 +1,3 @@
-DIST OCSInventory-Server-2.3.1.tar.gz 109103 BLAKE2B 2888c1ffd3ac156f120a5130f4359f4d1d5aa7e413bf25851bd31a031ddfa4c32c253c843965222b8a226e80dd91c0bf6947b140ae05eebd6fe979aa433ba713 SHA512 8823c785deaf7b31de9bba22af79f0587d23d489c168da815532a8fbf1b9755a1ae3188d7e763dc48b372d9bbaa0d4f37a64937937afdf18effbcc939c03493e
-DIST OCSInventory-Server-2.3_rc1.tar.gz 109125 SHA256 a99b4816735b08ea49373b5bb4ae7ecc7fd73ec32824b6c39dca08249f9640a2 SHA512 2aeba3f767d83e0e8dbdfaf89cfaf875af43b7ee9e66ef84f115501dee983f5841578a2bb3b86428b5722ddbd4178e8bfd1b0730ca20aa8441d8ed0e99db000c WHIRLPOOL 6ae2c9d7a0567ec4a521088be266922dbb02895f7f3ee33af4fa07cacb5b489bb3459a87374839c648c091fed57ef70a5b400e08a28ed3360eae7c88844f6838
DIST OCSInventory-Server-2.4.1.tar.gz 116688 BLAKE2B 3a7a0af4d66d41cbb08061f8ec6ba3ed1de2adee51d09ddfca5e3407495365e2366d62c9f3b0cf50049d035d0e7f6b5946e78e224fd6a942840dcfbfc2851e9d SHA512 760a8ef09aac522b74b43e8d8fc7df05d3185956ff227d3cb60338e19c2361eb2f202d782ac6052a78d4434386fc599d661805ed95fb8374c3909d7cc44cda51
DIST OCSInventory-Server-2.5.tar.gz 117868 BLAKE2B 568b6e93b8e7099631c834adf9bbc1d54a4588be762bad8dc8bf92dd254a28202fe02f03a48b02df21c9ddfc166352178d621cd7acde114f8c55f36fa6048986 SHA512 78cc29298ca4678192e2b8564af7887d6bd55e297e961fc7d34edb184b3b5ca4a8976262f955b5a2d81139263c0ee78b0f7cfe72402d44f682a8293f7564b631
DIST OCSInventory-Server-2.6.tar.gz 119037 BLAKE2B 34591270429cbef174c05f810a20f9fefa1d9b40bcf49d0194c5e117c4cbeefe8f9560cad335c6c0f80b1c2e812dd46725443e4bdbfec32cfe8e6c3ff70efb99 SHA512 9cf33e70901869c237ef12b70dd8b9a7ec93253e433474056fd46c181ff29c169e65f37966d5e7b5e43fee8cf7f87dac8802072f2f32273babef1f00b3bb1b0d
diff --git a/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3.1.ebuild b/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3.1.ebuild
deleted file mode 100644
index df6d3b5..0000000
--- a/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3.1.ebuild
+++ /dev/null
@@ -1,125 +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="${PN}-${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}/archive/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="~amd64"
-IUSE="soap"
-
-S="${WORKDIR}/${MY_P}"
-
-DEPEND="
- dev-lang/perl
- sys-devel/make
-"
-RDEPEND="${DEPEND}
- !net-analyzer/ocsng[comm]
- app-admin/logrotate
- dev-perl/Apache-DBI
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/DBD-mysql
- dev-perl/Net-IP
- dev-perl/XML-Simple
- virtual/perl-Compress-Raw-Zlib
- www-apache/mod_perl
- www-servers/apache
- soap? (
- dev-perl/SOAP-Lite
- )
-"
-
-src_compile() {
-
- pushd "Apache"
- perl Makefile.PL || die "perl Makefile.PL failed"
- emake || die "emake failed"
- popd
-}
-
-src_install() {
-
- LOGDIR="/var/log/ocsng"
-
- # Communication server
- PLUGINS_CONFIG_DIR="/usr/share/ocsng/config"
- PLUGINS_PERL_DIR="/usr/share/ocsng/plugins"
-
- pushd "Apache"
- emake DESTDIR="${D}" install || die "Install failed"
- popd
-
- insinto "/etc/logrotate.d"
- doins "${FILESDIR}/ocsng"
-
- # Configure OCS (communication server)
- # set mod_perl version > 1.999_21
- sed -i -e "s/VERSION_MP/2/" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_LOG_DIRECTORY:${LOGDIR}:" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_PLUGINS_CONFIG_DIRECTORY:${PLUGINS_CONFIG_DIR}:" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_PLUGINS_PERL_DIRECTORY:${PLUGINS_PERL_DIR}:" etc/ocsinventory/ocsinventory-server.conf
- dodoc "etc/ocsinventory/ocsinventory-server.conf"
-
- 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"
-
- # OCSREPORTS example config
- 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"
-
- # Create dirs
- for dir in ${PLUGINS_CONFIG_DIR} ${PLUGINS_PERL_DIR} ; do
- dodir "${dir}" || die "Unable to create ${dir}"
- done
-
- # create log dir
- elog "Creating log dir"
- dodir "${LOGDIR}"
-
- dodoc "${FILESDIR}/postinstall-en.txt"
-}
-
-pkg_preinst () {
-
- # Fix dir permissions
- for dir in ${PLUGINS_CONFIG_DIR} ${PLUGINS_PERL_DIR} ; do
- fowners -R root:apache "${dir}"
- fperms g+w,o-rwx "${dir}"
- done
-
- fowners root:apache "${LOGDIR}"
- fperms ug+rwx,o-rwx "${LOGDIR}"
-}
-
-pkg_postinst () {
-
- elog "If you want to run ocsng in this system make sure to install a compatible MySQL DB."
-}
diff --git a/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3_rc1.ebuild b/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3_rc1.ebuild
deleted file mode 100644
index ce08b50..0000000
--- a/net-analyzer/OCSInventory-Server/OCSInventory-Server-2.3_rc1.ebuild
+++ /dev/null
@@ -1,104 +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="${PN}-${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}/archive/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz"
-SLOT="0"
-LICENSE="GPL-2 LGPL-2"
-KEYWORDS="~amd64"
-IUSE="soap"
-
-S="${WORKDIR}/${MY_P}"
-
-DEPEND="
- dev-lang/perl
- sys-devel/make
-"
-RDEPEND="${DEPEND}
- !net-analyzer/ocsng[comm]
- app-admin/logrotate
- dev-perl/Apache-DBI
- dev-perl/Archive-Zip
- dev-perl/DBI
- dev-perl/DBD-mysql
- dev-perl/Net-IP
- dev-perl/XML-Simple
- virtual/perl-Compress-Raw-Zlib
- www-apache/mod_perl
- www-servers/apache
- soap? (
- dev-perl/SOAP-Lite
- )
-"
-
-src_compile() {
-
- pushd "Apache"
- perl Makefile.PL || die "perl Makefile.PL failed"
- emake || die "emake failed"
- popd
-}
-
-src_install() {
-
- LOGDIR="/var/log/ocsng"
-
- # Communication server
- PLUGINS_CONFIG_DIR="/usr/share/ocsng/config"
- PLUGINS_PERL_DIR="/usr/share/ocsng/plugins"
-
- pushd "Apache"
- emake DESTDIR="${D}" install || die "Install failed"
- popd
-
- insinto "/etc/logrotate.d"
- doins "${FILESDIR}/ocsng"
-
- # Configure OCS (communication server)
- # set mod_perl version > 1.999_21
- sed -i -e "s/VERSION_MP/2/" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_LOG_DIRECTORY:${LOGDIR}:" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_PLUGINS_CONFIG_DIRECTORY:${PLUGINS_CONFIG_DIR}:" etc/ocsinventory/ocsinventory-server.conf
- sed -i -e "s:PATH_TO_PLUGINS_PERL_DIRECTORY:${PLUGINS_PERL_DIR}:" etc/ocsinventory/ocsinventory-server.conf
- dodoc "etc/ocsinventory/ocsinventory-server.conf"
-
- # Create dirs
- for dir in ${PLUGINS_CONFIG_DIR} ${PLUGINS_PERL_DIR} ; do
- dodir "${dir}" || die "Unable to create ${dir}"
- done
-
- # create log dir
- elog "Creating log dir"
- dodir "${LOGDIR}"
-
- dodoc "${FILESDIR}/postinstall-en.txt"
-}
-
-pkg_preinst () {
-
- # Fix dir permissions
- for dir in ${PLUGINS_CONFIG_DIR} ${PLUGINS_PERL_DIR} ; do
- fowners -R root:apache "${dir}"
- fperms g+w,o-rwx "${dir}"
- done
-
- fowners root:apache "${LOGDIR}"
- fperms ug+rwx,o-rwx "${LOGDIR}"
-}
-
-pkg_postinst () {
-
- elog "If you want to run ocsng in this system make sure to install a compatible MySQL DB."
-}