1 |
nimiux 15/06/28 12:14:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: logrotate-3.9.1.ebuild |
5 |
Log: |
6 |
version bump |
7 |
|
8 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F253DB15) |
9 |
|
10 |
Revision Changes Path |
11 |
1.210 app-admin/logrotate/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.210&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?rev=1.210&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/ChangeLog?r1=1.209&r2=1.210 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v |
20 |
retrieving revision 1.209 |
21 |
retrieving revision 1.210 |
22 |
diff -u -r1.209 -r1.210 |
23 |
--- ChangeLog 21 Jun 2015 18:23:54 -0000 1.209 |
24 |
+++ ChangeLog 28 Jun 2015 12:14:25 -0000 1.210 |
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.209 2015/06/21 18:23:54 zlogene Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/logrotate/ChangeLog,v 1.210 2015/06/28 12:14:25 nimiux Exp $ |
30 |
+ |
31 |
+*logrotate-3.9.1 (28 Jun 2015) |
32 |
+ |
33 |
+ 28 Jun 2015; Chema Alonso <nimiux@g.o> +logrotate-3.9.1.ebuild, |
34 |
+ +files/logrotate-3.9.1-Werror.patch, |
35 |
+ +files/logrotate-3.9.1-atomic-create.patch, |
36 |
+ +files/logrotate-3.9.1-fbsd.patch, |
37 |
+ +files/logrotate-3.9.1-ignore-hidden.patch, |
38 |
+ +files/logrotate-3.9.1-noasprintf.patch: |
39 |
+ version bump |
40 |
|
41 |
21 Jun 2015; Mikle Kolyada <zlogene@g.o> logrotate-3.8.9-r1.ebuild: |
42 |
alpha stable wrt bug #550032 |
43 |
|
44 |
|
45 |
|
46 |
1.1 app-admin/logrotate/logrotate-3.9.1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.9.1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/logrotate/logrotate-3.9.1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: logrotate-3.9.1.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.9.1.ebuild,v 1.1 2015/06/28 12:14:25 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 +cron 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 |
cron? ( virtual/cron )" |
83 |
|
84 |
install_cron_file() { |
85 |
exeinto /etc/cron.daily |
86 |
newexe "${S}"/examples/logrotate.cron "${PN}" |
87 |
} |
88 |
|
89 |
src_prepare() { |
90 |
epatch \ |
91 |
"${FILESDIR}"/${P}-ignore-hidden.patch \ |
92 |
"${FILESDIR}"/${P}-fbsd.patch \ |
93 |
"${FILESDIR}"/${P}-noasprintf.patch \ |
94 |
"${FILESDIR}"/${P}-atomic-create.patch \ |
95 |
"${FILESDIR}"/${P}-Werror.patch |
96 |
eautoreconf |
97 |
} |
98 |
|
99 |
src_configure() { |
100 |
econf $(use_with acl) $(use_with selinux) |
101 |
} |
102 |
|
103 |
src_compile() { |
104 |
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}" |
105 |
} |
106 |
|
107 |
src_test() { |
108 |
emake test |
109 |
} |
110 |
|
111 |
src_install() { |
112 |
insinto /usr |
113 |
dosbin logrotate |
114 |
doman logrotate.8 |
115 |
dodoc CHANGES examples/logrotate* |
116 |
|
117 |
insinto /etc |
118 |
doins "${FILESDIR}"/logrotate.conf |
119 |
|
120 |
use cron && install_cron_file |
121 |
|
122 |
keepdir /etc/logrotate.d |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
if [[ -z ${REPLACING_VERSIONS} ]] ; then |
127 |
elog "If you wish to have logrotate e-mail you updates, please" |
128 |
elog "emerge virtual/mailx and configure logrotate in" |
129 |
elog "/etc/logrotate.conf appropriately" |
130 |
elog |
131 |
elog "Additionally, /etc/logrotate.conf may need to be modified" |
132 |
elog "for your particular needs. See man logrotate for details." |
133 |
fi |
134 |
} |