Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 408191 - net-nntp/hellanzb uses deprecated opts in init script
Summary: net-nntp/hellanzb uses deprecated opts in init script
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: init.d-depr-opts
  Show dependency tree
 
Reported: 2012-03-14 18:40 UTC by Sébastien P.
Modified: 2017-03-18 07:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hellanzb.init (hellanzb,835 bytes, text/plain)
2012-03-14 18:43 UTC, Sébastien P.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien P. 2012-03-14 18:40:56 UTC
Hellanzb uses an init script with old “opts” variable.

I join an update init script.

For info, patch is:
--- /usr/portage/net-nntp/hellanzb/files/hellanzb.init  2010-04-23 15:46:56.000000000 +0200
+++ /etc/init.d/hellanzb        2012-03-14 19:35:43.239065001 +0100
@@ -2,7 +2,7 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-opts="start stop"
+extra_commands="check_config"
 
 depend() {
         need net
Comment 1 Sébastien P. 2012-03-14 18:43:03 UTC
Created attachment 305331 [details]
hellanzb.init

Init script update
Comment 2 Jeroen Roovers gentoo-dev 2012-03-14 18:59:08 UTC
Comment on attachment 305331 [details]
hellanzb.init

--- files/hellanzb.init 2010-04-23 15:46:56.000000000 +0200
+++ -   2012-03-14 19:58:57.405454546 +0100
@@ -2,7 +2,7 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-opts="start stop"
+extra_commands="check_config"
 
 depend() {
         need net
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-03-18 07:36:49 UTC
commit 21ac04a029960a7566d2964a7ad6f72c24501f6e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Thu Mar 16 20:21:17 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Sat Mar 18 08:33:20 2017

    net-nntp/hellanzb: Remove last-rited pkg, #449716