CVS: cvs.openbsd.org: src

2024-01-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2024/01/18 08:34:29

Modified files:
usr.bin/tsort  : tsort.c 

Log message:
fix macro to look more like a function, remove extraneous ;
(clang's -Weverything would correctly warn about the resulting empty
statement)

No generated code change



Re: CVS: cvs.openbsd.org: src

2024-01-06 Thread Marc Espie
On Sat, Jan 06, 2024 at 04:29:00AM -0700, Marc Espie wrote:
> CVSROOT:  /cvs
> Module name:  src
> Changes by:   es...@cvs.openbsd.org   2024/01/06 04:29:00
> 
> Modified files:
>   usr.sbin/httpd : js.h.in server_file.c 
> 
> Log message:
> put the real sizes into the "title" attribute so that hovering shows the
> exact value.
> 
> adjust/refactor javascript sorter accordingly
> 
> 
Forgot to say this was okay tb@



CVS: cvs.openbsd.org: src

2024-01-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2024/01/06 04:29:00

Modified files:
usr.sbin/httpd : js.h.in server_file.c 

Log message:
put the real sizes into the "title" attribute so that hovering shows the
exact value.

adjust/refactor javascript sorter accordingly



CVS: cvs.openbsd.org: src

2024-01-04 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2024/01/04 11:17:47

Modified files:
usr.sbin/httpd : Makefile server_file.c 
Added files:
usr.sbin/httpd : css.h.in js.h.in toheader.sed 

Log message:
make auto-index better
- make it an actual table
- use "human readable sizes" for the file sizes
- add some decoration and javascript to be able to sort it per-column
(client side) (this means some extra column attribute)
- add glue to facilitate embedding js + css directly in the program
- add some graphical indication for directories
- should still validate as proper html everywhere (custom properties
need to be called data-* for this!)

Work with claudio@ and tb@, many thanks to claudio@ for some of the finer
points of css handling, and tb@ for some fine spaces fixes.

I've tried it with lynx as well, shows up correctly.

One big plus is that the size of columns work as utf-8, so you can expose
filenames without any problems (I've tried it with non-js text navigators
as well as firefox, chromium and friends)

And it looks slightly less yahoo ca. 1995.

It's still "one size fits all". If people object to the current look, adding
httpd.conf(5) properties to override the default css should be easy.

okay claudio@, tb@



CVS: cvs.openbsd.org: src

2024-01-02 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2024/01/02 03:25:48

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
have quirks behave way more like other packages so it can have dependencies



CVS: cvs.openbsd.org: src

2023-12-28 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/12/28 11:05:32

Modified files:
usr.sbin/httpd : server_file.c 

Log message:
don't add values we won't print, use scandir properly

okay tb@

(logic NOT simplified because I don't want to risk introducing bugs,
and the compiler knows as much boolean logic as me)



CVS: cvs.openbsd.org: src

2023-12-03 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/12/03 09:38:28

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
move to using updatedb annotation exclusively



CVS: cvs.openbsd.org: src

2023-11-29 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/29 07:32:01

Modified files:
usr.sbin/pkg_add: package.5 

Log message:
aliases package.5 as packing-list and plist, since this is the entry
point for people looking for packing-list details.

small tweak by tb@ for readability

okay tb@, jca@



CVS: cvs.openbsd.org: src

2023-11-26 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/26 09:04:18

Modified files:
bin/pax: buf_subs.c extern.h file_subs.c options.c pax.c 
 tables.c 

Log message:
mark functions as static when they're unused elsewhere, makes the
code slightly easier to understand.

okay and tweak kn@



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 10:43:39

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
recognize future updatedb tagged packages



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 04:02:23

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgInfo.pm 

Log message:
forgot to zap really old D/F



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 04:01:22

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgInfo.pm 

Log message:
-h is handled by State.pm, don't try to recognize it



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 03:58:45

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
check_security has been around long enough, no need to check quirks can
do it



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 03:29:23

Modified files:
usr.sbin/pkg_add/OpenBSD: PackageRepository.pm 

Log message:
reinstate checking the keytype, which I unwittingly dropped a long time ago.



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 03:18:40

Modified files:
usr.sbin/pkg_add/OpenBSD: State.pm 

Log message:
reason this is here



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 03:17:59

Modified files:
usr.sbin/pkg_add/OpenBSD: FwUpdate.pm 

Log message:
dead too



CVS: cvs.openbsd.org: src

2023-11-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/25 03:17:38

Modified files:
usr.sbin/pkg_add/OpenBSD: State.pm 

Log message:
this is dead since 2016



CVS: cvs.openbsd.org: src

2023-11-24 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/24 11:19:25

Modified files:
usr.sbin/pkg_add/OpenBSD: State.pm 

Log message:
add glue to match usage against actual options, as a debugging facility



CVS: cvs.openbsd.org: src

2023-11-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/23 02:44:08

Modified files:
usr.sbin/pkg_add/OpenBSD: PackingList.pm 

Log message:
need to represent the option for it to actually make it into the package



CVS: cvs.openbsd.org: src

2023-11-22 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/22 04:18:37

Modified files:
usr.sbin/pkg_add/OpenBSD: PackingElement.pm 

Log message:
Prepare to do the updatedb stuff as an @option, so that the code is less ad-hoc



CVS: cvs.openbsd.org: src

2023-11-11 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/11 03:46:37

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
Dumb my latin down to vernacular english



CVS: cvs.openbsd.org: src

2023-11-11 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/11 03:12:08

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document UNLINKED/BUILD_UNLINKED



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/07 00:40:50

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: test.pl 

Log message:
comment out test that no longer makes sense, as noticed by anton



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 06:40:39

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
eliminate discrepancies between termcap-generated info and infocmp results
(see user_caps(5))
also obviously protects the term name just in case someone wants to have
fun with it..



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:22:59

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
actually, I still need to exit() if infocmp can't be run



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:21:43

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
system + exit -> exec
as noticed by afresh1@
(this should be all for now)



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:20:51

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
since we're always running info_cmp in the end, remove the whole
"in case of emergency run info_cmp block" (more efficient: we only
parse the entry we need). Keep the small part that creates a dumb terminal
on VMS, even though we're not running that.

Add an extra state check in the automaton to avoid skipping a tmp_term



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:14:36

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
simplify logic for $entry in the main termcap loop



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:13:01

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
always try to run info_cmp at the end if we haven't got what we wanted
This allows terminals with only terminfo capabilities to show up in
Term::Cap (like kitty) !



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:11:11

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
simplify $ENV{TERMCAP} handling: don't bother setting anything if
the variable doesn't exist



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:08:49

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
instead of a max number of iterations, record terms that have been seen
in a hash instead.
Side effect: we no longer parse the same tc again and again, leading
to a smaller result with the same capabilities but no duplicates.
(instead of parsing 36 entries for xterm, we end up with 10 entries, as
the "tc=" stuff is actually a tree instead of a list: xterm references
several intermediate tc that all lead to the same basic list !)



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:05:45

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
use modern file open instead of GLOBS



CVS: cvs.openbsd.org: src

2023-11-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 01:04:38

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
get rid of useless eval
use \Q\E to quote stuff around tmp_term, instead of rolling our own
in termpat (get rid of termpat)



CVS: cvs.openbsd.org: src

2023-11-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 00:59:22

Removed files:
gnu/usr.bin/perl/cpan/Term-Cap: LICENSE MANIFEST MANIFEST.SKIP 
META.json META.yml Makefile.PL 
README 

Log message:
remove upstream files we don't need



CVS: cvs.openbsd.org: src

2023-11-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 00:58:47

Modified files:
gnu/usr.bin/perl/cpan/Term-Cap: Cap.pm 

Log message:
reapply max=64 for now



CVS: cvs.openbsd.org: src

2023-11-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/06 00:57:38

Log message:
update to Term::Cap 1.18, so that we can patch it further
as discussed with afresh1@

Status:

Vendor Tag: CPAN
Release Tags:   Term_Cap_1_18

N src/gnu/usr.bin/perl/cpan/Term-Cap/Changes
N src/gnu/usr.bin/perl/cpan/Term-Cap/Makefile.PL
U src/gnu/usr.bin/perl/cpan/Term-Cap/test.pl
N src/gnu/usr.bin/perl/cpan/Term-Cap/META.yml
N src/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST
C src/gnu/usr.bin/perl/cpan/Term-Cap/Cap.pm
N src/gnu/usr.bin/perl/cpan/Term-Cap/LICENSE
N src/gnu/usr.bin/perl/cpan/Term-Cap/MANIFEST.SKIP
N src/gnu/usr.bin/perl/cpan/Term-Cap/README
N src/gnu/usr.bin/perl/cpan/Term-Cap/META.json

1 conflicts created by this import.
Use the following command to help the merge:

cvs checkout -jCPAN:yesterday -jCPAN src/gnu/usr.bin/perl/cpan/Term-Cap



CVS: cvs.openbsd.org: src

2023-11-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/11/05 04:22:59

Modified files:
usr.bin/make/lst.lib: Makefile.inc 

Log message:
current code no longer uses Lst_Replace not Lst_Requeue
so don't bother compiling them.



CVS: cvs.openbsd.org: src

2023-10-25 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/25 05:14:42

Modified files:
usr.sbin/pkg_add/OpenBSD: Subst.pm 

Log message:
okay, that one ought to work.
Recognize + only right before =



Re: CVS: cvs.openbsd.org: src

2023-10-23 Thread Marc Espie
On Mon, Oct 23, 2023 at 01:12:09PM -0400, Daniel Jakots wrote:
> On Mon, 23 Oct 2023 02:38:14 -0600 (MDT), Marc Espie
>  wrote:
> 
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: es...@cvs.openbsd.org   2023/10/23 02:38:14
> > 
> > Modified files:
> > usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 
> > 
> > Log message:
> > split on spaces as well, to take advantage of +=
> > 
> 
> I just updated a machine and now pkg_add fails:
> 
> # pkg_add -u
> syntax error at /usr/libdata/perl5/OpenBSD/Subst.pm line 54, near "" $v")"
> Compilation failed in require at /usr/libdata/perl5/OpenBSD/State.pm line 73.
> BEGIN failed--compilation aborted at /usr/libdata/perl5/OpenBSD/State.pm line 
> 73.

Yeah, not sure how I managed to fuck that one. Fixed for real



CVS: cvs.openbsd.org: src

2023-10-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/23 15:53:54

Modified files:
usr.sbin/pkg_add/OpenBSD: Subst.pm 

Log message:
sorry, somehow I did redo this line badly and didn't retest



CVS: cvs.openbsd.org: src

2023-10-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/23 02:38:58

Modified files:
regress/usr.sbin/pkg_add: Makefile 

Log message:
use more natural (and new) += with REGRESSION_TESTING



CVS: cvs.openbsd.org: src

2023-10-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/23 02:38:14

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 

Log message:
split on spaces as well, to take advantage of +=



CVS: cvs.openbsd.org: src

2023-10-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/23 02:37:45

Modified files:
usr.sbin/pkg_add/OpenBSD: Subst.pm 

Log message:
add some limited capability to -DVAR+=value
to be used with REGRESSION_TESTING, where it's somewhat inconvenient to
know the full list in advance.



CVS: cvs.openbsd.org: src

2023-10-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/18 02:50:13

Modified files:
usr.sbin/pkg_add/OpenBSD/ProgressMeter: Term.pm 

Log message:
only strip actual file/line part from the eval error



CVS: cvs.openbsd.org: src

2023-10-18 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/18 02:03:19

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document semi-internal parts used by dpb(1)



CVS: cvs.openbsd.org: src

2023-10-11 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/11 07:54:43

Modified files:
regress/usr.sbin/pkg_add: Makefile 
usr.sbin/pkg_add/OpenBSD: Add.pm Delete.pm PkgCreate.pm 

Log message:
put "stub" within grasp of -DREGRESSION_TESTING.
Extend it slightly: do not stub quirks, so that caching mechanisms work
as usual even when using stubs.



CVS: cvs.openbsd.org: src

2023-10-11 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/11 07:52:29

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
missing state in locator call, surprised nobody else ran into that



CVS: cvs.openbsd.org: src

2023-10-09 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/09 01:12:22

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgDelete.pm 

Log message:
placeholder for later feature



CVS: cvs.openbsd.org: src

2023-10-09 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/09 01:03:49

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 

Log message:
simplify: all 3 mock-ups are strings that get eval'd, so do this properly.



CVS: cvs.openbsd.org: src

2023-10-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/08 06:45:31

Modified files:
usr.sbin/pkg_add/OpenBSD: LibSpec.pm 

Log message:
subclass system libraries so we can give better diagnostic eventually



CVS: cvs.openbsd.org: src

2023-10-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/08 06:44:58

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 

Log message:
oops, those eval need to be STRINGS, otherwise the whole definition stuff
happens regardless.

Add a third one to only disregard base libraries



CVS: cvs.openbsd.org: src

2023-10-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/08 03:17:27

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 

Log message:
add another two regression testing parts. Use a simple framework that
allows me to redefine methods to not do a thing
(maybe this will migrate to its own file if it grows enough)



CVS: cvs.openbsd.org: src

2023-10-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/08 03:16:40

Modified files:
usr.sbin/pkg_add/OpenBSD: Tracker.pm 

Log message:
wrong prototype, it's called as an OO method



CVS: cvs.openbsd.org: src

2023-10-08 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/08 00:55:02

Modified files:
usr.sbin/pkg_add/OpenBSD: AddCreateDelete.pm 

Log message:
plain forgot to save the values for regression testing



CVS: cvs.openbsd.org: src

2023-10-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/07 03:11:26

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm 

Log message:
with firmware known, recognize that we couldn't find any update at all
and just say that instead of a dauntingly long list of packages



CVS: cvs.openbsd.org: src

2023-10-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/07 03:10:03

Modified files:
usr.sbin/pkg_add/OpenBSD: Update.pm Tracker.pm 

Log message:
track firmware separately, since those will appear as uptodate for us



CVS: cvs.openbsd.org: src

2023-10-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/07 03:09:07

Modified files:
usr.sbin/pkg_add/OpenBSD: PkgCreate.pm 

Log message:
use more specific regression testing knob



CVS: cvs.openbsd.org: src

2023-10-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/06 06:45:45

Modified files:
share/man/man1 : register-plist.1 

Log message:
be more explicit about the usage pattern of register-plist and the variables
in bsd.port.mk that govern its behavior.



CVS: cvs.openbsd.org: src

2023-10-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/10/06 00:00:18

Modified files:
regress/usr.sbin/pkg_add: Makefile 

Log message:
prepare for adding a value for REGRESSION_TESTING, so that I can test
more funky situations eventually



CVS: cvs.openbsd.org: src

2023-09-27 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/27 06:24:22

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document the obvious



CVS: cvs.openbsd.org: src

2023-09-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/23 10:08:46

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
fully deprecate SITES0...9, I will convert the few (200) ports still using
it as soon as my test bulk finishes.



CVS: cvs.openbsd.org: src

2023-09-23 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/23 10:06:10

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
explicitly says that's a script



CVS: cvs.openbsd.org: src

2023-09-22 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/22 01:29:14

Modified files:
usr.bin/pkg-config/OpenBSD: PkgConfig.pm 

Log message:
small speed increase: do not bother substituting variables if there are none.

tested through a full src/x/ports build



CVS: cvs.openbsd.org: src

2023-09-22 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/22 01:28:31

Modified files:
usr.bin/pkg-config: pkg-config 

Log message:
significantly increase the speed of pkg-config by not going to the env
all the time.

fully tested thru a src/x/ports build



CVS: cvs.openbsd.org: www

2023-09-19 Thread Marc Espie
CVSROOT:/cvs
Module name:www
Changes by: es...@cvs.openbsd.org   2023/09/19 03:03:28

Modified files:
.  : events.html 
Added files:
papers : eurobsdcon2023-espie-cache.pdf 

Log message:
my slides, a bit later than usual



CVS: cvs.openbsd.org: src

2023-09-16 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/16 03:33:13

Modified files:
usr.sbin/pkg_add/OpenBSD/PackageRepository: Cache.pm 

Log message:
forgot to kill that



CVS: cvs.openbsd.org: src

2023-09-09 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/09 04:56:22

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
gc WRKDIR_LINK_NAME



CVS: cvs.openbsd.org: src

2023-09-09 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/09 04:07:00

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
remove PATCH_DEBUG documentation, since it has been always on since 2016



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 17:32:56

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
blast from the past... be gone!



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:26:14

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
always say "the sqlports package"



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:24:39

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
be more direct about SUPDISTFILES



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:21:10

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
We prefer SITES.sufx (lowercase)



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:19:19

Modified files:
share/man/man7 : ports.7 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:17:43

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
mention that SITE_BACKUP won't work transparently until we completely
get rid of MASTER_SITES.



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 11:15:29

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
beyond libtool



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 09:28:48

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
default value for PORTHOME (todo: add it as diagnostic)



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 09:23:00

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
don't share patches lightly



CVS: cvs.openbsd.org: src

2023-09-07 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/07 09:12:38

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
even though it's annotated, users don't see .Cm, so note we're talking
about the target since 'package' is used all over the place.



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 16:28:50

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
point GH_* to DIST_TUPLE for complicated stuff
remove description of MTREE_FILE that was removed a few years ago



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 15:14:43

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
ROACH_URL and ROACH_SITES, to help portroach figure out the new things.



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 09:02:51

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
reflect new reality



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 06:08:32

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
be more specific in describing the magic behind EXTRACT_CASES



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 05:47:36

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
nits



CVS: cvs.openbsd.org: src

2023-09-06 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/06 03:50:45

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document ERRORS better



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 10:20:30

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
github.io is https
zap the dot so that dumb cut works



CVS: cvs.openbsd.org: www

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:www
Changes by: es...@cvs.openbsd.org   2023/09/05 07:59:44

Modified files:
faq/ports  : guide.html 

Log message:
MASTER_SITES -> SITES



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:58:50

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
reorder



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:55:57

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
automated MASTER_SITE* -> SITE* renaming
(need some alphabetical reordering)



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:47:25

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
avoid fatal errors at all costs



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:15:31

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
DIST_TUPLE's handling of HOMEPAGE is optional, of course



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:13:50

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
update informal toc



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:04:58

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
pof for check-lib-depends



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 07:02:11

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
be blunter about IS_INTERACTIVE



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 06:58:01

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
drop very old history



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 06:53:43

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
strongly hint that people take advantage of sqlports



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 06:47:54

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
document moving mechanisms



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 06:10:34

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
use terminology for other projects: it's still "fake" to us, but
acknowledge the more common name "staging area"



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 05:51:44

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
There's no index in bsd.port.mk these days.



CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2023/09/05 05:25:12

Modified files:
share/man/man5 : bsd.port.mk.5 

Log message:
Be more specific in some places.
In  particular, telling people not to use pre-fake unless
they know what they're doing is idiotic.



Re: CVS: cvs.openbsd.org: src

2023-09-05 Thread Marc Espie
On Mon, Sep 04, 2023 at 11:42:55PM -0400, Thomas Frohwein wrote:
> On Mon, Sep 04, 2023 at 04:36:55PM -0600, Thomas Frohwein wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: t...@cvs.openbsd.org2023/09/04 16:36:55
> > 
> > Modified files:
> > share/man/man5 : bsd.port.mk.5 
> > 
> > Log message:
> > document DIST_TUPLE and related variables: EXTRACT_SUFX.,
> > TEMPLATE_DISTFILES., and TEMPLATE_HOMEPAGE..
> > ok espie@
> > 
> 
> This wasn't only ok espie@, but a large part of this documentation was
> written and/or modified by espie@. Credit where credit is due.

We've been doing so much back on this, it's not even clear who
wrote this. Stuart gave a lot of useful input as well.

It's really the kind of work that goes so much faster during hackathons !
Lots of fun.



  1   2   3   4   5   6   7   8   9   10   >