Subject: pkg/20489: www/tidy doesn't preserve file times when requested
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs+pr@grep.ru>
List: netbsd-bugs
Date: 02/25/2003 19:34:21
>Number:         20489
>Category:       pkg
>Synopsis:       www/tidy doesn't preserve file times when requested
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 25 08:36:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6L
>Organization:
>Environment:
>Description:
Tidy's manual says:

   keep-time: bool
          If  set  to  yes,  Tidy  won't alter the last modified time for
          files it writes back to. The default is yes. This allows you to
          tidy files without effecting which ones will be uploaded to the
          Web server when using a tool such as 'SiteCopy'. Note that this
          feature may not work on some platforms.

This feature is disabled for unknown reason.
	
>How-To-Repeat:
	
>Fix:
Index: www/tidy/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/tidy/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- www/tidy/Makefile	2002/11/22 16:37:05	1.8
+++ www/tidy/Makefile	2003/02/25 16:07:37
@@ -16,7 +16,7 @@
 
 WRKSRC=		${WRKDIR}/tidy
 ALL_TARGET=	tidy
-CFLAGS+=	-DPRESERVE_FILE_TIMES=0
+CFLAGS+=	-DPRESERVE_FILE_TIMES=1
 
 DOCFILES=	htmldoc/Overview.html htmldoc/tidy.gif \
 		htmldoc/release-notes.html htmldoc/grid.gif
>Release-Note:
>Audit-Trail:
>Unformatted: