projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
957b670
)
freebsd install update i guess
author
ivan
<ivan>
Mon, 11 Jul 2005 12:23:00 +0000
(12:23 +0000)
committer
ivan
<ivan>
Mon, 11 Jul 2005 12:23:00 +0000
(12:23 +0000)
install/freebsd/INSTALL
patch
|
blob
|
history
install/freebsd/ports
patch
|
blob
|
history
diff --git
a/install/freebsd/INSTALL
b/install/freebsd/INSTALL
index
6e3c26b
..
e8c92b0
100755
(executable)
--- a/
install/freebsd/INSTALL
+++ b/
install/freebsd/INSTALL
@@
-1,35
+1,53
@@
#!/bin/sh
#!/bin/sh
+# if /usr/local/sbin/portupgrade does not exist
+# then install portupgrade
( cd /usr/ports/sysutils/portupgrade
#??? setenv WITH_OPENSSL_PORT "yes"
( cd /usr/ports/sysutils/portupgrade
#??? setenv WITH_OPENSSL_PORT "yes"
- make install
+ make install
clean
)
)
-#rehash
-pkgdb -u
+# ???
+##rehash
+#pkgdb -u
+# if cvsup is not installed, then
portinstall -PR cvsup-without-gui
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
+
#
cp /usr/share/examples/cvsup/ports-supfile /root
+
#
perl -pi -e 's/CHANGE_THIS/cvsup13/;' /root/ports-supfile
+
#
cvsup /root/ports-supfile
+# choose the fastest cvsup server, then cvsup update
+/usr/local/bin/cvsup -g -L 2 -h cvsup2.freebsd.org /usr/share/examples/cvsup/ports-supfile
+
+# Update the ports database
+#/usr/local/sbin/portsdb -Uu
portsdb -Uu
portinstall -PR portupgrade
portinstall -PR lang/perl5.8
portsdb -Uu
portinstall -PR portupgrade
portinstall -PR lang/perl5.8
+# if FreeBSD 4.x, then
/usr/local/bin/use.perl port
/usr/local/bin/use.perl port
+#portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
+# find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
+# | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`
+
+
for port in `grep -v '^ *#' ports`; do
for port in `grep -v '^ *#' ports`; do
- #cd /usr/ports/$port
- #make install || exit
- portinstall -P -R $port || exit
+ portinstall -PR $port
done
for a in JavaScript::RPC::Server::CGI Chart::LinesPoints Frontier::RPC2; do perl -MCPAN -e"install $a"; done
su -l pgsql -c initdb
done
for a in JavaScript::RPC::Server::CGI Chart::LinesPoints Frontier::RPC2; do perl -MCPAN -e"install $a"; done
su -l pgsql -c initdb
+echo '
+postgresql_enable="YES"
+postgresql_data="/usr/local/pgsql/data"
+postgresql_flags="-w -s -m fast"
+' >>/etc/rc.conf
/usr/local/etc/rc.d/010.pgsql.sh start
/usr/local/etc/rc.d/010.pgsql.sh start
@@
-46,13
+64,13
@@
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'
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.
#edit apache config, etc.
-#mkdir /etc/rc.conf.d
-#add these to /etc/rc.conf.d/apache
-
#apache_enable="YES
"
-#apache_flags="-DSSL"
+echo '
+apache_enable="YES"
+
apache_flags="-DSSL
"
+' >>/etc/rc.conf
+make deploy
diff --git
a/install/freebsd/ports
b/install/freebsd/ports
index
4d8f01b
..
90b49e6
100644
(file)
--- a/
install/freebsd/ports
+++ b/
install/freebsd/ports
@@
-53,4
+53,4
@@
textproc/p5-Text-CSV_XS
misc/p5-Locale-SubCountry
devel/p5-IO-stringy
textproc/p5-XML-Parser
misc/p5-Locale-SubCountry
devel/p5-IO-stringy
textproc/p5-XML-Parser
-
+mail/p5-MIME-Tools