Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116458 Details for
Bug 173631
app-admin/blockhosts (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
blockhosts-2.0.2.ebuild - final update
blockhosts-2.0.2.ebuild (text/plain), 1.34 KB, created by
Kevin Funk
on 2007-04-16 17:33:27 UTC
(
hide
)
Description:
blockhosts-2.0.2.ebuild - final update
Filename:
MIME Type:
Creator:
Kevin Funk
Created:
2007-04-16 17:33:27 UTC
Size:
1.34 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >NEED_PYTHON=2.3 > >inherit distutils > >MY_P="BlockHosts-${PV}" >DESCRIPTION="Blocks abusive IP hosts which probe your services (such as sshd, proftpd)" >HOMEPAGE="http://www.aczoom.com/cms/blockhosts/" >SRC_URI="http://www.aczoom.com/tools/blockhosts/${MY_P}.tar.gz" > >LICENSE="public-domain" >SLOT="0" >KEYWORDS="~x86" >IUSE="logrotate" > >DEPEND="" >RDEPEND="logrotate? ( app-admin/logrotate )" > >DOCS="CHANGES" >S=${WORKDIR}/${MY_P} > >src_unpack() { > unpack ${A} > cd "${S}" > > # don't let setup.py install bhrss.py to /usr/bin > sed -i \ > -e "s/,.*bhrss\.py'//" \ > setup.py ||Â die "sed failed" > > # remove logrotate check if not in IUSE > if ! use logrotate; then > sed -i \ > -e "/^if/d" \ > -e "/DATA_FILES\./d" \ > setup.py || die "sed failed" > fi >} > >src_install() { > distutils_src_install > > insinto /usr/share/${PN} > doins bhrss.py > > dohtml *.html >} > >pkg_postinst() { > echo > elog "This package isn't configured properly." > elog "Please refer to the homepage to do this!" > echo > elog "See also: http://gentoo-wiki.com/HOWTO_BlockHosts" > echo > elog "bhrss.py cgi-script is in /usr/share/${PN}." > elog "If you want to use it, put it in your cgi-bin," > elog "emerge dev-python/pyxml and copy blockhosts.py" > elog "into your python module directory." > 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 173631
:
115648
|
115724
|
116458
|
189069
|
278549