blob: 6fff379f10a430411835ecb26c14f8bd66600872 (
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
|
#!/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
for port in `grep -v '^ *#' ports`; do
#cd /usr/ports/$port
#make install || exit
portinstall -P -R $port
done
for a in JavaScript::RPC::Server::CGI Chart::LinesPoints; 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.
|