summaryrefslogtreecommitdiff
path: root/install/freebsd/INSTALL
blob: 6e3c26b23b3d5c4f0655fda4000dd897f8bda1fe (plain)
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
#!/bin/sh

( cd /usr/ports/sysutils/portupgrade
  #??? setenv WITH_OPENSSL_PORT "yes"
  make install
)

#rehash
pkgdb -u

portinstall -PR cvsup-without-gui

cp /usr/share/examples/cvsup/ports-supfile /root
perl -pi -e 's/CHANGE_THIS/cvsup13/;' /root/ports-supfile
cvsup /root/ports-supfile

portsdb -Uu

portinstall -PR portupgrade

portinstall -PR lang/perl5.8
/usr/local/bin/use.perl port

for port in `grep -v '^ *#' ports`; do
  #cd /usr/ports/$port
  #make install || exit
  portinstall -P -R $port || exit
done

for a in JavaScript::RPC::Server::CGI Chart::LinesPoints Frontier::RPC2; do perl -MCPAN -e"install $a"; done

su -l pgsql -c initdb

/usr/local/etc/rc.d/010.pgsql.sh start

pw user add freeside -m

su -l pgsql -c 'createuser -P freeside'

su -l freeside -c 'createdb freeside'

#?
cd ../..
make install-perl-modules
make create-config
freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
su freeside -c 'freeside-setup ivan'
su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
make deploy

#edit apache config, etc.

#mkdir /etc/rc.conf.d
#add these to /etc/rc.conf.d/apache
#apache_enable="YES"
#apache_flags="-DSSL"