Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 265939 Details for
Bug 359003
net-analyzer/free-sa-1.6.2 - Free Squid Analysis Report Generator
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-analyzer/free-sa/free-sa-1.6.2.ebuild
free-sa-1.6.2.ebuild (text/plain), 2.90 KB, created by
Sergey S. Starikoff
on 2011-03-15 11:34:49 UTC
(
hide
)
Description:
net-analyzer/free-sa/free-sa-1.6.2.ebuild
Filename:
MIME Type:
Creator:
Sergey S. Starikoff
Created:
2011-03-15 11:34:49 UTC
Size:
2.90 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 > >DESCRIPTION="Free Squid Analysis Report Generator" >HOMEPAGE="http://sourceforge.net/projects/free-sa/" >SRC_URI="http://downloads.sourceforge.net/project/free-sa/free-sa/${PV}/${P}.tar.gz" >RESTRICT="mirror" > >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >DEPEND="app-admin/syslog-ng > www-servers/apache" >RDEPEND="${DEPEND}" > >src_prepare() { ># fix global.mk > sed -e 's/OSTYPE = generic-any-cc/#OSTYPE = generic-any-cc/' -i "${WORKDIR}/${P}/global.mk" \ > || die "patching global.mk" > sed -e 's/#OSTYPE = redhat-native-gcc/OSTYPE = redhat-native-gcc/' -i "${WORKDIR}/${P}/global.mk" \ > || die "patching global.mk" >} > >src_install() { > dobin src/free-sa > > [[ -d "/etc/${PN}" ]] || dodir "/etc/${PN}" || die "failed to create ETCDIR" > insinto "/etc/${PN}" > doins etc/.libs/*.sample > > doman man/.libs/free-sa.1 || die "fail to install man pages" > doman man/.libs/free-sa.conf.5 || die "fail to install man pages" > > [[ -d "/usr/share/${PN}" ]] || dodir "/usr/share/${PN}" || die "failed to create USRSHARE" > insinto "/usr/share/${PN}" > doins share/.libs/ru.* > > [[ -d "/var/www/localhost/htdocs/${PN}" ]] || dodir "/var/www/localhost/htdocs/${PN}" || die "failed to create WWWDIR" > [[ -d "/var/www/localhost/htdocs/${PN}/cgi-bin" ]] || dodir "/var/www/localhost/htdocs/${PN}/cgi-bin" || die "failed to create CGIDIR" > insinto "/var/www/localhost/htdocs/${PN}/cgi-bin" > doins src/free-sa.cgi > > rm -f "${S}/themes/Makefile" || die "theme Makefile clean failed" > cp -R "${S}/themes" "${D}/var/www/localhost/${PN}_themes" || die "theme installation failed" > dosym /var/www/localhost/${PN}_themes/rbsec/c.png /var/www/localhost/htdocs/${PN}/c.png > dosym /var/www/localhost/${PN}_themes/rbsec/d.png /var/www/localhost/htdocs/${PN}/d.png > dosym /var/www/localhost/${PN}_themes/rbsec/g.png /var/www/localhost/htdocs/${PN}/g.png > dosym /var/www/localhost/${PN}_themes/rbsec/s.png /var/www/localhost/htdocs/${PN}/s.png > dosym /var/www/localhost/${PN}_themes/rbsec/gsa.css /var/www/localhost/htdocs/${PN}/gsa.css > dosym /var/www/localhost/${PN}_themes/rbsec/lsa.css /var/www/localhost/htdocs/${PN}/lsa.css > dosym /var/www/localhost/${PN}_themes/rbsec/rsa.css /var/www/localhost/htdocs/${PN}/rsa.css > dosym /var/www/localhost/${PN}_themes/sa.js /var/www/localhost/htdocs/${PN}/sa.js > > [[ -d "/var/cache/${PN}" ]] || dodir "/var/cache/${PN}" || die "failed to create CACHEDIR" > > [[ -d "/usr/share/doc/${P}" ]] || dodir "/usr/share/doc/${P}" || die "failed to create USRSHARE" > insinto "/var/share/doc/${P}" > dodoc ChangeLog FAQ INSTALL README README.DEV THANKS >} > >pkg_postinst() { > elog > elog "It is suggested that you restart apache before using free-sa" > elog "For correct display the OutputDir should contain symlinks to current free-sa theme" > elog "You may want to review /etc/free-sa/free-sa.conf and ensure that" > elog "OutputDir is set correctly" > >}
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 359003
: 265939