This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Apache Module Packaging Issue


Stipe,

[I apologize for addressing you explicitly, but I don't know how closely
you monitor this list.]

The way that you have packaged the Apache modules (e.g., mod_auth_mysql)
confuses Cygwin's setup.exe and my new rebaseall utility.  Specifically,
you are installing DLLs as

    usr/lib/apache/new/foo.dll

and then "renaming" them

    usr/lib/apache/foo.dll

in a postinstall script.

The above causes the corresponding /etc/setup/foo.lst.gz files to not
accurately reflect the files being installed.  This prevents setup.exe
from being able to remove these files during the uninstall process.

Additionally, it confused my rebaseall script until I added the
following Apache module specific hack:

 # Create rebase list
+# FIXME: Remove ugly Apache hack ASAP
 zcat /etc/setup/*.lst.gz | grep 'dll$' |
-    sed -e '/cygwin1.dll$/d' -e 's/^/\//' >$TmpFile
+    sed -e '/cygwin1.dll$/d' -e 's/^/\//' -e 's/apache\/new/apache/' >$TmpFile

Can you run apxs on files in-place?  If not, then I suggest installing
the modules in /usr/lib/apache.  In your postinstall script, temporarily
rename them and then run apxs.

Regardless of how you fix this issue, I would appreciate you repackaging
the following:

    mod_auth_mysql
    mod_auth_ntsec
    mod_dav
    mod_php4
    mod_ssl

Thanks,
Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]