1 |
commit: 502ff6be41b25bbf547e8936f548cbdf893bcf30 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 6 08:25:57 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 6 08:25:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502ff6be |
7 |
|
8 |
sys-apps/man-db: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
11 |
|
12 |
sys-apps/man-db/Manifest | 1 - |
13 |
sys-apps/man-db/man-db-2.8.1.ebuild | 122 ------------------------------------ |
14 |
2 files changed, 123 deletions(-) |
15 |
|
16 |
diff --git a/sys-apps/man-db/Manifest b/sys-apps/man-db/Manifest |
17 |
index 3b02bc38f87..fe35aa0569b 100644 |
18 |
--- a/sys-apps/man-db/Manifest |
19 |
+++ b/sys-apps/man-db/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
DIST man-db-2.7.6.1.tar.xz 1541316 BLAKE2B ea3aa7e90ea8af4882bd99d99374cc37d9c0c7f70bb970973eb3f2178aa4323bcdebc7f39f142ec0144dbe55a9f86aba15d9fe281d2662d280b8e6dca9452f24 SHA512 623c5e7f8b7c289908b2c926f8777293b8d39aeceef0d2509d701a8b0bfa81408650f655c8608318221786c751a79ee91124b07993de5298cd7fa6d8bb737301 |
22 |
-DIST man-db-2.8.1.tar.xz 1621664 BLAKE2B 94496c1ca912e7cea2c98be8443d5b13dd685c5af86e9996b625fae44384f4cacf24a4196d77a080da10baa385b5e63d8b090c2bfcc492f2a41757d7a3840468 SHA512 82e75df32eb8575f47c3f36b5f2bbc827776747abfa39af589802e6566636c0771df0ee3197cb2bec3318c3055ff4e9d04c7da13b3bc6ea8a1ea1b1340554ef0 |
23 |
DIST man-db-2.8.2.tar.xz 1622504 BLAKE2B fc551838488323914319cde2b4d0d724be63741a1e0ed816a67a26da89dfa84a7faf99a9aba20e0e254129aa0f26505b76f4ba6be6786281c4d105e96829e9ee SHA512 ffd6c3ba605da419c819dcad10edf713242074a035ce405f4c97dbbd2a7e9b253f82efae1022d08d9f04591014e752ff38a3f8727e5a5cf60d33a9167cc2d8fc |
24 |
DIST man-db-2.8.3.tar.xz 1624280 BLAKE2B 6158608a5a6ecd361391a17642a4bbc9275a8a3105a39d6f6c3971aceb275cfb16670c51dfa8f1d7fc0136fc1b5e96e39c88e8c1d91e9a47d7a1351d16623a93 SHA512 35d5dda7a2bda94978d10770d24d4c78b3c62c71a68cfeb400df61b0df289ed17aa8aa223d4ae3ffa094d76df8d9172b878230fd7b0397ce7728b9c8ac0b1745 |
25 |
|
26 |
diff --git a/sys-apps/man-db/man-db-2.8.1.ebuild b/sys-apps/man-db/man-db-2.8.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 627b8941479..00000000000 |
29 |
--- a/sys-apps/man-db/man-db-2.8.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,122 +0,0 @@ |
32 |
-# Copyright 1999-2018 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
- |
37 |
-inherit ltprune user versionator |
38 |
- |
39 |
-DESCRIPTION="a man replacement that utilizes berkdb instead of flat files" |
40 |
-HOMEPAGE="http://www.nongnu.org/man-db/" |
41 |
-if [[ "${PV}" = 9999* ]] ; then |
42 |
- inherit git-r3 |
43 |
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/man-db.git" |
44 |
-else |
45 |
- SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz" |
46 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" |
47 |
-fi |
48 |
- |
49 |
-LICENSE="GPL-3" |
50 |
-SLOT="0" |
51 |
-IUSE="berkdb +gdbm +manpager nls seccomp selinux static-libs zlib" |
52 |
- |
53 |
-CDEPEND=" |
54 |
- !sys-apps/man |
55 |
- >=dev-libs/libpipeline-1.5.0 |
56 |
- sys-apps/groff |
57 |
- berkdb? ( sys-libs/db:= ) |
58 |
- gdbm? ( sys-libs/gdbm:= ) |
59 |
- !berkdb? ( !gdbm? ( sys-libs/gdbm:= ) ) |
60 |
- seccomp? ( sys-libs/libseccomp ) |
61 |
- zlib? ( sys-libs/zlib ) |
62 |
-" |
63 |
-DEPEND=" |
64 |
- ${CDEPEND} |
65 |
- app-arch/xz-utils |
66 |
- virtual/pkgconfig |
67 |
- nls? ( |
68 |
- >=app-text/po4a-0.45 |
69 |
- sys-devel/gettext |
70 |
- ) |
71 |
-" |
72 |
-RDEPEND=" |
73 |
- ${CDEPEND} |
74 |
- selinux? ( sec-policy/selinux-mandb ) |
75 |
-" |
76 |
-PDEPEND="manpager? ( app-text/manpager )" |
77 |
- |
78 |
-pkg_setup() { |
79 |
- # Create user now as Makefile in src_install does setuid/chown |
80 |
- enewgroup man 15 |
81 |
- enewuser man 13 -1 /usr/share/man man |
82 |
- |
83 |
- if (use gdbm && use berkdb) || (use !gdbm && use !berkdb) ; then #496150 |
84 |
- ewarn "Defaulting to USE=gdbm due to ambiguous berkdb/gdbm USE flag settings" |
85 |
- fi |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- export ac_cv_lib_z_gzopen=$(usex zlib) |
90 |
- local myeconfargs=( |
91 |
- --docdir='$(datarootdir)'/doc/${PF} |
92 |
- --with-systemdtmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d |
93 |
- --enable-setuid |
94 |
- --enable-cache-owner=man |
95 |
- --with-sections="1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l p o 1x 2x 3x 4x 5x 6x 7x 8x" |
96 |
- $(use_enable nls) |
97 |
- $(use_enable static-libs static) |
98 |
- $(use_with seccomp libseccomp) |
99 |
- --with-db=$(usex gdbm gdbm $(usex berkdb db gdbm)) |
100 |
- ) |
101 |
- econf "${myeconfargs[@]}" |
102 |
- |
103 |
- # Disable color output from groff so that the manpager can add it. #184604 |
104 |
- sed -i \ |
105 |
- -e '/^#DEFINE.*\<[nt]roff\>/{s:^#::;s:$: -c:}' \ |
106 |
- src/man_db.conf || die |
107 |
-} |
108 |
- |
109 |
-src_install() { |
110 |
- default |
111 |
- dodoc docs/{HACKING,TODO} |
112 |
- prune_libtool_files |
113 |
- |
114 |
- exeinto /etc/cron.daily |
115 |
- newexe "${FILESDIR}"/man-db.cron man-db #289884 |
116 |
-} |
117 |
- |
118 |
-pkg_preinst() { |
119 |
- local cachedir="${EROOT}var/cache/man" |
120 |
- # If the system was already exploited, and the attacker is hiding in the |
121 |
- # cachedir of the old man-db, let's wipe them out. |
122 |
- # see bug #602588 comment 18 |
123 |
- local _replacing_version= |
124 |
- local _setgid_vuln=0 |
125 |
- for _replacing_version in ${REPLACING_VERSIONS}; do |
126 |
- if version_is_at_least '2.7.6.1-r2' "${_replacing_version}"; then |
127 |
- debug-print "Skipping security bug #602588 ... existing installation (${_replacing_version}) should not be affected!" |
128 |
- else |
129 |
- _setgid_vuln=1 |
130 |
- debug-print "Applying cleanup for security bug #602588" |
131 |
- fi |
132 |
- done |
133 |
- [[ ${_setgid_vuln} -eq 1 ]] && rm -rf "${cachedir}" |
134 |
- |
135 |
- # Fall back to recreating the cachedir |
136 |
- if [[ ! -d ${cachedir} ]] ; then |
137 |
- mkdir -p "${cachedir}" || die |
138 |
- chown man:man "${cachedir}" || die |
139 |
- fi |
140 |
- |
141 |
- # Update the whatis cache |
142 |
- if [[ -f ${cachedir}/whatis ]] ; then |
143 |
- einfo "Cleaning ${cachedir} from sys-apps/man" |
144 |
- find "${cachedir}" -type f '!' '(' -name index.bt -o -name index.db ')' -delete |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-pkg_postinst() { |
149 |
- if [[ $(get_version_component_range 2 ${REPLACING_VERSIONS}) -lt 7 ]] ; then |
150 |
- einfo "Rebuilding man-db from scratch with new database format!" |
151 |
- mandb --quiet --create |
152 |
- fi |
153 |
-} |