Tonight, I attempted to recreate a slackware package for apache, but with
suEXEC enabled. I too had never created my own package, and jumped in
almost blindly with a large amount of success!
From the 4th slackware CD, I copied the files from /source/n/apache/ (one
of the files was 0 bytes, probably a link to the same filename in
/source/n/mod_ssl/, so I copied that file over instead.)
[The link would have probably worked if I wasn't copying the files off the
CD using winderz. Yeah yeah, sorry but I was doing this remotely and
couldn't jump on a slack OS at the time ;]
I edited the file: apache.SlackBuild, adjusting the ./configure line for
the apache part.
I executed apache.SlackBuild.
The package had been created in /tmp ... I installed it (first backing up
config files, and uninstalling my old apache. I later deleted the related
dirs/files in /tmp).
The package installation went perfect. The only additional thing that I
needed to do, was a "chmod" that didn't automatically get done (it seems
the setuid didn't get copied or stored in to the tgz.... a chmod 4711. I
think I could have edited the script in /package-apache/install/ to do this
for me.)
I was very pleased with this. In the past, I had removed the slack
package, and just compiled + installed apache using a standard
../configure;make;checkinstall method, but the downside being that it was
tricky to have ALL the files install in EXACTLY the same place the slack
package would put them in.
Now if I want to enable SMTP AUTH with sendmail, or tweak fetchmail, etc...
I can rebuild my own slack package.
I'm no slack expert (this is my first post in to a.o.l.s) and there may be
"better" ways to do the above, but I hope this info helps you anyway! :]
(Oh, to enable mod_perl on the apache configure/make, ... I assume you know
how to do that part

--
+ Message has been scanned for vir//
//
//
Hard drive format complete.
PRESS ANY KEY TO CONTINUE