Summary: | New ebuild: net-misc/pglinux | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Harper <daniel> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | Adam.Twardowski, flash3001, genthree, gravix, jwbraun, kripton, net-p2p, omgponies3, Protocol.X, squinky86, sunrise |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pglinux-1.5.ebuild
pglinux-gentoo.patch peerguardianrc pgupdate pglinux-1.5.ebuild pgupdate pgupdate pgupdate New ebuild pglinux-1.5_beta.ebuild pglinux-1.5_beta.ebuild pgupdate pglinux-2.1.3.ebuild pgl-2.1.3-makefile.patch |
Description
Daniel Harper
2005-05-25 12:06:01 UTC
Created attachment 60933 [details]
pglinux-1.5.ebuild
Created attachment 60934 [details, diff]
pglinux-gentoo.patch
Created attachment 60935 [details]
peerguardianrc
Created attachment 60936 [details]
pgupdate
Installation instructions are located here: - http://forums.gentoo.org/viewtopic-p-2482148.html#2482148 Created attachment 61020 [details]
pglinux-1.5.ebuild
Created attachment 61214 [details]
pgupdate
Created attachment 64726 [details]
pgupdate
Comment on attachment 64726 [details]
pgupdate
PeerGuardian update script.
I too would very much like to see this in portage. I fails to compile by hand and I have definite use for it... Created attachment 70582 [details]
pgupdate
Modified original pgupdate script to work with changed blocklists.
Comment on attachment 70582 [details] pgupdate #!/bin/bash #Copyright (C) 2005 Daniel Harper #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License #as published by the Free Software Foundation; either version 2 #of the License, or (at your option) any later version. #Modified by Iain Elderkin (iainel) for blocklist changes PGDIR=/usr/share/peerguardian cd $PGDIR if /etc/init.d/peerguardian status | grep -q "started"; then /etc/init.d/peerguardian stop fi if [ -f $PGDIR/level1.gz ] then rm level1.gz fi if [ -f $PGDIR/level1 ] then rm level1 fi echo -e "* Fetching new blocklist" wget http://dialspace.dial.pipex.com/town/pipexdsl/s/ashu56/bluetack/level1.gz if [ ! -f $PGDIR/level1.gz ] then echo -e "* Error: Blocklist not found. Try re-running the script." exit fi gunzip level1.gz cp level1 p2p.p2b.p2p /etc/init.d/peerguardian start Comment on attachment 70582 [details] pgupdate #!/bin/bash #Copyright (C) 2005 Daniel Harper #This program is free software; you can redistribute it and/or #modify it under the terms of the GNU General Public License #as published by the Free Software Foundation; either version 2 #of the License, or (at your option) any later version. #Modified by Iain Elderkin (iainel) for blocklist changes PGDIR=/usr/share/peerguardian cd $PGDIR if /etc/init.d/peerguardian status | grep -q "started"; then /etc/init.d/peerguardian stop fi if [ -f $PGDIR/level1.gz ] then rm level1.gz fi if [ -f $PGDIR/level1 ] then rm level1 fi echo -e "* Fetching new blocklist" wget http://dialspace.dial.pipex.com/town/pipexdsl/s/ashu56/bluetack/level1.gz if [ ! -f $PGDIR/level1.gz ] then echo -e "* Error: Blocklist not found. Try re-running the script." exit fi gunzip level1.gz cp level1 p2p.p2b.p2p /etc/init.d/peerguardian start I tried out this ebuild, and it works great (with the URL in the latest pgupdate). Could this be added to ~x86? Um, the ebuild is quite ugly: - the ebuild filename should be pglinux-1.5_beta. Add and refer to MY_P=${P/_/}, S="${WORKDIR}/${MY_P}," instead hardcoding the version everywhere and cd'ing into $WORKDIR - SRC_URI="mirror://sourceforge/<foo>/..." - license ? does not exist - src_unpack() is superfluous - there's no reason to do chmod +rx /etc/init.d/peerguardian in pkg_postinst(), prefix the path with ${D} and do that in the install phase - the einfo and ewarn lines are unnecessary - proper indenting, please Created attachment 71716 [details]
New ebuild
Created attachment 71719 [details]
pglinux-1.5_beta.ebuild
Some more changes to the ebuild
Created attachment 71772 [details]
pglinux-1.5_beta.ebuild
New ebuild after good comments from Carsten Lohrke
Created attachment 71776 [details] pgupdate A cleaned up version of pgupdate. Now uses http://peerguardian.sourceforge.net/lists/p2p.php to fetch block list. Any news on this? This is a great utility that I would love to see officially in portage. The ebuilds posted here and the pgupdate utility work great for me. Running peerguardian breaks fail2ban and svn checkout over ssh. It might break/block/bork more, but I stopped using it after I got these faillures... You might try editing your PG.conf file in /usr/share/peerguardian and unblocking the ports you need. I'm not sure if your problem was a port issue or not... I already unblocked port 22 (ssh), but to no avail. I've set fail2ban to email me when an 'intruder' is detected. When I run PG, I get 100-200 emails per attack because fail2ban is unable to add a correct rule to the firewall... SVN checkout over ssh just sits and waits until I stop PG... *** Bug 152011 has been marked as a duplicate of this bug. *** So what's new with this ebuild? why isn't it in portage yet? I haven't heard anything about it in a long time. Still working great on my system though. actually, im tempted to say do not add this. The reason being is Moblock the third party tool http://bugs.gentoo.org/show_bug.cgi?id=143535 is already in sunrise and could be ported. The second reason is PeerGuardian for Linux or PGLinux is likely to be depreciated for Moblock anyway as the Moblock developer is working with Phoenix Labs now. "There is a plan to make MoBlock become the official peerguardian linux client, you can read something about it at the Phoenixlabs forum ( http://forums.phoenixlabs.org/t11376-introducing-moblock.html ) so feel free to ask for support there." http://moblock.berlios.de/ (this is an automated message based on filtering criteria that matched this bug) 'EBUILD' is in the KEYWORDS which should mean that there is a ebuild attached to this bug. This bug is assigned to maintainer-wanted which means that it is not in the main tree. Hello, The Gentoo Team would like to firstly thank you for your ebuild submission. We also apologize for not being able to accommodate you in a timely manner. There are simply too many new packages. Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay. So, the sunrise team is suggesting that you look into this and submit your ebuild to the overlay where even *you* can commit to. =) Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. Thanks, On behalf of the Gentoo Sunrise Team, Jeremy. [1]: http://www.gentoo.org/proj/en/sunrise/ [2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq Seems to be still active: http://sourceforge.net/projects/peerguardian/files/PeerGuardian%20Linux/ Created attachment 299179 [details]
pglinux-2.1.3.ebuild
Created attachment 299181 [details, diff]
pgl-2.1.3-makefile.patch
committed to sunrise-overlay! https://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-misc/pglinux/ +*pglinux-2.1.3_p20120503 (03 May 2012) + + 03 May 2012; Julian Ospald <hasufell@gentoo.org> + +pglinux-2.1.3_p20120503.ebuild, +metadata.xml: + initial commit wrt #93982 + |