1 |
vapier 11/01/02 03:22:35 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: man-1.6g.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.165 sys-apps/man/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/ChangeLog?rev=1.165&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/ChangeLog?rev=1.165&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/ChangeLog?r1=1.164&r2=1.165 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v |
20 |
retrieving revision 1.164 |
21 |
retrieving revision 1.165 |
22 |
diff -u -r1.164 -r1.165 |
23 |
--- ChangeLog 30 Oct 2010 16:17:51 -0000 1.164 |
24 |
+++ ChangeLog 2 Jan 2011 03:22:35 -0000 1.165 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for sys-apps/man |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.164 2010/10/30 16:17:51 armin76 Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.165 2011/01/02 03:22:35 vapier Exp $ |
31 |
+ |
32 |
+*man-1.6g (02 Jan 2011) |
33 |
+ |
34 |
+ 02 Jan 2011; Mike Frysinger <vapier@g.o> +man-1.6g.ebuild, |
35 |
+ +files/man-1.6g-compress.patch, +files/man-1.6g-fbsd.patch, |
36 |
+ +files/man-1.6g-xz.patch, metadata.xml: |
37 |
+ Version bump. |
38 |
|
39 |
30 Oct 2010; Raúl Porcel <armin76@g.o> man-1.6f-r4.ebuild: |
40 |
alpha/ia64/m68k/s390/sh/sparc stable wrt #338088 |
41 |
|
42 |
|
43 |
|
44 |
1.5 sys-apps/man/metadata.xml |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/metadata.xml?rev=1.5&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/metadata.xml?rev=1.5&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/metadata.xml?r1=1.4&r2=1.5 |
49 |
|
50 |
Index: metadata.xml |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/man/metadata.xml,v |
53 |
retrieving revision 1.4 |
54 |
retrieving revision 1.5 |
55 |
diff -u -r1.4 -r1.5 |
56 |
--- metadata.xml 8 Jan 2009 01:53:38 -0000 1.4 |
57 |
+++ metadata.xml 2 Jan 2011 03:22:35 -0000 1.5 |
58 |
@@ -2,9 +2,4 @@ |
59 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
60 |
<pkgmetadata> |
61 |
<herd>base-system</herd> |
62 |
-<use> |
63 |
- <flag name='lzma'>Uses <pkg>app-arch/lzma-utils</pkg> for the COMPRESS |
64 |
- feature. Could also be used to guarantee that lzma is on the |
65 |
- system.</flag> |
66 |
-</use> |
67 |
</pkgmetadata> |
68 |
|
69 |
|
70 |
|
71 |
1.1 sys-apps/man/man-1.6g.ebuild |
72 |
|
73 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/man-1.6g.ebuild?rev=1.1&view=markup |
74 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/man/man-1.6g.ebuild?rev=1.1&content-type=text/plain |
75 |
|
76 |
Index: man-1.6g.ebuild |
77 |
=================================================================== |
78 |
# Copyright 1999-2011 Gentoo Foundation |
79 |
# Distributed under the terms of the GNU General Public License v2 |
80 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6g.ebuild,v 1.1 2011/01/02 03:22:35 vapier Exp $ |
81 |
|
82 |
EAPI="2" |
83 |
|
84 |
inherit eutils toolchain-funcs |
85 |
|
86 |
DESCRIPTION="Standard commands to read man pages" |
87 |
HOMEPAGE="http://primates.ximian.com/~flucifredi/man/" |
88 |
SRC_URI="http://primates.ximian.com/~flucifredi/man/${P}.tar.gz" |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
93 |
IUSE="+lzma nls" |
94 |
|
95 |
DEPEND="nls? ( sys-devel/gettext )" |
96 |
RDEPEND="|| ( >=sys-apps/groff-1.19.2-r1 app-doc/heirloom-doctools ) |
97 |
!sys-apps/man-db |
98 |
!app-arch/lzma |
99 |
lzma? ( app-arch/xz-utils )" |
100 |
PROVIDE="virtual/man" |
101 |
|
102 |
pkg_setup() { |
103 |
enewgroup man 15 |
104 |
enewuser man 13 -1 /usr/share/man man |
105 |
} |
106 |
|
107 |
src_prepare() { |
108 |
epatch "${FILESDIR}"/man-1.6f-man2html-compression-2.patch |
109 |
epatch "${FILESDIR}"/man-1.6-cross-compile.patch |
110 |
epatch "${FILESDIR}"/man-1.6f-unicode.patch #146315 |
111 |
epatch "${FILESDIR}"/man-1.6c-cut-duplicate-manpaths.patch |
112 |
epatch "${FILESDIR}"/man-1.5m2-apropos.patch |
113 |
epatch "${FILESDIR}"/man-1.6g-fbsd.patch #138123 |
114 |
epatch "${FILESDIR}"/man-1.6e-headers.patch |
115 |
epatch "${FILESDIR}"/man-1.6f-so-search-2.patch |
116 |
epatch "${FILESDIR}"/man-1.6g-compress.patch #205147 |
117 |
epatch "${FILESDIR}"/man-1.6f-parallel-build.patch #207148 #258916 |
118 |
epatch "${FILESDIR}"/man-1.6g-xz.patch #302380 |
119 |
epatch "${FILESDIR}"/man-1.6f-makewhatis-compression-cleanup.patch #331979 |
120 |
# make sure `less` handles escape sequences #287183 |
121 |
sed -i -e '/^DEFAULTLESSOPT=/s:"$:R":' configure |
122 |
} |
123 |
|
124 |
echoit() { echo "$@" ; "$@" ; } |
125 |
src_configure() { |
126 |
strip-linguas $(eval $(grep ^LANGUAGES= configure) ; echo ${LANGUAGES//,/ }) |
127 |
|
128 |
unset NLSPATH #175258 |
129 |
|
130 |
tc-export CC BUILD_CC |
131 |
|
132 |
local mylang= |
133 |
if use nls ; then |
134 |
if [[ -z ${LINGUAS} ]] ; then |
135 |
mylang="all" |
136 |
else |
137 |
mylang="${LINGUAS// /,}" |
138 |
fi |
139 |
else |
140 |
mylang="none" |
141 |
fi |
142 |
export COMPRESS |
143 |
if use lzma ; then |
144 |
COMPRESS=/usr/bin/xz |
145 |
else |
146 |
COMPRESS=/bin/bzip2 |
147 |
fi |
148 |
echoit \ |
149 |
./configure \ |
150 |
-confdir=/etc \ |
151 |
+sgid +fhs \ |
152 |
+lang ${mylang} \ |
153 |
|| die "configure failed" |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
unset NLSPATH #175258 |
158 |
|
159 |
emake PREFIX="${D}" install || die "make install failed" |
160 |
dosym man /usr/bin/manpath |
161 |
|
162 |
dodoc LSM README* TODO |
163 |
|
164 |
# makewhatis only adds man-pages from the last 24hrs |
165 |
exeinto /etc/cron.daily |
166 |
newexe "${FILESDIR}"/makewhatis.cron makewhatis |
167 |
|
168 |
keepdir /var/cache/man |
169 |
diropts -m0775 -g man |
170 |
local mansects=$(grep ^MANSECT "${D}"/etc/man.conf | cut -f2-) |
171 |
for x in ${mansects//:/ } ; do |
172 |
keepdir /var/cache/man/cat${x} |
173 |
done |
174 |
} |
175 |
|
176 |
pkg_postinst() { |
177 |
einfo "Forcing sane permissions onto ${ROOT}var/cache/man (Bug #40322)" |
178 |
chown -R root:man "${ROOT}"/var/cache/man |
179 |
chmod -R g+w "${ROOT}"/var/cache/man |
180 |
[[ -e ${ROOT}/var/cache/man/whatis ]] \ |
181 |
&& chown root:0 "${ROOT}"/var/cache/man/whatis |
182 |
|
183 |
echo |
184 |
|
185 |
local f files=$(ls "${ROOT}"/etc/cron.{daily,weekly}/makewhatis{,.cron} 2>/dev/null) |
186 |
for f in ${files} ; do |
187 |
[[ ${f} == */etc/cron.daily/makewhatis ]] && continue |
188 |
[[ $(md5sum "${f}") == "8b2016cc778ed4e2570b912c0f420266 "* ]] \ |
189 |
&& rm -f "${f}" |
190 |
done |
191 |
files=$(ls "${ROOT}"etc/cron.{daily,weekly}/makewhatis{,.cron} 2>/dev/null) |
192 |
if [[ ${files/$'\n'} != ${files} ]] ; then |
193 |
ewarn "You have multiple makewhatis cron files installed." |
194 |
ewarn "You might want to delete all but one of these:" |
195 |
ewarn ${files} |
196 |
fi |
197 |
|
198 |
if has_version app-doc/heirloom-doctools; then |
199 |
ewarn "Please note that the /etc/man.conf file installed will not" |
200 |
ewarn "work with heirloom's nroff by default (yet)." |
201 |
ewarn "" |
202 |
ewarn "Check app-doc/heirloom-doctools elog messages for the proper" |
203 |
ewarn "configuration." |
204 |
fi |
205 |
} |