Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146162 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]
app-admin/ocsinventory-client-1.01.ebuild
ocsinventory-client-1.01.ebuild (text/plain), 1.86 KB, created by
Roland Hopferwieser
on 2008-03-14 21:30:46 UTC
(
hide
)
Description:
app-admin/ocsinventory-client-1.01.ebuild
Filename:
MIME Type:
Creator:
Roland Hopferwieser
Created:
2008-03-14 21:30:46 UTC
Size:
1.86 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit perl-module > >MY_PF="OCSNG_LINUX_AGENT_1.01" > >DESCRIPTION="Powerful inventory and package deployment system." >HOMEPAGE="http://www.ocsinventory-ng.org/index.php?page=English" >SRC_URI="mirror://sourceforge/ocsinventory/${MY_PF}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 amd64" >IUSE="logrotate" > >DEPEND=" >sys-apps/dmidecode >dev-perl/libwww-perl >dev-perl/Compress-Zlib >dev-perl/XML-Simple >dev-perl/Net-IP >perl-core/Digest-MD5 >dev-perl/Net-SSLeay >" >RDEPEND="${DEPEND} >logrotate? ( app-admin/logrotate )" > >S=${WORKDIR}/${MY_PF} > >pkg_setup() { > perl-module_pkg_setup >} > >src_unpack() { > unpack ${A} > > # Patch pathes > cd ${S}/Ocsinventory > sed -i \ > -e 's:/var/log/ocsinventory-client/ocsinv.log:/var/log/ocsinventory/ocsinv-client.log:' \ > -e 's:/etc/ocsinventory-client:/etc/ocsinventory:' \ > ocsinventory-client.pl >} > >src_compile() { > cd ${S} > $(tc-getCC ) ${CFLAGS} -o ipdiscover ipdiscover.c || die "Compile failed!" > > cd ${S}/Ocsinventory > perl-module_src_compile >} > >src_install() { > cd ${S}/Ocsinventory > perl-module_pkg_preinst > perl-module_src_install > perl-module_pkg_postinst > > cd ${S} > dosbin ipdiscover > > dosym /usr/sbin/{ocsinventory-client.pl,ocsinv} > insinto /etc/ocsinventory > doins ${FILESDIR}/ocsinv.conf > doins ${FILESDIR}/ocsinv.adm > > keepdir /var/log/ocsinventory > > if use logrotate ; then > insinto /etc/logrotate.d > newins logrotate.ocsinventory-client ocsinventory-client > fi > > local device_id=`hostname`-`date +%F-%H-%M-%S` > local dmidecode_version=`dmidecode -V` > sed -i \ > -e "s:OCS_AGENT_DEVICE_ID:${device_id}:" \ > -e "s:OCS_AGENT_DMIDECODE_VERSION:${dmidecode_version}:" \ > -e "s:OCS_AGENT_IPDISCOVER_VERSION:3:" \ > ${D}/etc/ocsinventory/ocsinv.conf > > insinto /etc/cron.d > newins ${FILESDIR}/ocsinventory-client.cron ocsinventory-client >} > > >
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