Read-only ReiserFS support for FreeBSD 5.x
Xin LI
delphij at frontfree.net
Tue Oct 19 12:05:20 PDT 2004
Here is a preliminary port, see attachment.
It seems that the code itself is not -O2 clean. I will look at the issue
in the morning.
Cheers,
--
Xin LI <delphij frontfree net> http://www.delphij.net/
See complete headers for GPG key and other information.
-------------- next part --------------
# 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:
#
# reiserfs3/
# reiserfs3/files
# reiserfs3/files/patch-mount_reiserfs::Makefile
# reiserfs3/pkg-plist
# reiserfs3/distinfo
# reiserfs3/Makefile
# reiserfs3/pkg-descr
#
echo c - reiserfs3/
mkdir -p reiserfs3/ > /dev/null 2>&1
echo c - reiserfs3/files
mkdir -p reiserfs3/files > /dev/null 2>&1
echo x - reiserfs3/files/patch-mount_reiserfs::Makefile
sed 's/^X//' >reiserfs3/files/patch-mount_reiserfs::Makefile << 'END-of-reiserfs3/files/patch-mount_reiserfs::Makefile'
X--- mount_reiserfs/Makefile.orig Wed Oct 20 02:51:26 2004
X+++ mount_reiserfs/Makefile Wed Oct 20 02:51:43 2004
X@@ -8,6 +8,7 @@
X
X MOUNT ?= /usr/src/sbin/mount
X CFLAGS += -I${MOUNT}
X+DESTDIR?= ${PREFIX}/
X
X .PATH: ${MOUNT}
X
END-of-reiserfs3/files/patch-mount_reiserfs::Makefile
echo x - reiserfs3/pkg-plist
sed 's/^X//' >reiserfs3/pkg-plist << 'END-of-reiserfs3/pkg-plist'
Xmodules/linker.hints
Xmodules/reiserfs.ko
X at dirrm modules
Xsbin/mount_reiserfs
X
END-of-reiserfs3/pkg-plist
echo x - reiserfs3/distinfo
sed 's/^X//' >reiserfs3/distinfo << 'END-of-reiserfs3/distinfo'
XMD5 (reiserfs_for_freebsd-0.1.1.tar.bz2) = dcb6d38b9f00d36ead58812299744ee7
XSIZE (reiserfs_for_freebsd-0.1.1.tar.bz2) = 46561
END-of-reiserfs3/distinfo
echo x - reiserfs3/Makefile
sed 's/^X//' >reiserfs3/Makefile << 'END-of-reiserfs3/Makefile'
X# New ports collection makefile for: reiserfs3
X# Date created: 20 Oct 2004
X# Whom: Xin LI <delphij at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= reiserfs3
XPORTVERSION= 0.1.1
XCATEGORIES= misc
XMASTER_SITES= http://dumbbell.nerim.net/files/
XDISTNAME= reiserfs_for_freebsd-${PORTVERSION}
X
XMAINTAINER= delphij at FreeBSD.org
XCOMMENT= Read-only ReiserFS 3.6 as kldmodule
X
XKMODDIR?= ${PREFIX}/modules
XMAKE_ARGS= KMODDIR="${KMODDIR}" MANDIR="${PREFIX}/man/man"
XUSE_BZIP2= yes
X
XSRC_BASE?= /usr/src
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 502010
XIGNORE= "Only for 5.2.1 and above"
X.endif
X
X.if !exists(${SRC_BASE}/sys/Makefile)
XIGNORE= "Kernel source files required"
X.endif
X
Xpre-su-install:
X ${MKDIR} ${KMODDIR}
X
Xpost-install:
X @${ECHO} ==============================================
X @${ECHO} Please manually link ${PREFIX}/sbin/mount_reiserfs to /sbin to
X @${ECHO} get mount\(1\) work with -t reiserfs.
X @${ECHO} ==============================================
X
X.include <bsd.port.post.mk>
END-of-reiserfs3/Makefile
echo x - reiserfs3/pkg-descr
sed 's/^X//' >reiserfs3/pkg-descr << 'END-of-reiserfs3/pkg-descr'
XRead-only ReiserFS 3.6 support for FreeBSD
X
XReiserFS is a journalised filesystem, made by Hans Reiser (namesys.com).
XIt's available for Linux since the 2.4.x series.
X
XThis port provides Read-only ReiserFS support for FreeBSD.
X
XInformation about ReiserFS port on FreeBSD can be found at the website of
Xthe original porter:
X
XWWW: http://dumbbell.nerim.net/index2.html
X
XDetailed information about ReiserFS can be found at the website
XWWW: http://www.namesys.com/
END-of-reiserfs3/pkg-descr
exit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041020/48022317/attachment.bin
More information about the freebsd-current
mailing list