Changeset 15772 in niluje


Ignore:
Timestamp:
Feb 10, 2019, 4:41:41 AM (11 days ago)
Author:
NiLuJe
Message:

Portage:

  • Bump net-nntp/nzbget to 21.0_pre2296
Location:
Portage/trunk/net-nntp/nzbget
Files:
1 added
1 deleted
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • Portage/trunk/net-nntp/nzbget/Manifest

    r15373 r15772  
    1 AUX nzbget.confd 337 BLAKE2B ad595276ffa2a434b9319831ee174c6b273fcef7d12664b69303b949b65818f4c78a76b150b1911c6be972a0018c5390a403c99638a27f21635c46ec15b1c213 SHA512 f9eed3d86c894b88e8795d9205e3cb8378521fac3c22536f7a4d16bebfb58941b6e60aa89c1cb39101ae2104d0c7152e2144e43eec6c51854e0c895acde17efc
    2 AUX nzbget.initd 1545 BLAKE2B f9cec17ca9f2f3b5811b13a26550371e1a17d96e4c2d5329dc254b0d8c5b80686a53e7a43dfbccd6f0d20caf2238fcc3eb1273ba9e56d110f257769d66900234 SHA512 cb4fdd80b7862f3ce7fecc86cbce8120cfec3bac152b16b73e83e69b1ce1888913359494e9f20b2e668d0a25ad6ab58417c20dbe3393aedac789cb06ccc009d2
    3 DIST nzbget-20.0.tar.gz 1925665 BLAKE2B 4c4e93bb0fa170b4b6433cbb7d27f3fa67ed033c462711b19e179f42c18dfed044c937e6a7ce4b08a620f4d7af7d3ec9245de16f15d4db8005d3d8dc4f8f46d4 SHA512 8b0fe8ea41b64be9a2f624ef0fa2a8b8987bee412db68a0e8f1b607ce6be7bfd03f60ecc5e49807f4c726e136bc5a355c44559b215fea2bd290c2eb62a0b5927
    4 DIST nzbget-21.0_pre2220.tar.gz 1985190 BLAKE2B e19e1c997615f61895a26ca24ff1eb66e6caf99cecf3f3b0eccc2c0f67ebc61c20cdd24d869d8c2a1d2f0d5c53f5222cc3b151720e3a6d1398507fd252586cf5 SHA512 73cd24628ab224d62b4619ca6b9014edb08ac14f02850def3123db640c785fd8836ba4ee4be40a0cf918ba6c25bf19683e67d05aaa0f96c71ad23b6a30284fa0
    5 EBUILD nzbget-20.0.ebuild 3072 BLAKE2B 7eb41757a36425c87779ca88f01ea3713e224357a75a4a1e280561da65d9bca3aeb7b5611cee4dce578f3f73c9bf02f8346650f72339b56f5dde66041aa65b46 SHA512 27940e6644f253b7de31d6f587ae46991c8fa9b951be286ebd3832b997a51383364f919bc5ab5122734d9b474edb18a2e3641df33094e1c2f37c655a418f2317
    6 EBUILD nzbget-21.0_pre2220.ebuild 3072 BLAKE2B 7eb41757a36425c87779ca88f01ea3713e224357a75a4a1e280561da65d9bca3aeb7b5611cee4dce578f3f73c9bf02f8346650f72339b56f5dde66041aa65b46 SHA512 27940e6644f253b7de31d6f587ae46991c8fa9b951be286ebd3832b997a51383364f919bc5ab5122734d9b474edb18a2e3641df33094e1c2f37c655a418f2317
     1AUX nzbget.confd 337 BLAKE2B 4986f3c00019f8f2d0c3d71f9d623186823748722dc4c8aea82ef39b57cebc079247ce5aaa14f1fd844a3c94931f53c1af7ce015e2b4ba68973367c6b708e0e3 SHA512 0f9a0d62ac6ea35703ebd64ec68057596d63fd5957afa2d3bcd18b4e8db4b24e78d060dc36cf90dbd2f604b4c6f107fb8e59ff779b6865cd362e71a0666d6c56
     2AUX nzbget.initd-r1 742 BLAKE2B eef074b7e25cd085b92850892ee8917772451b0f58a7f7c3b96c55bcdb115cc99d12e0569f59cc546f9655460230e5f29a82c4d749a654e2019e7c06651c165a SHA512 df4965d25a221c033586da85596584a712bc5c5d9c2e0950850f96fa872f29a04571649e7add504d9fe8be3639654e5653a766a6accf4dea344ca771088b432a
     3AUX nzbget.service 466 BLAKE2B 928ff8fd5f48b9190324ccaa98f1215aa35e30eb9959278fe2b9d77f175ee97a28e0efe3ac034ceb2da023c9d7737aa3f803861489284578412559e257700003 SHA512 5a59562580596bc5524086dcb2b2550b242a5f62750fd42a5b2e9ecb786b40107a21fcab7496d0cd396434da7ed3ee5d1046059d94f5f2bcb76ad496862d19e1
     4DIST nzbget-21.0_pre2296.tar.gz 1989681 BLAKE2B be4ff6b24aed985239a8dd120faaff7f036d40807f2ce2b26f53e407f738fbb7bf7778ea370912745f6f819231fe741d66ab7f11bcb656b34d1610805c9fac53 SHA512 2141e4417ad6bb3f73414354f996a049e737494cc21c5589fa3fadaaf5bdae7116a18e7953316c2973d7d7fead745a6a09ccdf1b48109d2ede63916ce367142c
     5EBUILD nzbget-21.0_pre2296.ebuild 3085 BLAKE2B 5584dae70ec71ca09f339479267a14364e0a8d69c2404bbaeadf553832386a1c9385f83a62851b69be6c5976762bd5be7a8cfaab8878f0a2d6e5d4ca7e733de1 SHA512 6f48cc956bcbb7ba625449062db8d9b8982654f21a77f0b4060b00697da217f53ae16e9e50a7d92d7199c300140ddd3b59258e808aceedcba9084d90e5adccd4
  • Portage/trunk/net-nntp/nzbget/files/nzbget.confd

    r13499 r15772  
    1 # Copyright 1999-2017 Gentoo Foundation
     1# Copyright 1999-2008 Gentoo Foundation
    22# Distributed under the terms of the GNU General Public License v2
    33
  • Portage/trunk/net-nntp/nzbget/files/nzbget.initd-r1

    r15771 r15772  
    22# Copyright 1999-2017 Gentoo Foundation
    33# Distributed under the terms of the GNU General Public License v2
    4 # $Id$
     4
     5extra_started_commands="reload"
     6
     7description="A command-line based binary newsgrabber supporting .nzb files"
     8pidfile=/run/nzbget/nzbget.pid
     9command=/usr/bin/nzbget
     10command_args="--configfile \"${NZBGET_CONFIGFILE}\" \
     11  --daemon --option LockFile=${pidfile} \
     12  ${NZBGET_OPTS}"
     13start_stop_daemon_args="--user \"${NZBGET_USER}\" \
     14  --group \"${NZBGET_GROUP}\""
    515
    616depend() {
    7         need net
     17  need localmount net
    818}
    919
    10 extra_started_commands="pause unpause reload"
    11 
    12 check_config() {
    13         # Make sure the permissions are sane, according to the user's choice of user/group
    14         checkpath -q -d -m 0755 -o ${NZBGET_USER}:${NZBGET_GROUP} "/run/nzbget"
    15         checkpath -q -d -m 0750 -o ${NZBGET_USER}:${NZBGET_GROUP} "/var/lib/nzbget/queue" "/var/lib/nzbget/tmp"
    16         checkpath -q -d -m 0770 -o ${NZBGET_USER}:${NZBGET_GROUP} "/var/lib/nzbget/dst" "/var/lib/nzbget/nzb"
    17         checkpath -q -d -m 0750 -o ${NZBGET_USER}:${NZBGET_GROUP} "/var/log/nzbget"
    18         checkpath -q -f -m 0640 -o ${NZBGET_USER}:${NZBGET_GROUP} "${NZBGET_CONFIGFILE}"
    19 }
    20 
    21 start() {
    22         check_config
    23 
    24         ebegin "Starting ${RC_SVCNAME}"
    25         start-stop-daemon                               \
    26                 --start                                 \
    27                 --user "${NZBGET_USER}"                 \
    28                 --group "${NZBGET_GROUP}"               \
    29                 --exec /usr/bin/nzbget                  \
    30                 --                                      \
    31                 --configfile "${NZBGET_CONFIGFILE}"     \
    32                 --daemon                                \
    33                 ${NZBGET_OPTS}
    34         eend $?
    35 }
    36 
    37 stop() {
    38         ebegin "Stopping ${RC_SVCNAME}"
    39         /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --quit >/dev/null
    40         eend $?
    41 }
    42 
    43 pause() {
    44         ebegin "Pausing ${RC_SVCNAME}"
    45         /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --pause >/dev/null
    46         eend $?
    47 }
    48 
    49 unpause() {
    50         ebegin "Unpausing ${RC_SVCNAME}"
    51         /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --unpause >/dev/null
    52         eend $?
     20start_pre() {
     21  checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget
    5322}
    5423
    5524reload() {
    56         ebegin "Reloading ${RC_SVCNAME}"
    57         /usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null
    58         eend $?
     25  ebegin "Reloading ${RC_SVCNAME}"
     26  ${command} --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null
     27  eend $?
    5928}
  • Portage/trunk/net-nntp/nzbget/nzbget-21.0_pre2296.ebuild

    r15771 r15772  
    1 # Copyright 1999-2018 Gentoo Foundation
     1# Copyright 1999-2019 Gentoo Authors
    22# Distributed under the terms of the GNU General Public License v2
    3 # $Id$
    43
    5 EAPI=6
     4EAPI=7
    65
    7 inherit autotools eutils flag-o-matic user
     6inherit autotools eutils flag-o-matic user systemd
    87
    98MY_PV=${PV/_pre/-r}
     
    1211DESCRIPTION="A command-line based binary newsgrabber supporting .nzb files"
    1312HOMEPAGE="https://nzbget.net/"
    14 SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}-src.tar.gz -> ${P}.tar.gz"
     13SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz -> ${P}.tar.gz"
    1514
    1615LICENSE="GPL-2+"
    1716SLOT="0"
    1817KEYWORDS="~amd64 ~arm ~ppc ~x86"
    19 IUSE="debug gnutls ncurses parcheck ssl test zlib"
     18IUSE="debug gnutls ncurses +parcheck ssl test zlib"
    2019
    21 RDEPEND="dev-libs/libxml2
     20RDEPEND="dev-libs/libxml2:=
    2221        ncurses? ( sys-libs/ncurses:0= )
    2322        ssl? (
     
    2625                        dev-libs/nettle:=
    2726                )
    28                 !gnutls? ( dev-libs/openssl:0= )
     27                !gnutls? ( dev-libs/openssl:0=[-bindist] )
    2928        )
    30         zlib? ( sys-libs/zlib )"
     29        zlib? ( sys-libs/zlib:= )"
    3130DEPEND="${RDEPEND}
     31        test? (
     32                || (
     33                        =app-arch/rar-5*
     34                        =app-arch/unrar-5*
     35                )
     36        )
    3237        virtual/pkgconfig"
    3338DOCS=( ChangeLog README nzbget.conf )
     
    6065        sed \
    6166                -e 's:^MainDir=.*:MainDir=/var/lib/nzbget:' \
    62                 -e 's:^LockFile=.*:LockFile=/run/nzbget/nzbget.pid:' \
    6367                -e 's:^LogFile=.*:LogFile=/var/log/nzbget/nzbget.log:' \
    6468                -e 's:^WebDir=.*:WebDir=/usr/share/nzbget/webui:' \
     
    6973
    7074src_configure() {
    71         econf \
    72                 $(use_enable debug) \
    73                 $(use_enable ncurses curses) \
    74                 $(use_enable parcheck) \
    75                 $(use_enable ssl tls) \
    76                 $(use_enable zlib gzip) \
    77                 $(use_enable test tests) \
     75        local myconf=(
     76                $(use_enable debug)
     77                $(use_enable ncurses curses)
     78                $(use_enable parcheck)
     79                $(use_enable ssl tls)
     80                $(use_enable zlib gzip)
     81                $(use_enable test tests)
    7882                --with-tlslib=$(usex gnutls GnuTLS OpenSSL)
     83        )
     84        econf "${myconf[@]}"
    7985}
    8086
    81 # Tests fail with USE=-ssl
    82 # https://github.com/nzbget/nzbget/issues/303
    8387src_test() {
    8488        ./nzbget --tests || die "Tests failed"
     
    9599        keepdir /var/log/nzbget
    96100
    97         newinitd "${FILESDIR}"/nzbget.initd nzbget
     101        newinitd "${FILESDIR}"/nzbget.initd-r1 nzbget
    98102        newconfd "${FILESDIR}"/nzbget.confd nzbget
     103        systemd_dounit "${FILESDIR}"/nzbget.service
    99104}
    100105
     
    118123                elog
    119124                elog "Please add users that you want to be able to use the system-wide"
    120                 elog "nzbget daemon to the nzbget group. To access the daemon run nzbget"
     125                elog "nzbget daemon to the nzbget group. To access the daemon, run nzbget"
    121126                elog "with the --configfile /etc/nzbgetd.conf option."
    122127                elog
Note: See TracChangeset for help on using the changeset viewer.