Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50187 Details for
Bug 59457
New ebuild for Argus network monitoring package.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
This ebuild fixes the perl path issue and adds needed directories to /usr/share/argus
argus-3.3.ebuild (text/plain), 2.58 KB, created by
Andrew D Kirch
on 2005-02-01 18:00:35 UTC
(
hide
)
Description:
This ebuild fixes the perl path issue and adds needed directories to /usr/share/argus
Filename:
MIME Type:
Creator:
Andrew D Kirch
Created:
2005-02-01 18:00:35 UTC
Size:
2.58 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >inherit eutils > >DESCRIPTION="Argus System and Network Monitoring Software." >HOMEPAGE="http://argus.tcp4me.com" >SRC_URI="http://www.tcp4me.com/code/argus-archive/${P}.tgz" > >LICENSE="Artistic" >SLOT="0" >KEYWORDS="~x86" >IUSE="qpage crypt ipv6" > >DEPEND="qpage? ( sys-apps/qpage ) > crypt? ( dev-perl/Crypt-DES > dev-perl/Digest-HMAC > dev-perl/Digest-MD5 > dev-perl/Digest-SHA1 ) > ipv6? ( dev-perl/Socket6 ) > >=sys-libs/db-3.2 >>=dev-lang/perl-5.6.1 > net-analyzer/fping > dev-perl/DB_File > dev-perl/DBI > dev-perl/GD > apache" > >pkg_setup() { > enewuser argus -1 /bin/bash /dev/null apache >} > >src_unpack() { > use qpage || ewarn " Not building with qpage, if you want qpage: >USE="qpage" emerge net-misc/argus" >unpack ${A} && cd "${P}" > #epatch ${FILESDIR}/${P}-makefile.patch >} > >src_compile() { > dir_bin="${D}/usr/bin" > dir_sbin="${D}/usr/sbin" > dir_lib="${D}/usr/lib/argus" > dir_data="${D}/usr/share/argus" > export dir_bin dir_sbin dir_lib dir_data > > ./Configure > sed -e 's^/var/tmp/portage/argus-3.3/image/^^' Makefile > Makefile.out > #bait and switch the real makefile with the makefile that has the correct paths > #Makefile(.bak) = the original Makefile generated by ./Configure > #we need this to install within the sandbox, but we also need > #Makefile.out because it contains the correct paths to "compile" into the scripts > mv Makefile Makefile.bak > mv Makefile.out Makefile >emake || die "compile problem" > mv Makefile.bak Makefile >} > >src_install() { > make install || die > mkdir -p ${D}/etc/init.d > install -g root -o root -m 0755 ${FILESDIR}/rc.argusd \ >${D}/etc/init.d/argusd || die "could not install init script" > exeinto /var/localhost/www/cgi-bin; doexe built/arguscgi || die "could not >install arguscgi script" > dodir /usr/share/argus/stats > dodir /usr/share/argus/notify > dodir /usr/share/argus/gdata > dodir /usr/share/argus/html > rm -f ${D}/usr/sbin/arguscgi || die "Could not unlink >${D}/usr/sbin/arguscgi" >} > >pkg_postinst() { > einfo " Configuration: /usr/share/argus/config.example " > einfo " User Config: /usr/share/argus/users.example " > echo > ewarn " You must configure users before running " > ewarn " See /usr/share/argus/apache.example for " > ewarn " for apache config modifications " > echo > einfo " Don't forget to set argus on startup: " > einfo " rc-update add argusd default " > echo > >} >
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 59457
:
36775
|
36776
|
36777
|
36837
|
37608
|
37618
|
49969
|
50187
|
50652
|
53486
|
54302