You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Eric Kilfoil <er...@ypass.net> on 2000/10/12 20:02:09 UTC
build/6663: file timestamps are not set at install time
>Number: 6663
>Category: build
>Synopsis: file timestamps are not set at install time
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Thu Oct 12 11:10:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: eric@ypass.net
>Release: 1.3.12
>Organization:
apache
>Environment:
SunOS lists 5.8 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine (but this problem is most likely noticable on all Unix platforms.
>Description:
When installing, make install does not set the timestamps of the files in the htdocs or icons directories, which causes these directories not to show up in a "find . -newer" search. This makes it a pain for packaging apache in certain configurations. It's only really a problem if you don't use the standard apache locations.
>How-To-Repeat:
make apache
touch /apache.newer
make install
find / -newer /apache.server
>Fix:
This should do the trick:
@echo "Copying tree $(TOP)/icons/ -> $(root)$(iconsdir)/"; \
+ find $(TOP)/icons/ -exec touch {} \;
(cd $(TOP)/icons/ && $(TAR) $(TAROPT) - *) |\
(cd $(root)$(iconsdir)/ && $(TAR) -xf -); \
find $(root)$(iconsdir)/ -type d -exec chmod a+rx {} \; ;\
find $(root)$(iconsdir)/ -type f -exec chmod a+r {} \;
@echo "<=== [data]"
you'll need to make a similar change for htdocs as well.
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]