Filedrawers is dependent upon several layers of software. It's designed to run on a linux/unix operating system to manage files on an OpenAFS file system. Our installation is running Apache 2.2.x, and php 5.x.
- mod_cosign is used for authentication
- mod_waklog is used to acquire AFS credentials
- Fileinfo PECL extension assists with properly detecting mime types
The latest release of the filedrawers source code is 0.4.3. To check out the sources, use the following command for login:
cvs -d:pserver:email@example.com:/cvsroot/filedrawers login
The password for user anonymous is blank, or ''.
cvs -z3 -d:pserver:firstname.lastname@example.org:/cvsroot/filedrawers co -P filedrawers
First, build the filedrawers PECL extension.
In addition to the Fileinfo PECL extension, you must also install the filedrawers PECL extension. The filedrawers PECL extension is in the
pecl directory in the filedrawers source code.
cd pecl phpize ./configure make clean make make install
The filedrawers PECL extension should be copied into your PHP extensions directory automatically.
Next, build the filedrawers core source code.
Below is a sample of how we've built the source code for our mfile service. Your commands will differ:
./configure \ --prefix=/usr/local/projects \ --with-project_name=mfile \ --with-service_name="mfile.umich.edu" \ --with-service_url="http://mfile.umich.edu" \ --with-secure_service_url="https://mfile.umich.edu" \ --with-error_url="https://mfile.umich.edu/?error=true" \ --with-install_group=staff \ --with-db_host='db_name' \ --with-db_name='db_username' \ --with-db_user='db_user' \ --with-db_password='db_password' make clean make make install
If you have a patch to submit, please send it to email@example.com