Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Subject: Re: [gentoo-catalyst] [PATCH] update various URLs
Date: Tue, 06 Oct 2015 06:58:43
Message-Id: 20151005235748.6888849d.dolsen@gentoo.org
In Reply to: [gentoo-catalyst] [PATCH] update various URLs by Mike Frysinger
1 On Mon, 5 Oct 2015 22:36:38 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3
4 > A lot of these have rotted -- like old Gentoo sites now in the wiki.
5 > Also switch to https:// whenever possible.
6 > ---
7 > README | 6 +++---
8 > catalyst/base/stagebase.py | 2 +-
9 > doc/HOWTO.txt | 9 ++++-----
10 > doc/catalyst-config.5.txt | 2 +-
11 > doc/catalyst-spec.5.txt | 2 +-
12 > doc/catalyst.1.txt | 6 +++---
13 > examples/README | 4 ++--
14 > examples/generic_stage_template.spec | 2 +-
15 > examples/grp_template.spec | 2 +-
16 > examples/livecd-stage1_template.spec | 2 +-
17 > examples/livecd-stage2_template.spec | 2 +-
18 > examples/netboot_template.spec | 2 +-
19 > examples/stage4_template.spec | 2 +-
20 > examples/tinderbox_template.spec | 2 +-
21 > livecd/files/gamecd.motd.txt | 2 +-
22 > livecd/files/livecd.motd.txt | 2 +-
23 > livecd/files/minimal.motd.txt | 4 ++--
24 > setup.py | 4 ++--
25 > targets/netboot/netboot-combine.sh | 2 +-
26 > targets/support/chroot-functions.sh | 4 ++--
27 > targets/support/livecdfs-update.sh | 4 ++--
28 > 21 files changed, 33 insertions(+), 34 deletions(-)
29 >
30 > diff --git a/README b/README
31 > index 46a99e8..94755ba 100644
32 > --- a/README
33 > +++ b/README
34 > @@ -58,13 +58,13 @@ sharedir="/usr/share/catalyst"
35 >
36 > There are many more options that can be set, but those defaults are
37 > good for out of the box operation. For more documentation on what you
38 > can do -with catalyst, please check the man page or the online
39 > documentation at -http://www.gentoo.org/proj/en/releng/catalyst.
40 > +with catalyst, please check the man page or the online documentation
41 > at: +https://wiki.gentoo.org/wiki/Catalyst
42 >
43 > Bugs
44 > ========================
45 >
46 > If you have questions or wish to help with development, contact the
47 > gentoo-catalyst@l.g.o mailing list. Bug reports should be
48 > -filed at http://tinyurl.com/79slrk (http://bugs.gentoo.org) under the
49 > +filed at http://tinyurl.com/79slrk (https://bugs.gentoo.org) under
50 > the "Catalyst" component of the "Gentoo Hosted Projects" product.
51 > diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
52 > index c6eaaa3..8a7456e 100644
53 > --- a/catalyst/base/stagebase.py
54 > +++ b/catalyst/base/stagebase.py
55 > @@ -1120,7 +1120,7 @@ class StageBase(TargetBase, ClearBase, GenBase):
56 > myf.write('CBUILD="'+self.settings["CBUILD"]+'"\n')
57 >
58 > if "CHOST" in self.settings:
59 > - myf.write("# WARNING: Changing your
60 > CHOST is not something that should be done lightly.\n# Please consult
61 > http://www.gentoo.org/doc/en/change-chost.xml before changing.\n")
62 > + myf.write("# WARNING: Changing your
63 > CHOST is not something that should be done lightly.\n# Please consult
64 > https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before
65 > changing.\n") myf.write('CHOST="'+self.settings["CHOST"]+'"\n') """
66 > Figure out what our USE vars are for building """ diff --git
67 > a/doc/HOWTO.txt b/doc/HOWTO.txt index cec22c3..b1d315e 100644
68 > --- a/doc/HOWTO.txt
69 > +++ b/doc/HOWTO.txt
70 > @@ -33,13 +33,13 @@ Stage3 tarball
71 >
72 > Get a stage3 tarball (containing the build tools you'll need to
73 > construct your stage1) from your local
74 > -http://www.gentoo.org/main/en/mirrors.xml[Gentoo mirror].
75 > +https://www.gentoo.org/downloads/mirrors/[Gentoo mirror].
76 >
77 > $GENTOO_MIRROR/releases/$ARCH/current-stage3/
78 >
79 > For example,
80 >
81 > -
82 > http://distfiles.gentoo.org/releases/amd64/current-stage3/stage3-amd64-20121213.tar.bz2
83 > +
84 > http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20121213.tar.bz2
85 > Grab the tarball and put it where catalyst will find it:
86 >
87 > @@ -164,7 +164,7 @@ Once we have a stage2, Catalyst builds all of the
88 > base system packages for stage3, rebuilding any that were already
89 > built in stage2 (`emerge -e @system`). The `@system` set of packages
90 > is defined by `packages` files in your cascading profile. See
91 > -http://dev.gentoo.org/~ulm/pms/5/pms.html#x1-520005.2.6[the Package
92 > +https://dev.gentoo.org/~ulm/pms/5/pms.html#x1-520005.2.6[the Package
93 > Manager Specification] for details.
94 >
95 > For more details on the differences between the stages, look at the
96 > @@ -225,8 +225,7 @@ and `dd`:
97 > # dd if=filename.iso of=/dev/sdX
98 >
99 > replacing `X` with the appropriate drive letter for your USB disk.
100 > -See https://bugs.gentoo.org/show_bug.cgi?id=251719[bug 251719] for
101 > -details.
102 > +See https://bugs.gentoo.org/251719[bug 251719] for details.
103 >
104 > Running catalyst from a Git checkout
105 > ------------------------------------
106 > diff --git a/doc/catalyst-config.5.txt b/doc/catalyst-config.5.txt
107 > index 61f3d93..31c4fe9 100644
108 > --- a/doc/catalyst-config.5.txt
109 > +++ b/doc/catalyst-config.5.txt
110 > @@ -225,7 +225,7 @@ An example configuration file can be found at
111 > BUGS
112 > ----
113 > An up-to-date list of Catalyst bugs can always be found listed on
114 > the Gentoo -Linux bug-tracking system at `http://bugs.gentoo.org`.
115 > +Linux bug-tracking system at `https://bugs.gentoo.org`.
116 >
117 >
118 > SEE ALSO
119 > diff --git a/doc/catalyst-spec.5.txt b/doc/catalyst-spec.5.txt
120 > index cba3166..a1559fa 100644
121 > --- a/doc/catalyst-spec.5.txt
122 > +++ b/doc/catalyst-spec.5.txt
123 > @@ -509,7 +509,7 @@ include::subarches.generated.txt[tabsize=4]
124 > BUGS
125 > ----
126 > An up-to-date list of Catalyst bugs can always be found listed on
127 > the Gentoo -Linux bug-tracking system at 'http://bugs.gentoo.org'.
128 > +Linux bug-tracking system at 'https://bugs.gentoo.org'.
129 >
130 >
131 > SEE ALSO
132 > diff --git a/doc/catalyst.1.txt b/doc/catalyst.1.txt
133 > index 9f70f78..5a7a4d6 100644
134 > --- a/doc/catalyst.1.txt
135 > +++ b/doc/catalyst.1.txt
136 > @@ -23,7 +23,7 @@ Platform (GRP) sets. *catalyst* is also capable of
137 > providing a simple tinderbox environment for ebuild/package testing.
138 >
139 > For more information, please visit the *catalyst* project page
140 > -on the web at 'http://www.gentoo.org/proj/en/releng/catalyst'.
141 > +on the web at 'https://wiki.gentoo.org/wiki/Catalyst'.
142 >
143 >
144 > OPTIONS
145 > @@ -111,7 +111,7 @@ include::subarches.generated.txt[tabsize=4]
146 > BUGS
147 > ----
148 > An up-to-date list of Catalyst bugs can always be found listed on
149 > the Gentoo -Linux bug-tracking system at 'http://bugs.gentoo.org'.
150 > +Linux bug-tracking system at 'https://bugs.gentoo.org'.
151 >
152 >
153 > NOTES
154 > @@ -140,4 +140,4 @@ SEE ALSO
155 >
156 > Also, a more in-depth examination of Catalyst options and procedures
157 > can be found linked from the *catalyst* project page, which is
158 > located at -'http://www.gentoo.org/proj/en/releng/catalyst'.
159 > +'https://wiki.gentoo.org/wiki/Catalyst'.
160 > diff --git a/examples/README b/examples/README
161 > index bfd517a..3450797 100644
162 > --- a/examples/README
163 > +++ b/examples/README
164 > @@ -1,5 +1,5 @@
165 > For further examples, see the releases/weekly/specs directory [1] in
166 > the releng Git repository [2].
167 >
168 > -[1]:
169 > http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=releases/weekly/specs;hb=HEAD
170 > -[2]:
171 > http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=summary
172 > +[1]:
173 > https://gitweb.gentoo.org/proj/releng.git/tree/releases/weekly/specs
174 > +[2]: https://gitweb.gentoo.org/proj/releng.git diff --git
175 > a/examples/generic_stage_template.spec
176 > b/examples/generic_stage_template.spec index b43aebe..367a182 100644
177 > --- a/examples/generic_stage_template.spec +++
178 > b/examples/generic_stage_template.spec @@ -2,7 +2,7 @@ # used to
179 > build a stage1, stage2, or stage3 installation tarball # The subarch
180 > can be any of the supported catalyst subarches (like athlon-xp). -#
181 > Refer to "man catalyst" or
182 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
183 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
184 > subarches # example: # subarch: athlon-xp
185 > diff --git a/examples/grp_template.spec b/examples/grp_template.spec
186 > index c3d2c50..7116026 100644
187 > --- a/examples/grp_template.spec
188 > +++ b/examples/grp_template.spec
189 > @@ -2,7 +2,7 @@
190 > # used to build a GRP set
191 >
192 > # The subarch can be any of the supported catalyst subarches (like
193 > athlon-xp). -# Refer to "man catalyst" or
194 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
195 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
196 > subarches # example:
197 > # subarch: athlon-xp
198 > diff --git a/examples/livecd-stage1_template.spec
199 > b/examples/livecd-stage1_template.spec index a3cd939..90ae199 100644
200 > --- a/examples/livecd-stage1_template.spec
201 > +++ b/examples/livecd-stage1_template.spec
202 > @@ -2,7 +2,7 @@
203 > # used to build a livecd-stage1
204 >
205 > # The subarch can be any of the supported catalyst subarches (like
206 > athlon-xp). -# Refer to "man catalyst" or
207 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
208 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
209 > subarches # example:
210 > # subarch: athlon-xp
211 > diff --git a/examples/livecd-stage2_template.spec
212 > b/examples/livecd-stage2_template.spec index 49ddcd7..a90b7aa 100644
213 > --- a/examples/livecd-stage2_template.spec
214 > +++ b/examples/livecd-stage2_template.spec
215 > @@ -2,7 +2,7 @@
216 > # used to build a livecd-stage2 iso image
217 >
218 > # The subarch can be any of the supported catalyst subarches (like
219 > athlon-xp). -# Refer to "man catalyst" or
220 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
221 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
222 > subarches # example:
223 > # subarch: athlon-xp
224 > diff --git a/examples/netboot_template.spec
225 > b/examples/netboot_template.spec index d10b645..0cffc66 100644
226 > --- a/examples/netboot_template.spec
227 > +++ b/examples/netboot_template.spec
228 > @@ -2,7 +2,7 @@
229 > # used to build a network bootable image
230 >
231 > # The subarch can be any of the supported catalyst subarches (like
232 > athlon-xp). -# Refer to "man catalyst" or
233 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
234 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
235 > subarches # example:
236 > # subarch: athlon-xp
237 > diff --git a/examples/stage4_template.spec
238 > b/examples/stage4_template.spec index c3a53d5..75aedff 100644
239 > --- a/examples/stage4_template.spec
240 > +++ b/examples/stage4_template.spec
241 > @@ -2,7 +2,7 @@
242 > # used to build a stage4
243 >
244 > # The subarch can be any of the supported catalyst subarches (like
245 > athlon-xp). -# Refer to "man catalyst" or
246 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
247 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
248 > subarches # example:
249 > # subarch: athlon-xp
250 > diff --git a/examples/tinderbox_template.spec
251 > b/examples/tinderbox_template.spec index db0dba2..f1af09c 100644
252 > --- a/examples/tinderbox_template.spec
253 > +++ b/examples/tinderbox_template.spec
254 > @@ -1,7 +1,7 @@
255 > # generic tinderbox specfile
256 >
257 > # The subarch can be any of the supported catalyst subarches (like
258 > athlon-xp). -# Refer to "man catalyst" or
259 > <http://www.gentoo.org/proj/en/releng/catalyst/> +# Refer to "man
260 > catalyst" or <https://wiki.gentoo.org/wiki/Catalyst> # for supported
261 > subarches # example:
262 > # subarch: athlon-xp
263 > diff --git a/livecd/files/gamecd.motd.txt
264 > b/livecd/files/gamecd.motd.txt index 498490e..7ee2d9c 100644
265 > --- a/livecd/files/gamecd.motd.txt
266 > +++ b/livecd/files/gamecd.motd.txt
267 > @@ -1,7 +1,7 @@
268 >
269 > To (re)start ##GAME_NAME, please type "startx" at the prompt below.
270 >
271 > -Please report any bugs you find to http://bugs.gentoo.org. Be sure
272 > to include +Please report any bugs you find to
273 > https://bugs.gentoo.org. Be sure to include detailed information
274 > about how to reproduce the bug you are reporting.
275 > Thank you for using Gentoo Linux!
276 > diff --git a/livecd/files/livecd.motd.txt
277 > b/livecd/files/livecd.motd.txt index 0fb391e..fe4c091 100644
278 > --- a/livecd/files/livecd.motd.txt
279 > +++ b/livecd/files/livecd.motd.txt
280 > @@ -3,7 +3,7 @@ There is also a rescue session for X using twm if you
281 > simply use "startx".
282 > You can start the installer by typing "installer" at the prompt
283 > below.
284 > -Please report any bugs you find to http://bugs.gentoo.org. Be sure
285 > to include +Please report any bugs you find to
286 > https://bugs.gentoo.org. Be sure to include detailed information
287 > about how to reproduce the bug you are reporting.
288 > Thank you for using Gentoo Linux!
289 > diff --git a/livecd/files/minimal.motd.txt
290 > b/livecd/files/minimal.motd.txt index 55f6158..3058b85 100644
291 > --- a/livecd/files/minimal.motd.txt
292 > +++ b/livecd/files/minimal.motd.txt
293 > @@ -1,11 +1,11 @@
294 > The latest version of the Handbook is always available from the
295 > Gentoo web -site by typing "links
296 > http://www.gentoo.org/doc/en/handbook/handbook.xml". +site by typing
297 > "links https://wiki.gentoo.org/wiki/Handbook".
298 > To start an ssh server on this system, type "/etc/init.d/sshd
299 > start". If you need to log in remotely as root, type "passwd root"
300 > to reset root's password to a known value.
301 >
302 > -Please report any bugs you find to http://bugs.gentoo.org. Be sure
303 > to include +Please report any bugs you find to
304 > https://bugs.gentoo.org. Be sure to include detailed information
305 > about how to reproduce the bug you are reporting. Thank you for using
306 > Gentoo Linux!
307 > diff --git a/setup.py b/setup.py
308 > index 3eb76d7..feca894 100755
309 > --- a/setup.py
310 > +++ b/setup.py
311 > @@ -22,7 +22,7 @@ def _posix_path(path):
312 > Distutils wants all paths to be written in the Unix
313 > convention (i.e. slash-separated) [1], so that's what we'll do here.
314 >
315 > - [1]:
316 > http://docs.python.org/2/distutils/setupscript.html#writing-the-setup-script
317 > + [1]: https://docs.python.org/2/distutils/setupscript.html
318 > """
319 > if _os.path.sep != '/':
320 > return path.replace(_os.path.sep, '/')
321 > @@ -81,7 +81,7 @@ _setup(
322 > version=__version__,
323 > maintainer=_maintainer_name,
324 > maintainer_email=_maintainer_email,
325 > -
326 > url='http://www.gentoo.org/proj/en/releng/{0}/'.format(_package_name),
327 > + url='https://wiki.gentoo.org/wiki/Catalyst',
328 > download_url='http://distfiles.gentoo.org/distfiles/{0}-{1}.tar.bz2'.format(
329 > _package_name, __version__),
330 > license='GNU General Public License (GPL)',
331 > diff --git a/targets/netboot/netboot-combine.sh
332 > b/targets/netboot/netboot-combine.sh index a96c567..5eef0d0 100755
333 > --- a/targets/netboot/netboot-combine.sh
334 > +++ b/targets/netboot/netboot-combine.sh
335 > @@ -55,7 +55,7 @@ do
336 > # please use catalyst 1.1.5 or older
337 >
338 > #TEST TEST TEST TEST
339 > -
340 > #http://lists.debian.org/debian-alpha/2004/07/msg00094.html
341 > +
342 > #https://lists.debian.org/debian-alpha/2004/07/msg00094.html #make \
343 > # -C /usr/src/linux \
344 > # INITRD=/initrd.gz \
345 > diff --git a/targets/support/chroot-functions.sh
346 > b/targets/support/chroot-functions.sh index 327705f..2482651 100755
347 > --- a/targets/support/chroot-functions.sh
348 > +++ b/targets/support/chroot-functions.sh
349 > @@ -92,7 +92,7 @@ setup_myfeatures(){
350 > echo "${clst_distcc_hosts}" > /etc/distcc/hosts
351 >
352 > # This sets up automatic cross-distcc-fu according to
353 > - #
354 > http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
355 > + # https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling
356 > CHOST=$(portageq envvar CHOST)
357 > LIBDIR=$(get_libdir)
358 > cd /usr/${LIBDIR}/distcc/bin
359 > @@ -107,7 +107,7 @@ setup_myfeatures(){
360 > clst_root_path=/ run_merge --oneshot --noreplace
361 > sys-devel/icecream || exit 1
362 > # This sets up automatic cross-icecc-fu according to
363 > - #
364 > http://gentoo-wiki.com/HOWTO_Setup_An_ICECREAM_Compile_Cluster#Icecream_and_cross-compiling
365 > + #
366 > http://www.gentoo-wiki.info/HOWTO_Setup_An_ICECREAM_Compile_Cluster
367 > CHOST=$(portageq envvar CHOST) LIBDIR=$(get_libdir)
368 > cd /usr/${LIBDIR}/icecc/bin
369 > diff --git a/targets/support/livecdfs-update.sh
370 > b/targets/support/livecdfs-update.sh index 12f8293..e10826d 100755
371 > --- a/targets/support/livecdfs-update.sh
372 > +++ b/targets/support/livecdfs-update.sh
373 > @@ -87,7 +87,7 @@ ln -sf net.lo net.eth4
374 > mkdir -p /etc/sysconfig
375 >
376 > # Tweak the livecd fstab so that users know not to edit it
377 > -# http://bugs.gentoo.org/show_bug.cgi?id=60887
378 > +# https://bugs.gentoo.org/60887
379 > echo "####################################################"
380 > > /etc/fstab echo "## ATTENTION: THIS IS THE FSTAB ON THE
381 > > LIVECD ##" >> /etc/fstab
382 > echo "## PLEASE EDIT THE FSTAB at /mnt/gentoo/etc/fstab ##"
383 > >> /etc/fstab @@ -104,7 +104,7 @@ then
384 > fi
385 >
386 > # Tweak the livecd make.conf so that users know not to edit it
387 > -# http://bugs.gentoo.org/show_bug.cgi?id=144647
388 > +# https://bugs.gentoo.org/144647
389 > mv ${clst_make_conf} ${clst_make_conf}.old
390 > echo "####################################################" >>
391 > ${clst_make_conf} echo "## ATTENTION: THIS IS THE MAKE.CONF ON THE
392 > LIVECD ##" >> ${clst_make_conf}
393
394 Some of these made possible by our friendly local wiki admin,
395 maffblaster who recently converted catalyst to the wiki.
396
397 :D thank you both.
398
399 Mike, when you push all these patches, please also push them to our
400 gentoo/catalyst mirror on github. The repos there never did get made to
401 auto-update from gentoo's git repos.
402
403 --
404 Brian Dolbec <dolsen>

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH] update various URLs Mike Frysinger <vapier@g.o>