pkgng/pkgng 4abb01c. auto.def, compat closefrom.c bsd_compat.h

Revert "compat: use close_range() on linux for closefrom()"

This reverts commit 58719c92b337153f7eccfa4a823938f565ec3489.
DeltaFile
+100-0compat/closefrom.c
+0-7libpkg/utils.c
+4-0compat/bsd_compat.h
+2-1compat/Makefile.autosetup
+1-1auto.def
+107-95 files

pkgng/pkgng 4fc040a. auto.def

Revert "compat: stop testing getprogname()"

This reverts commit c623b3f1a4c510b8a645a81ae454375ceced46d2.
DeltaFile
+1-1auto.def
+1-11 files

pkgng/pkgng da20b05. auto.def

configure: remove useless test
DeltaFile
+1-1auto.def
+1-11 files

pkgng/pkgng 4ba5f0e. Makefile.autosetup

LSAN: on macos exitcode=0 was not taken in account
DeltaFile
+1-1Makefile.autosetup
+1-11 files

pkgng/pkgng c623b3f. auto.def

compat: stop testing getprogname()
DeltaFile
+1-1auto.def
+1-11 files

pkgng/pkgng 58719c9. auto.def, compat closefrom.c bsd_compat.h

compat: use close_range() on linux for closefrom()

only linux does not have a async-signal-safe closefrom, use
close_range() there.
DeltaFile
+0-100compat/closefrom.c
+7-0libpkg/utils.c
+0-4compat/bsd_compat.h
+1-2compat/Makefile.autosetup
+1-1auto.def
+9-1075 files

pkgng/pkgng f03df38compat file_at.c Makefile.autosetup

compat: remove dead code
DeltaFile
+0-93compat/file_at.c
+0-1compat/Makefile.autosetup
+0-942 files

pkgng/pkgng 1aba64a. auto.def, compat file_at.c bsd_compat.h

compat: readlinkat is available everywhere
DeltaFile
+0-17compat/file_at.c
+0-4compat/bsd_compat.h
+1-1auto.def
+1-223 files

pkgng/pkgng 1909d50. auto.def, compat file_at.c bsd_compat.h

compat: openat is available everywhere
DeltaFile
+0-23compat/file_at.c
+0-4compat/bsd_compat.h
+1-1auto.def
+1-283 files

pkgng/pkgng fd612a1. auto.def, compat file_at.c bsd_compat.h

compat: fstatat is available everywhere
DeltaFile
+1-21compat/file_at.c
+0-4compat/bsd_compat.h
+1-1auto.def
+2-263 files

pkgng/pkgng 5e23dd0. auto.def, compat file_at.c bsd_compat.h

faccessat: generalize the usage

faccessat is now available everywhere and remove non portable eaccess
usage
DeltaFile
+0-25compat/file_at.c
+0-12compat/bsd_compat.h
+4-4libpkg/pkg_status.c
+3-3libpkg/backup.c
+1-1auto.def
+8-455 files

pkgng/pkgng a6e604blibpkg ssh.c pkg_ports.c

capsicum: finish 3009baa48926cb
DeltaFile
+4-3libpkg/ssh.c
+0-4libpkg/pkg_ports.c
+2-1libpkg/lua.c
+2-1libpkg/triggers.c
+8-94 files

pkgng/pkgng 679a201. auto.def, compat strnstr.c bsd_compat.h

strnstr: is not used at all.
DeltaFile
+0-61compat/strnstr.c
+0-4compat/bsd_compat.h
+1-1auto.def
+0-1compat/Makefile.autosetup
+1-674 files

pkgng/pkgng 529a33b. auto.def, compat closefrom.c

compat: dirfd is standard
DeltaFile
+1-1auto.def
+1-1compat/closefrom.c
+2-22 files

pkgng/pkgng 2e556ef. auto.def, external/sqlite sqlite_cfg.h

compat: stop dynamically checking more standard functions
DeltaFile
+9-0external/sqlite/sqlite_cfg.h
+1-2auto.def
+10-22 files

pkgng/pkgng 4f21d4f. auto.def .gitignore, external/sqlite sqlite_cfg.h

C99: isnan is a standard c99 function stop looking for it
DeltaFile
+5-0external/sqlite/sqlite_cfg.h
+2-2auto.def
+1-1.gitignore
+8-33 files

pkgng/pkgng 2e8e62f. auto.def, compat closefrom.c

compat: sysconf and fstatfs are available on all supported platforms
DeltaFile
+0-9compat/closefrom.c
+3-3auto.def
+1-1libpkg/pkgdb.c
+4-133 files

pkgng/pkgng b47fb74. auto.def, compat file_at.c bsd_compat.h

compat: all supported OS have a valid unlinkat(3)
DeltaFile
+2-22compat/file_at.c
+2-9compat/bsd_compat.h
+1-1auto.def
+5-323 files

pkgng/pkgng 3009baa. auto.def, libpkg pkg_sandbox.c

capsicum: stop defining from the configure script
DeltaFile
+5-8src/ssh.c
+4-7libpkg/pkg_sandbox.c
+3-7src/upgrade.c
+1-9auto.def
+3-6src/audit.c
+3-6src/updating.c
+19-434 files not shown
+26-5610 files

pkgng/pkgng beeb445libpkg pkg_jobs.c

statvfs: it is portable enough

While here use fragment size instead of block size for calculations
of free space
DeltaFile
+10-31libpkg/pkg_jobs.c
+10-311 files

pkgng/pkgng 345e181libpkg pkg_jobs.c

statvfs: it is portable enough

While here use fragment size instead of block size for calculations
of free space
DeltaFile
+10-31libpkg/pkg_jobs.c
+10-311 files

pkgng/pkgng 0f84b83libpkg pkg_jobs.c binfmt_macho.c, src repo.c key.c

C23: first round at using __has_include

All versions of the compiler we are using supports __has_include
Use it to make the code more independant from the configure framework.
DeltaFile
+6-8libpkg/pkg_jobs.c
+4-8src/repo.c
+2-6src/key.c
+3-3libpkg/binfmt_macho.c
+3-3libpkg/pkg_elf.c
+3-2libpkg/pkgdb.c
+21-3011 files not shown
+33-4617 files

pkgng/pkgng 2e4ac8flibpkg pkg_jobs.c binfmt_macho.c, src repo.c key.c

C23: first round at using __has_include

All versions of the compiler we are using supports __has_include
Use it to make the code more independant from the configure framework.
DeltaFile
+6-8libpkg/pkg_jobs.c
+4-8src/repo.c
+2-6src/key.c
+3-3libpkg/binfmt_macho.c
+3-3libpkg/pkg_elf.c
+3-2libpkg/pkgdb.c
+21-3011 files not shown
+33-4617 files

pkgng/pkgng 71620fclibpkg pkg_jobs.c binfmt_macho.c, src repo.c key.c

C23: first round at using __has_include

All versions of the compiler we are using supports __has_include
Use it to make the code more independant from the configure framework.
DeltaFile
+6-8libpkg/pkg_jobs.c
+4-8src/repo.c
+2-6src/key.c
+3-3libpkg/binfmt_macho.c
+3-3libpkg/pkg_elf.c
+3-2libpkg/pkgdb.c
+21-3011 files not shown
+33-4617 files

pkgng/pkgng cd69108libpkg pkgdb.c pkgdb_iterator.c, libpkg/private db_upgrades.h

libpkg: store ignored shlibs in manifest and db

Store ignored provided/required shlibs in the manifest and database.

This commit does not yet do anything with the ignored shlibs other than
read them from a user provided manifest and store them in the database.
Integration with shared library analysis and the existing
SHLIB_{PROVIDE,REQUIRE}_IGNORE_{GLOB,REGEX} global options will be
implemented in the next commit.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+82-2libpkg/pkgdb.c
+48-0libpkg/pkgdb_iterator.c
+43-1libpkg/pkg.c
+40-0libpkg/pkg_manifest.c
+17-0libpkg/private/db_upgrades.h
+10-0libpkg/pkg_attributes.c
+240-32 files not shown
+250-58 files

pkgng/pkgng 3d87d1alibpkg pkg_abi.c

libpkg: fix removal during iteration bugs

These are the same type of bug fixed in 01165121d076dfd090b,
unfortunately that commit didn't catch all the instances.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-0libpkg/pkg_abi.c
+3-01 files

pkgng/pkgng c1a4314libpkg pkg_abi.c

libpkg: fix leak on lstat failure

Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0libpkg/pkg_abi.c
+1-01 files

pkgng/pkgng 838536elibpkg pkg_abi.c, libpkg/pkg vec.h

libpkg: populate shilbs_{provided,required}_ignore

All provided/required shlibs found by pkg_analyse_files() which are not
included in shlibs_{provided,required} due to filtering are now added to
shlibs_{provided,required}_ignore instead.

Furthermore, it is now possible to filter shilbs by adding them to
shlibs_{provided,required}_ignore in a manifest passed to pkg create.

Sponsored by:   The FreeBSD Foundation
DeltaFile
+36-6libpkg/pkg_abi.c
+5-5tests/frontend/create-parsebin.sh
+7-2libpkg/pkg/vec.h
+48-133 files

pkgng/pkgng 32a1ebdlibpkg backup_lib.c

libpkg: respect ignored shlibs for BACKUP_LIBRARIES

Sponsored by:   The FreeBSD Foundation
DeltaFile
+6-0libpkg/backup_lib.c
+6-01 files

pkgng/pkgng 02ce530libpkg pkg_abi.c

libpkg: remove redundant lstat call

Sponsored by:   The FreeBSD Foundation
DeltaFile
+0-1libpkg/pkg_abi.c
+0-11 files