Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 266133 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-agent-1.1.2.1.ebuild
ocsinventory-agent-1.1.2.1.ebuild (text/plain), 1.87 KB, created by
Roland Hopferwieser
on 2011-03-16 15:14:21 UTC
(
hide
)
Description:
ocsinventory-agent-1.1.2.1.ebuild
Filename:
MIME Type:
Creator:
Roland Hopferwieser
Created:
2011-03-16 15:14:21 UTC
Size:
1.87 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit perl-module > >MY_P="Ocsinventory-Agent-${PV}" > >DESCRIPTION="Powerful inventory and package deployment system" >HOMEPAGE="http://www.ocsinventory-ng.org/" >SRC_URI="http://launchpad.net/ocsinventory-unix-agent/stable-1.1.2/ocsinventory-unix-agent-${PV}/+download/${MY_P}.tar.gz" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="logrotate ssl" > >RDEPEND=" >perl-core/Digest-MD5 >dev-perl/XML-Simple >dev-perl/LWP-UserAgent-Determined >dev-perl/Net-IP >dev-perl/Net-SSLeay >virtual/perl-File-Temp >logrotate? ( app-admin/logrotate ) >ssl? ( dev-perl/Crypt-SSLeay ) >" > >src_prepare() { > # Workaround stupid sources > mv "${WORKDIR}/${MY_P}" "${S}" > sed -i -e "s:PATH_TO_LOG_DIRECTORY:/var/log/${PN}:" \ > "${S}"/etc/logrotate.d/${PN} >} > >src_install() { > mytargets=pure_install > perl-module_src_install > > insinto /etc/ocsinventory-agent > doins etc/ocsinventory-agent/modules.conf > > insinto /etc/cron.daily > echo -e "#!/bin/sh\n/usr/bin/${PN}" > "${D}/etc/cron.daily/${PN}" > > insinto /etc/default > doins etc/default/ocsinventory-agent > > keepdir /var/{lib,log}/${PN} > if use logrotate ; then > insinto /etc/logrotate.d > doins etc/logrotate.d/ocsinventory-agent > fi > >} > >check_opt_pkg() { > if ! has_version $1; then > missing_opt_pkg="${missing_opt_pkg}\t- $1: ${@:2}\n" > fi >} > >pkg_postinst() { > missing_opt_pkg="" > check_opt_pkg sys-apps/dmidecode "Read the BIOS stats" > check_opt_pkg sys-apps/pciutils "List PCI devices" > check_opt_pkg net-analyzer/nmap "Use the network discover feature" > check_opt_pkg x11-misc/read-edid "Get the serial number of the screen" > check_opt_pkg dev-perl/Net-CUPS "Detect the printers" > check_opt_pkg sys-apps/smartmontools "" > if [[ -n $missing_opt_pkg ]]; then > elog "Following packages gives additional functionalities" > elog -n $missing_opt_pkg > fi >} >
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