Forum .LRN Q&A: Re: Debian package of .LRN

Collapse
Posted by Otto Solares on
I'll fix 1. & 2. ASAP.

With the unsolved problem I must say that the OpenACS installer assumes people is using daemontools so when the installer shutdown the server it will come up automatically (which is a function of daemontools).  In the debian dotlrn package we don't use daemontools so I'll modify the installer to reflect the fact that people must manually start the server again.

/etc/init.d/aolserver4 is the init script from the aolserver4 package and may collide with the dotlrn one, I'll figure out a solution or warn the user about it.

I'll post a revised version today, thank you for the support.

Collapse
Posted by Celio Guimaraes on
Otto:
Have you posted the revised version?
Celio
Collapse
Posted by Otto Solares on
Yep.  I removed the old packages, the new dotlrn package is here:

deb http://home.galileo.edu/~solca/dotlrn/ binary/
deb-src http://home.galileo.edu/~solca/dotlrn/ source/

Please test it, report back _ANY_ problem.  I am pretty sure this one is almost _debian_repository_ quality.

Collapse
Posted by Jade Rubick on
Otto, would you mind posting how the packages are built?

Since Debian packages can be used for Debian and Fedora, we get very good coverage with these. If you could document how this is done, then we could move towards making this the default method of installation.

Collapse
Posted by Otto Solares on
You mean building from the source package or how to create a debian package (debianize)?

I simply build the package with:

cd source_dir
dpkg-buildpackage -rfakeroot

To build the package you need:

apt-get build-dep dotlrn
apt-get install build-essential fakeroot

The hard part is debianize the package which is better covered  somewhere in the debian's developer corner:

http://www.debian.org/devel/

Hope that helps.