diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-30 01:11:30 +0000 |
commit | 76dfef0cec9170000357d2f354e412daf48941fc (patch) | |
tree | 56647120c0ee20ab3494475c86722034cd194b02 /media-radio/svxlink | |
parent | ccf84bcd604130256d1377cd58f0a634ae6ee20f (diff) |
gentoo resync : 30.12.2017
Diffstat (limited to 'media-radio/svxlink')
-rw-r--r-- | media-radio/svxlink/Manifest | 3 | ||||
-rw-r--r-- | media-radio/svxlink/files/remotetrx.service | 22 | ||||
-rw-r--r-- | media-radio/svxlink/files/svxlink.service | 22 | ||||
-rw-r--r-- | media-radio/svxlink/svxlink-15.11-r1.ebuild | 76 |
4 files changed, 123 insertions, 0 deletions
diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index ec1f0020640c..514526635244 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1,8 +1,11 @@ AUX remotetrx.init 786 BLAKE2B ec1183abfa81ee2e309bf91476623f8030a997f9a17ce8ba37a523fb30fb424972759d8aa81bfd776d7d53222ce6594739231db827248b0cf27876c9267f28d4 SHA512 66222df5ee57a28b5f857ee1209efa3e9af270be3f38ef763ec757b55ef58bd831f18e4704f6dd5554435522a24982ce59c8e70e013e2098b16b997495fb2d05 AUX remotetrx.rc 578 BLAKE2B 1f80f1c09aa77fc11a004a40a0a878f2b0b2f2c7d0dc2a70510e58442d7557b9424807cc1168a806e5348c314d1fb5c5afc562f3ae9a82daf470d5b07b412c5e SHA512 759adaa668f5f0315dd9d710d3ed738b4a0e042a7d12541862c2a311073d25573195336416b3940aaa89443242ce34abf7994c902603cd2640d08291037f465f +AUX remotetrx.service 725 BLAKE2B ecc70328d89dc6ab1e96cea7160e532847263d9307ceedb53faa6548d4215dc0c34f3aceaffc04192f4b7f199ea584672345436b4719d8afecd24be910893ca3 SHA512 28ce7d82aebfa074fafdee3bd59b411acbdf469e12c0fd06d16f9738168539d1dd0d293e380ad47b0266b809a15dab8504688f52f03efaaa7fda1338603dd287 AUX svxlink-15.11-gcc72.patch 500 BLAKE2B 8dfa6c6d28b8e1d3b14867bfcb5974ae62cb0cfdb208931c17146a7da8538b6ddd2e16b55aac484e5401b1c3b9613c86682265ac9504c4f1ffd5285af778f306 SHA512 b0f06e116c8ab65baca58324bed81a5b2fcd28f4c28cfccf9f5a173bbc2c0da32b5d68008ce157e92d95ee6cd9174f7c70a6f47029a98a1d618390a93cd54edb AUX svxlink.init 782 BLAKE2B 536435d70a3a5afbcf533ce39cc1b8bc0de5320ac57728a4ef7e7ed6aa3a702afb52c2b8e986c270c628b28b893a0a4058941addc6c29362c62bd6766ed69365 SHA512 ad3f8c2310a346bc34eeecf541cef87a5eb24649060695d8b510de3f08de1c0cdb4cccac229dc53ab1bf5bc6386aa7b191a6df3a1546a5ddcdfdc146b9f16b51 AUX svxlink.rc 568 BLAKE2B 7e0fa55b6d7d099778f2b20cf3b85b54a943460ade694bdf75159945f0be671eefefbffdfceaf28b092dcd4078970f88194d63311f3cea9cfb38922d83e9f1de SHA512 96e95116c031e3e5f21d1239362736c093c3e5c32adcb4eef1fa667c89a08d62cdb82640a246cf11b9fddc62544f98a660f626e91c67dd7a0d608904b8ddf6dd +AUX svxlink.service 690 BLAKE2B 7f62518556c7c0fd0a4e759031520181f5a9a61a4d5ebcf874e60e8cd400327feee0306011ab8c88b17b8a5b666cc0fda90244b7a9e5ad9734ec629e0bf3d2f3 SHA512 2879820eaa64bc574e1a2c57492ba429cb4b5748b56132fac8922727a8924197b719075c39a6ab0ffcb698b3cf4b5eb889f19c2aac0a9d143f0aef6de778b225 DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac +EBUILD svxlink-15.11-r1.ebuild 1750 BLAKE2B 0dd7c2ce869e18ea801c27c3af4aee7f0cac76e5c39807a36049c54734c14d108d57d5971c1aca1c71d3ebb8b8ce6594ab3455a8b0f64bce749dc4c98e4eada4 SHA512 033529dbe42592d5c650b62a08a48808c5bd5e2583d1505860abd1ce8cea6c93c3b91c1ec4937f92977e658d0bc236f327438cdc25461efd5fb5ba0d8f98f07d EBUILD svxlink-15.11.ebuild 1646 BLAKE2B 459ecb702fa6d5951ef130acbb34303b77b19dc0abd31c86f4179e5f175115739c3427448e5115b57d234b43ac69f49d5c98a1782ed4ac42c918268345f6e973 SHA512 8bb7ffe3775e1915256365cf8db31676db333d21217c2f6186fa0c36acc9aaff9f32bfddc35013f220b3461142b59cfec9a390206ef05761840e99ff0f4b2a5d MISC metadata.xml 696 BLAKE2B 51be8858bc950793e0044d7d8dfa695f3f4c1fa0f373be8908d00c0fdc73ee0fbbe06b118a28da147978ad204d63f2eb02183c961123d71c078fcaa9cc8306f0 SHA512 8e514fc2f15af5d7520a371ab802aa2a024276514d184f31b00b96c09b06e7b7c69904a0ea256f17fbe9e97f8da4cd908a91072284b274ba6488982e92182bc5 diff --git a/media-radio/svxlink/files/remotetrx.service b/media-radio/svxlink/files/remotetrx.service new file mode 100644 index 000000000000..fd808a220a50 --- /dev/null +++ b/media-radio/svxlink/files/remotetrx.service @@ -0,0 +1,22 @@ +;;;;; Author: Richard Neese<kb3vgw@gmail.com> + +[Unit] +Description=SvxLink remote transceiver repeater control software +Documentation=man:remotetrx(1) +After=network.target remote-fs.target syslog.target time.target + +[Service] +PIDFile=/var/run/remotetrx.pid +ExecStartPre=-/bin/touch /var/log/remotetrx +ExecStartPre=-/bin/chown svxlink /var/log/remotetrx +ExecStart=/bin/sh -c '/usr/bin/remotetrx --pidfile=/var/run/remotetrx.pid --logfile=/var/log/remotetrx --config=/etc/svxlink/remotetrx.conf --runasuser=svxlink' +ExecReload=/bin/kill -s HUP $MAINPID +Restart=on-failure +TimeoutStartSec=60 +#WatchdogSec=@SVX_WatchdogSec@ +#NotifyAccess=main +LimitCORE=infinity +WorkingDirectory=/etc/svxlink + +[Install] +WantedBy=multi-user.target diff --git a/media-radio/svxlink/files/svxlink.service b/media-radio/svxlink/files/svxlink.service new file mode 100644 index 000000000000..8b95f3047f78 --- /dev/null +++ b/media-radio/svxlink/files/svxlink.service @@ -0,0 +1,22 @@ +;;;;; Author: Richard Neese<kb3vgw@gmail.com> + +[Unit] +Description=SvxLink repeater control software +Documentation=man:svxlink(1) +After=network.target remote-fs.target syslog.target time.target + +[Service] +PIDFile=/var/run/svxlink.pid +ExecStartPre=-/bin/touch /var/log/svxlink +ExecStartPre=-/bin/chown svxlink /var/log/svxlink +ExecStart=/bin/sh -c '/usr/bin/svxlink --logfile=/var/log/svxlink --config=/etc/svxlink/svxlink.conf --pidfile=/var/run/svxlink.pid --runasuser=svxlink' +ExecReload=/bin/kill -s HUP $MAINPID +Restart=on-failure +TimeoutStartSec=60 +#WatchdogSec=@SVX_WatchdogSec@ +#NotifyAccess=main +LimitCORE=infinity +WorkingDirectory=/etc/svxlink + +[Install] +WantedBy=multi-user.target diff --git a/media-radio/svxlink/svxlink-15.11-r1.ebuild b/media-radio/svxlink/svxlink-15.11-r1.ebuild new file mode 100644 index 000000000000..5dfe0e89f9b6 --- /dev/null +++ b/media-radio/svxlink/svxlink-15.11-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils eutils qt4-r2 systemd user + +CMAKE_USE_DIR="${S}/src" + +DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink" +HOMEPAGE="http://www.svxlink.org" +SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-lang/tcl:0 + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/alsa-lib + media-sound/gsm + dev-libs/libgcrypt:0 + media-libs/speex + media-libs/opus + dev-libs/libsigc++:2 + dev-libs/popt" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + enewgroup svxlink + enewuser svxlink -1 -1 -1 svxlink +} + +src_prepare() { + # fix compilation problem with newer gcc bug #639592 + epatch "${FILESDIR}"/${P}-gcc72.patch + + cmake-utils_src_prepare + # drop deprecated desktop category (bug #475730) + sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die +} + +src_configure() { + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR=/etc + -DLOCAL_STATE_DIR=/var + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + + fowners -R svxlink.svxlink /var/spool/svxlink + + rm -R "${D}"/usr/share/doc/svxlink || die + dodoc src/doc/README-${PV}.adoc + doman src/doc/man/*.1 src/doc/man/*.5 + + insinto /etc/logrotate.d + doins distributions/gentoo/etc/logrotate.d/* + + newinitd "${FILESDIR}"/remotetrx.init remotetrx + newinitd "${FILESDIR}"/svxlink.init svxlink + newconfd "${FILESDIR}"/remotetrx.rc remotetrx + newconfd "${FILESDIR}"/svxlink.rc svxlink + + systemd_dounit "${FILESDIR}"/remotetrx.service + systemd_dounit "${FILESDIR}"/svxlink.service +} |