nimiux      15/06/28 12:14:25

  Modified:             ChangeLog
  Added:                logrotate-3.9.1.ebuild
  Log:
  version bump
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
F253DB15)

Revision  Changes    Path
1.210                app-admin/logrotate/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -r1.209 -r1.210
--- ChangeLog   21 Jun 2015 18:23:54 -0000      1.209
+++ ChangeLog   28 Jun 2015 12:14:25 -0000      1.210
@@ -1,6 +1,16 @@
 # ChangeLog for app-admin/logrotate
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.209 
2015/06/21 18:23:54 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.210 
2015/06/28 12:14:25 nimiux Exp $
+
+*logrotate-3.9.1 (28 Jun 2015)
+
+  28 Jun 2015; Chema Alonso <nim...@gentoo.org> +logrotate-3.9.1.ebuild,
+  +files/logrotate-3.9.1-Werror.patch,
+  +files/logrotate-3.9.1-atomic-create.patch,
+  +files/logrotate-3.9.1-fbsd.patch,
+  +files/logrotate-3.9.1-ignore-hidden.patch,
+  +files/logrotate-3.9.1-noasprintf.patch:
+  version bump
 
   21 Jun 2015; Mikle Kolyada <zlog...@gentoo.org> logrotate-3.8.9-r1.ebuild:
   alpha stable wrt bug #550032



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

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

Index: logrotate-3.9.1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.9.1.ebuild,v 
1.1 2015/06/28 12:14:25 nimiux Exp $

EAPI=5

inherit autotools 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 +cron 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 )
        cron? ( virtual/cron )"

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

src_prepare() {
        epatch \
                "${FILESDIR}"/${P}-ignore-hidden.patch \
                "${FILESDIR}"/${P}-fbsd.patch \
                "${FILESDIR}"/${P}-noasprintf.patch \
                "${FILESDIR}"/${P}-atomic-create.patch \
                "${FILESDIR}"/${P}-Werror.patch
        eautoreconf
}

src_configure() {
        econf $(use_with acl) $(use_with selinux)
}

src_compile() {
        emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
}

src_test() {
        emake test
}

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

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

        use cron && install_cron_file

        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