Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/plocate/
Date: Sun, 20 Feb 2022 05:51:52
Message-Id: 1645336095.aec7af8d3698cce80e619ec64d1f1124bc44d747.sam@gentoo
1 commit: aec7af8d3698cce80e619ec64d1f1124bc44d747
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 05:48:15 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 05:48:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aec7af8d
7
8 sys-apps/plocate: drop 1.1.11, 1.1.13
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-apps/plocate/Manifest | 2 -
13 sys-apps/plocate/plocate-1.1.11.ebuild | 81 ----------------------------------
14 sys-apps/plocate/plocate-1.1.13.ebuild | 81 ----------------------------------
15 3 files changed, 164 deletions(-)
16
17 diff --git a/sys-apps/plocate/Manifest b/sys-apps/plocate/Manifest
18 index 7f58f5dc35ac..b0d04228471f 100644
19 --- a/sys-apps/plocate/Manifest
20 +++ b/sys-apps/plocate/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST plocate-1.1.11.tar.gz 72366 BLAKE2B 2b945b3e61244670e2295e1e5abc2af65d2cdbb2393a96961cd4ae97384a735c327037771e6f41927cec0860207a6f98b7b0c2b03d08678bdb0d72a94dfa04f7 SHA512 59f88a11ebbac5f350acca6d1a5890ac1c1cb10c1de2e4e149df60fc63673eefa7f143b06f79ec4e59c65d435b3e222eba5618c48afab97983d76f56fbe8b433
23 -DIST plocate-1.1.13.tar.gz 72741 BLAKE2B 251c5ff570bda125c839e125eab093e15545beb24e75d29c21f13050fc088653f11ba1acbf4c4f6f6aaca4f134908b8084ad4b1e8b0cad83a1a05e1bc2973cdc SHA512 a7c761e4da169716686f438846587e4bdb6df4de039cd7b4fed455e5f52b8aa235714f0c1059787f65f1553a07929802d0ecda0b26111d4f0f811af96a48cb7d
24 DIST plocate-1.1.14.tar.gz 73037 BLAKE2B 032963fa268d31664a8abd38ca501aacda4cfe29c8fd1e41228a4cfd5976174736e8d8f8aa1265de8953ec63211700da73e4cdd3eef42c059a638cdd9cd59379 SHA512 c97c9e4aed785af6bd8c2a30d5d5c7190cb4c513f1d6b66bb2885c9550b4cd39f097fac4bd736c211a921955422d0c27b5f35713f03ebe136450cb724fcfe600
25 DIST plocate-1.1.15.tar.gz 73274 BLAKE2B 72dba287ba3357d2fa541542bf5e9d283eac672b7f3b2eebab687ecec930d6e91400eeb0f24c97d6133d69cae0308bc4473b7c8cbc5e263dd18ae8a7728a42a4 SHA512 772f82af38fd7b61fa51ac31f71d4a855542cfa617867da54b5ad8202f49f9e1861064a01e9b8f0937c3da902d84f19a50c1d0e4f037a491a9a6819b2413cfa1
26
27 diff --git a/sys-apps/plocate/plocate-1.1.11.ebuild b/sys-apps/plocate/plocate-1.1.11.ebuild
28 deleted file mode 100644
29 index f9cef1542c88..000000000000
30 --- a/sys-apps/plocate/plocate-1.1.11.ebuild
31 +++ /dev/null
32 @@ -1,81 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit linux-info meson systemd
39 -
40 -DESCRIPTION="Posting locate is a much faster locate"
41 -HOMEPAGE="https://plocate.sesse.net/"
42 -SRC_URI="https://plocate.sesse.net/download/${P}.tar.gz"
43 -
44 -# GPL-2 for updatedb
45 -# GPL-2+ for plocate itself
46 -LICENSE="GPL-2 GPL-2+"
47 -SLOT="0"
48 -KEYWORDS="amd64 ~arm ~arm64"
49 -IUSE="+io-uring"
50 -
51 -RDEPEND="
52 - acct-group/locate
53 - app-arch/zstd:=
54 - io-uring? ( sys-libs/liburing:= )
55 - !sys-apps/mlocate
56 -"
57 -DEPEND="${RDEPEND}"
58 -
59 -CONFIG_CHECK="~IO_URING"
60 -ERROR_IO_URING="required for USE=io-uring"
61 -
62 -PATCHES=(
63 - "${FILESDIR}"/${PN}-1.1.10-meson-use-feature-option-for-libiouring.patch
64 -)
65 -
66 -src_prepare() {
67 - # We'll install the manpage ourself to locate.1
68 - sed -i "/install_man('plocate.1')/d" meson.build || die
69 -
70 - default
71 -}
72 -
73 -src_configure() {
74 - local emesonargs=(
75 - -Dlocategroup=locate
76 - -Dinstall_systemd=true
77 - -Dinstall_cron=false
78 - -Dsystemunitdir="$(systemd_get_systemunitdir)"
79 - "$(meson_feature io-uring use_libiouring)"
80 - )
81 - meson_src_configure
82 -}
83 -
84 -src_install() {
85 - meson_src_install
86 - dodoc README NEWS
87 - newman "${S}"/${PN}.1 locate.1
88 - dosym plocate /usr/bin/locate
89 -
90 - insinto /etc
91 - doins "${FILESDIR}"/updatedb.conf
92 - doins "${FILESDIR}"/plocate-cron.conf
93 - fperms 0644 /etc/{updatedb,plocate-cron}.conf
94 -
95 - insinto /etc/cron.daily
96 - # Ensure that the cron file has the same name as the
97 - # systemd-timer, to avoid plocate being run twice daily on systems
98 - # with a systemd compatiblity layer. See also bug #780351.
99 - newins "${FILESDIR}"/plocate.cron plocate-updatedb
100 - fperms 0755 /etc/cron.daily/plocate-updatedb
101 -
102 - systemd_dounit "${BUILD_DIR}"/${PN}-updatedb.service "${S}"/${PN}-updatedb.timer
103 -}
104 -
105 -pkg_postinst() {
106 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
107 - elog "The database for the locate command is generated daily by a cron job,"
108 - elog "if you install for the first time you can run the updatedb command manually now."
109 - elog
110 - elog "Note that the ${EROOT}/etc/updatedb.conf file is generic,"
111 - elog "please customize it to your system requirements."
112 - fi
113 -}
114
115 diff --git a/sys-apps/plocate/plocate-1.1.13.ebuild b/sys-apps/plocate/plocate-1.1.13.ebuild
116 deleted file mode 100644
117 index f9cef1542c88..000000000000
118 --- a/sys-apps/plocate/plocate-1.1.13.ebuild
119 +++ /dev/null
120 @@ -1,81 +0,0 @@
121 -# Copyright 1999-2021 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=7
125 -
126 -inherit linux-info meson systemd
127 -
128 -DESCRIPTION="Posting locate is a much faster locate"
129 -HOMEPAGE="https://plocate.sesse.net/"
130 -SRC_URI="https://plocate.sesse.net/download/${P}.tar.gz"
131 -
132 -# GPL-2 for updatedb
133 -# GPL-2+ for plocate itself
134 -LICENSE="GPL-2 GPL-2+"
135 -SLOT="0"
136 -KEYWORDS="amd64 ~arm ~arm64"
137 -IUSE="+io-uring"
138 -
139 -RDEPEND="
140 - acct-group/locate
141 - app-arch/zstd:=
142 - io-uring? ( sys-libs/liburing:= )
143 - !sys-apps/mlocate
144 -"
145 -DEPEND="${RDEPEND}"
146 -
147 -CONFIG_CHECK="~IO_URING"
148 -ERROR_IO_URING="required for USE=io-uring"
149 -
150 -PATCHES=(
151 - "${FILESDIR}"/${PN}-1.1.10-meson-use-feature-option-for-libiouring.patch
152 -)
153 -
154 -src_prepare() {
155 - # We'll install the manpage ourself to locate.1
156 - sed -i "/install_man('plocate.1')/d" meson.build || die
157 -
158 - default
159 -}
160 -
161 -src_configure() {
162 - local emesonargs=(
163 - -Dlocategroup=locate
164 - -Dinstall_systemd=true
165 - -Dinstall_cron=false
166 - -Dsystemunitdir="$(systemd_get_systemunitdir)"
167 - "$(meson_feature io-uring use_libiouring)"
168 - )
169 - meson_src_configure
170 -}
171 -
172 -src_install() {
173 - meson_src_install
174 - dodoc README NEWS
175 - newman "${S}"/${PN}.1 locate.1
176 - dosym plocate /usr/bin/locate
177 -
178 - insinto /etc
179 - doins "${FILESDIR}"/updatedb.conf
180 - doins "${FILESDIR}"/plocate-cron.conf
181 - fperms 0644 /etc/{updatedb,plocate-cron}.conf
182 -
183 - insinto /etc/cron.daily
184 - # Ensure that the cron file has the same name as the
185 - # systemd-timer, to avoid plocate being run twice daily on systems
186 - # with a systemd compatiblity layer. See also bug #780351.
187 - newins "${FILESDIR}"/plocate.cron plocate-updatedb
188 - fperms 0755 /etc/cron.daily/plocate-updatedb
189 -
190 - systemd_dounit "${BUILD_DIR}"/${PN}-updatedb.service "${S}"/${PN}-updatedb.timer
191 -}
192 -
193 -pkg_postinst() {
194 - if [[ -z "${REPLACING_VERSIONS}" ]] ; then
195 - elog "The database for the locate command is generated daily by a cron job,"
196 - elog "if you install for the first time you can run the updatedb command manually now."
197 - elog
198 - elog "Note that the ${EROOT}/etc/updatedb.conf file is generic,"
199 - elog "please customize it to your system requirements."
200 - fi
201 -}