| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: revbump.1,v 1.24 2015/02/09 00:58:44 snj Exp $ | | 1 | .\" $NetBSD: revbump.1,v 1.25 2016/07/09 06:40:08 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013, 2014 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2003, 2004, 2005, 2006, 2010, 2012, 2013, 2014 The NetBSD Foundation, Inc. |
4 | .\" | | 4 | .\" |
5 | .\" This code was originally contributed to the NetBSD Foundation, Inc. | | 5 | .\" This code was originally contributed to the NetBSD Foundation, Inc. |
6 | .\" by Julio Merino <jmmv@NetBSD.org> and Thomas Klausner <wiz@NetBSD.org>. | | 6 | .\" by Julio Merino <jmmv@NetBSD.org> and Thomas Klausner <wiz@NetBSD.org>. |
7 | .\" | | 7 | .\" |
8 | .\" Redistribution and use in source and binary forms, with or without | | 8 | .\" Redistribution and use in source and binary forms, with or without |
9 | .\" modification, are permitted provided that the following conditions | | 9 | .\" modification, are permitted provided that the following conditions |
10 | .\" are met: | | 10 | .\" are met: |
11 | .\" 1. Redistributions of source code must retain the above copyright | | 11 | .\" 1. Redistributions of source code must retain the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer. | | 12 | .\" notice, this list of conditions and the following disclaimer. |
13 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 13 | .\" 2. Redistributions in binary form must reproduce the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer in | | 14 | .\" notice, this list of conditions and the following disclaimer in |
| @@ -21,27 +21,27 @@ | | | @@ -21,27 +21,27 @@ |
21 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND | | 21 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND |
22 | .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, | | 22 | .\" CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
23 | .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | | 23 | .\" INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF |
24 | .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | | 24 | .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
25 | .\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY | | 25 | .\" IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY |
26 | .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | | 26 | .\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
27 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | | 27 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
28 | .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 28 | .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
29 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | | 29 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER |
30 | .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | | 30 | .\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
31 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | | 31 | .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
32 | .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 32 | .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
33 | .\" | | 33 | .\" |
34 | .Dd February 9, 2015 | | 34 | .Dd July 9, 2016 |
35 | .Dt REVBUMP 1 | | 35 | .Dt REVBUMP 1 |
36 | .Os | | 36 | .Os |
37 | .Sh NAME | | 37 | .Sh NAME |
38 | .Nm revbump | | 38 | .Nm revbump |
39 | .Nd tool to help bump PKGREVISIONs automatically | | 39 | .Nd tool to help bump PKGREVISIONs automatically |
40 | .Sh SYNOPSIS | | 40 | .Sh SYNOPSIS |
41 | .Nm | | 41 | .Nm |
42 | .Op Fl h | | 42 | .Op Fl h |
43 | .Op Fl p Ar pkgsrcdir | | 43 | .Op Fl p Ar pkgsrcdir |
44 | .Op cat1/pkg1 ... catN/pkgN | | 44 | .Op cat1/pkg1 ... catN/pkgN |
45 | .Sh DESCRIPTION | | 45 | .Sh DESCRIPTION |
46 | .Nm | | 46 | .Nm |
47 | is a perl script for pkgsrc developers that simplifies bumping | | 47 | is a perl script for pkgsrc developers that simplifies bumping |
| @@ -90,23 +90,29 @@ grep buildlink3.mk allbump | sed 's/.bui | | | @@ -90,23 +90,29 @@ grep buildlink3.mk allbump | sed 's/.bui |
90 | grep -e Makefile.common -e mk$ allbump | grep -v -e buildlink3.mk -e options.mk > commonbump ; | | 90 | grep -e Makefile.common -e mk$ allbump | grep -v -e buildlink3.mk -e options.mk > commonbump ; |
91 | replace-commonbump ; | | 91 | replace-commonbump ; |
92 | cat allbump commonbump.replaced | sed 's,/[^/]*$,,' | sort -u \*[Gt] makebump ; | | 92 | cat allbump commonbump.replaced | sed 's,/[^/]*$,,' | sort -u \*[Gt] makebump ; |
93 | revbump \*[Lt] makebump | tee makebump.manual ; | | 93 | revbump \*[Lt] makebump | tee makebump.manual ; |
94 | # [if a package is listed in makebump.manual, handle the PKGREVISION bump manually] | | 94 | # [if a package is listed in makebump.manual, handle the PKGREVISION bump manually] |
95 | blbump \*[Lt] bl3bump | tee bl3bump.manual ; | | 95 | blbump \*[Lt] bl3bump | tee bl3bump.manual ; |
96 | # [handle the *ABI_DEPENDS* bumps in bl3bump.manual manually, usually none] ; | | 96 | # [handle the *ABI_DEPENDS* bumps in bl3bump.manual manually, usually none] ; |
97 | cvs diff -u `cat makebump` > cvs-diff ; | | 97 | cvs diff -u `cat makebump` > cvs-diff ; |
98 | check-cvs-diff ; | | 98 | check-cvs-diff ; |
99 | cvs diff `cat bl3bump makebump` | less | | 99 | cvs diff `cat bl3bump makebump` | less |
100 | cvs commit `cat bl3bump makebump` | | 100 | cvs commit `cat bl3bump makebump` |
101 | rm allbump bl3bump* makebump* commonbump* cvs-diff | | 101 | rm allbump bl3bump* makebump* commonbump* cvs-diff |
102 | .Ed | | 102 | .Ed |
| | | 103 | Please note that for |
| | | 104 | .Pa lang/perl5 |
| | | 105 | it is recommended to additionally bump all packages called |
| | | 106 | .Pa p5-* |
| | | 107 | and every package using perl, i.e. |
| | | 108 | .Dl grep -r perl /usr/pkgsrc |
103 | .Sh ENVIRONMENT | | 109 | .Sh ENVIRONMENT |
104 | .Ev PKGSRCDIR | | 110 | .Ev PKGSRCDIR |
105 | pkgsrc root directory. | | 111 | pkgsrc root directory. |
106 | Defaults to | | 112 | Defaults to |
107 | .Pa /usr/pkgsrc . | | 113 | .Pa /usr/pkgsrc . |
108 | .Sh SEE ALSO | | 114 | .Sh SEE ALSO |
109 | .Xr blbump 1 , | | 115 | .Xr blbump 1 , |
110 | .Xr check-cvs-diff 1 , | | 116 | .Xr check-cvs-diff 1 , |
111 | .Xr finddepends 1 , | | 117 | .Xr finddepends 1 , |
112 | .Xr replace-commonbump 1 | | 118 | .Xr replace-commonbump 1 |