blob: 53fc613d1ddd8b790411845e16c0cddecef2fbe8 (
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
|
#!/bin/sh
( cd /usr/ports/sysutils/portupgrade
make install
)
pkgdb -u
portinstall -PR cvsup-without-gui
cp /usr/share/examples/cvsup/ports-supfile /root
perl -pi -e 's/CHANGE_THIS/cvsup1/;' /root/ports-supfile
cvsup /root/ports-supfile
for port in `grep -v '^ *#' ports`; do
#cd /usr/ports/$port
#make install || exit
portinstall -P -R $port || exit
done
for a in Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard; 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
make deploy
#edit apache config, etc.
|