Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 03:04:58 +0800
From:      Xin LI <delphij@frontfree.net>
To:        Jean-S?bastien P?dron <jspedron@club-internet.fr>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Read-only ReiserFS support for FreeBSD 5.x
Message-ID:  <20041019190458.GA1376@frontfree.net>
In-Reply-To: <20041019182545.GA143@frontfree.net>
References:  <417538B9.7070001@club-internet.fr> <20041019182545.GA143@frontfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--MfFXiAuoTsnnDAfZ
Content-Type: multipart/mixed; boundary="W/nzBZO5zC0uMSeA"
Content-Disposition: inline


--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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,
--=20
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.


--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=reiserfs-port
Content-Transfer-Encoding: quoted-printable

# 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-rei=
serfs3/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=20
X MOUNT  ?=3D /usr/src/sbin/mount
X CFLAGS +=3D -I${MOUNT}
X+DESTDIR?=3D ${PREFIX}/
X=20
X .PATH: ${MOUNT}
X=20
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@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) =3D dcb6d38b9f00d36ead58812299744=
ee7
XSIZE (reiserfs_for_freebsd-0.1.1.tar.bz2) =3D 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@FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=3D	reiserfs3
XPORTVERSION=3D	0.1.1
XCATEGORIES=3D	misc
XMASTER_SITES=3D	http://dumbbell.nerim.net/files/
XDISTNAME=3D	reiserfs_for_freebsd-${PORTVERSION}
X
XMAINTAINER=3D	delphij@FreeBSD.org
XCOMMENT=3D	Read-only ReiserFS 3.6 as kldmodule
X
XKMODDIR?=3D	${PREFIX}/modules
XMAKE_ARGS=3D	KMODDIR=3D"${KMODDIR}" MANDIR=3D"${PREFIX}/man/man"
XUSE_BZIP2=3D	yes
X
XSRC_BASE?=3D	/usr/src
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 502010
XIGNORE=3D		"Only for 5.2.1 and above"
X.endif
X
X.if !exists(${SRC_BASE}/sys/Makefile)
XIGNORE=3D		"Kernel source files required"
X.endif
X
Xpre-su-install:
X	${MKDIR} ${KMODDIR}
X
Xpost-install:
X	@${ECHO} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
X	@${ECHO} Please manually link ${PREFIX}/sbin/mount_reiserfs to /sbin to
X	@${ECHO} get mount\(1\) work with -t reiserfs.
X	@${ECHO} =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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


--W/nzBZO5zC0uMSeA--

--MfFXiAuoTsnnDAfZ
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBdWVa/cVsHxFZiIoRAgiKAKCMR+XaVzoaqLjGLY/4YqbZ/hBw+ACfSuIK
utIAgcN1qhyUBBrq3ULkJWY=
=uHT9
-----END PGP SIGNATURE-----

--MfFXiAuoTsnnDAfZ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041019190458.GA1376>