FreeBSD Bugzilla – Attachment 73039 Details for
Bug 105993
[NEW PORT] sysutils/cramfs: The compressed ROM filesystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
cramfs-1.1.shar
cramfs-1.1.shar (text/plain), 3.35 KB, created by
gslin
on 2006-11-29 08:30:12 UTC
(
hide
)
Description:
cramfs-1.1.shar
Filename:
MIME Type:
Creator:
gslin
Created:
2006-11-29 08:30:12 UTC
Size:
3.35 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># cramfs ># cramfs/pkg-descr ># cramfs/Makefile ># cramfs/distinfo ># cramfs/files ># cramfs/files/patch-mkcramfs.c ># cramfs/files/patch-cramfsck.c ># cramfs/files/patch-GNUmakefile ># >echo c - cramfs >mkdir -p cramfs > /dev/null 2>&1 >echo x - cramfs/pkg-descr >sed 's/^X//' >cramfs/pkg-descr << 'END-of-cramfs/pkg-descr' >XCramfs is a Linux filesystem designed to be simple, small, and to >Xcompress things well. It is used on a number of embedded systems and >Xsmall devices. >X >XWWW: http://sourceforge.net/projects/cramfs/ >END-of-cramfs/pkg-descr >echo x - cramfs/Makefile >sed 's/^X//' >cramfs/Makefile << 'END-of-cramfs/Makefile' >X# New ports collection makefile for: cramfs >X# Date created: 2006-11-29 >X# Whom: Gea-Suan Lin <gslin@gslin.org> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= cramfs >XPORTVERSION= 1.1 >XCATEGORIES= sysutils >XMASTER_SITES= SOURCEFORGE >XMASTER_SITE_SUBDIR= cramfs >X >XMAINTAINER= gslin@gslin.org >XCOMMENT= The compressed ROM filesystem >X >XMAKEFILE= GNUmakefile >XUSE_GMAKE= yes >X >XPLIST_FILES= sbin/cramfsck sbin/mkcramfs >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/cramfsck ${PREFIX}/sbin >X ${INSTALL_PROGRAM} ${WRKSRC}/mkcramfs ${PREFIX}/sbin >X >X.include <bsd.port.mk> >END-of-cramfs/Makefile >echo x - cramfs/distinfo >sed 's/^X//' >cramfs/distinfo << 'END-of-cramfs/distinfo' >XMD5 (cramfs-1.1.tar.gz) = d3912b9f7bf745fbfea68f6a9b9de30f >XSHA256 (cramfs-1.1.tar.gz) = 133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368 >XSIZE (cramfs-1.1.tar.gz) = 24179 >END-of-cramfs/distinfo >echo c - cramfs/files >mkdir -p cramfs/files > /dev/null 2>&1 >echo x - cramfs/files/patch-mkcramfs.c >sed 's/^X//' >cramfs/files/patch-mkcramfs.c << 'END-of-cramfs/files/patch-mkcramfs.c' >X--- mkcramfs.c.orig Wed Nov 29 12:47:30 2006 >X+++ mkcramfs.c Wed Nov 29 12:49:25 2006 >X@@ -36,6 +36,9 @@ >X #include <linux/cramfs_fs.h> >X #include <zlib.h> >X >X+#define MAP_ANONYMOUS 0x20 >X+typedef long long loff_t; >X+ >X /* Exit codes used by mkfs-type programs */ >X #define MKFS_OK 0 /* No errors */ >X #define MKFS_ERROR 8 /* Operational error */ >END-of-cramfs/files/patch-mkcramfs.c >echo x - cramfs/files/patch-cramfsck.c >sed 's/^X//' >cramfs/files/patch-cramfsck.c << 'END-of-cramfs/files/patch-cramfsck.c' >X--- cramfsck.c.orig Wed Nov 29 12:49:40 2006 >X+++ cramfsck.c Wed Nov 29 12:51:12 2006 >X@@ -47,13 +47,14 @@ >X #include <stdlib.h> >X #include <errno.h> >X #include <string.h> >X-#include <sys/sysmacros.h> >X #include <utime.h> >X #include <sys/ioctl.h> >X #define _LINUX_STRING_H_ >X-#include <linux/fs.h> >X #include <linux/cramfs_fs.h> >X #include <zlib.h> >X+ >X+#define BLKGETSIZE _IO(0x12,96) >X+#define MAP_ANONYMOUS 0x20 >X >X /* Exit codes used by fsck-type programs */ >X #define FSCK_OK 0 /* No errors */ >END-of-cramfs/files/patch-cramfsck.c >echo x - cramfs/files/patch-GNUmakefile >sed 's/^X//' >cramfs/files/patch-GNUmakefile << 'END-of-cramfs/files/patch-GNUmakefile' >X--- GNUmakefile.orig Wed Nov 29 12:51:59 2006 >X+++ GNUmakefile Wed Nov 29 12:52:06 2006 >X@@ -1,5 +1,5 @@ >X-CC = gcc >X-CFLAGS = -W -Wall -O2 -g >X+CC ?= gcc >X+CFLAGS ?= -W -Wall -O2 -g >X CPPFLAGS = -I. >X LDLIBS = -lz >X PROGS = mkcramfs cramfsck >END-of-cramfs/files/patch-GNUmakefile >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 105993
: 73039