Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20374 Details for
Bug 30531
asterisk-0.5_pre20031006 Ebuild. CVS Snapshot, verified to work.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
installer script for devkit-specific config
astinstall (text/plain), 3.69 KB, created by
Dorian Gray
on 2003-11-07 03:55:32 UTC
(
hide
)
Description:
installer script for devkit-specific config
Filename:
MIME Type:
Creator:
Dorian Gray
Created:
2003-11-07 03:55:32 UTC
Size:
3.69 KB
patch
obsolete
>#!/bin/bash > >dodots() { > while read a && read a && read a && read a && read a && read a \ > && read a && read a && read a && read a; do echo -n . ; done >} > >dodots2() { > while read a; do echo -n . ; done >} > >NEEDED="kernel-source readline readline-devel openssl openssl-devel" >clear >echo "====== Welcome to the Asterisk installer =======" >echo >echo "This program will download and install Zaptel and Asterisk on" >echo "your machine using CVS. Sources will be kept in /usr/src/." >echo "if you do not wish to do this, please press Control-C now" >echo "otherwise, press Enter." >echo >echo "Press ENTER to continue or CONTROL+C to quit..." >read a >echo "====== Beginning Asterisk installer =======" >echo -n "1. Checking for Redhat... " >if [ -f /etc/redhat-release ] || > [ -f /etc/mandrake-release ]; then > echo "OK" > echo "2. Checking dependencies... " > > for x in ${NEEDED}; do > echo -n " -- ${x}... " > if rpm -q $x >&/dev/null; then > echo "OK" > else > echo "Failed" > echo "------------------- Installation Error ------------------" > echo "The package ${x} must be installed prior to running this" > echo "installation script. Please install it and try again." > exit 1 > fi > done >else > echo "Failed" > echo "------------------- Installation Error ------------------" > echo "This install script is only able to check dependencies" > echo "on RedHat or Mandrake. You may continue, but the install" > echo "may fail if you do not have the proper dependencies" > echo "specifically: " > echo " * Linux Kernel Sources" > echo " * OpenSSL (with development headers)" > echo " * Readline (with development headers)" > echo > echo "Press ENTER to continue or CONTROL+C to quit..." > read a > echo "2. Checking dependencies... SKIPPED" >fi > > ># ># Go to usr/src and setup CVSROOT ># >cd /usr/src >export CVSROOT=:pserver:anoncvs@cvs.digium.com:/usr/cvsroot ># ># Login manually ># >if ! [ -f ${HOME}/.cvspass ] || ! grep -q ":pserver:anoncvs@cvs.digium.com:/usr/cvsroot" ${HOME}/.cvspass; then > echo ":pserver:anoncvs@cvs.digium.com:/usr/cvsroot Ay=0=h<Z" >> ${HOME}/.cvspass >fi > >echo -n "3. Removing old zaptel code..." >rm -rf zaptel >echo "OK" >echo -n "4. Checking out CVS zaptel code..." >if cvs co zaptel 2>&1 | dodots; then echo "OK"; else echo "Failed"; exit 1 ; fi > >echo -n "5. Removing old zapata code..." >rm -rf zapata >echo "OK" >echo -n "6. Checking out CVS zapata code..." >if cvs co zapata 2>&1 | dodots; then echo "OK"; else echo "Failed"; exit 1 ; fi > >echo -n "7. Removing old libpri code..." >rm -rf libpri >echo "OK" >echo -n "8. Checking out CVS libpri code..." >if cvs co libpri 2>&1 | dodots; then echo "OK"; else echo "Failed"; exit 1 ; fi > >echo -n "9. Removing old asterisk code..." >rm -rf asterisk >echo "OK" >echo -n "10. Checking out CVS asterisk code..." >if cvs co asterisk 2>&1 | dodots; then echo "OK"; else echo "Failed"; exit 1 ; fi > >echo -n "11. Compiling and installing zaptel..." >if ( cd zaptel ; make ; make install ) 2>&1 | dodots2; then echo "OK" ; else echo "Failed"; exit 1 ; fi > >echo -n "12. Compiling and installing zapata..." >if ( cd zapata ; make ; make install ) 2>&1 | dodots2; then echo "OK" ; else echo "Failed"; exit 1 ; fi > >echo -n "13. Compiling and installing libpri..." >if ( cd libpri ; make ; make install ) 2>&1 | dodots2; then echo "OK" ; else echo "Failed"; exit 1 ; fi > >echo -n "14. Compiling and installing asterisk..." >if ( cd asterisk ; make ; make install ) 2>&1 | dodots2; then echo "OK" ; else echo "Failed"; exit 1 ; fi > >echo -n "15. Creating sample environment..." >if [ -f /etc/asterisk/extensions.conf ]; then > echo "SKIPPED" >else > if ( cd asterisk ; make samples ) 2>&1 | dodots2; then echo "OK" ; else echo "Failed"; exit 1 ; fi >fi >echo "================= Installation Completed! ===================="
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 30531
:
18885
|
18886
|
18887
|
20320
|
20372
|
20373
| 20374