diff options
author | Alastair Tse <liquidx@gentoo.org> | 2003-05-17 18:39:42 +0000 |
---|---|---|
committer | Alastair Tse <liquidx@gentoo.org> | 2003-05-17 18:39:42 +0000 |
commit | 0cdb216a0dc3642e714783ce728385cd6430144a (patch) | |
tree | e88840c8479310f38ea3a1bb8884d493e4f7bce4 | |
parent | add largefile support (diff) | |
download | gentoo-2-0cdb216a0dc3642e714783ce728385cd6430144a.tar.gz gentoo-2-0cdb216a0dc3642e714783ce728385cd6430144a.tar.bz2 gentoo-2-0cdb216a0dc3642e714783ce728385cd6430144a.zip |
add largefile support
-rw-r--r-- | app-admin/fam-oss/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/fam-oss/Manifest | 4 | ||||
-rw-r--r-- | app-admin/fam-oss/fam-oss-2.6.9-r3.ebuild | 58 | ||||
-rw-r--r-- | app-admin/fam-oss/files/digest-fam-oss-2.6.9-r3 | 1 | ||||
-rw-r--r-- | app-admin/fam-oss/files/fam-oss-2.6.9-largefile.patch | 13 |
5 files changed, 81 insertions, 3 deletions
diff --git a/app-admin/fam-oss/ChangeLog b/app-admin/fam-oss/ChangeLog index 95bb131f8a55..f754120c6679 100644 --- a/app-admin/fam-oss/ChangeLog +++ b/app-admin/fam-oss/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/fam-oss # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/ChangeLog,v 1.21 2003/04/09 10:54:02 todd Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/ChangeLog,v 1.22 2003/05/17 18:39:34 liquidx Exp $ + +*fam-oss-2.6.9-r3 (17 May 2003) + + 17 May 2003; Alastair Tse <liquidx@gentoo.org> fam-oss-2.6.9-r3.ebuild, + files/fam-oss-2.6.9-largefile.patch: + enabled largefile support (>2G) thanks to Erik Swanson (#20745) *fam-oss-2.6.9-r2 (22 Feb 2003) diff --git a/app-admin/fam-oss/Manifest b/app-admin/fam-oss/Manifest index f09a7845045f..e9b0eff88518 100644 --- a/app-admin/fam-oss/Manifest +++ b/app-admin/fam-oss/Manifest @@ -1,8 +1,8 @@ -MD5 d5a20fbc42c560c1589d6a8c6ff8fd20 ChangeLog 3007 +MD5 6846e4da9cddbbc6f39c5c13b6bec866 ChangeLog 3223 MD5 59354444afc34991d23bedf7013a6166 fam-oss-2.6.9-r1.ebuild 1305 MD5 40981d28d4e6491863cd7b34110024bf fam-oss-2.6.9.ebuild 1199 MD5 621c06ad0f7ce9f160b6d4ce81e7646f fam-oss-2.6.9-r2.ebuild 1448 -MD5 464f2db75e856037df41c51b27411519 fam-oss-2.6.9-r3.ebuild 1489 +MD5 5c3d5425643411b751c3f039f0aa678d fam-oss-2.6.9-r3.ebuild 1489 MD5 0bf8d935c21bfe80427c982dc3d41357 files/digest-fam-oss-2.6.9 118 MD5 0bf8d935c21bfe80427c982dc3d41357 files/digest-fam-oss-2.6.9-r1 118 MD5 3f8fee0b9f3239d2c92623af9a2c4844 files/dnotify.patch 28983 diff --git a/app-admin/fam-oss/fam-oss-2.6.9-r3.ebuild b/app-admin/fam-oss/fam-oss-2.6.9-r3.ebuild new file mode 100644 index 000000000000..9c184be95334 --- /dev/null +++ b/app-admin/fam-oss/fam-oss-2.6.9-r3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam-oss/fam-oss-2.6.9-r3.ebuild,v 1.1 2003/05/17 18:39:34 liquidx Exp $ + +inherit libtool eutils + +MY_P="${P/-oss/}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="FAM, the File Alteration Monitor" +SRC_URI="ftp://oss.sgi.com/projects/fam/download/${MY_P}.tar.gz" +HOMEPAGE="http://oss.sgi.com/projects/fam/" + +KEYWORDS="~x86 ~ppc ~alpha ~sparc" +SLOT="0" +LICENSE="GPL-2 LGPL-2.1" + +DEPEND=">=dev-lang/perl-5.6.1" +RDEPEND=">=net-nds/portmap-5b-r6" + +src_unpack() { + unpack ${MY_P}.tar.gz + + cd ${S} + epatch ${FILESDIR}/dnotify.patch.new + epatch ${FILESDIR}/fam-2.6.7-cleanup.patch + epatch ${FILESDIR}/${P}-gcc3.patch + epatch ${FILESDIR}/${P}-largefile.patch + +# Now in dnotify patch. + # should fix the sigqueue overflow problems +# cd ${S}/fam +# mv Makefile.am Makefile.am.old +# sed -e "s:fam_LDADD =:fam_LDADD = -lrt -lpthread:" Makefile.am.old > Makefile.am + + elibtoolize + + # This one is old, and automake will install new one + rm -rf ${S}/missing + + export WANT_AUTOCONF_2_5=1 + export WANT_AUTOMAKE_1_5=1 + aclocal + autoconf +# autoheader + automake --add-missing +} + +src_install() { + cp fam/fam.conf fam/fam.conf.old + sed s:"local_only = false":"local_only = true":g fam/fam.conf.old >fam/fam.conf + + make DESTDIR=${D} install || die + + exeinto /etc/init.d + doexe ${FILESDIR}/fam + + dodoc AUTHORS COPYING ChangeLog INSTALL NEWS TODO README* +} diff --git a/app-admin/fam-oss/files/digest-fam-oss-2.6.9-r3 b/app-admin/fam-oss/files/digest-fam-oss-2.6.9-r3 new file mode 100644 index 000000000000..617fec36820d --- /dev/null +++ b/app-admin/fam-oss/files/digest-fam-oss-2.6.9-r3 @@ -0,0 +1 @@ +MD5 8b647472152940b9789e649fa2734443 fam-2.6.9.tar.gz 282627 diff --git a/app-admin/fam-oss/files/fam-oss-2.6.9-largefile.patch b/app-admin/fam-oss/files/fam-oss-2.6.9-largefile.patch new file mode 100644 index 000000000000..d3312a0879af --- /dev/null +++ b/app-admin/fam-oss/files/fam-oss-2.6.9-largefile.patch @@ -0,0 +1,13 @@ +--- fam-2.6.9/common.am Tue Jul 16 01:23:24 2002 ++++ fam-2.6.9-largefile/common.am Mon Oct 28 16:21:55 2002 +@@ -4,7 +4,9 @@ + AUTOMAKE_OPTIONS=no-dependencies + + # why couldn't CONFIG_ETC_CONFIG_PATH be defined in config.h??? +-INCLUDES = @FAMPROTOINC@ -DCONFIG_ETC_CONFIG_PATH=\"@FAM_CONF@\" ++INCLUDES = @FAMPROTOINC@ -DCONFIG_ETC_CONFIG_PATH=\"@FAM_CONF@\" \ ++ -D_FILE_OFFSET_BITS=64 \ ++ -D_LARGEFILE64_SOURCE + + # should this be set by the configure script? + EDITCONF = perl $(top_srcdir)/util/editconf/editconf.perl |