diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-10-20 13:14:15 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-10-20 13:14:15 +0000 |
commit | f08a497e6551d1c4f365fbf9e3ecf662e96d7c21 (patch) | |
tree | c75259b5307a4a7b098a914b99349d258bf9a5a6 | |
parent | Marking sparc, amd64 stable; cleaning out old ebuilds (diff) | |
download | gentoo-2-f08a497e6551d1c4f365fbf9e3ecf662e96d7c21.tar.gz gentoo-2-f08a497e6551d1c4f365fbf9e3ecf662e96d7c21.tar.bz2 gentoo-2-f08a497e6551d1c4f365fbf9e3ecf662e96d7c21.zip |
Version bump, as requested by Alin Nastac <mrness@gentoo.org> in bug #147927.
(Portage version: 2.1.2_pre3-r2)
-rw-r--r-- | app-mobilephone/smstools/ChangeLog | 7 | ||||
-rw-r--r-- | app-mobilephone/smstools/files/digest-smstools-2.2.9 | 3 | ||||
-rw-r--r-- | app-mobilephone/smstools/smstools-2.2.9.ebuild | 64 |
3 files changed, 73 insertions, 1 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog index c050f14cb63c..cfd59db9dec2 100644 --- a/app-mobilephone/smstools/ChangeLog +++ b/app-mobilephone/smstools/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2006/07/02 14:02:23 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.6 2006/10/20 13:14:15 chainsaw Exp $ + +*smstools-2.2.9 (20 Oct 2006) + + 20 Oct 2006; Tony Vroon <chainsaw@gentoo.org> +smstools-2.2.9.ebuild: + Version bump, as requested by Alin Nastac <mrness@gentoo.org> in bug #147927. *smstools-2.2.3 (02 Jul 2006) diff --git a/app-mobilephone/smstools/files/digest-smstools-2.2.9 b/app-mobilephone/smstools/files/digest-smstools-2.2.9 new file mode 100644 index 000000000000..c317039138f6 --- /dev/null +++ b/app-mobilephone/smstools/files/digest-smstools-2.2.9 @@ -0,0 +1,3 @@ +MD5 4cfde5bd5816e60e6e363d03d8c76cc6 smstools-2.2.9.tar.gz 174493 +RMD160 5fe5f534480be75cb12a85781cd4e023386005c8 smstools-2.2.9.tar.gz 174493 +SHA256 e0a8b6e98d4e9deef0a510ef3c838b0bc9ecd667a5fe0f10d9c9de203e08b313 smstools-2.2.9.tar.gz 174493 diff --git a/app-mobilephone/smstools/smstools-2.2.9.ebuild b/app-mobilephone/smstools/smstools-2.2.9.ebuild new file mode 100644 index 000000000000..569a21919dfe --- /dev/null +++ b/app-mobilephone/smstools/smstools-2.2.9.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.9.ebuild,v 1.1 2006/10/20 13:14:15 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 + + keepdir /var/spool/sms/incoming + keepdir /var/spool/sms/outgoing + keepdir /var/spool/sms/checked + chown -R smsd:sms ${D}/var/spool/sms + + 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 +} |