Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 93982 | Differences between
and this patch

Collapse All | Expand All

(-)PG.conf (-1 / +1 lines)
Lines 4-10 Link Here
4
#  
4
#  
5
5
6
# Modify the block file below to match the block file you use
6
# Modify the block file below to match the block file you use
7
BLOCKFILE=/etc/p2p.p2b.p2p
7
BLOCKFILE=/usr/share/peerguardian/p2p.p2b.p2p
8
8
9
# Please edit below if you wish not to block certain ports with 
9
# Please edit below if you wish not to block certain ports with 
10
# were in the format 80,25,x,x; or leave it blank if you don't wish
10
# were in the format 80,25,x,x; or leave it blank if you don't wish
(-)AUTHORS (-6 / +23 lines)
Line 1 Link Here
1
Gentoo adapted changes were made by djh-world (Daniel Harper) and iainel 
2
1
peerguardian for linux was created by bitrot, nullcontext and JFM.
3
peerguardian for linux was created by bitrot, nullcontext and JFM.
2
-- ChangeLog 2005-04-01 18:08:51.000000000 +0000
4
++ ChangeLog 2005-06-09 15:39:10.000000000 +0000
Line 1 Link Here
1
09/06/2005: Gentoo adapated release - Daniel Harper 2005
2
Release: gentoo-1.5.1_beta 
3
4
* Ebuild created. 
5
* pgtext.cpp changed to accomodate new file locations
6
* File structure changed, config file is located in /usr/share/peerguardian
7
* Blocklists are downloaded to /usr/share/peerguardian
8
* pgupdate script included to update new blocklist (courtesy of Daniel Harper)  
9
* pgupdate script stops and starts the daemon 
10
* Gentoo initscript (courtesy of iainel) added
11
* PG.conf is edited to accomodate new location
12
* Designed to be fully automated once placed on boot
13
* Initscript will activate the daemon and it can simply run in the background
14
15
1
initial release 1.5Beta
16
initial release 1.5Beta
2
-- pgtext.cpp 2005-03-31 05:55:36.000000000 +0000
17
++ pgtext.cpp 2005-06-09 15:13:05.000000000 +0000
Lines 32-40 Link Here
32
#include <limits.h>
32
#include <limits.h>
33
33
34
#define FIFO_NAME "/tmp/PG_fifo"
34
#define FIFO_NAME "/tmp/PG_fifo"
35
#define DEFAULT_BLOCKLIST "/etc/p2p.p2b.p2p"
35
#define DEFAULT_BLOCKLIST "/usr/share/peerguardian/p2p.p2b.p2p"
36
#define DEFAULT_LOG "/var/log/PG.log"
36
#define DEFAULT_LOG "/var/log/PG.log"
37
#define DEFAULT_CONF "/etc/PG.conf"
37
#define DEFAULT_CONF "/usr/share/peerguardian/PG.conf"
38
#define DEFAULT_EDITOR "vi"
38
#define DEFAULT_EDITOR "vi"
39
#define BUFFER_SIZE PIPE_BUF
39
#define BUFFER_SIZE PIPE_BUF
40
40
Lines 46-54 Link Here
46
int response;
46
int response;
47
47
48
// various file name variables
48
// various file name variables
49
char blocklist_name[25] = DEFAULT_BLOCKLIST;
49
char blocklist_name[40] = DEFAULT_BLOCKLIST;
50
char log_name[25] = DEFAULT_LOG;
50
char log_name[25] = DEFAULT_LOG;
51
char conf_name[25] = DEFAULT_CONF;
51
char conf_name[40] = DEFAULT_CONF;
52
char editor_name[25] = DEFAULT_EDITOR;
52
char editor_name[25] = DEFAULT_EDITOR;
53
53
54
using namespace std;
54
using namespace std;

Return to bug 93982