forked from FreshPorts/freshports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
72 lines (47 loc) · 1.59 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#
# $Id: README.txt,v 1.3 2007-10-16 18:29:39 dan Exp $
#
# Copyright (c) 1998-2006 DVL Software Limited
#
Much of what this documents is now handled by the freshports-www port.
This file documents the directory structure that needs to be present
for a FreshPorts website and scripts.
You need to do this:
+-----------------------+
|file system permissions|
+-----------------------+
touch /var/db/freshports/cache/searchlog.txt
chgrp www /var/db/freshports/cache/searchlog.txt
chmod g+w /var/db/freshports/cache/searchlog.txt
The following settings are necessary for a phorum:
chgrp www phorum-3.3.2a
chmod g+w phorum-3.3.2a
+---------------------+
|Website configuration|
+---------------------+
mkdir -p /var/db/freshports/cache/html
mkdir -p /var/db/freshports/cache/news
mkdir -p /var/db/freshports/cache/ports
mkdir -p /var/db/freshports/cache/spooling
mkdir -p /var/db/freshports/tmp
chown -R www:www /var/db/freshports/cache
chmod -R g+w /var/db/freshports/cache
mkdir scripts-log
cd www/include
cp common.php.sample common.php
cd configuration
cp database.php.sample database.php
modify the login:
$database=pg_connect("dbname=FreshPorts2 user=dan")
+-------+
|CVSROOT|
+-------+
CVSROOT=/usr/repositories/freshports2
+-------------------------------------+
|Various ports which must be installed|
+-------------------------------------+
*** Don't forget to maintain the FreshPorts install meta port ***
just some random notes on configuration:
File-PathConvert
http://search.cpan.org/search?dist=File-PathConvert
http://www.cpan.org/authors/id/R/RB/RBS/File-PathConvert-0.85.tar.gz