1 |
vapier 08/01/05 01:13:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: man-1.6f.ebuild |
5 |
Log: |
6 |
Version bump #204349 by Arfrever Frehtes Taifersar Arahesis. |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.124 sys-apps/man/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/man/ChangeLog?rev=1.124&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/man/ChangeLog?rev=1.124&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/man/ChangeLog?r1=1.123&r2=1.124 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v |
19 |
retrieving revision 1.123 |
20 |
retrieving revision 1.124 |
21 |
diff -u -r1.123 -r1.124 |
22 |
--- ChangeLog 11 May 2007 15:27:53 -0000 1.123 |
23 |
+++ ChangeLog 5 Jan 2008 01:13:58 -0000 1.124 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-apps/man |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.123 2007/05/11 15:27:53 yoswink Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/ChangeLog,v 1.124 2008/01/05 01:13:58 vapier Exp $ |
30 |
+ |
31 |
+*man-1.6f (05 Jan 2008) |
32 |
+ |
33 |
+ 05 Jan 2008; Mike Frysinger <vapier@g.o> |
34 |
+ +files/man-1.6f-man2html-compression.patch, +man-1.6f.ebuild: |
35 |
+ Version bump #204349 by Arfrever Frehtes Taifersar Arahesis. |
36 |
|
37 |
11 May 2007; Jose Luis Rivero <yoswink@g.o> man-1.6e-r3.ebuild: |
38 |
Stable on alpha wrt bug #172761 |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/man/man-1.6f.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/man/man-1.6f.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/man/man-1.6f.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: man-1.6f.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/man/man-1.6f.ebuild,v 1.1 2008/01/05 01:13:58 vapier Exp $ |
52 |
|
53 |
inherit eutils toolchain-funcs |
54 |
|
55 |
DESCRIPTION="Standard commands to read man pages" |
56 |
HOMEPAGE="http://primates.ximian.com/~flucifredi/man/" |
57 |
SRC_URI="http://primates.ximian.com/~flucifredi/man/${P}.tar.gz" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 |
IUSE="nls" |
63 |
|
64 |
DEPEND="nls? ( sys-devel/gettext )" |
65 |
DEPEND=">=sys-apps/groff-1.18 |
66 |
!sys-apps/man-db" |
67 |
PROVIDE="virtual/man" |
68 |
|
69 |
pkg_setup() { |
70 |
enewgroup man 15 |
71 |
enewuser man 13 -1 /usr/share/man man |
72 |
} |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
|
78 |
epatch "${FILESDIR}"/man-1.6f-man2html-compression.patch |
79 |
epatch "${FILESDIR}"/man-1.6-cross-compile.patch |
80 |
epatch "${FILESDIR}"/man-1.5p-search-order.patch |
81 |
epatch "${FILESDIR}"/man-1.5m-groff-1.18.patch |
82 |
epatch "${FILESDIR}"/man-1.5p-defmanpath-symlinks.patch |
83 |
epatch "${FILESDIR}"/man-1.6b-more-sections.patch |
84 |
epatch "${FILESDIR}"/man-1.6c-cut-duplicate-manpaths.patch |
85 |
epatch "${FILESDIR}"/man-1.5m2-apropos.patch |
86 |
epatch "${FILESDIR}"/man-1.6d-fbsd.patch |
87 |
epatch "${FILESDIR}"/man-1.6e-headers.patch |
88 |
|
89 |
strip-linguas $(eval $(grep ^LANGUAGES= configure) ; echo ${LANGUAGES//,/ }) |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
unset NLSPATH #175258 |
94 |
|
95 |
tc-export CC BUILD_CC |
96 |
|
97 |
local mylang= |
98 |
if use nls ; then |
99 |
if [[ -z ${LINGUAS} ]] ; then |
100 |
mylang="all" |
101 |
else |
102 |
mylang="${LINGUAS// /,}" |
103 |
fi |
104 |
else |
105 |
mylang="none" |
106 |
fi |
107 |
./configure \ |
108 |
-confdir=/etc \ |
109 |
+sgid +fhs \ |
110 |
+lang ${mylang} \ |
111 |
|| die "configure failed" |
112 |
|
113 |
emake || die "emake failed" |
114 |
} |
115 |
|
116 |
src_install() { |
117 |
unset NLSPATH #175258 |
118 |
|
119 |
emake PREFIX="${D}" install || die "make install failed" |
120 |
dosym man /usr/bin/manpath |
121 |
|
122 |
dodoc LSM README* TODO |
123 |
|
124 |
# makewhatis only adds man-pages from the last 24hrs |
125 |
exeinto /etc/cron.daily |
126 |
newexe "${FILESDIR}"/makewhatis.cron makewhatis |
127 |
|
128 |
keepdir /var/cache/man |
129 |
diropts -m0775 -g man |
130 |
local mansects=$(grep ^MANSECT "${D}"/etc/man.conf | cut -f2-) |
131 |
for x in ${mansects//:/ } ; do |
132 |
keepdir /var/cache/man/cat${x} |
133 |
done |
134 |
} |
135 |
|
136 |
pkg_postinst() { |
137 |
einfo "Forcing sane permissions onto ${ROOT}/var/cache/man (Bug #40322)" |
138 |
chown -R root:man "${ROOT}"/var/cache/man |
139 |
chmod -R g+w "${ROOT}"/var/cache/man |
140 |
[[ -e ${ROOT}/var/cache/man/whatis ]] \ |
141 |
&& chown root:0 "${ROOT}"/var/cache/man/whatis |
142 |
|
143 |
echo |
144 |
|
145 |
local f files=$(ls "${ROOT}"/etc/cron.{daily,weekly}/makewhatis{,.cron} 2>/dev/null) |
146 |
for f in ${files} ; do |
147 |
[[ ${f} == */etc/cron.daily/makewhatis ]] && continue |
148 |
[[ $(md5sum "${f}") == "8b2016cc778ed4e2570b912c0f420266 "* ]] \ |
149 |
&& rm -f "${f}" |
150 |
done |
151 |
files=$(ls "${ROOT}"/etc/cron.{daily,weekly}/makewhatis{,.cron} 2>/dev/null) |
152 |
if [[ ${files/$'\n'} != ${files} ]] ; then |
153 |
ewarn "You have multiple makewhatis cron files installed." |
154 |
ewarn "You might want to delete all but one of these:" |
155 |
ewarn ${files} |
156 |
fi |
157 |
} |
158 |
|
159 |
|
160 |
|
161 |
-- |
162 |
gentoo-commits@g.o mailing list |