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

Bug 344175

Summary: =app-admin/rsyslog-5.4.0 invalid IUSE=logrotate
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED FIXED    
Severity: QA Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198901    

Description Jeroen Roovers (RETIRED) gentoo-dev 2010-11-04 19:16:43 UTC
You don't need to DEPEND on app-admin/logrotate to install a logrotate configuration file, and you don't need to conditionally install the configuration file:

    if use logrotate; then
        insinto /etc/logrotate.d/
        newins "${FILESDIR}/${BRANCH}/rsyslog.logrotate" rsyslog || die
    fi
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-03-30 14:13:18 UTC
Fixed in main tree.