summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-21 17:40:38 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-21 17:40:38 +0000
commitd411b9c84b33af966881c1f72f70ae0436103554 (patch)
treeb5a2b4cd6c37c4ba1879355facbd3964e38c7d4f /app-admin
parentversion bump (diff)
downloadgentoo-2-d411b9c84b33af966881c1f72f70ae0436103554.tar.gz
gentoo-2-d411b9c84b33af966881c1f72f70ae0436103554.tar.bz2
gentoo-2-d411b9c84b33af966881c1f72f70ae0436103554.zip
Use Debian patch set. Use sed instead of dosed, emake instead of make. Make static-libs optional. Remove extra spaces. Remove upgrade warning after ~7 years. Remove rc-update advice.
(Portage version: 2.2_rc98/cvs/Linux i686)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/fam/ChangeLog10
-rw-r--r--app-admin/fam/fam-2.7.0-r4.ebuild85
-rw-r--r--app-admin/fam/fam-2.7.0-r6.ebuild46
3 files changed, 55 insertions, 86 deletions
diff --git a/app-admin/fam/ChangeLog b/app-admin/fam/ChangeLog
index 0fffd608777a..17e8fa47c076 100644
--- a/app-admin/fam/ChangeLog
+++ b/app-admin/fam/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/fam
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.63 2010/02/13 16:29:57 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/fam/ChangeLog,v 1.64 2010/10/21 17:40:38 jer Exp $
+
+*fam-2.7.0-r6 (21 Oct 2010)
+
+ 21 Oct 2010; Jeroen Roovers <jer@gentoo.org> -fam-2.7.0-r4.ebuild,
+ +fam-2.7.0-r6.ebuild:
+ Use Debian patch set. Use sed instead of dosed, emake instead of make.
+ Make static-libs optional. Remove extra spaces. Remove upgrade warning
+ after ~7 years. Remove rc-update advice.
13 Feb 2010; Raúl Porcel <armin76@gentoo.org> fam-2.7.0-r5.ebuild:
alpha/arm/ia64/s390/sh/sparc stable wrt #302499
diff --git a/app-admin/fam/fam-2.7.0-r4.ebuild b/app-admin/fam/fam-2.7.0-r4.ebuild
deleted file mode 100644
index 1ec667141477..000000000000
--- a/app-admin/fam/fam-2.7.0-r4.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2009 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-r4.ebuild,v 1.23 2009/06/07 15:54:05 jer Exp $
-
-inherit libtool eutils autotools
-
-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
- mirror://gentoo/fam-2.7.0-dnotify.patch.bz2"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
-IUSE=""
-
-DEPEND="|| ( net-nds/rpcbind >=net-nds/portmap-5b-r6 )
- !app-admin/gamin"
-RDEPEND="${DEPEND}"
-PROVIDE="virtual/fam"
-
-src_unpack() {
- unpack ${A}
-
- cd "${S}"
-
- # large file patch #76679
- epatch "${FILESDIR}/${P}-largefiles.patch"
-
- # dnotify patch #43027
- echo $WORKDIR
- epatch "${WORKDIR}/${P}-dnotify.patch"
-
- # Use limits correctly -#89478
- epatch "${FILESDIR}/${P}-limits.patch"
-
- # Fix gcc 4.1 problems
- epatch "${FILESDIR}/${P}-gcc41.patch"
-
- epatch "${FILESDIR}/${P}-gcc43.patch"
-
- eautoreconf
-}
-
-src_install() {
-
- make install DESTDIR="${D}" || die
-
- dosed "s:local_only = false:local_only = true:g" /etc/fam.conf
-
- doinitd "${FILESDIR}/famd"
-
- dodoc AUTHORS ChangeLog INSTALL NEWS TODO README
-
-}
-
-pkg_postinst() {
-
- elog "To enable fam on boot you will have to add it to the"
- elog "default profile, issue the following command as root to do so."
- elog
- elog "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
- elog "IMPORTANT INFO FOR USERS UPGRADING FROM OLDER (<2.7.0) FAM VERSIONS :"
- elog
- elog "With the 2.7.0 version the fam daemon moved to sbin and was"
- elog "renamed from 'fam' to 'famd'. These changes are for consistency"
- elog "reasons also applied to the Gentoo init script. This means you"
- elog "will have to remove fam from the default runlevel and add famd."
- elog "This can be done by issueing the following commands :"
- elog
- elog "rc-update del fam"
- elog "rc-update add famd default"
- elog "rm /etc/init.d/fam"
- elog
- elog "The last command removes the old init script."
- echo
- fi
-
-}
diff --git a/app-admin/fam/fam-2.7.0-r6.ebuild b/app-admin/fam/fam-2.7.0-r6.ebuild
new file mode 100644
index 000000000000..265ee261c7b6
--- /dev/null
+++ b/app-admin/fam/fam-2.7.0-r6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2010 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-r6.ebuild,v 1.1 2010/10/21 17:40:38 jer Exp $
+
+EAPI="2"
+
+inherit eutils autotools
+
+DEBIAN_PATCH="17"
+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
+ mirror://debian/pool/main/f/${PN}/${P/-/_}-${DEBIAN_PATCH}.diff.gz"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static-libs"
+
+DEPEND="|| ( net-nds/rpcbind >=net-nds/portmap-5b-r6 )
+ !app-admin/gamin"
+RDEPEND="${DEPEND}"
+PROVIDE="virtual/fam"
+
+src_prepare() {
+ epatch "${WORKDIR}/${P/-/_}-${DEBIAN_PATCH}.diff"
+ edos2unix "${S}"/${P}/debian/patches/10_debianbug375967.patch
+ EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${S}"/${P}/debian/patches
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+
+ sed -i "${D}"/etc/fam.conf \
+ -e "s:local_only = false:local_only = true:g" \
+ || die "sed fam.conf"
+
+ doinitd "${FILESDIR}/famd"
+ dodoc AUTHORS ChangeLog INSTALL NEWS TODO README
+}