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

Bug 394459

Summary: net-misc/asterisk-1.8.7.2: Please use extra_commands or extra_started_commands
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Tony Vroon (RETIRED) <chainsaw>
Status: RESOLVED FIXED    
Severity: normal CC: voip+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: updated init.d file (extra_started_commands instead of opts)

Description Agostino Sarubbo gentoo-dev 2011-12-12 15:01:23 UTC
asterisk           | * Use of the opts variable is deprecated and will be
asterisk           | * removed in the future.
asterisk           | * Please use extra_commands or extra_started_commands.
asterisk           | * Starting asterisk PBX ...

Tony, when you touch it, please take a look at your RDEPEND, from scanelf seems to missing:


sys-libs/libcap
sys-libs/ncurses
sys-libs/zlib
media-libs/libsdl
media-libs/libogg
dev-libs/glib
Comment 1 Jaco Kroon 2011-12-12 15:07:31 UTC
Created attachment 295567 [details]
updated init.d file (extra_started_commands instead of opts)

Thanks for reporting.  Attaching updated init.d file.

Tony - it's a one liner change at line 6.

There are one or two other bugs.

In particular is_running checks that asterisk is running where it should probably rather check if the wrapper is running, we can then add an extendedstatus (similar to apache) that checks whether ast is actually running, uptime etc ...
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-12-17 20:07:58 UTC
+*asterisk-1.8.8.0 (17 Dec 2011)
+
+  17 Dec 2011; Tony Vroon <chainsaw@gentoo.org> +files/1.8.0/asterisk.initd2,
+  -files/1.6.2/asterisk.initd2, -files/1.6.2/asterisk.initd3,
+  +asterisk-1.8.8.0.ebuild:
+  Version bump on the 1.8 branch; primarily a bugfix release. Patch by Jaco
+  Kroon addresses bug #394459 by Agostino "ago" Sarubbo.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2011-12-17 20:19:30 UTC
+*asterisk-10.0.0 (17 Dec 2011)
+
+  17 Dec 2011; Tony Vroon <chainsaw@gentoo.org> +asterisk-10.0.0.ebuild:
+  First release on the long-term support 10 branch. If you have not tried this
+  on your production deployment yet, please set aside time now. This will be a
+  stable candidate early in the new year. Patch by Jaco Kroon addresses bug
+  #394459 by Agostino "ago" Sarubbo.