Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336066 - >=net-misc/asterisk-1.6.2.11-r1 - logrotate file (incorrect keyword)
Summary: >=net-misc/asterisk-1.6.2.11-r1 - logrotate file (incorrect keyword)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-05 08:32 UTC by Jaco Kroon
Modified: 2010-09-16 17:29 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2010-09-05 08:32:02 UTC
Hi,

It seems I stuffed up the logrotate file submission for asterisk.

Just replace the rotations keyword in the file (${FILESDIR}/1.6.2/asterisk.logrotate) with rotate:

$ sed -e 's/rotations/rotate/' -i ...

Thanks,
Jaco

Reproducible: Always

Steps to Reproduce:

Actual Results:  
This is the error message mailed to me via cron:

error: asterisk:24 unknown option 'rotations' -- ignoring line
error: asterisk:24 unexpected text
Comment 1 Jaco Kroon 2010-09-16 10:40:48 UTC
bump.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2010-09-16 17:29:43 UTC
+*asterisk-1.6.2.13-r1 (16 Sep 2010)
+
+  16 Sep 2010; <chainsaw@gentoo.org> +asterisk-1.6.2.13-r1.ebuild,
+  +files/1.6.2/asterisk-1.6.2.13-backport-bri-net-ptmp.patch,
+  +files/1.6.2/asterisk-1.6.2.13-dahdiras-without-root.patch,
+  +files/1.6.2/asterisk-1.6.2.13-iax2-peerstate.patch,
+  +files/1.6.2/asterisk.logrotate2:
+  Add peerstatus to IAX2, closes bug #330135. Correct rotate keyword in
+  logrotate file, closes bug #336066. Add USE="doc", closes bug #331613.
+  Invoke DAHDIRAS differently so non-root works, closes bug #337297.
+  Backported bri_net_ptmp from 1.8 branch, closes bug #337591. Many thanks
+  to Jaco Kroon for all these bugfixes & improvements.