diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-07-02 14:02:23 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-07-02 14:02:23 +0000 |
commit | 6ea5287e4cdeacae4589dd0c3c21af91173f31fe (patch) | |
tree | 21f1c4b6ae0cc88fd619447c3f58dce22f531b2d /app-mobilephone | |
parent | Adjusted metadata, see bug #138062. (diff) | |
download | gentoo-2-6ea5287e4cdeacae4589dd0c3c21af91173f31fe.tar.gz gentoo-2-6ea5287e4cdeacae4589dd0c3c21af91173f31fe.tar.bz2 gentoo-2-6ea5287e4cdeacae4589dd0c3c21af91173f31fe.zip |
Version bump thanks to Jorma Rus <jormarus@operamail.com>, closes bug #138791. Add ~ppc keyword.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/smstools/ChangeLog | 8 | ||||
-rw-r--r-- | app-mobilephone/smstools/files/digest-smstools-2.2.3 | 3 | ||||
-rw-r--r-- | app-mobilephone/smstools/smstools-2.2.3.ebuild | 64 |
3 files changed, 74 insertions, 1 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog index 4bec6c7ef985..c050f14cb63c 100644 --- a/app-mobilephone/smstools/ChangeLog +++ b/app-mobilephone/smstools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-mobilephone/smstools # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.4 2006/06/21 10:10:16 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.5 2006/07/02 14:02:23 chainsaw Exp $ + +*smstools-2.2.3 (02 Jul 2006) + + 02 Jul 2006; Tony Vroon <chainsaw@gentoo.org> +smstools-2.2.3.ebuild: + Version bump thanks to Jorma Rus <jormarus@operamail.com>, closes bug + #138791. Add ~ppc keyword. *smstools-2.2.1-r3 (21 Jun 2006) diff --git a/app-mobilephone/smstools/files/digest-smstools-2.2.3 b/app-mobilephone/smstools/files/digest-smstools-2.2.3 new file mode 100644 index 000000000000..f515dbc8693d --- /dev/null +++ b/app-mobilephone/smstools/files/digest-smstools-2.2.3 @@ -0,0 +1,3 @@ +MD5 5afd8059452a3e8ee793b71b7c639c33 smstools-2.2.3.tar.gz 168429 +RMD160 22d4010edbfdef6deaf671d64e4bbd767d6e795c smstools-2.2.3.tar.gz 168429 +SHA256 bd78494e86ab0711a954b03803de0bcb3bcd24bc46af5f8ddf0336423775ca74 smstools-2.2.3.tar.gz 168429 diff --git a/app-mobilephone/smstools/smstools-2.2.3.ebuild b/app-mobilephone/smstools/smstools-2.2.3.ebuild new file mode 100644 index 000000000000..812d45891bcb --- /dev/null +++ b/app-mobilephone/smstools/smstools-2.2.3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-2.2.3.ebuild,v 1.1 2006/07/02 14:02:23 chainsaw Exp $ + +inherit eutils + +DESCRIPTION="Send and receive short messages through GSM modems" +HOMEPAGE="http://smstools.meinemullemaus.de/" +SRC_URI="http://www.meinemullemaus.de/software/${PN}/packages/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="stats" +RDEPEND="sys-process/procps + stats? ( >=dev-libs/mm-1.4.0 )" + +S=${WORKDIR}/${PN} + +pkg_setup() { + enewgroup sms + enewuser smsd -1 -1 /var/spool/sms sms +} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/2.2.1-skip-dirlock.patch + if use stats; then + sed -i -e "s:CFLAGS += -D NOSTATS:#CFLAGS += -D NOSTATS:" src/Makefile + fi +} + +src_compile() { + cd src + emake || die "emake failed" +} + +src_install() { + dobin src/smsd + cd ${S}/scripts + dobin sendsms sms2html sms2unicode unicode2sms + dobin hex2bin hex2dec email2sms + dodoc mysmsd smsevent smsresend sms2xml sql_demo + + diropts -o smsd -g sms -m0770 + keepdir /var/spool/sms/incoming + keepdir /var/spool/sms/outgoing + keepdir /var/spool/sms/checked + + newinitd ${FILESDIR}/smsd.initd smsd + insopts -o smsd -g sms -m0644 + insinto /etc + newins ${S}/examples/smsd.conf.easy smsd.conf + + dohtml ${S}/doc/* +} + +pkg_preinst() { + pkg_setup +} + +pkg_postinst() { + chown -f smsd:sms /var/log/smsd.log +} |