profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/bapt/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

bapt/zfbsd 11

zsh completions function for freebsd

allanjude/freebsd-papers 9

The base for Papers.FreeBSD.org, a collection of conference talks, papers, slides, and videos from conferences related to FreeBSD

bapt/stuffz 8

some usefull stuff in zsh

bapt/svnstash 5

Stash support for svn

bapt/indexinfo 3

Utility to regenerate the GNU info page index

bapt/dma 1

The DragonFly Mail Agent, a small Mail Transport Agent (MTA), designed for home and office use.

bapt/ports-wip 1

My work in progress patches on the ports tree

issue closedfreebsd/pkg

pkg-add broken with PKG_NO_VERSION_FOR_DEPS-built packages

===>   Installing existing package /packages/All/py38-setuptools-57.0.0.pkg
[11amd64-default-local-job-14] Installing py38-setuptools-57.0.0...
[11amd64-default-local-job-14] `-- Installing python38-3.8.12...
[11amd64-default-local-job-14] |   `-- Installing gettext-runtime-0.21...
[11amd64-default-local-job-14] |   | `-- Installing indexinfo-0.3.1...
[11amd64-default-local-job-14] |   | `-- Extracting indexinfo-0.3.1: .... done
[11amd64-default-local-job-14] |   `-- Extracting gettext-runtime-0.21: .......... done
[11amd64-default-local-job-14] |   `-- Installing gettext-runtime-0.21...
the most recent version of gettext-runtime-0.21 is already installed
[11amd64-default-local-job-14] |   `-- Installing gettext-runtime-0.21...
the most recent version of gettext-runtime-0.21 is already installed
[11amd64-default-local-job-14] |   `-- Installing gettext-runtime-0.21...
the most recent version of gettext-runtime-0.21 is already installed
[11amd64-default-local-job-14] |   `-- Installing gettext-runtime-0.21...
the most recent version of gettext-runtime-0.21 is already installed
[11amd64-default-local-job-14] `-- Extracting python38-3.8.12: .......... done
[11amd64-default-local-job-14] Extracting py38-setuptools-57.0.0: .......... done

Here it is retrying gettext-runtime several times and it never made it to the rest of the deps from the manifest.

 {"gettext-runtime":{"origin":"devel/gettext-runtime"},"libffi":{"origin":"devel/libffi"},"mpdecimal":{"origin":"math/mpdecimal"},"openssl":{"origin":"security/openssl"},"readline":{"origin":"devel/readline"}}}

I believe the problem is here in https://github.com/freebsd/pkg/commit/270501eb67b1963af6b98598b628483f0bda4825#diff-69ee594b7055cf448f55b648f8cfb55e6094f72f13383e4e946abd37fe7e226cR939-R944

https://github.com/freebsd/pkg/blob/270501eb67b1963af6b98598b628483f0bda4825/libpkg/pkg_add.c#L939-L944

With PKG_NO_VERSION_FOR_DEPS set we get here with dep->version == NULL and dpath is stale from the last loop. Probably need a || dep->version == NULL here, like the old else was doing...

@bapt @fichtner

closed time in 6 days

bdrewery

push eventfreebsd/pkg

Franco Fichtner

commit sha f95ea9436c98c8e4488c64350d0a0dd1389c1d0f

tests: add a test for regression in #1995 While here remove unused test-lib directives from for loops.

view details

push time in 6 days

PR merged freebsd/pkg

tests: add a test for regression in #1995

While here remove unused test-lib directives from for loops.

+25 -4

0 comment

1 changed file

fichtner

pr closed time in 6 days

push eventfreebsd/pkg

Franco Fichtner

commit sha 913cf560a499e1a79eec9fddfccd9b4fd568cf14

pkg-add: provide fallback for version mismatch Currenty either we find the proper version or we go to the nearest match, but not both, which leads to missing errors when there is no need for it.

view details

Franco Fichtner

commit sha 373c4f709fe132a3416f32468f63df03bbdf678e

pkg-add: reset dpath for each loop iteration #1995

view details

push time in 6 days

PR merged freebsd/pkg

pkg-add: provide fallback for version mismatch

Redo with additional fix for #1995

+28 -2

0 comment

2 changed files

fichtner

pr closed time in 6 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha f12d769610731a81ad22f02087a038a0d046bd29

Revert "pkg-add: provide fallback for version mismatch" This reverts commit 270501eb67b1963af6b98598b628483f0bda4825. This causes regressions on poudriere

view details

Baptiste Daroussin

commit sha a76fee163c44c4f48d5a18dad08b97be50c09869

Revert "audit: reduce verbosity" This reverts commit 37534652eee9b2dfb94af9b52af8b988d4d432f0.

view details

Baptiste Daroussin

commit sha 6a5b42c6d7cd3b74c111d6f10a0538a6f9bce1c6

CI: remove freebsd 11 which is EOLed

view details

Bryan Drewery

commit sha aa2df4e4061f2f1ee405f6933ad1fa34441095a7

pkg-upgrade(8): Document --vulnerable

view details

julp

commit sha 829fd53dfd497b11e46dfc8fdf0ecfe79823fb0d

fix variable name in function pkg_plugin_conf_add for type = PKG_OBJECT

view details

Kyle Evans

commit sha aed389d7a4cd448db9ea5e71693a4f472bd651fd

libpkg: don't recurse on pkg_jobs_universe_process_deps for local pkgs This can be reproduced by simply trying to `pkg install` a .pkg out of /var/cache/pkg. libpkg ends up blowing up the stack here and crashing, because it wants to fetch the local package but it's already been presented with the local package. Simply stop doing that. This now attempts to install the latest version of the named packaged from the remote.

view details

Brad Davis

commit sha af028237f5b2a9a34ce344a86e0153b06c6628cb

Simplify the fingerprint test by using the prebuilt function to create pkg

view details

Brad Davis

commit sha d04e611a40eb73f5b225c85868a85ca873a45119

Fix finding repo fingerprints when using rootdir support Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate")

view details

Baptiste Daroussin

commit sha e61529ac3f63a68d7cbb0a6c9a96038beede5c85

fingerprints: fix rootdir support Properly implement rootdir support via rootfd and at function, so we have a single codepath, if we are using -r switch or not. While here fix the test case to really represent rootdir vs non rootdir situation

view details

Baptiste Daroussin

commit sha d26200bf2c64fa98b67b5b12fcb67cdfef542fbb

main: die if a bad argument is provided in first intention Fixes: #1991

view details

Baptiste Daroussin

commit sha 4f5061a5befe8a5beda3d78f5eaed28e2092fcc2

release 1.17.3

view details

push time in 7 days

created tagfreebsd/pkg

tag1.17.3

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org

created time in 7 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha fd770b1e19a446a40dec478beed11045aab260ef

1.17.99.7

view details

push time in 7 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 8220a4e08bcaaac31512db6198179671fee8248d

pkg repo: cleanup unused code after refactoring

view details

Baptiste Daroussin

commit sha bc3646a11bc784e16c0b866ccea967ff84fc793e

Revert "audit: reduce verbosity" This reverts commit 37534652eee9b2dfb94af9b52af8b988d4d432f0.

view details

push time in 7 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha ef49441551006d7e392ce578c27880a3451ffc53

pkg repo: fix internal repo path at generation time

view details

push time in 7 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha bcdc5407b18db7fd6fe2e8752a362ab1f3369f52

CI: remove freebsd 11 which is EOLed

view details

push time in 11 days

push eventfreebsd/pkg

Bryan Drewery

commit sha 42546f7f38d67fc901f62e17aeaf1f4371e85cd5

pkg-upgrade(8): Document --vulnerable

view details

push time in 11 days

PR merged freebsd/pkg

pkg-upgrade(8): Document --vulnerable
+6 -1

0 comment

1 changed file

bdrewery

pr closed time in 11 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 615419585cfba630f08539abad6d73d347250b57

Revert "pkg-add: provide fallback for version mismatch" This reverts commit 270501eb67b1963af6b98598b628483f0bda4825. This causes regressions on poudriere

view details

Baptiste Daroussin

commit sha 20d6d8c88f395f0d129339b09709a2b42856551f

pkg repo: unify the .pkg extension

view details

Baptiste Daroussin

commit sha e48aa7bdedcb9ceca9512e8d6d6c3a977a901cdc

pkg repo: rework the balance between the workers pkg repo works a child CPUs pour create the repository, when doing that it used to split the list of packages in equal number per worker, which makes some worker finish before others. Rework to each worker tell the main process when it is ready and the main process sends to the work the list of the next package in the queue. on a 8 core machines, results: before the change: 22.76 real 99.02 user 4.57 sys after the change: 16.69 real 114.12 user 4.52 sys

view details

push time in 11 days

push eventfreebsd/pkg

julp

commit sha 78727ce86b004fa8d08d84340f96fb08f84d1408

fix variable name in function pkg_plugin_conf_add for type = PKG_OBJECT

view details

push time in 21 days

PR merged freebsd/pkg

fix variable name in function pkg_plugin_conf_add for type = PKG_OBJECT

Hi,

I think there is a little error on a variable name in function pkg_plugin_conf_add for type = PKG_OBJECT.

With: pkg_plugin_conf_add(p, PKG_OBJECT, "KEY", "foo=bar");

Actual result:

"foo=bar" {
}

Expected:

KEY {
  foo = "bar";
}

Because variable key is overwritten instead of, I guess, (re)using k.

+1 -1

0 comment

1 changed file

julp

pr closed time in 21 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 2499761a03c91d8706c2de596f87d9aca6e8c6e5

1.17.99.6

view details

push time in 22 days

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 6c39feaba30f33cb5a6cc62217a70c5da10874ea

pkg_elf: fix segfault after conversion to pkghash

view details

push time in 22 days

issue commentfreebsd/pkg

pkg-info [-i] case-insensitivity does not work

this is because the default is on glob matching which is always case sensitive. the problem is switching to what it should be aka: MATCH_EXACT might be percieved as POLA because pkg_info use to default on glob matching

bdrewery

comment created time in a month

CommitCommentEvent

push eventfreebsd/pkg

Baptiste Daroussin

commit sha bab4e646403b496f4aa3bdbc607ff9a343f37f8d

main: die if a bad argument is provided in first intention Fixes: #1991

view details

push time in a month

issue closedfreebsd/pkg

Supplying --fetch-install in the wrong place breaks POLA

The correct command is: pkg upgrade --fetch-only

If you get it wrong and type: pkg --fetch-only upgrade

What happens: the command detects an unknown option and proceed with the upgrade.

Expected result: the unknown option causes an error and nothing happens.

Example:

# pkg --fetch-only upgrade -y curl
pkg: unrecognized option `--fetch-only'
Updating local repository catalogue...
local repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	curl: 7.78.0 -> 7.79.1

Number of packages to be upgraded: 1

1 MiB to be downloaded.
[ansible.int.unixathome.org] [1/1] Fetching curl-7.79.1.pkg: 100%    1 MiB   1.4MB/s    00:01    
Checking integrity... done (0 conflicting)
[ansible.int.unixathome.org] [1/1] Upgrading curl from 7.78.0 to 7.79.1...
[ansible.int.unixathome.org] [1/1] Extracting curl-7.79.1: 100%

closed time in a month

dlangille

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 7ba7039198365afd1d3310c910a9b1c86e30f06e

fingerprints: fix rootdir support Properly implement rootdir support via rootfd and at function, so we have a single codepath, if we are using -r switch or not. While here fix the test case to really represent rootdir vs non rootdir situation

view details

push time in a month

CommitCommentEvent

push eventfreebsd/pkg

Kyle Evans

commit sha 8bc29df031dc1f232c59c61684967849c8624b4e

libpkg: don't recurse on pkg_jobs_universe_process_deps for local pkgs This can be reproduced by simply trying to `pkg install` a .pkg out of /var/cache/pkg. libpkg ends up blowing up the stack here and crashing, because it wants to fetch the local package but it's already been presented with the local package. Simply stop doing that. This now attempts to install the latest version of the named packaged from the remote.

view details

push time in a month

PR merged freebsd/pkg

libpkg: don't recurse on pkg_jobs_universe_process_deps for local pkgs

This can be reproduced by simply trying to pkg install a .pkg out of /var/cache/pkg. libpkg ends up blowing up the stack here and crashing, because it wants to fetch the local package but it's already been presented with the local package.

Simply stop doing that. This now attempts to install the latest version of the named packaged from the remote.

+1 -1

0 comment

1 changed file

kevans91

pr closed time in a month

issue commentrust-lang/rust

Drop support for FreeBSD 10 from std

Following the freebsd EOL policy is perfectly fine. FreeBSD 10 support should be dropped now, FreeBSD 11 should be dropped by November 1rst.

asomers

comment created time in a month

created tagfreebsd/pkg

tag1.17.2

Package management tool for FreeBSD. Help at #pkg on Libera Chat or pkg@FreeBSD.org

created time in a month

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 760da62844a3330a6583304883f2d91463fd3a44

audit.h: make it c++ friendly Fixes: #1968

view details

Li-Wen Hsu

commit sha 6a92a83ca2ac46365769676f0a628e4fc3b80370

FreeBSD CI: Use latest RELEASE

view details

Bernard Spil

commit sha 2d775cb74124f43ffeb0517f0475d51ff847c939

libpkg/rsa.c: Fix build with LibreSSL Use pre-1.1 API for builds with LibreSSL

view details

KOIZUMI Satoru

commit sha f8a4555ea0fe19dee4113fd0f234de35044cd73b

fix style warning

view details

Gabe Schrecker

commit sha 3b8d32d346a5b0edf75aedc8b5ed20a10821c90f

Pull in updated elfdefinitions from elftoolchains Existing elfdefinitions was outdated, lacking macros for newer architectures such as Aarch64 and RISCV

view details

Gabe Schrecker

commit sha e10499f35cd0bbaf5b0ea19cbe48556ce3e28dce

Remove ifdefs from mach_corres for new architectures ifdefs in elf_tables were required prviously as elfdefinitions had not been updated and new architectures could only be added to the array when specified as macros from the cli at build

view details

Gabe Schrecker

commit sha abb8a0c8a4a4221b424bd2ce3ba26c1aabeda125

Align linux libelf config with other platforms Only linux was using native-elf-format header generator and the information can be determined statically at compile time.

view details

Gabe Schrecker

commit sha 6ade3f1e85afeab35f3031bcfd0d019b09feaebc

Enable Aarch64 build support for Linux

view details

Baptiste Daroussin

commit sha 00f0050945b42f3a9fad66457c498ed4aa3ad2e8

autoremove: respect -q if nothing has to be done

view details

Baptiste Daroussin

commit sha b9387ebca26d106562023cfc204eeb0fa33aef0f

version: report an error if the provided INDEX file does not exist

view details

Dan Langille

commit sha 5f7cf1f925c0f1639a35ef43745a9a535eaabf2a

Allow user to specify ignored jails. security_status_pkgaudit_jails_ignore is a space delimited list of jails to ignore. If non-empty, the code iterates over security_status_pkgaudit_jails_ignore to avoid partial matches (i.e. ignore foo.bar, but not foo). If there is a better way to do that without looping, please let me know.

view details

Dan Langille

commit sha 284c8ec5052f3fe8ba525a95c227e77322cc1473

Change == to = (bashism) No need to test for empty security_status_pkgaudit_jails_ignore

view details

Dan Langille

commit sha 3975f4982b256561acbed2a44852a19bb983bc1f

Use ${var} not $var

view details

Baptiste Daroussin

commit sha 8426804db632b983dca0b75be8620a519f62d9a8

arch detection: .h files are not arch specific

view details

Stefan Eßer

commit sha a977fafc35245125b899d51c79aa6581ce29616b

Make -e option orthogonal to other filter options The -e option had been implemented as a mutual alternative to other options that select the packages to operate on. This patch allows to combine -e with other options, the result will be the intersection of the results of either filter expression. E.g. the command pkg query -e "%p==${LOCALBASE}" -g %o "py*" will print the origins of packages whose name starts with "py" and which have a prefix of $LOCALBASE. This allows to significantly simplify the CONFLICTS check logic in bsd.ports.mk, for example. There are no regressions reported by "make check". All 188 currently provided test cases succeed. Some testing has been performed to verify the new functionality, but test cases for the new functionality are not included in this commit.

view details

Stefan Eßer

commit sha e34fed78f339c16c17359013a85e450002260655

Fix warning about incomplete initializer.

view details

Stefan Eßer

commit sha 37e5c5868cb5a9ec8d02a32f1662f2b1d27d645f

Annotate 2 locations with inconsitent parameter specifications The actual query string contains one variable less than specified in the parameter type string in either case.

view details

Stefan Eßer

commit sha a25b32e6c966a38df0222bbc35760e7229db1960

Add pkg query -e tests with additional selectors The added tests verify that the combination of a condition with file name selectors is functional. If the -e option is used, the return code is 0 even if no packages match the condition or name pattern. This matches the behavior of pkg query -e without additional patterns.

view details

Stefan Eßer

commit sha 0886f96139a9472392a0fc9bf8ffe14257e70ec3

Add support for -e as additional condition to pkg-rquery

view details

Stefan Eßer

commit sha ca848034fa0985bedfae43f86b6d131d78d79ef2

Fix pkg rquery -e processing

view details

push time in a month

push eventfreebsd/pkg

Baptiste Daroussin

commit sha 4ffdaa3ee9fdc77ef22e00999454fbc890208b88

1.17.99.5

view details

push time in a month