summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2011-11-28 22:36:01 +0000
committerTony Vroon <chainsaw@gentoo.org>2011-11-28 22:36:01 +0000
commit724bb1d5cc2a177973a3eb73fbed78bedfcd6a76 (patch)
treed6187299f698af09248a39d10fd4d8fd5871e98a /app-mobilephone
parentMaintained now by freedesktop-bugs@ which include prev. gnome@, kde@ and xfce@. (diff)
downloadhistorical-724bb1d5cc2a177973a3eb73fbed78bedfcd6a76.tar.gz
historical-724bb1d5cc2a177973a3eb73fbed78bedfcd6a76.tar.bz2
historical-724bb1d5cc2a177973a3eb73fbed78bedfcd6a76.zip
CFLAGS respect & die statements by Agostino "ago" Sarubbo in bug #385273.
Package-Manager: portage-2.1.10.38/cvs/Linux x86_64
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/smstools/ChangeLog7
-rw-r--r--app-mobilephone/smstools/Manifest15
-rw-r--r--app-mobilephone/smstools/smstools-3.1.14-r2.ebuild70
3 files changed, 78 insertions, 14 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog
index bb18cea0c10b..eed910ca23dc 100644
--- a/app-mobilephone/smstools/ChangeLog
+++ b/app-mobilephone/smstools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-mobilephone/smstools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.16 2011/07/27 10:41:13 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.17 2011/11/28 22:36:01 chainsaw Exp $
+
+*smstools-3.1.14-r2 (28 Nov 2011)
+
+ 28 Nov 2011; Tony Vroon <chainsaw@gentoo.org> +smstools-3.1.14-r2.ebuild:
+ CFLAGS respect & die statements by Agostino "ago" Sarubbo in bug #385273.
*smstools-3.1.14-r1 (27 Jul 2011)
diff --git a/app-mobilephone/smstools/Manifest b/app-mobilephone/smstools/Manifest
index fca51c7a2d3e..d9fb13994fed 100644
--- a/app-mobilephone/smstools/Manifest
+++ b/app-mobilephone/smstools/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX 2.2.1-skip-dirlock.patch 1391 RMD160 aa201326762f3bebecbc50e4c39d348df4068cad SHA1 58a55162c0d5232250be485b3954157eee6ccbbc SHA256 b0a6273a0f7b81c45c6de283749a3186ab77753f7e29b525729314f799fd78d4
AUX 2.2.13-sendsms-chmod.patch 283 RMD160 87a34603458b7274f9438b3f406017145581a819 SHA1 2faf4466431d660eb30c6eb7a0f191215577576d SHA256 eff119af416a07d9ebf33d9555b4bd6b9ff9df3240d27dc8a4f5f3d62b64b1a4
AUX smsd.initd 528 RMD160 7d713a7a870e5c46110f8fc83fabbd55e16bcad5 SHA1 b846be3c664fcb35b5e4cfd39ffe1628aa3a412c SHA256 62a590e8f17acaa1147e7478b20305c552d2c2793fe09807b5cb4f9232899360
@@ -9,15 +6,7 @@ DIST smstools-2.2.20.tar.gz 172234 RMD160 7cd29149f9f94ba73e25fa77b3b9aae6312e47
DIST smstools3-3.1.14.tar.gz 299379 RMD160 44fff1c97612224f7e2cc3f51d74a24f2fbdcca8 SHA1 13869519d5659329775e7222c065244c43213921 SHA256 9af79c7a58dcab00e18ea7b44db45bc8bb9ead0bb5809e8b044a1c4ad550b581
EBUILD smstools-2.2.20.ebuild 1595 RMD160 884757f4e5f57b3dfcb22b706a8c2abaca7f75e2 SHA1 64918dd714a594b90101fca4b5e18867e4d2c3ec SHA256 5664b3de101818de3081328349cf961d06939168789d6968100751f2959737bd
EBUILD smstools-3.1.14-r1.ebuild 1599 RMD160 0237e6a2777176758c78c13362e8af9c1c356f2e SHA1 5501d99c2847c4a4251e31f66bc2599057b1bd78 SHA256 0c308b69d94f93142d5e5587456333e60fde684f8e3f3a966e17c05592052e14
+EBUILD smstools-3.1.14-r2.ebuild 1664 RMD160 6e6c7c04e0bb9960ebac9b2cacafb6bf31568f44 SHA1 d3d8b8d8da1dd32d733d0210d43f4207a07525b0 SHA256 9f0309047f0be775b457c1c8add093299dc22006ca499c036e49ac90b06e5184
EBUILD smstools-3.1.14.ebuild 1595 RMD160 d20e6e5e990ec07b6469dfdf49287515dfe62929 SHA1 d413c58598a1ecd4e486b44a6df8f1e79bb61bb4 SHA256 d68266545bb27ff656291a47e87c38abe547e36b3d3daf607969f96c256006c8
-MISC ChangeLog 4201 RMD160 b7a1129abef7d92e9f7e6ac71a937d2b3a0aa9c6 SHA1 62d19aa9bb5d7202f70b77dbc75d0b1e41af0000 SHA256 2ea16bd8d00593919b6f32a7a92874f9f5691365a07d43013cc0f7fe8cb79c47
+MISC ChangeLog 4389 RMD160 c7aaf37d3906ec4a3ba0f4153c3e2a314000a5fe SHA1 a9d67d50c030b034e55768afb88d79db1faabff7 SHA256 ff48f8e0d291909aa9c6f9ba9ba7ec57b0a875d9fb9056324ffca2dc199b12ff
MISC metadata.xml 297 RMD160 169771207c462dae74637a3e24a9189b16c90920 SHA1 7cefe13d0c5b25e94cb5b2d4f4f1c2597a282582 SHA256 8ecdee17068dd1fc7241e9a8dedeebf2f1281867045f2b4cdd67e5992639d6ea
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iJwEAQEIAAYFAk58//EACgkQfXuS5UK5QB3gvAQAn4D9KbBv0OfOPJtqjHQ71zU0
-j4Gla6yQY/+KqYRb0lwxD2MYj6/3wP5AeBTR4Pm9f5gb+82yNBn0cTGBEUy/TFri
-xOx4khmsgHnXYCw6DTvdckrmcDF35a3yq/mNn6+lcKSo/PC/vQzmfcL+Wa5h7/so
-uTwYbNcLo8MU9b5kTYQ=
-=Y24z
------END PGP SIGNATURE-----
diff --git a/app-mobilephone/smstools/smstools-3.1.14-r2.ebuild b/app-mobilephone/smstools/smstools-3.1.14-r2.ebuild
new file mode 100644
index 000000000000..922e3d9f1ce4
--- /dev/null
+++ b/app-mobilephone/smstools/smstools-3.1.14-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-3.1.14-r2.ebuild,v 1.1 2011/11/28 22:36:01 chainsaw Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Send and receive short messages through GSM modems"
+HOMEPAGE="http://smstools3.kekekasvi.com/"
+SRC_URI="http://smstools3.kekekasvi.com/packages/smstools3-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="stats"
+
+DEPEND=""
+RDEPEND="sys-process/procps
+ stats? ( >=dev-libs/mm-1.4.0 )"
+
+S="${WORKDIR}/${PN}3"
+
+pkg_setup() {
+ enewgroup sms
+ enewuser smsd -1 -1 /var/spool/sms sms
+}
+
+src_prepare() {
+ if use stats; then
+ sed -i -e "s:CFLAGS += -D NOSTATS:#CFLAGS += -D NOSTATS:" \
+ "${S}/src/Makefile" || die
+ fi
+ echo "CFLAGS += ${CFLAGS}" >> src/Makefile || die
+}
+
+src_compile() {
+ cd src || die
+ emake \
+ CC="$(tc-getCC)" \
+ LFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin src/smsd
+ cd scripts || die
+ dobin sendsms sms2html sms2unicode unicode2sms
+ dobin hex2bin hex2dec email2sms
+ dodoc mysmsd smsevent smsresend sms2xml sql_demo \
+ smstest.php checkhandler-utf-8 eventhandler-utf-8 \
+ forwardsms regular_run
+ cd .. || die
+
+ keepdir /var/spool/sms/incoming
+ keepdir /var/spool/sms/outgoing
+ keepdir /var/spool/sms/checked
+ fowners -R smsd:sms /var/spool/sms
+ fperms g+s /var/spool/sms/incoming
+
+ newinitd "${FILESDIR}"/smsd.initd2 smsd
+ insopts -o smsd -g sms -m0644
+ insinto /etc
+ newins examples/smsd.conf.easy smsd.conf
+ dohtml -r doc
+}
+
+pkg_postinst() {
+ touch "${ROOT}"/var/log/smsd.log || die
+ chown -f smsd:sms "${ROOT}"/var/log/smsd.log
+}