Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391336 Details for
Bug 213443
ocsinventory (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ocsinventory server 2.1.2 ebuild
ocsinventory-server-2.1.2.ebuild (text/plain), 3.51 KB, created by
Aleksey Chernov
on 2014-12-10 07:22:09 UTC
(
hide
)
Description:
ocsinventory server 2.1.2 ebuild
Filename:
MIME Type:
Creator:
Aleksey Chernov
Created:
2014-12-10 07:22:09 UTC
Size:
3.51 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=5 > >MODULE_AUTHOR="OCS Inventory Contributors" >MODULE_VERSION=${PV} > >inherit perl-app versionator > >MY_PN="OCSNG_UNIX_SERVER" >MAJ_PV="$(get_version_component_range 1-2)" > >DESCRIPTION="OCS Inventory Communication Server" > >HOMEPAGE="http://www.ocsinventory-ng.org/" >SRC_URI="https://launchpad.net/ocsinventory-server/stable-${MAJ_PV}/${PV}/+download/${MY_PN}-${PV}.tar.gz" > >RESTRICT="mirror" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 amd64" >IUSE="logrotate" > >RDEPEND="www-servers/apache:2 > >=www-apache/mod_perl-2.0.8 > dev-db/mysql > dev-perl/XML-Simple > perl-core/IO-Compress > dev-perl/DBI > dev-perl/DBD-mysql > dev-perl/Apache-DBI > dev-perl/Net-IP > dev-perl/SOAP-Lite > dev-perl/Apache2-SOAP > logrotate? ( app-admin/logrotate )" > >DEPEND="${RDEPEND} > virtual/perl-Module-Build > dev-lang/perl > sys-devel/make" > >S="${WORKDIR}/${MY_PN}-${PV}" > ># OCS Inventory vars >OCSNG_LOGDIR="/var/log/ocsinventory-server" >OCSNG_PLUGINS_CONFIG_DIR="/etc/ocsinventory-server/plugins" >OCSNG_PLUGINS_PERL_DIR="/etc/ocsinventory-server/perl" >OCSNG_VAR_DIR="/var/lib/ocsinventory-reports" >OCSNG_IPD_DIR="ipd" >OCSNG_IPD_ALIAS="/ipd" >OCSNG_PACKAGES_DIR="download" >OCSNG_PACKAGES_ALIAS="/download" >OCSNG_SNMP_DIR="snmp" >OCSNG_SNMP_ALIAS="/snmp" > >src_configure() >{ > pushd Apache > export PERL_AUTOINSTALL=1 > perl-app_src_configure > popd >} > >src_install() >{ > pushd Apache > perl-module_src_install > popd > > cp -f etc/ocsinventory/ocsinventory-server.conf 90_ocsinventory-server.conf > sed -i -e 's/VERSION_MP/2/' 90_ocsinventory-server.conf > sed -i -e 's/DATABASE_SERVER/localhost/' 90_ocsinventory-server.conf > sed -i -e 's/DATABASE_PORT/3306/' 90_ocsinventory-server.conf > sed -i -e "s|PATH_TO_LOG_DIRECTORY|${OCSNG_LOGDIR}|" 90_ocsinventory-server.conf > sed -i -e "s|PATH_TO_PLUGINS_CONFIG_DIRECTORY|${OCSNG_PLUGINS_CONFIG_DIR}|" 90_ocsinventory-server.conf > sed -i -e "s|PATH_TO_PLUGINS_PERL_DIRECTORY|${OCSNG_PLUGINS_PERL_DIR}|" 90_ocsinventory-server.conf > > cp -f "${FILESDIR}/90_ocsinventory-alias.conf" 90_ocsinventory-alias.conf > sed -i -e "s|PACKAGES_ALIAS|${OCSNG_PACKAGES_ALIAS}|" 90_ocsinventory-alias.conf > sed -i -e "s|PATH_TO_PACKAGES_DIR|${OCSNG_VAR_DIR}/${OCSNG_PACKAGES_DIR}|" 90_ocsinventory-alias.conf > sed -i -e "s|SNMP_ALIAS|${OCSNG_SNMP_ALIAS}|" 90_ocsinventory-alias.conf > sed -i -e "s|PATH_TO_SNMP_DIR|${OCSNG_VAR_DIR}/${OCSNG_SNMP_DIR}|" 90_ocsinventory-alias.conf > > insinto /etc/apache2/modules.d > doins 90_ocsinventory-server.conf > doins 90_ocsinventory-alias.conf > > diropts -m775 > dodir "${OCSNG_LOGDIR}" > dodir "${OCSNG_VAR_DIR}" > dodir "${OCSNG_VAR_DIR}/${OCSNG_IPD_DIR}" > dodir "${OCSNG_VAR_DIR}/${OCSNG_PACKAGES_DIR}" > dodir "${OCSNG_VAR_DIR}/${OCSNG_SNMP_DIR}" > fowners root:apache "${OCSNG_LOGDIR}" > fowners -R root:apache "${OCSNG_VAR_DIR}" > diropts -m755 > dodir "${OCSNG_PLUGINS_CONFIG_DIR}" > dodir "${OCSNG_PLUGINS_PERL_DIR}" > > if use logrotate; then > cp -f etc/logrotate.d/ocsinventory-server ocsinventory-server > sed -i -e "s|PATH_TO_LOG_DIRECTORY|${OCSNG_LOGDIR}|" ocsinventory-server > dodir "/etc/logrotate.d" > insopts -m0644 > insinto "/etc/logrotate.d" > doins ocsinventory-server > fi >} > >pkg_postinst() { > elog "Please edit file /etc/apache2/modules.d/90_ocsinventory-server.conf" > elog "To setup database connection set following parameters:" > elog "OCS_DB_HOST - mysql database host" > elog "OCS_DB_PORT - mysql database port" > elog "OCS_DB_NAME, OCS_DB_LOCAL - database name" > elog "OCS_DB_USER - mysql login" > elog "OCS_DB_PWD - password" > elog "and other..." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 213443
:
146162
|
146163
|
146165
|
146166
|
205123
|
205124
|
205126
|
205127
|
212694
|
212695
|
212703
|
212712
|
212714
|
226255
|
265481
|
266133
|
289567
|
289569
|
289601
|
294871
|
389718
|
391328
|
391330
|
391332
|
391334
| 391336 |
391338
|
391340
|
391342
|
396172
|
401148
|
401150