Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
netbsdmtree [2012/08/23 18:17] – BrooksDavisnetbsdmtree [2012/09/20 15:20] (current) – BrooksDavis
Line 7: Line 7:
 The following features have been implemented in %%FreeBSD%%'s mtree.  They most likley need to be added to %%NetBSD%%'s mtree before it can be imported: The following features have been implemented in %%FreeBSD%%'s mtree.  They most likley need to be added to %%NetBSD%%'s mtree before it can be imported:
  
-^ Option or Field ^ Description ^ Notes ^ +^ Option or Field ^ Description ^ Notes ^ Status ^ 
-| ''%%-i%%'' | Indent the output 4 spaces each time a directory level is descended when creating a specification with the -c option. | Mostly useless and conflicts with the %%NetBSD%% option to "set the schg and/or sappnd flags." | +| ''%%-f spec1 -f spec2%%'' | Compare two spec files | http://svnweb.freebsd.org/base?view=revision&revision=122141 |  | 
-| ''%%-n%%'' | Don't emit name | +| ''%%-i%%'' | Indent the output 4 spaces each time a directory level is descended when creating a specification with the -c option. | Mostly useless and conflicts with the %%NetBSD%% option to "set the schg and/or sappnd flags." |  | 
-| ''%%-q%%'' | Quite mode | +| ''%%-n%%'' | Don't emit comments |  | In projects/mtree branch. r240748 | 
-| ''%%-w%%'' | Make some errors non-fatal warnings | +| ''%%-q%%'' | Quiet mode |  | In projects/mtree branch. r240749 | 
-| ''%%ripemd160digest%%'' | The RIPEMD160 message digest of the file | seems to be spelled rmd160(digest) | +| ''%%-w%%'' | Make some errors non-fatal warnings | %%NetBSD%%'s default behavior is like -w but without the warnings.  Make -w a no-op. | In projects/mtree branch. r240751 | 
-| ''%%nochange%%'' | Make sure this file or directory exists but otherwise ignore all attributes. |+| ''%%ripemd160digest%%'' | The RIPEMD160 message digest of the file | seems to be spelled rmd160(digest) | In projects/mtree branch. r240746 | 
 +| ''%%nochange%%'' | Make sure this file or directory exists but otherwise ignore all attributes. |  |  |
  
 ==== Missing FreeBSD library functions ==== ==== Missing FreeBSD library functions ====
  
-^ Funcation ^ Description ^ Notes ^ +^ Funcation ^ Description ^ Notes ^ Status ^ 
-| flags_to_string() | Trivial wrapper around fflagstostr() | In util.h in %%NetBSD%%.  Probably just add to libc/unistd.h | +| flags_to_string() | Trivial wrapper around fflagstostr() | In util.h in %%NetBSD%% vis libc in %%FreeBSD%%.  Probably just add a wrapper for mtree's internal use, but could add to libc and unistd.h. | Implemented wrapper functions in mtree source directory. | 
-| string_to_flags() | Identical to strtofflags() | same issues as flags_to_string | +| string_to_flags() | Identical to strtofflags() | same issues as flags_to_string | Implemented wrapper function in mtree source directory. | 
-| strsvis() | Allow encoding other character sets | probably just pull the vis.3 set from %%NetBSD%% | +| strsvis() | Allow encoding other character sets | probably just pull the vis.3 set from %%NetBSD%% | In projects/mtree branch.  Compat wrapper for unvis(). | 
-| pwcache_userdb() | allow alternative lookups for user_from_uid/uid_from_user | Grab the lot from %%NetBSD%% | +| pwcache_userdb() | allow alternative lookups for m/uid_from_user | Grab the lot from %%NetBSD%%. | In projects/mtree branch. | 
-| uid_from_user() | reverse of user_from_uid |  | +| uid_from_user() | reverse of user_from_uid |  | projects/mtree branch | 
-| pwcache_groupdb() | allow alternative lookups for group_from_gid/gid_from_user |  | +| pwcache_groupdb() | allow alternative lookups for group_from_gid/gid_from_user |  | projects/mtree branch | 
-| gid_from_group() | reverse of group_from_gid() |  |+| gid_from_group() | reverse of group_from_gid() |  | projects/mtree branch | 
 + 
 +==== Things to verify ==== 
 +  * pointyhat/tinderbox mtree use http://svnweb.freebsd.org/base/projects/portbuild/scripts/buildscript?revision=238911&view=markup 
 +  * Verify ripemd160digest, rmd160, and rmd160digest work as expected.
  
  • netbsdmtree.1345745842.txt.gz
  • Last modified: 2012/08/23 18:17
  • by BrooksDavis