Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 71719 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_beta.ebuild
pglinux-1.5_beta.ebuild (text/plain), 1.16 KB, created by
Alexander Wigen
on 2005-10-30 04:40:33 UTC
(
hide
)
Description:
pglinux-1.5_beta.ebuild
Filename:
MIME Type:
Creator:
Alexander Wigen
Created:
2005-10-30 04:40:33 UTC
Size:
1.16 KB
patch
obsolete
># Copyright 2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils >INSTALL_PATH="/usr/share/peerguardian" > >MY_P=${P/_/} >S="${WORKDIR}/${MY_P}" > >DESCRIPTION="A lightweight IP blocker to stop rogue connections" >HOMEPAGE="http://methlabs.org/" >SRC_URI="mirror://sourceforge/peerguardian/$MY_P.tar.gz" > >DEPEND=">=net-firewall/iptables-1.2.11-r3" >LICENSE="zlib" >KEYWORDS="~x86" > >src_unpack() { > unpack ${A} > cd ${S} > epatch ${FILESDIR}/pglinux-gentoo.patch >} > >src_compile() { > emake || die "Error: emake failed!" >} > >src_install() { > cd ${S} > 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() { > # Check if we have a blocklist > if [ ! -f ${INSTALL_PATH}/level1 ]; then > # No block list, fetch one > /usr/bin/pgupdate > fi > > # Restart if running > if /etc/init.d/peerguardian status | grep -q "started"; then > echo "Peerguardian is running, restarting..." > /etc/init.d/peerguardian restart > fi >}
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