public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2016-01-06 21:05 Patrice Clement
  0 siblings, 0 replies; 7+ messages in thread
From: Patrice Clement @ 2016-01-06 21:05 UTC (permalink / raw
  To: gentoo-commits

commit:     4dc117d84e726d600656284b510303cc521f3c99
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Wed Jan  6 00:36:32 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jan  6 00:36:32 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dc117d8

net-nntp/nzbget: improve init script #550600

Package-Manager: portage-2.2.26

 net-nntp/nzbget/files/nzbget.initd | 25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
index 736e7a5..c533da1 100644
--- a/net-nntp/nzbget/files/nzbget.initd
+++ b/net-nntp/nzbget/files/nzbget.initd
@@ -3,11 +3,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-extra_started_commands="pause unpause"
+extra_started_commands="reload"
 
 start() {
-	ebegin "Starting nzbget"
-	checkpath -d -m 0755 -o "${NZBGET_USER}:${NZBGET_GROUP}" /run/nzbget
+	ebegin "Starting ${RC_SVCNAME}"
+	checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget
 	start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
 		--group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
 		--configfile "${NZBGET_CONFIGFILE}" --daemon \
@@ -16,19 +16,14 @@ start() {
 }
 
 stop() {
-	ebegin "Stopping nzbget"
-	/usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --quit >/dev/null
-	eend $?
-}
-
-pause() {
-	ebegin "Pausing nzbget"
-	/usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --pause >/dev/null
-	eend $?
+	ebegin "Stopping ${RC_SVCNAME}"
+	start-stop-daemon --stop --exec /usr/bin/nzbget -- \
+		--configfile "${NZBGET_CONFIGFILE}" --daemon \
+		-- ${NZBGET_OPTS}
 }
 
-unpause() {
-	ebegin "Unpausing nzbget"
-	/usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --unpause >/dev/null
+reload() {
+	ebegin "Reloading ${RC_SVCNAME}"
+	/usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null
 	eend $?
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2016-01-07 11:28 Ian Delaney
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Delaney @ 2016-01-07 11:28 UTC (permalink / raw
  To: gentoo-commits

commit:     a8e8c94da31451668793f670f11aa110c6325bae
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Thu Jan  7 10:58:41 2016 +0000
Commit:     Ian Delaney <idella4 <AT> gentoo <DOT> org>
CommitDate: Thu Jan  7 10:58:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8e8c94d

net-nntp/nzbget: fix init script

Package-Manager: portage-2.2.26

 net-nntp/nzbget/files/nzbget.initd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
index c533da1..e3cd15e 100644
--- a/net-nntp/nzbget/files/nzbget.initd
+++ b/net-nntp/nzbget/files/nzbget.initd
@@ -11,7 +11,7 @@ start() {
 	start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
 		--group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
 		--configfile "${NZBGET_CONFIGFILE}" --daemon \
-		${NZBGET_OPTS}
+		-- ${NZBGET_OPTS}
 	eend $?
 }
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2016-02-14 15:59 Sven Wegener
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wegener @ 2016-02-14 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     084c8f167746a1a4865a9a9392ee4d1000c0d3e0
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 15:57:28 2016 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sun Feb 14 15:58:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084c8f16

net-nntp/nzbget: Remove double -- from init script

Package-Manager: portage-2.2.26

 net-nntp/nzbget/files/nzbget.initd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
index e3cd15e..0ed9805 100644
--- a/net-nntp/nzbget/files/nzbget.initd
+++ b/net-nntp/nzbget/files/nzbget.initd
@@ -11,7 +11,7 @@ start() {
 	start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
 		--group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
 		--configfile "${NZBGET_CONFIGFILE}" --daemon \
-		-- ${NZBGET_OPTS}
+		${NZBGET_OPTS}
 	eend $?
 }
 
@@ -19,7 +19,7 @@ stop() {
 	ebegin "Stopping ${RC_SVCNAME}"
 	start-stop-daemon --stop --exec /usr/bin/nzbget -- \
 		--configfile "${NZBGET_CONFIGFILE}" --daemon \
-		-- ${NZBGET_OPTS}
+		${NZBGET_OPTS}
 }
 
 reload() {


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2016-05-16 21:42 Patrice Clement
  0 siblings, 0 replies; 7+ messages in thread
From: Patrice Clement @ 2016-05-16 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     8c3e544f175ca56dd9a66f81c0d7a31454868454
Author:     Louis Sautier <sautier.louis <AT> gmail <DOT> com>
AuthorDate: Mon May 16 21:31:49 2016 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon May 16 21:14:45 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3e544f

net-nntp/nzbget: re-add a missing patch for old versions

Gentoo-Bug: https://bugs.gentoo.org/581142

Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1478

Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch b/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
new file mode 100644
index 0000000..e6cd13f
--- /dev/null
+++ b/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
@@ -0,0 +1,18 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -46,6 +46,7 @@
+ AC_PATH_PROG(MAKE, make, $FALSE)
+ AC_PROG_INSTALL
+ 
++PKG_PROG_PKG_CONFIG()
+ 
+ dnl
+ dnl Do all tests with c++ compiler.
+@@ -291,6 +292,7 @@
+ 	if test "$FOUND" = "no"; then
+ 		AC_MSG_ERROR([Couldn't find curses headers (ncurses.h or curses.h)])
+ 	fi
++	PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
+ 	AC_SEARCH_LIBS([refresh], [ncurses curses],, 
+ 		AC_ERROR([Couldn't find curses library]))
+ else


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2017-01-28 16:50 Sven Wegener
  0 siblings, 0 replies; 7+ messages in thread
From: Sven Wegener @ 2017-01-28 16:50 UTC (permalink / raw
  To: gentoo-commits

commit:     700848f5fb07ff84fc29a7e69df439b829eaf24b
Author:     Michael Mair-Keimberger (asterix) <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Fri Jan 27 15:30:55 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 16:50:18 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=700848f5

net-nntp/nzbget: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/3676

 .../files/nzbget-17.0_parcheck-tests-fix.patch     | 39 ----------------------
 1 file changed, 39 deletions(-)

diff --git a/net-nntp/nzbget/files/nzbget-17.0_parcheck-tests-fix.patch b/net-nntp/nzbget/files/nzbget-17.0_parcheck-tests-fix.patch
deleted file mode 100644
index 8200f2b..00000000
--- a/net-nntp/nzbget/files/nzbget-17.0_parcheck-tests-fix.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From f2dcef1e5cba52bb6d06b189ec77398116bd204a Mon Sep 17 00:00:00 2001
-From: Gokturk Yuksek <gokturk@gentoo.org>
-Date: Thu, 4 Aug 2016 00:52:14 -0400
-Subject: [PATCH] Do not compile ParCheckerTest and ParRenamerTest if parcheck
- is disabled
-
----
- Makefile.am | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index b2c830b..0e01087 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -217,8 +217,6 @@ nzbget_SOURCES += \
- 	tests/main/CommandLineParserTest.cpp \
- 	tests/main/OptionsTest.cpp \
- 	tests/feed/FeedFilterTest.cpp \
--	tests/postprocess/ParCheckerTest.cpp \
--	tests/postprocess/ParRenamerTest.cpp \
- 	tests/postprocess/DupeMatcherTest.cpp \
- 	tests/queue/NzbFileTest.cpp \
- 	tests/nntp/ServerPoolTest.cpp \
-@@ -226,6 +224,12 @@ nzbget_SOURCES += \
- 	tests/util/NStringTest.cpp \
- 	tests/util/UtilTest.cpp
- 
-+if WITH_PAR2
-+nzbget_SOURCES += \
-+	tests/postprocess/ParCheckerTest.cpp \
-+	tests/postprocess/ParRenamerTest.cpp
-+endif
-+
- AM_CPPFLAGS += \
- 	-I$(srcdir)/lib/catch \
- 	-I$(srcdir)/tests/suite
--- 
-2.7.3
-


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2019-03-03  0:48 Louis Sautier
  0 siblings, 0 replies; 7+ messages in thread
From: Louis Sautier @ 2019-03-03  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     8c454c0d6376d45cc8313a1c94cfb4e68c998a11
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Mar  2 11:59:37 2019 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 00:47:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c454c0d

net-nntp/nzbget: remove unused patch

Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11213
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch b/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
deleted file mode 100644
index e6cd13f6ffc..00000000000
--- a/net-nntp/nzbget/files/nzbget-14.0_pre1145-tinfo.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -46,6 +46,7 @@
- AC_PATH_PROG(MAKE, make, $FALSE)
- AC_PROG_INSTALL
- 
-+PKG_PROG_PKG_CONFIG()
- 
- dnl
- dnl Do all tests with c++ compiler.
-@@ -291,6 +292,7 @@
- 	if test "$FOUND" = "no"; then
- 		AC_MSG_ERROR([Couldn't find curses headers (ncurses.h or curses.h)])
- 	fi
-+	PKG_CHECK_MODULES(ncurses,ncurses,LIBS="$LIBS $ncurses_LIBS",)
- 	AC_SEARCH_LIBS([refresh], [ncurses curses],, 
- 		AC_ERROR([Couldn't find curses library]))
- else


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/
@ 2019-03-03  0:48 Louis Sautier
  0 siblings, 0 replies; 7+ messages in thread
From: Louis Sautier @ 2019-03-03  0:48 UTC (permalink / raw
  To: gentoo-commits

commit:     61f955aad03c22077d6e842bc3201365263c6bb4
Author:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 00:43:35 2019 +0000
Commit:     Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 00:47:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61f955aa

net-nntp/nzbget: remove old init script

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>

 net-nntp/nzbget/files/nzbget.initd | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/net-nntp/nzbget/files/nzbget.initd b/net-nntp/nzbget/files/nzbget.initd
deleted file mode 100644
index 06f75596e43..00000000000
--- a/net-nntp/nzbget/files/nzbget.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-extra_started_commands="reload"
-
-start() {
-	ebegin "Starting ${RC_SVCNAME}"
-	checkpath -d -m 0755 -o "${NZBGET_USER}":"${NZBGET_GROUP}" /run/nzbget
-	start-stop-daemon --quiet --start --user "${NZBGET_USER}" \
-		--group "${NZBGET_GROUP}" --exec /usr/bin/nzbget -- \
-		--configfile "${NZBGET_CONFIGFILE}" --daemon \
-		${NZBGET_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${RC_SVCNAME}"
-	start-stop-daemon --stop --exec /usr/bin/nzbget -- \
-		--configfile "${NZBGET_CONFIGFILE}" --daemon \
-		${NZBGET_OPTS}
-}
-
-reload() {
-	ebegin "Reloading ${RC_SVCNAME}"
-	/usr/bin/nzbget --configfile "${NZBGET_CONFIGFILE}" --reload >/dev/null
-	eend $?
-}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-03-03  0:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-14 15:59 [gentoo-commits] repo/gentoo:master commit in: net-nntp/nzbget/files/ Sven Wegener
  -- strict thread matches above, loose matches on Subject: below --
2019-03-03  0:48 Louis Sautier
2019-03-03  0:48 Louis Sautier
2017-01-28 16:50 Sven Wegener
2016-05-16 21:42 Patrice Clement
2016-01-07 11:28 Ian Delaney
2016-01-06 21:05 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox