pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lighttpd: extattr support
Hello,
Yesterday, I discovered that lighttpd on linux/XFS can
look up a file's content type in the file's "Content-Type"
extended attribute. Since that looked like a nice feature
I decided to port the feature to the sys/extattr.h API.
I have a FreeBSD server and my patch works on FreeBSD and
was in fact already accepted upstream.
Since NetBSD shares the API with FreeBSD, it would be nice
if someone here could verify that it works on NetBSD as well
although I have very little reason to doubt it.
See
http://redmine.lighttpd.net/projects/lighttpd/repository/revisions/2966/diff/
for the patch. You need to apply it to the lighttpd sources
and run the configure script with the "--with-attr" option.
As far as I can tell, "--with-attr" simply does nothing on
platforms which don't support it, that means including
support for it in pkgsrc should be fairly straight forward.
Best regards,
Moritz
Home |
Main Index |
Thread Index |
Old Index