summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2008-10-05 14:21:35 +0000
committerLuca Barbato <lu_zero@gentoo.org>2008-10-05 14:21:35 +0000
commit92c808f648c9defb63bb3c78676a908b43432438 (patch)
tree147e8fbcfdf452a3e7f29f3170cecfb7e48df1bd /app-admin/sud
parentStable on alpha, bug #239378 (diff)
downloadgentoo-2-92c808f648c9defb63bb3c78676a908b43432438.tar.gz
gentoo-2-92c808f648c9defb63bb3c78676a908b43432438.tar.bz2
gentoo-2-92c808f648c9defb63bb3c78676a908b43432438.zip
Fixed for glibc-2.8
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
Diffstat (limited to 'app-admin/sud')
-rw-r--r--app-admin/sud/ChangeLog5
-rw-r--r--app-admin/sud/sud-1.3.ebuild14
2 files changed, 14 insertions, 5 deletions
diff --git a/app-admin/sud/ChangeLog b/app-admin/sud/ChangeLog
index 83c886fea6eb..c80e44650780 100644
--- a/app-admin/sud/ChangeLog
+++ b/app-admin/sud/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/sud
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/ChangeLog,v 1.6 2008/06/16 14:23:17 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/ChangeLog,v 1.7 2008/10/05 14:21:35 lu_zero Exp $
+
+ 05 Oct 2008; Luca Barbato <lu_zero@gentoo.org> sud-1.3.ebuild:
+ Fix it for glibc-2.8
16 Jun 2008; Samuli Suominen <drac@gentoo.org> sud-1.3.ebuild:
Fix repoman warnings, such as too long description and documentation.
diff --git a/app-admin/sud/sud-1.3.ebuild b/app-admin/sud/sud-1.3.ebuild
index 489a7ba7c264..572d876fd0c8 100644
--- a/app-admin/sud/sud-1.3.ebuild
+++ b/app-admin/sud/sud-1.3.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/sud-1.3.ebuild,v 1.5 2008/06/16 14:23:17 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sud/sud-1.3.ebuild,v 1.6 2008/10/05 14:21:35 lu_zero Exp $
-inherit eutils
+EAPI=2
+
+inherit eutils flag-o-matic
DESCRIPTION="a daemon to execute processes with special (and customizable) privileges in a nosuid environment."
HOMEPAGE="http://s0ftpj.org/projects/sud/index.htm"
@@ -13,8 +15,7 @@ SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""
-src_unpack() {
- unpack ${A}
+src_prepare() {
sed -i -e \
's:chmod 500 $(sbindir)/ilogin:chmod 500 $(DESTDIR)$(sbindir)/ilogin:' \
"${S}"/login/Makefile.in || die "sed failed."
@@ -26,6 +27,11 @@ src_unpack() {
"${S}"/sud/Makefile.in || die "sed failed."
}
+src_configure() {
+ append-flags -D_GNU_SOURCE
+ default_src_configure
+}
+
src_install() {
make DESTDIR="${D}" install || die "emake install failed."
dodoc AUTHORS ChangeLog* README NEWS TODO