1 |
nimiux 15/03/01 11:05:42 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: logrotate-3.8.9.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key F253DB15) |
9 |
|
10 |
Revision Changes Path |
11 |
1.188 app-admin/logrotate/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.188&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.188&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?r1=1.187&r2=1.188 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v |
20 |
retrieving revision 1.187 |
21 |
retrieving revision 1.188 |
22 |
diff -u -r1.187 -r1.188 |
23 |
--- ChangeLog 21 Jan 2015 13:03:14 -0000 1.187 |
24 |
+++ ChangeLog 1 Mar 2015 11:05:42 -0000 1.188 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for app-admin/logrotate |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.187 2015/01/21 13:03:14 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.188 2015/03/01 11:05:42 nimiux Exp $ |
30 |
+ |
31 |
+*logrotate-3.8.9 (01 Mar 2015) |
32 |
+ |
33 |
+ 01 Mar 2015; Chema Alonso <nimiux@g.o> +logrotate-3.8.9.ebuild, |
34 |
+ +files/logrotate-3.8.9-Werror.patch, |
35 |
+ +files/logrotate-3.8.9-atomic-create.patch, |
36 |
+ +files/logrotate-3.8.9-fbsd.patch, |
37 |
+ +files/logrotate-3.8.9-ignore-hidden.patch, |
38 |
+ +files/logrotate-3.8.9-noasprintf.patch: |
39 |
+ Version bump. Fix bug #533992 |
40 |
|
41 |
21 Jan 2015; Raúl Porcel <armin76@g.o> logrotate-3.8.8.ebuild: |
42 |
alpha/arm64/ia64/s390/sh/sparc stable wrt #531744 |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-admin/logrotate/logrotate-3.8.9.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.8.9.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.8.9.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: logrotate-3.8.9.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2015 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/logrotate-3.8.9.ebuild,v 1.1 2015/03/01 11:05:42 nimiux Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
|
59 |
inherit autotools eutils toolchain-funcs flag-o-matic |
60 |
|
61 |
DESCRIPTION="Rotates, compresses, and mails system logs" |
62 |
HOMEPAGE="https://fedorahosted.org/logrotate/" |
63 |
SRC_URI="https://fedorahosted.org/releases/l/o/logrotate/${P}.tar.gz" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
68 |
IUSE="acl selinux" |
69 |
|
70 |
CDEPEND=" |
71 |
>=dev-libs/popt-1.5 |
72 |
selinux? ( |
73 |
sys-libs/libselinux |
74 |
) |
75 |
acl? ( virtual/acl )" |
76 |
|
77 |
DEPEND="${CDEPEND} |
78 |
>=sys-apps/sed-4 |
79 |
" |
80 |
RDEPEND="${CDEPEND} |
81 |
selinux? ( sec-policy/selinux-logrotate ) |
82 |
" |
83 |
|
84 |
src_prepare() { |
85 |
epatch \ |
86 |
"${FILESDIR}"/${P}-ignore-hidden.patch \ |
87 |
"${FILESDIR}"/${P}-fbsd.patch \ |
88 |
"${FILESDIR}"/${P}-noasprintf.patch \ |
89 |
"${FILESDIR}"/${P}-atomic-create.patch \ |
90 |
"${FILESDIR}"/${P}-Werror.patch |
91 |
eautoreconf |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
local myconf |
96 |
myconf="CC=$(tc-getCC)" |
97 |
use selinux && myconf="${myconf} WITH_SELINUX=yes" |
98 |
use acl && myconf="${myconf} WITH_ACL=yes" |
99 |
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" |
100 |
} |
101 |
|
102 |
src_test() { |
103 |
emake test |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
insinto /usr |
108 |
dosbin logrotate |
109 |
doman logrotate.8 |
110 |
dodoc CHANGES examples/logrotate* |
111 |
|
112 |
exeinto /etc/cron.daily |
113 |
newexe "${S}"/examples/logrotate.cron "${PN}" |
114 |
|
115 |
insinto /etc |
116 |
doins "${FILESDIR}"/logrotate.conf |
117 |
|
118 |
keepdir /etc/logrotate.d |
119 |
} |
120 |
|
121 |
pkg_postinst() { |
122 |
if [[ -z ${REPLACING_VERSIONS} ]] ; then |
123 |
elog "If you wish to have logrotate e-mail you updates, please" |
124 |
elog "emerge virtual/mailx and configure logrotate in" |
125 |
elog "/etc/logrotate.conf appropriately" |
126 |
elog |
127 |
elog "Additionally, /etc/logrotate.conf may need to be modified" |
128 |
elog "for your particular needs. See man logrotate for details." |
129 |
fi |
130 |
} |