From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/utempter: utempter-0.5.5.6.ebuild ChangeLog
Date: Mon, 16 Jun 2008 21:34:43 +0000 [thread overview]
Message-ID: <E1K8MLb-00051X-Fo@stork.gentoo.org> (raw)
vapier 08/06/16 21:34:43
Modified: utempter-0.5.5.6.ebuild ChangeLog
Log:
Drop bindnow-flags #227019 by Diego Pettenò. Switch to emake. Fix ROOT support in pkg_postinst. Respect CPPFLAGS/LDFLAGS.
(Portage version: 2.2_pre8/cvs/Linux 2.6.25 x86_64)
Revision Changes Path
1.15 sys-apps/utempter/utempter-0.5.5.6.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild?rev=1.15&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild?rev=1.15&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild?r1=1.14&r2=1.15
Index: utempter-0.5.5.6.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- utempter-0.5.5.6.ebuild 12 Jul 2007 05:10:21 -0000 1.14
+++ utempter-0.5.5.6.ebuild 16 Jun 2008 21:34:42 -0000 1.15
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild,v 1.14 2007/07/12 05:10:21 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/utempter/utempter-0.5.5.6.ebuild,v 1.15 2008/06/16 21:34:42 vapier Exp $
-inherit rpm eutils flag-o-matic
+inherit rpm eutils
MY_P=${P%.*}-${PV##*.}
S=${WORKDIR}/${P%.*}
@@ -16,9 +16,6 @@
IUSE=""
DEPEND="!virtual/utempter"
-RDEPEND="virtual/libc
- !virtual/utempter"
-
PROVIDE="virtual/utempter"
pkg_setup() {
@@ -27,41 +24,34 @@
src_unpack() {
rpm_src_unpack
- cd ${S}
- epatch ${FILESDIR}/${P}-soname-makefile-fix.patch
- epatch ${FILESDIR}/${P}-no_utmpx.patch
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-soname-makefile-fix.patch
+ epatch "${FILESDIR}"/${P}-no_utmpx.patch
+ epatch "${FILESDIR}"/${P}-build.patch
}
src_compile() {
- append-ldflags $(bindnow-flags)
-
- make RPM_OPT_FLAGS="${CFLAGS}" || die
+ emake RPM_OPT_FLAGS="${CFLAGS} ${CPPFLAGS}" || die
}
src_install() {
- make \
+ emake \
RPM_BUILD_ROOT="${D}" \
LIBDIR=/usr/$(get_libdir) \
install || die
- dobin utmp
+ dobin utmp || die
fowners root:utmp /usr/sbin/utempter
fperms 2755 /usr/sbin/utempter
}
pkg_postinst() {
- if [ "${ROOT}" = "/" ]
- then
- if [ -f /var/log/wtmp ]
- then
- chown root:utmp /var/log/wtmp
- chmod 664 /var/log/wtmp
- fi
-
- if [ -f /var/run/utmp ]
- then
- chown root:utmp /var/run/utmp
- chmod 664 /var/run/utmp
- fi
+ if [ -f "${ROOT}"/var/log/wtmp ] ; then
+ chown root:utmp "${ROOT}"/var/log/wtmp
+ chmod 664 "${ROOT}"/var/log/wtmp
+ fi
+ if [ -f "${ROOT}"/var/run/utmp ] ; then
+ chown root:utmp "${ROOT}"/var/run/utmp
+ chmod 664 "${ROOT}"/var/run/utmp
fi
}
1.44 sys-apps/utempter/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/ChangeLog?rev=1.44&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/ChangeLog?rev=1.44&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/utempter/ChangeLog?r1=1.43&r2=1.44
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/utempter/ChangeLog,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- ChangeLog 25 Dec 2007 15:19:21 -0000 1.43
+++ ChangeLog 16 Jun 2008 21:34:42 -0000 1.44
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/utempter
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/utempter/ChangeLog,v 1.43 2007/12/25 15:19:21 phreak Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/utempter/ChangeLog,v 1.44 2008/06/16 21:34:42 vapier Exp $
+
+ 16 Jun 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/utempter-0.5.5.6-build.patch, utempter-0.5.5.6.ebuild:
+ Drop bindnow-flags #227019 by Diego Pettenò. Switch to emake. Fix ROOT
+ support in pkg_postinst. Respect CPPFLAGS/LDFLAGS.
25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml:
Removing seemant from metadata.xml as per #202469.
--
gentoo-commits@lists.gentoo.org mailing list
next reply other threads:[~2008-06-16 21:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-16 21:34 Mike Frysinger (vapier) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-08 2:25 [gentoo-commits] gentoo-x86 commit in sys-apps/utempter: utempter-0.5.5.6.ebuild ChangeLog Mart Raudsepp (leio)
2011-04-05 11:46 Ulrich Mueller (ulm)
2012-05-24 2:35 Mike Frysinger (vapier)
2015-08-05 3:44 Mike Frysinger (vapier)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1K8MLb-00051X-Fo@stork.gentoo.org \
--to=vapier@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox