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