diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2012-12-20 10:41:45 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2012-12-20 10:41:45 +0000 |
commit | 073a148a1da2e66206f6c07280f9ba209adbd0ff (patch) | |
tree | f1f9968b92c1a3978e6380641cbd6b78c9343f13 /app-mobilephone | |
parent | improve init script (diff) | |
download | historical-073a148a1da2e66206f6c07280f9ba209adbd0ff.tar.gz historical-073a148a1da2e66206f6c07280f9ba209adbd0ff.tar.bz2 historical-073a148a1da2e66206f6c07280f9ba209adbd0ff.zip |
Cope with sudden new /run semantics, fix by Tomasz Chilinski in bug #435664. Bump to version 3.1.15 as requested by Kilburn Abrahams in bug #439376.
Package-Manager: portage-2.1.11.38/cvs/Linux x86_64
Manifest-Sign-Key: 0xB5058F9A
Diffstat (limited to 'app-mobilephone')
-rw-r--r-- | app-mobilephone/smstools/ChangeLog | 9 | ||||
-rw-r--r-- | app-mobilephone/smstools/Manifest | 15 | ||||
-rw-r--r-- | app-mobilephone/smstools/files/smsd.initd3 | 31 | ||||
-rw-r--r-- | app-mobilephone/smstools/smstools-3.1.15.ebuild | 70 |
4 files changed, 123 insertions, 2 deletions
diff --git a/app-mobilephone/smstools/ChangeLog b/app-mobilephone/smstools/ChangeLog index d2bf3d5f52ca..9da1ca3bff93 100644 --- a/app-mobilephone/smstools/ChangeLog +++ b/app-mobilephone/smstools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-mobilephone/smstools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.18 2012/06/02 05:02:33 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/ChangeLog,v 1.19 2012/12/20 10:41:42 chainsaw Exp $ + +*smstools-3.1.15 (20 Dec 2012) + + 20 Dec 2012; Tony Vroon <chainsaw@gentoo.org> +smstools-3.1.15.ebuild, + +files/smsd.initd3: + Cope with sudden new /run semantics, fix by Tomasz Chilinski in bug #435664. + Bump to version 3.1.15 as requested by Kilburn Abrahams in bug #439376. 02 Jun 2012; Zac Medico <zmedico@gentoo.org> smstools-2.2.20.ebuild, smstools-3.1.14-r1.ebuild, smstools-3.1.14-r2.ebuild, smstools-3.1.14.ebuild: diff --git a/app-mobilephone/smstools/Manifest b/app-mobilephone/smstools/Manifest index 31fb2e104b54..67f3c57d9253 100644 --- a/app-mobilephone/smstools/Manifest +++ b/app-mobilephone/smstools/Manifest @@ -1,12 +1,25 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX 2.2.1-skip-dirlock.patch 1391 SHA256 b0a6273a0f7b81c45c6de283749a3186ab77753f7e29b525729314f799fd78d4 SHA512 97f93f36a694d660466e7b1f125049617ce63d34d38aa7e70add5c366cb1d2a8098434c140694019dce112c04f9b4fbbff2429cbcbfa7c7594a3bf55045512a6 WHIRLPOOL 186a3e563b55ee0cc52f095a6e7792b4c9ab5f6ad27e65da3380030f87e7b78e612206895b5752b523990e59ec88db68c3d7a4863ce000b4562d59517b5903f3 AUX 2.2.13-sendsms-chmod.patch 283 SHA256 eff119af416a07d9ebf33d9555b4bd6b9ff9df3240d27dc8a4f5f3d62b64b1a4 SHA512 c30218cac095e2a01dab4f06c77f621e70079f1cb34fe4e7e3d2418b9d9254a4bf474bfd763e32c72fdf20d8982a74ee82b10c68ffe3b5c64ae219eeead425d4 WHIRLPOOL bbdbbab73a68bd5bfb3977790aa4f5d37ff9c54df3996404c3961fc35f9d660f3655f00cd39cd70d030ed3984f42ee60f4b6b18c0cccf017545e3fd2340432ed AUX smsd.initd 528 SHA256 62a590e8f17acaa1147e7478b20305c552d2c2793fe09807b5cb4f9232899360 SHA512 a61ec0a9efc01bc7ae6e3545a3e964ff505595b59a79a7da4d0c1a22965ec2ad1e6a1eeb8ccc76b82287b0c9d7ff0e93a974cac2e6b122451b29e8ae26d62408 WHIRLPOOL 3f93d00da05892cfb9728a88af21f5c7f5c4449f38fc66ca65240be586beb8a9c57dc3b785d64e3557fd739d805de2f356427cad8efc2c4b100af5cb13758655 AUX smsd.initd2 526 SHA256 f38e910fb3aede80735ddc504db99fb63e8720169e02a6e11179f2a89e3b1d76 SHA512 2cdab61248ecbaa9e278a8ef6ec81920d1376572177377b9ca216c3444b255758e81f3f165283d315cd9702f8aaa59bd7e07be80f80292f29e0b71e93b2604bb WHIRLPOOL b3281151734318e80af4f9805477ba1cfbf93ebe88316694ee9e0ae9b3a6826c39b228cbb156af8129d9f1232dd43b08d1438ba8ab74d84adf677288fb8f516c +AUX smsd.initd3 774 SHA256 58f503cccfae18c40e13aa70a6aa653a14fa77b3268841f8643264203faf511c SHA512 3bece7305bf0ab64bf104d026821d9e441b802758cf890dd0fe18358d524db94e42304c0a87b0daa9a3cd7e17f9c604f7374a8ee9f58cb28adc3d6501d187ebd WHIRLPOOL 5581cde6167ea685fccb5aa82fc30e816b85404ed80540c320253dfb96a4fe218ca78a838689db600b6e3bc11296622164bfb10e206e43616437324483fb87fe DIST smstools-2.2.20.tar.gz 172234 SHA256 8eee958946332580bbe314f2e839734e633db487deb43bbb5d9bbc94b8f506bb SHA512 a0646cb343d710f4031328e4686c01716f21061f65edc171ec3e5ab14bf5c67bbb94cf1eee0c9d483b0b0cad12a8fda3b3bf52a863a9e51f44b1f3492d5e85d9 WHIRLPOOL 7b36b58a37d449f7f7454630e45e44e22fe28210da491d232057ce235889cb2fc23009c7fde928cf6e9b4ef59df85eb65fdad105394e3586d06284aff9721102 DIST smstools3-3.1.14.tar.gz 299379 SHA256 9af79c7a58dcab00e18ea7b44db45bc8bb9ead0bb5809e8b044a1c4ad550b581 SHA512 4bf5604ca7fae41c3ec036d8f60edf5a7b77810aea68afc59f6d44a6aa21dbc68db6244918c9894b16599e272d847a77068cb0e7238936b0ceb4e84ff5557834 WHIRLPOOL aa523154c43ea5d7c62198ffd94bd5b47cfda800f134744b9669027d6a57082fcc43157fca1241f726846bdac13022503d16214c25f81d50a4e4fe16f10b8722 +DIST smstools3-3.1.15.tar.gz 300088 SHA256 ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59 SHA512 6a4cc852327fac27b00fc58def4bbc8caa395552586fe1b84f0f4a9f7f6b00008943b85c86de0821036629c58cf04840a189d711b4ac96f7ddaafd6b340b11fa WHIRLPOOL b394c4c620622dcfdf1d0b098a51f589ee59869fbd58c0b778e51f76335a396c3d4972423374f2ee191263cf7c350cf2432e0b120f594f77f17cdbbcc4b4e974 EBUILD smstools-2.2.20.ebuild 1599 SHA256 020c6ae11e9d0885e69bdf779587a614cfe053669ccd6e813e2f6d77f1484459 SHA512 a753c5d329223eb3ee1be7d5b7acc0510cc0daa3eb1a1de31609e9d621356d048407088de95ec22f97aae9020d368ee6170c7afe471932aac5eb5bbe702179d0 WHIRLPOOL 35e07173f0fca8d3658a803045e9be47c376e0258abcf858142360a750abb978405d385a5e1ae7e32cc7bcff3da44fbef85d9430a22ddb45945ee98bea24dc4b EBUILD smstools-3.1.14-r1.ebuild 1596 SHA256 256de22aac83108c6b6bd29c690706344bde256e06c940d82ed49bbf42eddb3d SHA512 6254087b158bb0eb809e2733e95088c4a3453cc102ac65f6b6ef16cd972e279a68d2956bc72328a4aff38a8f96f8e97a92b6f9a440b670251f32f6506c2baea8 WHIRLPOOL 7c84e974b932a5a356eeb2ca3065ecb3ea9a93f1c8ac0a6c5a6cd9e8f6b7f19067cb53fbcb03925848d6d27bddb16c0c05d55dc8b3c6eff741bae7baad6de212 EBUILD smstools-3.1.14-r2.ebuild 1661 SHA256 e27522cbde436fe5c88d5be8a46ead789ae7caf2c98c7ff181171ecdcca99a93 SHA512 5e6a66a76989d18f8e592bb5a26828695d2fa29530d2b6c07bad079c6d8ec87dd0ad389215d34c2b81fa04f479d2379f1e7844d6c75d8afe60d8be87858dc6a7 WHIRLPOOL f61d7ad1a607f049b4e235cc7443bd0d31a58a7b7d0d52b0f1a91e64825fd7ddfe0ca88986121b6be679045497806ace2e73cd77fd5ec98f53c5770d8af4ebe4 EBUILD smstools-3.1.14.ebuild 1592 SHA256 9288a7e224343743c4a741fac93d9e0e291290ca0f579fb3469f461fda63cf04 SHA512 7ddb0aee2dce14ad60c6cddb3c16c77c4abd827d99801516f3b90516f343b74845814b1b6c0472a2c310f3cbe14bd6c87cd23ea6bbf7bc3188dcae8ebafa72a5 WHIRLPOOL 8ed281ea4c28f3bfc7a13a99f4b154bc81b5eefd5b41c294981ddfecc3c9921156b75561e241725003500572afbff38728f2c2ffeb5769772d72d7a20bbffd16 -MISC ChangeLog 4582 SHA256 60edfa367e0db3d973f3c4d702103baa45365f60874c8236dc8013b15699d940 SHA512 338c10db6e446a217c994fcc76f85b253c2158098d8fe1d4a181d3361cb5a9c2e520cbf5df2e66595657f27b5e35ef4fc8c93010faf80c61d3d93dec99314a6d WHIRLPOOL 813af77650c05ada1947010659f360e99446bd3bbff3a2e61d9ce1c64e4d000df98b64575a40f4222f1e375250e96b1bbce2be217ec81ba9fa81ae0afd7cdf72 +EBUILD smstools-3.1.15.ebuild 1659 SHA256 772d1626309ee21645c46501b2b00c61457dd652b84292913e4f5b48493da324 SHA512 0e8ea4928ab8ac937cf12afa3ce2642fdcb44439c8c57d75cfa4260e68e3f8ed75c5dc180c1e4020f3aa2e88abba9f92ae5e0bc4078fce7f2e56bea27bd6a99f WHIRLPOOL fe4b2436036b9564a37cbde54e97ade7a5a0c906d5c0a33147e028111e912515e9c7a26055f56cbb552d3e44028d4c37f9f12cacd49e31997b1abfaaea83bee8 +MISC ChangeLog 4864 SHA256 c73862c14f46a1a3632ea020e4cdc4d3c19279cf681995e8e39b03022a3bfdaf SHA512 8ce99f45acabf5f5d3afdfbb553c1e7fe40f91f0add62aacc4f635cff52c2c8dc6d739abe28a5dc89e2b9d7deafeed06925a03bd3262b6d8344426b91e2261ec WHIRLPOOL 7bbe800a619dbfbf2ac7b77199a572ad333c1a9b2badc94e84ab3edf11c302c72820d0dda6ad8394334c62aae6f0dd72e634d3852aa423ca403e46181a74cc9c MISC metadata.xml 297 SHA256 8ecdee17068dd1fc7241e9a8dedeebf2f1281867045f2b4cdd67e5992639d6ea SHA512 9892b288641ec12b51142b957bd046facb5af22d27b90627a1b46dd39243ae5f8ccff2cf0357ec4c34821ce398a440d11ffd485f19b383a5ae1a54dc6a41501e WHIRLPOOL 2444e02e5b54c91a13ae879b8826b1c81931338085187c4697cb22de20f56d8fda22f70d58289c36c59f7380ff3106fe6580ca584cbc377662d48ee32be70362 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlDS62oACgkQp5vW4rUFj5oxsQCfY5Ckj7Ng+y6nqXhD/U6Tu3IS +qLcAoJ8K5wQNmgdii2l4vGZWwbn5YoYB +=wKFF +-----END PGP SIGNATURE----- diff --git a/app-mobilephone/smstools/files/smsd.initd3 b/app-mobilephone/smstools/files/smsd.initd3 new file mode 100644 index 000000000000..be1aa1deff44 --- /dev/null +++ b/app-mobilephone/smstools/files/smsd.initd3 @@ -0,0 +1,31 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/files/smsd.initd3,v 1.1 2012/12/20 10:41:42 chainsaw Exp $ + +depend() { + need localmount +} + +start() { + if ! [ -d /var/run/smsd ]; then + ebegin "Creating /var/run/smsd for ${SVCNAME}" + mkdir /var/run/smsd \ + && chown smsd:sms /var/run/smsd \ + && chmod 770 /var/run/smsd + eend $? + fi + + chown smsd:sms /var/log/smsd.log + ebegin "Starting smsd" + start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \ + -c /etc/smsd.conf -p /var/run/smsd/smsd.pid \ + -i /var/run/smsd/smsd.working + eend ${?} +} + +stop() { + ebegin "Stopping smsd" + start-stop-daemon --stop -n smsd + eend ${?} +} diff --git a/app-mobilephone/smstools/smstools-3.1.15.ebuild b/app-mobilephone/smstools/smstools-3.1.15.ebuild new file mode 100644 index 000000000000..2274a3eab4d8 --- /dev/null +++ b/app-mobilephone/smstools/smstools-3.1.15.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/smstools/smstools-3.1.15.ebuild,v 1.1 2012/12/20 10:41:42 chainsaw Exp $ + +EAPI=4 + +inherit toolchain-funcs user + +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.initd3 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 +} |