summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2008-10-31 16:28:50 +0000
committerTony Vroon <chainsaw@gentoo.org>2008-10-31 16:28:50 +0000
commit74dca8a978c1320213c23cd5954d5722ecdf940f (patch)
treeb0ac92239d93251d3df915dc3413849d97a7921d /app-mobilephone/smstools
parentDo not abuse append-ldflags (bug #226927). (diff)
downloadgentoo-2-74dca8a978c1320213c23cd5954d5722ecdf940f.tar.gz
gentoo-2-74dca8a978c1320213c23cd5954d5722ecdf940f.tar.bz2
gentoo-2-74dca8a978c1320213c23cd5954d5722ecdf940f.zip
Update ebuild based on -dev ML feedback by Torsten Veller <ml-en@veller.net>.
(Portage version: 2.2_rc12/cvs/Linux 2.6.28-rc2-00185-ge946217-dirty x86_64)
Diffstat (limited to 'app-mobilephone/smstools')
-rw-r--r--app-mobilephone/smstools/ChangeLog10
-rw-r--r--app-mobilephone/smstools/smstools-2.2.20.ebuild16
2 files changed, 17 insertions, 9 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog
index 05996f0ebd85..b2f9f472bf06 100644
--- a/app-mobilephone/smstools/ChangeLog
+++ b/app-mobilephone/smstools/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-mobilephone/smstools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.13 2008/10/31 15:49:29 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.14 2008/10/31 16:28:50 chainsaw Exp $
+
+ 31 Oct 2008; <chainsaw@gentoo.org> smstools-2.2.20.ebuild:
+ Update ebuild based on -dev ML feedback by Torsten Veller
+ <ml-en@veller.net>.
+
+ 31 Oct 2008; <chainsaw@gentoo.org> -smstools-2.2.9.ebuild,
+ -smstools-2.2.13.ebuild:
+ Remove old ebuilds.
31 Oct 2008; <chainsaw@gentoo.org> smstools-2.2.20.ebuild:
Respect CC variable, closes bug #243690 by Diego Pettenò
diff --git a/app-mobilephone/smstools/smstools-2.2.20.ebuild b/app-mobilephone/smstools/smstools-2.2.20.ebuild
index 0b8213651a91..f9c8f3b461a3 100644
--- a/app-mobilephone/smstools/smstools-2.2.20.ebuild
+++ b/app-mobilephone/smstools/smstools-2.2.20.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-2.2.20.ebuild,v 1.2 2008/10/31 15:49:29 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-2.2.20.ebuild,v 1.3 2008/10/31 16:28:50 chainsaw Exp $
inherit eutils toolchain-funcs
@@ -18,6 +18,11 @@ RDEPEND="sys-process/procps
S="${WORKDIR}"/${PN}
+pkg_setup() {
+ enewgroup sms
+ enewuser smsd -1 -1 /var/spool/sms sms
+}
+
src_unpack() {
unpack ${A}
cd "${S}"
@@ -33,11 +38,6 @@ src_compile() {
emake CC="$(tc-getCC)" || die "emake failed"
}
-pkg_preinst() {
- enewgroup sms
- enewuser smsd -1 -1 /var/spool/sms sms
-}
-
src_install() {
dobin src/smsd
cd "${S}"/scripts
@@ -60,6 +60,6 @@ src_install() {
}
pkg_postinst() {
- touch /var/log/smsd.log
- chown -f smsd:sms /var/log/smsd.log
+ touch "${ROOT}"/var/log/smsd.log
+ chown -f smsd:sms "${ROOT}"/var/log/smsd.log
}