Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66525 Details for
Bug 100043
app-admin/DenyHosts-0.9.0.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
denyhosts-1.0.1.ebuild
denyhosts-1.0.1.ebuild (text/plain), 1.76 KB, created by
Rene Zbinden
on 2005-08-21 23:53:40 UTC
(
hide
)
Description:
denyhosts-1.0.1.ebuild
Filename:
MIME Type:
Creator:
Rene Zbinden
Created:
2005-08-21 23:53:40 UTC
Size:
1.76 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit distutils eutils > >my_PN="DenyHosts" >my_P=${my_PN}-${PV} > >DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers" >HOMEPAGE="http://denyhosts.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${my_P}.tar.gz" >LICENSE="GPL-2" > >SLOT="0" > ># I'm only able to test this on an x86 machine, but it should work on any ># architecture that ># supports python. >KEYWORDS="~x86" > >IUSE="" > >DEPEND=">dev-lang/python-2.3" > >S=${WORKDIR}/${my_P} > >src_unpack() { > unpack ${A} > cd ${S} > #make sure that it doesn't try to install things where it shouldn't > epatch ${FILESDIR}/${P}-gentoo.patch >} > >src_install() { > distutils_src_install > > #install the configuration file > insinto /etc > insopts -m0640 > newins denyhosts.cfg-dist denyhosts.cfg > > newinitd ${FILESDIR}/denyhosts.init denyhosts > > #install the executable > exeinto /usr/bin > newexe denyhosts.py denyhosts > > #install the documentation > dodoc CHANGELOG.txt LICENSE.txt README.txt > > #make the directory where DenyHosts will store its working data > dodir /var/lib/denyhosts > keepdir /var/lib/denyhosts >} > >pkg_postinst() { > einfo "DenyHosts is now installed, but it will not run until you have configured it." > einfo "You can configure it to run as a daemon by running" > einfo "rc-update add denyhosts default" > einfo > einfo "or as a cronjob, by adding the following to /etc/crontab" > einfo "# run DenyHosts every 10 minutes" > einfo "*/10 * * * * root python /usr/bin/denyhosts.py -c /etc/denyhosts.cfg" > echo > einfo "For more information on configuration, you should read the FAQ at:" > einfo "http://denyhosts.sourceforge.net/faq.html" > echo > ewarn "Be sure to edit /etc/denyhosts.cfg to suit your logging system." >} >
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 100043
:
64139
|
64140
|
64141
|
64143
|
64144
|
64170
|
66525
|
66526
|
66527
|
67135
|
67136
|
67137
|
67695
|
67696
|
69978
|
69979
|
70069
|
70081
|
70084