Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61020 Details for
Bug 93982
New ebuild: net-misc/pglinux
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pglinux-1.5.ebuild
pglinux-1.5.ebuild (text/plain), 1.82 KB, created by
Daniel Harper
on 2005-06-10 13:02:14 UTC
(
hide
)
Description:
pglinux-1.5.ebuild
Filename:
MIME Type:
Creator:
Daniel Harper
Created:
2005-06-10 13:02:14 UTC
Size:
1.82 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils >INSTALL_PATH="/usr/share/peerguardian/" > >DESCRIPTION="A lightweight IP blocker to stop rogue connections" >HOMEPAGE="http://methlabs.org/" >SRC_URI="http://umn.dl.sourceforge.net/sourceforge/peerguardian/pglinux-1.5beta.tar.gz >http://unc.dl.sourceforge.net/sourceforge/peerguardian/pglinux-1.5beta.tar.gz >http://kent.dl.sourceforge.net/sourceforge/peerguardian/pglinux-1.5beta.tar.gz" > >DEPEND=">=net-firewall/iptables-1.2.11-r3" >LICENCE="?" >KEYWORDS="~x86" > >IUSE="" > >pkg_setup() { >if [ ! -f /usr/share/peerguardian/PG.conf ]; then > ewarn "Package isn't installed" >else >ewarn "Checking status of Peerguardian" > if /etc/init.d/peerguardian status | grep -q "stopped"; then > echo "....Stopped" > else > echo "....Started, Stopping" > /etc/init.d/peerguardian stop > fi >fi >} > >src_unpack() { > unpack ${A} > >} > >src_compile() { > cd ${WORKDIR} >cd ${PN}-${PV}beta > >einfo "Patching files to newer versions" > >epatch ${FILESDIR}/pglinux-gentoo.patch > emake || die "Error: emake failed!" >} > >src_install() { > cd ${WORKDIR}/pglinux-1.5beta > > dodir ${INSTALL_PATH} >cp ${FILESDIR}/pgupdate ./ >cp ${FILESDIR}/peerguardianrc ./ > into /usr > dobin pgupdate > dobin peerguardnf > dobin pgtext > insinto /etc/init.d > newins peerguardianrc peerguardian > insinto ${INSTALL_PATH} > doins PG.conf > dodoc AUTHORS ChangeLog > > >} > >pkg_postinst() { > >chmod +rx /etc/init.d/peerguardian >einfo "" >einfo " This is a Gentoo adapted version of Peerguardian" >einfo " Full credit goes to the guys at methlabs for making such a brilliant system" >einfo "" >ewarn " Please run the command 'pgupdate' to update to the latest blocklist" >ewarn "" >ewarn " REMEMBER TO ADD PEERGUARDIAN TO BOOT!" >ewarn "" >ewarn " rc-update add peerguardian default" >ewarn "" >}
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 93982
:
60933
|
60934
|
60935
|
60936
| 61020 |
61214
|
64726
|
70582
|
71716
|
71719
|
71772
|
71776
|
299179
|
299181