pkgsrc-Bugs archive

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

pkg/25487: www/thttpd must not mmap on NetBSD 1.5



>Number:         25487
>Category:       pkg
>Synopsis:       www/thttpd must not mmap on NetBSD 1.5
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 07 09:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath
>Release:        NetBSD 1.5.4
>Organization:
-- 
           Hauke Fath                   /~\  The ASCII Ribbon Campaign
Institut für Nachrichtentechnik         \ /    No HTML/RTF in email
          TU Darmstadt                   X     No Word docs in email
      Ruf +49-6151-16-3281              / \  Respect for open standards
>Environment:
System: NetBSD la.causeuse.org 1.5.4_ALPHA NetBSD 1.5.4_ALPHA (LAMIN) #0: Fri 
Oct 17 14:42:24 PDT 2003     hauke@q700:/usr/src/sys/arch/mac68k/compile/LAMIN 
mac68k
Architecture: m68k
Machine: mac68k
>Description:

        The thttpd "configure" script uses mmap per default even on
        NetBSD systems without UBC (< 1.5L). If you are working on a
        set of web pages, you have to restart thttpd after each update
        to make it serve the new pages.

>How-To-Repeat:

        Install thttpd on a NetBSD 1.5 system, create web pages and
        wonder why you are served outdated pages.

>Fix:

        Insert into the Makefile the equivalent of

.include "../../mk/bsd.prefs.mk"

# UBC brought read and mmap in sync
.if ${OPSYS} == "NetBSD" && (${OS_VERSION:M1.[0-4]*} != "" || \
                ${OS_VERSION:M1.5} != "" || \
                ${OS_VERSION:M1.5[A-K]} != "")

## do not use mmap ##

.endif

and then find a working implementation of said switch (I didn't find a
simple way).
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index