Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/smstools/
Date: Sat, 26 Sep 2020 19:40:39
Message-Id: 1601149217.4456c90f159ace5b42718015d1742439ff242b4c.bman@gentoo
1 commit: 4456c90f159ace5b42718015d1742439ff242b4c
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 19:22:46 2020 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 19:40:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4456c90f
7
8 app-mobilephone/smstools: drop old EAPI=5
9
10 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
11
12 app-mobilephone/smstools/Manifest | 1 -
13 app-mobilephone/smstools/smstools-3.1.15-r2.ebuild | 73 ----------------------
14 2 files changed, 74 deletions(-)
15
16 diff --git a/app-mobilephone/smstools/Manifest b/app-mobilephone/smstools/Manifest
17 index 85b234550e9..8e26b00a140 100644
18 --- a/app-mobilephone/smstools/Manifest
19 +++ b/app-mobilephone/smstools/Manifest
20 @@ -1,2 +1 @@
21 -DIST smstools3-3.1.15.tar.gz 300088 BLAKE2B 4dcafad43979fff642a26da2ce7850ff09d66678525171643f1fec6bb1358cc48705d73de7b22f77b267a741f740a408ddea5062d75d98561e2381010e56a37b SHA512 6a4cc852327fac27b00fc58def4bbc8caa395552586fe1b84f0f4a9f7f6b00008943b85c86de0821036629c58cf04840a189d711b4ac96f7ddaafd6b340b11fa
22 DIST smstools3-3.1.21.tar.gz 356548 BLAKE2B 8bbb65761128a86200a6d47e90456fef076be10cd4081b4e3cdc9456c0176996ee6ee9afbe3d9f2a989d93db706bf5461ddf7f739bc8d70337a842b96eb27a5c SHA512 0587e5020a0318351ca99b68baa1c19411824279055857a5b5aa4e346cae373fe94a811eaca6767bcf991cf849eaaa66ec120f046420531a6088cdde9373db31
23
24 diff --git a/app-mobilephone/smstools/smstools-3.1.15-r2.ebuild b/app-mobilephone/smstools/smstools-3.1.15-r2.ebuild
25 deleted file mode 100644
26 index 2b8943a36fc..00000000000
27 --- a/app-mobilephone/smstools/smstools-3.1.15-r2.ebuild
28 +++ /dev/null
29 @@ -1,73 +0,0 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -inherit systemd toolchain-funcs user eutils
36 -
37 -DESCRIPTION="Send and receive short messages through GSM modems"
38 -HOMEPAGE="http://smstools3.kekekasvi.com/"
39 -SRC_URI="http://smstools3.kekekasvi.com/packages/smstools3-${PV}.tar.gz"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~ppc ~x86"
44 -IUSE="stats"
45 -
46 -DEPEND=""
47 -RDEPEND="sys-process/procps
48 - stats? ( >=dev-libs/mm-1.4.0 )"
49 -
50 -S="${WORKDIR}/${PN}3"
51 -
52 -pkg_setup() {
53 - enewgroup sms
54 - enewuser smsd -1 -1 /var/spool/sms sms
55 -}
56 -
57 -src_prepare() {
58 - epatch "${FILESDIR}/${PV}-makefile-whitespace.patch"
59 - if use stats; then
60 - sed -i -e "s:CFLAGS += -D NOSTATS:#CFLAGS += -D NOSTATS:" \
61 - "${S}/src/Makefile" || die
62 - fi
63 - echo "CFLAGS += ${CFLAGS}" >> src/Makefile || die
64 -}
65 -
66 -src_compile() {
67 - cd src || die
68 - emake \
69 - CC="$(tc-getCC)" \
70 - LFLAGS="${LDFLAGS}"
71 -}
72 -
73 -src_install() {
74 - dobin src/smsd
75 - cd scripts || die
76 - dobin sendsms sms2html sms2unicode unicode2sms
77 - dobin hex2bin hex2dec email2sms
78 - dodoc mysmsd smsevent smsresend sms2xml sql_demo \
79 - smstest.php checkhandler-utf-8 eventhandler-utf-8 \
80 - forwardsms regular_run
81 - cd .. || die
82 -
83 - keepdir /var/spool/sms/incoming
84 - keepdir /var/spool/sms/outgoing
85 - keepdir /var/spool/sms/checked
86 - fowners -R smsd:sms /var/spool/sms
87 - fperms g+s /var/spool/sms/incoming
88 -
89 - newinitd "${FILESDIR}"/smsd.initd3 smsd
90 - insopts -o smsd -g sms -m0644
91 - insinto /etc
92 - newins examples/smsd.conf.easy smsd.conf
93 - dohtml -r doc
94 -
95 - systemd_dounit "${FILESDIR}"/smsd.service
96 - systemd_newtmpfilesd "${FILESDIR}"/smsd.tmpfiles smsd.conf
97 -}
98 -
99 -pkg_postinst() {
100 - touch "${ROOT}"/var/log/smsd.log || die
101 - chown -f smsd:sms "${ROOT}"/var/log/smsd.log
102 -}