diff options
author | John N. Laliberte <allanonjl@gentoo.org> | 2005-04-29 12:49:36 +0000 |
---|---|---|
committer | John N. Laliberte <allanonjl@gentoo.org> | 2005-04-29 12:49:36 +0000 |
commit | 6387fb58c002424ec0734f3ec9d2e2dcb8e5cd2b (patch) | |
tree | 8903f801e44fec92261587633ac163760ff6e29b /app-admin/fam | |
parent | remove a crappy mirror serving html - grrrrrr. (diff) | |
download | gentoo-2-6387fb58c002424ec0734f3ec9d2e2dcb8e5cd2b.tar.gz gentoo-2-6387fb58c002424ec0734f3ec9d2e2dcb8e5cd2b.tar.bz2 gentoo-2-6387fb58c002424ec0734f3ec9d2e2dcb8e5cd2b.zip |
Patch fam to not send a delete event for files over 2GB. Resolves bug #76679
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-admin/fam')
-rw-r--r-- | app-admin/fam/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/fam/Manifest | 15 | ||||
-rw-r--r-- | app-admin/fam/fam-2.7.0-r3.ebuild | 83 | ||||
-rw-r--r-- | app-admin/fam/files/digest-fam-2.7.0-r3 | 1 | ||||
-rw-r--r-- | app-admin/fam/files/fam-2.7.0-largefiles.patch | 8 |
5 files changed, 103 insertions, 12 deletions
diff --git a/app-admin/fam/ChangeLog b/app-admin/fam/ChangeLog index ddde93dbc1bf..4432e71833a3 100644 --- a/app-admin/fam/ChangeLog +++ b/app-admin/fam/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-admin/fam # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.29 2005/03/24 06:39:39 hardave Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.30 2005/04/29 12:49:36 allanonjl Exp $ + +*fam-2.7.0-r3 (29 Apr 2005) + + 29 Apr 2005; John N. Laliberte <allanonjl@gentoo.org> + +files/fam-2.7.0-largefiles.patch, +fam-2.7.0-r3.ebuild: + Patch fam to not send a delete event for files over 2GB. Resolves bug #76679 23 Mar 2005; Hardave Riar <hardave@gentoo.org> fam-2.7.0-r2.ebuild: Stable on mips. diff --git a/app-admin/fam/Manifest b/app-admin/fam/Manifest index 4b977e358801..77d10a735ab1 100644 --- a/app-admin/fam/Manifest +++ b/app-admin/fam/Manifest @@ -1,20 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 a23feab85a6a00218b5804e3b2827f33 fam-2.7.0-r1.ebuild 2086 +MD5 79077af0c56a65b1216527a0b7641078 fam-2.7.0-r3.ebuild 2185 MD5 ab439f0d4820a5e6bf2e2567120aee21 fam-2.7.0-r2.ebuild 2103 -MD5 9eb68c393d737d07815721e75b2ba3be ChangeLog 7376 +MD5 85cb2454167d792296ec6aad5137d582 ChangeLog 7600 MD5 68a04e23ccfb7971cff8ce012aee659c metadata.xml 221 MD5 067a8c7dc9a851716d40256fe989928c fam-2.7.0.ebuild 1924 MD5 4c750113abbc289ee93c3aa378692f07 files/famd 490 MD5 a7434bbb78ba9e735212e8b1e5bb0a0f files/digest-fam-2.7.0 61 MD5 a7434bbb78ba9e735212e8b1e5bb0a0f files/digest-fam-2.7.0-r1 61 MD5 a7434bbb78ba9e735212e8b1e5bb0a0f files/digest-fam-2.7.0-r2 61 +MD5 a7434bbb78ba9e735212e8b1e5bb0a0f files/digest-fam-2.7.0-r3 61 MD5 46e90fb6975cfcaa7f5946ab36aa2023 files/fam-2.7.0-dnotify.patch 26419 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD8DBQFCQmA2M+I1L6GK/u4RAqjlAJ4y1QbZAIniC4Ok+2T0FlKx+odxPgCfRtrb -mELWcyM0fu97PKgX3egiRnQ= -=hRmC ------END PGP SIGNATURE----- +MD5 47b41e0b0498793af004696a096d7da1 files/fam-2.7.0-largefiles.patch 326 diff --git a/app-admin/fam/fam-2.7.0-r3.ebuild b/app-admin/fam/fam-2.7.0-r3.ebuild new file mode 100644 index 000000000000..50f3119b35ab --- /dev/null +++ b/app-admin/fam/fam-2.7.0-r3.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/fam-2.7.0-r3.ebuild,v 1.1 2005/04/29 12:49:36 allanonjl Exp $ + +inherit libtool eutils gnuconfig + +DESCRIPTION="FAM, the File Alteration Monitor" +HOMEPAGE="http://oss.sgi.com/projects/fam/" +SRC_URI="ftp://oss.sgi.com/projects/fam/download/stable/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +DEPEND=">=net-nds/portmap-5b-r6 + !app-admin/gamin" +PROVIDE="virtual/fam" + +src_unpack() { + unpack ${A} + + cd ${S} + + # large file patch #76679 + epatch ${FILESDIR}/${P}-largefiles.patch + + # dnotify patch #43027 + epatch ${FILESDIR}/${P}-dnotify.patch + + # Fix permission problems with user* in FEATURES (#35307) + chmod u+w ${S}/configure + + # Please do not remove this again - fixes $S and $D in libtool linker + # scripts (.la files) + cd ${S}; elibtoolize + + gnuconfig_update + libtoolize --copy --force +} + +src_install() { + + make install DESTDIR="${D}" || die + + dosed "s:local_only = false:local_only = true:g" /etc/fam.conf + + exeinto /etc/init.d + doexe ${FILESDIR}/famd + + dodoc AUTHORS ChangeLog INSTALL NEWS TODO README + +} + +pkg_postinst() { + + einfo "To enable fam on boot you will have to add it to the" + einfo "default profile, issue the following command as root to do so." + echo + einfo "rc-update add famd default" + + # temporary warning for people upgrading + # 6-12-03 foser <foser@gentoo.org> + if [ -e /etc/init.d/fam ] + then + echo + echo + ewarn "IMPORTANT INFO FOR USERS UPGRADING FROM OLDER (<2.7.0) FAM VERSIONS :" + echo + einfo "With the 2.7.0 version the fam daemon moved to sbin and was" + einfo "renamed from 'fam' to 'famd'. These changes are for consistency" + einfo "reasons also applied to the Gentoo init script. This means you" + einfo "will have to remove fam from the default runlevel and add famd." + einfo "This can be done by issueing the following commands :" + echo + einfo "rc-update del fam" + einfo "rc-update add famd default" + einfo "rm /etc/init.d/fam" + echo + einfo "The last command removes the old init script." + fi + +} diff --git a/app-admin/fam/files/digest-fam-2.7.0-r3 b/app-admin/fam/files/digest-fam-2.7.0-r3 new file mode 100644 index 000000000000..107b73637116 --- /dev/null +++ b/app-admin/fam/files/digest-fam-2.7.0-r3 @@ -0,0 +1 @@ +MD5 1bf3ae6c0c58d3201afc97c6a4834e39 fam-2.7.0.tar.gz 301974 diff --git a/app-admin/fam/files/fam-2.7.0-largefiles.patch b/app-admin/fam/files/fam-2.7.0-largefiles.patch new file mode 100644 index 000000000000..60de9a49465b --- /dev/null +++ b/app-admin/fam/files/fam-2.7.0-largefiles.patch @@ -0,0 +1,8 @@ +--- fam-2.7.0/common.am 2003-01-19 06:09:08.000000000 -0600 ++++ fam-2.7.0.largefile/common.am 2005-01-12 19:08:06.462113110 -0600 +@@ -1,2 +1,5 @@ +-INCLUDES = @FAM_INC@ -DFAM_CONF=\"@FAM_CONF@\" ++INCLUDES = @FAM_INC@ -DFAM_CONF=\"@FAM_CONF@\" \ ++ -D_FILE_OFFSET_BITS=64 \ ++ -D_LARGEFILE64_SOURCE ++ |