[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-developers] create .pkg install files



Hi,

I'm a web application developer, and I am wanting to package our file
management application 'FileMan' into a .pkg for easy distribution for
cobalt raq users. Briefly, site admin's who install this will be able to
provide a web interface that provides all the functionality of shell +
ftp through the browser. You can see a demo at:

	http://gossamer-threads.com/scripts/fileman/

My questions are related to how best to install this. Currently I am:

* Installing configuration and templates in:
	/etc/fileman

* Adding the fileman.cgi script to:
	/usr/admserv/cgi-bin/.cobalt/fileman/fileman.cgi

* Adding the fileman images to:
	/usr/admserv/html/.cobalt/images/fileman

The fileman.cgi script will be password protected using the same pam
protection as other scripts and will look at $ENV{REMOTE_USER} and then switch
uid/gid to that user so any changes the user makes from the web will be
done as himself, not as user nobody.

Do you see any problems with the layout? The only other questions I have
is:

* How best to add a link to FileMan? Currently in the index.html file I
just say to tell users to go to
http://yoursite/.cobalt/fileman/fileman.cgi to get to it.

* Is the RPM really needed? If I remove the rpm checks from upgrade_me
and uninstall_me, do I still need the null rpm? 

We are pretty much done, and would love to make this available to
everyone, so any help you can provide would be great.

Cheers,

Alex

-- 
Alex Krohn <alex@xxxxxxxxxxxxxxxxxxxx>