Bug 116292

Summary: sysutils/cramfs patches for mkcramfs/cramfsck
Product: Ports & Packages Reporter: Christopher Hall <freebsd>
Component: Individual Port(s)Assignee: Stefan Walter <stefan>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Christopher Hall 2007-09-12 01:00:04 UTC
1. mkcramfs always fails with invalid fd on the first mmap call
   caused by MAP_ANONYMOUS being defined as a number
   when MAP_ANON should be used

2. cramfsck -x fails when trying to extract an image containing a FIFO
   caused by mknod being unable to create a FIFO
   mkfifo should be used

How-To-Repeat: 1. mkcramfs dir image-file
2. cramfsck -x new-dir file.image
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-09-12 01:00:10 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 gslin 2007-09-14 09:28:16 UTC
Thanks, please commit this.

And BUMP PORTREVISION since package changed.

On Wed, Sep 12, 2007 at 12:00:07AM +0000, Edwin Groothuis wrote:
> Maintainer of sysutils/cramfs,
> 
> Please note that PR ports/116292 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/116292
> 
> -- 
> Edwin Groothuis
> edwin@FreeBSD.org

-- 
* Gea-Suan Lin  (public key: Using https://keyserver.pgp.com/ to search)
* If you cannot convince them, confuse them.           -- Harry S Truman
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2007-09-24 18:13:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2007-09-24 18:18:10 UTC
State Changed
From-To: feedback->closed

Committed, thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-09-24 18:18:11 UTC
stefan      2007-09-24 17:18:06 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/cramfs      Makefile 
    sysutils/cramfs/files patch-cramfsck.c patch-mkcramfs.c 
  Log:
  - Fix failing mmap calls in mkcramfs by correctly defining a constant.
  - Call mkfifo instead of mknod for creating FIFOs to fix cramfsck.
  
  PR:             116292
  Submitted by:   Christopher Hall <freebsd@generalresources.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.2       +1 -0      ports/sysutils/cramfs/Makefile
  1.2       +20 -0     ports/sysutils/cramfs/files/patch-cramfsck.c
  1.2       +1 -1      ports/sysutils/cramfs/files/patch-mkcramfs.c
_______________________________________________
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"