nimiux      14/11/04 19:55:09

  Modified:             ChangeLog
  Added:                logrotate-3.8.8.ebuild
  Log:
  Version bump. (bug #528036)
  
  (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 
F253DB15)

Revision  Changes    Path
1.181                app-admin/logrotate/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.181&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.181&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?r1=1.180&r2=1.181

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v
retrieving revision 1.180
retrieving revision 1.181
diff -u -r1.180 -r1.181
--- ChangeLog   2 Nov 2014 07:47:21 -0000       1.180
+++ ChangeLog   4 Nov 2014 19:55:09 -0000       1.181
@@ -1,6 +1,15 @@
 # ChangeLog for app-admin/logrotate
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.180 
2014/11/02 07:47:21 swift Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.181 
2014/11/04 19:55:09 nimiux Exp $
+
+*logrotate-3.8.8 (04 Nov 2014)
+
+  04 Nov 2014; Chema Alonso <[email protected]> +logrotate-3.8.8.ebuild,
+  +files/logrotate-3.8.8-atomic-create.patch,
+  +files/logrotate-3.8.8-fbsd.patch,
+  +files/logrotate-3.8.8-ignore-hidden.patch,
+  +files/logrotate-3.8.8-noasprintf.patch:
+  Version bump. (bug #528036)
 
   02 Nov 2014; Sven Vermeulen <[email protected]> logrotate-3.8.7.ebuild:
   Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug



1.1                  app-admin/logrotate/logrotate-3.8.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.8.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.8.8.ebuild?rev=1.1&content-type=text/plain

Index: logrotate-3.8.8.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.8.ebuild,v 
1.1 2014/11/04 19:55:09 nimiux Exp $

EAPI=5

inherit eutils toolchain-funcs flag-o-matic

DESCRIPTION="Rotates, compresses, and mails system logs"
HOMEPAGE="https://fedorahosted.org/logrotate/";
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz";

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="acl selinux"

CDEPEND="
        >=dev-libs/popt-1.5
        selinux? (
                sys-libs/libselinux
        )
        acl? ( virtual/acl )"

DEPEND="${CDEPEND}
        >=sys-apps/sed-4
"
RDEPEND="${CDEPEND}
        selinux? ( sec-policy/selinux-logrotate )
"

src_prepare() {
        epatch \
                "${FILESDIR}"/${P}-ignore-hidden.patch \
                "${FILESDIR}"/${P}-fbsd.patch \
                "${FILESDIR}"/${P}-noasprintf.patch \
                "${FILESDIR}"/${P}-atomic-create.patch
        "${S}"/autogen.sh || die
}

src_compile() {
        local myconf
        myconf="CC=$(tc-getCC)"
        use selinux && myconf="${myconf} WITH_SELINUX=yes"
        use acl && myconf="${myconf} WITH_ACL=yes"
        emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}

src_install() {
        insinto /usr
        dosbin logrotate
        doman logrotate.8
        dodoc CHANGES examples/logrotate*

        exeinto /etc/cron.daily
        newexe "${S}"/examples/logrotate.cron "${PN}"

        insinto /etc
        doins "${FILESDIR}"/logrotate.conf

        keepdir /etc/logrotate.d
}

pkg_postinst() {
        if [[ -z ${REPLACING_VERSIONS} ]] ; then
                elog "If you wish to have logrotate e-mail you updates, please"
                elog "emerge virtual/mailx and configure logrotate in"
                elog "/etc/logrotate.conf appropriately"
                elog
                elog "Additionally, /etc/logrotate.conf may need to be modified"
                elog "for your particular needs.  See man logrotate for 
details."
        fi
}




Reply via email to