I run a FreeBSD box. Needless to say I ran into a few issues getting this to work because some of the executable files were hard coded locations.
Things I had to do to make this work.
add this line to config.pgp in CodeGit, fixes 'git command not found' error.
putenv("PATH=" .$_ENV["PATH"]. ':/usr/local/bin');
change the shell in shell.sh to /bin/sh. The standard location for bash in FreeBSD is /usr/local/bin/bash
change the location for expect from /usr/bin/expect to /usr/local/bin/expect
The other major hurdle in FreeBSD is the apache user 'www' has no home directory or no login shell. This needed to be changed to /bin/sh login shell (so 'www' user can execute shell.sh
) and a home directory of your choice so you can generate a rsa key to use with github if you want to clone/push/pull. Of course permissions need to be appropriate for 'www' user.
Some of these fixes could easily be fixed in the code. While the other information would be useful in an installation guide for FreeBSD or any other OS that doesn't follow debian guidelines. Hope this helps someone. Sorry if this was not the correct place to post this.
I run a FreeBSD box. Needless to say I ran into a few issues getting this to work because some of the executable files were hard coded locations.
Things I had to do to make this work.
add this line to config.pgp in CodeGit, fixes 'git command not found' error. putenv("PATH=" .$_ENV["PATH"]. ':/usr/local/bin');
change the shell in shell.sh to /bin/sh. The standard location for bash in FreeBSD is /usr/local/bin/bash change the location for expect from /usr/bin/expect to /usr/local/bin/expect
The other major hurdle in FreeBSD is the apache user 'www' has no home directory or no login shell. This needed to be changed to /bin/sh login shell (so 'www' user can execute shell.sh ) and a home directory of your choice so you can generate a rsa key to use with github if you want to clone/push/pull. Of course permissions need to be appropriate for 'www' user.
Some of these fixes could easily be fixed in the code. While the other information would be useful in an installation guide for FreeBSD or any other OS that doesn't follow debian guidelines. Hope this helps someone. Sorry if this was not the correct place to post this.