Bug 149645 - [patch] devel/gnulib: don't preserve owner/group, install `top' directory
Summary: [patch] devel/gnulib: don't preserve owner/group, install `top' directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Johan van Selst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 15:00 UTC by swell.k
Modified: 2010-08-14 16:50 UTC (History)
0 users

See Also:


Attachments
a.diff (746 bytes, patch)
2010-08-14 15:00 UTC, swell.k
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description swell.k 2010-08-14 15:00:13 UTC
`cp -p' preserves owner/group when the port built by a regular user and
installed by root via SU_CMD.

How-To-Repeat: $ find $(make -V DATADIR) -ls | fgrep -v root
198583       61 drwxr-xr-x   13 holo             holo                  954 Jul  4 06:04 /usr/pkg/share/gnulib/lib
199953        2 -rw-r--r--    1 holo             holo                   27 Jul  4 06:04 /usr/pkg/share/gnulib/lib/posixver.h
199900       12 -rw-r--r--    1 holo             holo                 9805 Jul  4 06:04 /usr/pkg/share/gnulib/lib/gettext.h
200242        4 -rw-r--r--    1 holo             holo                 1709 Jul  4 06:04 /usr/pkg/share/gnulib/lib/dummy.c
199904       27 -rw-r--r--    1 holo             holo                36634 Jul  4 06:04 /usr/pkg/share/gnulib/lib/gl_list.h
199483        4 -rw-r--r--    1 holo             holo                 2035 Jul  4 06:04 /usr/pkg/share/gnulib/lib/gl_linked_list.c
199956        2 -rw-r--r--    1 holo             holo                  212 Jul  4 06:04 /usr/pkg/share/gnulib/lib/userspec.h
199486        5 -rw-r--r--    1 holo             holo                 2865 Jul  4 06:04 /usr/pkg/share/gnulib/lib/gc-pbkdf2-sha1.c
199926       47 -rw-r--r--    1 holo             holo                38056 Jul  4 06:04 /usr/pkg/share/gnulib/lib/hash.c
...

$ gnulib-tool --update (on this repo - http://github.com/wrp/wscreen/tree/wrp )
Module list with included dependencies (indented):
    alignof
    alloca
    alloca-opt
...
File list:
  build-aux/arg-nonnull.h
  build-aux/c++defs.h
...
Creating directory ./lib
Creating directory ./build-aux
/usr/pkg/bin/gnulib-tool: *** file /usr/pkg/share/gnulib/top/GNUmakefile not found
/usr/pkg/bin/gnulib-tool: *** Stop.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-08-14 15:00:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->johans

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-08-14 16:46:56 UTC
johans      2010-08-14 15:46:47 UTC

  FreeBSD ports repository

  Modified files:
    devel/gnulib         Makefile 
  Log:
  - Don't preserve owner/group of installed files
    (useful when the port is built by a regular user and installed via SU_CMD)
  - Install `top' directory
  
  PR:             ports/149645
  Submitted by:   Anonymous <swell.k@gmail.com>
  
  Revision  Changes    Path
  1.7       +2 -2      ports/devel/gnulib/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Johan van Selst freebsd_committer freebsd_triage 2010-08-14 16:46:58 UTC
State Changed
From-To: open->closed

Committed, thanks.