Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 408191

Summary: net-nntp/hellanzb uses deprecated opts in init script
Product: Gentoo Linux Reporter: Sébastien P. <sebastien.picavet>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED OBSOLETE    
Severity: normal CC: mgorny, net-news
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: hellanzb.init

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 (RETIRED) 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