From 5a2a1af55963ec6ae04661537bb6926e629c0aea Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 00:10:07 +0000 Subject: automated install foo --- install/freebsd/INSTALL | 9 +++++++++ install/freebsd/ports | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100755 install/freebsd/INSTALL create mode 100644 install/freebsd/ports (limited to 'install/freebsd') diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL new file mode 100755 index 000000000..4840ac2be --- /dev/null +++ b/install/freebsd/INSTALL @@ -0,0 +1,9 @@ +#!/bin/sh + +for port in `grep -v '^ *#' ports`; do + cd /usr/ports/$port + make install || exit +done + +perl -MCPAN -e"install DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration" + diff --git a/install/freebsd/ports b/install/freebsd/ports new file mode 100644 index 000000000..329f084d6 --- /dev/null +++ b/install/freebsd/ports @@ -0,0 +1,42 @@ +shells/zsh +misc/screen +ftp/lftp +www/mod_perl +net/rsync +databases/postgresql7 +misc/p5-Array-PrintCols +devel/p5-Term-Query +converters/p5-MIME-Base64 +security/p5-Digest-MD5 +security/p5-MD5 +net/p5-URI +www/p5-HTML-Tagset +www/p5-HTML-Parser +www/p5-Net +misc/p5-Locale-Codes +net/p5-Net-Whois +www/p5-libwww +misc/p5-Business-CreditCard +devel/p5-Data-ShowTable +mail/p5-Mail-Tools +devel/p5-TimeDate +devel/p5-Date-Manip +misc/p5-File-CounterFile +devel/p5-FreezeThaw +devel/p5-String-Approx +textproc/p5-Text-Template +databases/p5-DBI +databases/p5-DBD-Pg +#databases/p5-DBD-mysql +databases/p5-DBIx-DataSource + #database/p5-DBIx-DBSchema + #net/p5-Net-SSH +textproc/p5-String-ShellQuote + #net/p5-Net-SCP +www/p5-Apache-ASP +www/p5-HTML-Mason +devel/p5-Tie-IxHash + #devel/p5-Time-Duration + #www/p5-HTML-Widgets-SelectLayers +devel/p5-Storable +www/p5-Apache-DBI -- cgit v1.2.1 From 14d7fe93445d40a8ae24cfd81e30d595ea2004d6 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 01:18:02 +0000 Subject: Net::SSH and Net::SCP are in ports --- install/freebsd/ports | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/freebsd') diff --git a/install/freebsd/ports b/install/freebsd/ports index 329f084d6..385d6b598 100644 --- a/install/freebsd/ports +++ b/install/freebsd/ports @@ -30,9 +30,9 @@ databases/p5-DBD-Pg #databases/p5-DBD-mysql databases/p5-DBIx-DataSource #database/p5-DBIx-DBSchema - #net/p5-Net-SSH +net/p5-Net-SSH textproc/p5-String-ShellQuote - #net/p5-Net-SCP +net/p5-Net-SCP www/p5-Apache-ASP www/p5-HTML-Mason devel/p5-Tie-IxHash -- cgit v1.2.1 From 1a6e8ccb610247daf9f475358471cfeed44f4e65 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 06:03:53 +0000 Subject: updated freebsd install --- install/freebsd/INSTALL | 18 +++++++++++++++--- install/freebsd/ports | 8 ++++---- 2 files changed, 19 insertions(+), 7 deletions(-) (limited to 'install/freebsd') diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL index 4840ac2be..f42699c14 100755 --- a/install/freebsd/INSTALL +++ b/install/freebsd/INSTALL @@ -1,9 +1,21 @@ #!/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 + #cd /usr/ports/$port + #make install || exit + portinstall -P -R $port || exit done -perl -MCPAN -e"install DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration" +perl -MCPAN -e"install Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard" diff --git a/install/freebsd/ports b/install/freebsd/ports index 385d6b598..3f0d40773 100644 --- a/install/freebsd/ports +++ b/install/freebsd/ports @@ -12,11 +12,11 @@ security/p5-MD5 net/p5-URI www/p5-HTML-Tagset www/p5-HTML-Parser -www/p5-Net +net/p5-Net misc/p5-Locale-Codes net/p5-Net-Whois www/p5-libwww -misc/p5-Business-CreditCard + #misc/p5-Business-CreditCard devel/p5-Data-ShowTable mail/p5-Mail-Tools devel/p5-TimeDate @@ -30,11 +30,11 @@ databases/p5-DBD-Pg #databases/p5-DBD-mysql databases/p5-DBIx-DataSource #database/p5-DBIx-DBSchema -net/p5-Net-SSH + #net/p5-Net-SSH textproc/p5-String-ShellQuote net/p5-Net-SCP www/p5-Apache-ASP -www/p5-HTML-Mason + #www/p5-HTML-Mason devel/p5-Tie-IxHash #devel/p5-Time-Duration #www/p5-HTML-Widgets-SelectLayers -- cgit v1.2.1 From 51df5a9bad917d04e58c2686831a1481f45b667e Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 06:14:55 +0000 Subject: freebsd install --- install/freebsd/INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/freebsd') diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL index f42699c14..28a453ab3 100755 --- a/install/freebsd/INSTALL +++ b/install/freebsd/INSTALL @@ -17,5 +17,5 @@ for port in `grep -v '^ *#' ports`; do portinstall -P -R $port || exit done -perl -MCPAN -e"install Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard" +for a in Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard; do perl -MCPAN -e"install $a"; done -- cgit v1.2.1 From 116b7654a443c2d471834264bed034b123008407 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 07:05:07 +0000 Subject: little bit more fbsd install automation --- install/freebsd/INSTALL | 23 +++++++++++++++++++++-- install/freebsd/ports | 1 + 2 files changed, 22 insertions(+), 2 deletions(-) (limited to 'install/freebsd') diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL index 28a453ab3..53fc613d1 100755 --- a/install/freebsd/INSTALL +++ b/install/freebsd/INSTALL @@ -1,7 +1,8 @@ #!/bin/sh -cd /usr/ports/sysutils/portupgrade -make install +( cd /usr/ports/sysutils/portupgrade + make install +) pkgdb -u @@ -19,3 +20,21 @@ 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. + diff --git a/install/freebsd/ports b/install/freebsd/ports index 3f0d40773..8381e5a04 100644 --- a/install/freebsd/ports +++ b/install/freebsd/ports @@ -2,6 +2,7 @@ shells/zsh misc/screen ftp/lftp www/mod_perl +www/apache13-modssl net/rsync databases/postgresql7 misc/p5-Array-PrintCols -- cgit v1.2.1 From 71af70d04218beec79b4351b2ca721a07a33460f Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 9 May 2003 07:17:54 +0000 Subject: mod_ssl before mod_perl so mod_perl picks up EAPI --- install/freebsd/ports | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/freebsd') diff --git a/install/freebsd/ports b/install/freebsd/ports index 8381e5a04..1e04a424d 100644 --- a/install/freebsd/ports +++ b/install/freebsd/ports @@ -1,8 +1,8 @@ shells/zsh misc/screen ftp/lftp -www/mod_perl www/apache13-modssl +www/mod_perl net/rsync databases/postgresql7 misc/p5-Array-PrintCols -- cgit v1.2.1 From d1d1fcff1564e12eb76a1a3e7bf5fbe7c3f2fe1e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 24 Sep 2003 02:37:59 +0000 Subject: need Cache::Cache in 1.4.2+ --- install/freebsd/ports | 1 + 1 file changed, 1 insertion(+) (limited to 'install/freebsd') diff --git a/install/freebsd/ports b/install/freebsd/ports index 1e04a424d..019c5e194 100644 --- a/install/freebsd/ports +++ b/install/freebsd/ports @@ -41,3 +41,4 @@ devel/p5-Tie-IxHash #www/p5-HTML-Widgets-SelectLayers devel/p5-Storable www/p5-Apache-DBI +devel/p5-Cache-Cache -- cgit v1.2.1