summaryrefslogtreecommitdiff
path: root/app-mobilephone
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-08 11:28:34 +0000
commit24fd814c326e282c4321965c31f341dad77e270d (patch)
tree033d63b33c21a3209964ab56005bb9bdd523630d /app-mobilephone
parent129160ec854dca4c3fedb5bcfbcb56930371da0f (diff)
gentoo resync : 08.01.2021
Diffstat (limited to 'app-mobilephone')
-rw-r--r--app-mobilephone/Manifest.gzbin2392 -> 2392 bytes
-rw-r--r--app-mobilephone/smstools/Manifest4
-rw-r--r--app-mobilephone/smstools/metadata.xml14
-rw-r--r--app-mobilephone/smstools/smstools-3.1.21-r2.ebuild75
4 files changed, 85 insertions, 8 deletions
diff --git a/app-mobilephone/Manifest.gz b/app-mobilephone/Manifest.gz
index 14c0fde203e0..4a8bbcae5fcb 100644
--- a/app-mobilephone/Manifest.gz
+++ b/app-mobilephone/Manifest.gz
Binary files differ
diff --git a/app-mobilephone/smstools/Manifest b/app-mobilephone/smstools/Manifest
index 6b58dc56fc3b..16596137a3aa 100644
--- a/app-mobilephone/smstools/Manifest
+++ b/app-mobilephone/smstools/Manifest
@@ -2,6 +2,8 @@ AUX 3.1.21-gawk-location.patch 395 BLAKE2B c112570a1eb50fab5f28b0e534b7ed2f5039f
AUX smsd.initd4 544 BLAKE2B 7e8ea8dfa369d65beda7b6262c8c5bbf75dccc3a9dd1530c986e26212a51ee2fd5396f559414fdf6bf6c2c116ba0d06e2dbf588619962bfd3e5fb126c4d2e280 SHA512 4060e8ca95ccd7b237f2d32be35e30de532dd03a1b2e88e9c516e7f94383a790bdbac9ed20b482103f425f3b84097bc02308588b313a3651c5d251d92d5f61e2
AUX smsd.service 232 BLAKE2B e02904692d7d397618e03a759a5d515c95b6c3d7e34f6e8a68642518a412c93738bb9ee3afc9604dc93ea96787dfefc9727e84fa848a647e49d4be67c80d5a28 SHA512 60b2d56b4fb5f174c9a9111891633a1eca6e831a0abad7d348c04d63776af832256a1bf0ed300196c429056106226e98178e60215c867e6ec9f998a7029295d1
AUX smsd.tmpfiles 28 BLAKE2B 1f7dc406901d08d362ad2ca8ad236c8d5c45166c97501d0b314a644f2fb9994e2d3f9071f61dc8d42f1d1b7aa272b1741aa97bcdffce457a385d0c3f6ec4ad1a SHA512 e8169ac96bff820996b13971f47e40550cbfa87a46f74304c4a42afe5a0fb779e65244dda5c7b3fae40d3eb0a669f2b4d5f5bfeeb576e88e04ddda812da9234a
+DIST smstools-3.1.21-patches.tgz 6961 BLAKE2B ee70220d96645f1cdea403ebcc3a199e16aeea2c11d222d4013d6ae08be43daa089f1c6b770ad79edfe783f534913c0fad547181aeeb51796f41420a1e43d505 SHA512 9d6697f64a1af00664bec734e638dff810c984de959675ba856fe4f74290bb971425c909c2e245a62bb8d1991811c79dd5b10864a0f4cc14c5773bf5e01d07a7
DIST smstools3-3.1.21.tar.gz 356548 BLAKE2B 8bbb65761128a86200a6d47e90456fef076be10cd4081b4e3cdc9456c0176996ee6ee9afbe3d9f2a989d93db706bf5461ddf7f739bc8d70337a842b96eb27a5c SHA512 0587e5020a0318351ca99b68baa1c19411824279055857a5b5aa4e346cae373fe94a811eaca6767bcf991cf849eaaa66ec120f046420531a6088cdde9373db31
EBUILD smstools-3.1.21-r1.ebuild 1707 BLAKE2B 426053dd73de6533ed4067a5443c2569beb28f347b31b15d28622b22414db05f87f269668cbd789720f8f135f819b142a0664982034abb22668eb1f1f9c57c7b SHA512 7893129b52974d6b0948c9a840b7099a99c007c4a8b414b2d0fe704db21b09765343b47c164a17e902d4a92706c792e757f7e28b8383c42fe87fb5b4afef190d
-MISC metadata.xml 311 BLAKE2B 7f50942d5ff32e7025c5f0289555117e7c3b22d22ba9a2589ceae11c80d98d8ca00658ab0540a79576ba2b9f807c4a59f4539d253645d4c336079f4db4a5c7f0 SHA512 0ff7191917f66832a0c60952bc0e187f5c82656f6e422d81d4bf4d4d38c9edef5519d696976a3668682c40feb932b510fd96591ea698d7f08d9e4d84d12f641d
+EBUILD smstools-3.1.21-r2.ebuild 1729 BLAKE2B fee664899c99753b38e72071513123986dbb3e259a800f116787aac0652897ff9d0e88a00fee73e2bf799172a86b5927b7210f77adc63145e29790402b0b3fab SHA512 a2173d60a4d2de80a378348d1a353e5f0f55c0042913289a90c0e5c74f628731f0e9239c617022e42c178d1719e3b51aa6a0926567ce3de313887496d701a7aa
+MISC metadata.xml 315 BLAKE2B c04075d2c685c8a3d65ee6ad0270625493667a4083e6fba888810eb09233497b5999409bf4f80567e4401a7ca2fbb55990e14809d086cb42600c61e88ca447de SHA512 f8ea9efc4287af603952d1643df71f3de2201c466e760d27b6b6b5accca5c28d977202198abc92e8b89d1e1361a14f3b4186d17716c592a334658004aac8fff2
diff --git a/app-mobilephone/smstools/metadata.xml b/app-mobilephone/smstools/metadata.xml
index 4fedfbd15bb2..0d9769b13f3f 100644
--- a/app-mobilephone/smstools/metadata.xml
+++ b/app-mobilephone/smstools/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>chainsaw@gentoo.org</email>
- <name>Tony Vroon</name>
-</maintainer>
-<use>
- <flag name="stats">Enable statistic reporting</flag>
-</use>
+ <maintainer type="person">
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+ <use>
+ <flag name="stats">Enable statistic reporting</flag>
+ </use>
</pkgmetadata>
diff --git a/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild b/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
new file mode 100644
index 000000000000..7bbd2e97cb6f
--- /dev/null
+++ b/app-mobilephone/smstools/smstools-3.1.21-r2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd tmpfiles 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
+ https://dev.gentoo.org/~soap/distfiles/${P}-patches.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="stats"
+
+DEPEND="
+ acct-group/sms
+ acct-user/smsd"
+RDEPEND="${DEPEND}
+ sys-process/procps
+ stats? ( dev-libs/mm )"
+
+PATCHES=(
+ "${WORKDIR}"/${P}-gawk-location.patch
+ "${WORKDIR}"/${P}-fno-common.patch
+)
+
+S="${WORKDIR}"/${PN}3
+
+src_prepare() {
+ default
+ 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() {
+ emake -C src \
+ 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/{checked,incoming,outgoing}
+ fowners -R smsd:sms /var/spool/sms
+ fperms g+s /var/spool/sms/incoming
+
+ newinitd "${FILESDIR}"/smsd.initd4 smsd
+ insopts -o smsd -g sms -m0644
+ insinto /etc
+ newins examples/smsd.conf.easy smsd.conf
+ dodoc -r doc
+
+ systemd_dounit "${FILESDIR}"/smsd.service
+ newtmpfiles "${FILESDIR}"/smsd.tmpfiles smsd.conf
+}
+
+pkg_postinst() {
+ touch "${EROOT}"/var/log/smsd.log || die
+ chown --no-dereference -f smsd:sms "${EROOT}"/var/log/smsd.log || die
+}