Displaying 1 50 of 9,593 commits (0.008s)

pkgng — libpkg fetch.c

Close a leak
Delta File
+3 -0 libpkg/fetch.c
+3 -0 1 file

pkgng — src upgrade.c

Fix resource leak
Delta File
+1 -0 src/upgrade.c
+1 -0 1 file

pkgng — libpkg pkg_add.c

Check if open actually succeeded and error if not.

Also close fdcwd in other error cases.
Delta File
+5 -1 libpkg/pkg_add.c
+5 -1 1 file

pkgng — libpkg pkg_add.c

Clean up a few more resource leaks
Delta File
+8 -3 libpkg/pkg_add.c
+8 -3 1 file

pkgng — libpkg pkg_add.c

Clean up some resouce leaks
Delta File
+22 -8 libpkg/pkg_add.c
+22 -8 1 file

pkgng — libpkg pkg_add.c

Correct error message to use the right types.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224474
Delta File
+2 -2 libpkg/pkg_add.c
+2 -2 1 file

pkgng — . configure.ac

1.10.5
Delta File
+1 -1 configure.ac
+1 -1 1 file

pkgng — . NEWS

Update NEWS
Delta File
+5 -0 NEWS
+5 -0 1 file

pkgng — libpkg utils.c

 

Merge pull request #1666 from vstakhov/osversion-fix

Improve OSVERSION mismatch check
∈ Vsevolod Stakhov - 50305303 - 2018-02-13 11:05:27
Improve error message
Delta File
+9 -4 libpkg/utils.c
+9 -4 1 file

pkgng — libpkg utils.c

Improve error message
Delta File
+8 -3 libpkg/utils.c
+8 -3 1 file

pkgng — libpkg utils.c

Allow minor OSVERSION missmatch in a more user-friendly matter
Delta File
+24 -4 libpkg/utils.c
+24 -4 1 file

pkgng — libpkg utils.c

Allow minor OSVERSION missmatch in a more user-friendly matter
Delta File
+24 -4 libpkg/utils.c
+24 -4 1 file

pkgng — libpkg pkg_audit.c, src audit.c upgrade.c

audit: Drop privileges after opening the files/database but before parsing.

Also assert (return EPKG_FATAL) in pkg_audit_process() if running as
root.

This allows setting /var/db/pkg mode 0750.
Delta File
+3 -0 libpkg/pkg_audit.c
+2 -1 src/audit.c
+2 -1 src/upgrade.c
+7 -2 3 files

pkgng — libpkg pkg_audit.c, src audit.c upgrade.c

audit: Drop privileges after opening the files/database but before parsing.

Also assert (return EPKG_FATAL) in pkg_audit_process() if running as
root.

This allows setting /var/db/pkg mode 0750.
Delta File
+3 -0 libpkg/pkg_audit.c
+2 -1 src/audit.c
+2 -1 src/upgrade.c
+7 -2 3 files

pkgng — libpkg pkgdb.c

Complain more clearly about read-only FS errors.

If `eaccess(2)` on the pkgdb fails because the filesystem is read-only,
expose this to the user via an "Insufficient privileges" message
(implied by `EPKG_ENOACCESS`) rather than failing silently with
`EPKG_FATAL`.
Delta File
+1 -1 libpkg/pkgdb.c
+1 -1 1 file

pkgng — libpkg pkgdb.c

Complain more clearly about read-only FS errors.

If `eaccess(2)` on the pkgdb fails because the filesystem is read-only,
expose this to the user via an "Insufficient privileges" message
(implied by `EPKG_ENOACCESS`) rather than failing silently with
`EPKG_FATAL`.
Delta File
+1 -1 libpkg/pkgdb.c
+1 -1 1 file

pkgng — src Makefile.autosetup

Link to bundle libfetch
Delta File
+1 -1 src/Makefile.autosetup
+1 -1 1 file

pkgng — libpkg xmalloc.h

Fix warning about vasprintf not being declared
Delta File
+2 -0 libpkg/xmalloc.h
+2 -0 1 file

pkgng — . auto.def

Checks for dirent, this is needed for closefrom.c
Delta File
+3 -0 auto.def
+3 -0 1 file

pkgng — compat closefrom.c

Remove some cruft
Delta File
+0 -1 compat/closefrom.c
+0 -1 1 file

pkgng — . auto.def, compat closefrom.c

Use usefual feature naming for F_CLOSEM
Delta File
+5 -1 auto.def
+2 -1 compat/closefrom.c
+7 -2 2 files

pkgng — . pkg_repos.h .gitignore

For now force static pkg_repos.h
Delta File
+8 -0 pkg_repos.h
+0 -1 .gitignore
+8 -1 2 files

pkgng — mk common.mk

add standard for C
Delta File
+2 -2 mk/common.mk
+2 -2 1 file

pkgng — autosetup pkg-config.tcl

remove cruft
Delta File
+50 -1 autosetup/pkg-config.tcl
+50 -1 1 file

pkgng — . auto.def

Fix call to pkg-config
Delta File
+2 -2 auto.def
+2 -2 1 file

pkgng — . .travis.yml

Adapt travis in autosetup
Delta File
+0 -3 .travis.yml
+0 -3 1 file

pkgng — . configure.ac auto.def, autosetup pkg-config.tcl

Convert to autosetup
Delta File
+0 -553 configure.ac
+236 -4 auto.def
+0 -159 m4/pkg.m4
+136 -0 tests/Makefile.autosetup
+0 -124 m4/ax_cflags_warn_all.m4
+103 -0 libpkg/Makefile.autosetup
+516 -277 35 files not shown
+991 -1,117 41 files

pkgng — . auto.def configure, autosetup jimsh0.c autosetup

Initial autosetup import
Delta File
+22,274 -0 autosetup/jimsh0.c
+2,431 -0 autosetup/autosetup
+1,807 -0 autosetup/autosetup-config.sub
+1,421 -0 autosetup/autosetup-config.guess
+722 -0 autosetup/cc.tcl
+325 -0 autosetup/system.tcl
+684 -0 13 files not shown
+29,664 -0 19 files

pkgng — libpkg pkg_config.c utils.c

Add an option to ignore the osversion check on FreeBSD

Suggested by:        avg
Delta File
+6 -0 libpkg/pkg_config.c
+2 -0 libpkg/utils.c
+8 -0 2 files

pkgng — libpkg pkg_config.c utils.c

Add an option to ignore the osversion check on FreeBSD

Suggested by:        avg
Delta File
+6 -0 libpkg/pkg_config.c
+2 -0 libpkg/utils.c
+8 -0 2 files

pkgng — libpkg utils.c

mkdirat_p: fix invalid free

strsep modifies the pointer. Remember and use the pointer returned from strdup
for free.
Delta File
+4 -4 libpkg/utils.c
+4 -4 1 file

pkgng — libpkg pkg_create.c

Fix variable collision due to bad cherry-pick
Delta File
+3 -3 libpkg/pkg_create.c
+3 -3 1 file

pkgng — libpkg pkg_macho.c

Really fix on OSX
Delta File
+1 -1 libpkg/pkg_macho.c
+1 -1 1 file

pkgng — . configure.ac

1.10.4
Delta File
+1 -1 configure.ac
+1 -1 1 file

pkgng — libpkg pkg_old.c

Avoid parsing too many elf files
Delta File
+2 -2 libpkg/pkg_old.c
+2 -2 1 file

pkgng — libpkg pkg_config.c pkg_create.c

Fix bad merges

pkgng — . NEWS

Update NEWS
Delta File
+4 -0 NEWS
+4 -0 1 file

pkgng — tests/frontend configmerge.sh

Fix make distcheck
Delta File
+2 -2 tests/frontend/configmerge.sh
+2 -2 1 file

pkgng — libpkg pkg_macho.c

Fix build on OSX
Delta File
+2 -2 libpkg/pkg_macho.c
+2 -2 1 file

pkgng — libpkg pkg_macho.c

Fix build on OSX
Delta File
+2 -2 libpkg/pkg_macho.c
+2 -2 1 file

pkgng — libpkg pkg_config.c

Only defined OSVERSION on FreeBSD
Delta File
+2 -0 libpkg/pkg_config.c
+2 -0 1 file

pkgng — . dev_version.m4, libpkg pkg_config.c

Only defined OSVERSION on FreeBSD
Delta File
+1 -1 dev_version.m4
+2 -0 libpkg/pkg_config.c
+3 -1 2 files

pkgng — . NEWS

Update NEWS
Delta File
+13 -0 NEWS
+13 -0 1 file

pkgng — libpkg pkg_config.c

Expose OSVERSION on FreeBSD via configuration entry (to also allow to
overwrite it)
Delta File
+15 -0 libpkg/pkg_config.c
+15 -0 1 file

pkgng — libpkg pkg_config.c

Expose OSVERSION on FreeBSD via configuration entry (to also allow to
overwrite it)
Delta File
+15 -0 libpkg/pkg_config.c
+15 -0 1 file

pkgng — libpkg/repo/binary init.c

binary-repo: fix closing sqlite db

Use the correct sqlite3_close method to realy close the database and
avoid open filehandles.
Delta File
+1 -1 libpkg/repo/binary/init.c
+1 -1 1 file

pkgng — libpkg/repo/binary init.c

binary-repo: fix closing sqlite db

Use the correct sqlite3_close method to realy close the database and
avoid open filehandles.
Delta File
+1 -1 libpkg/repo/binary/init.c
+1 -1 1 file

pkgng — libpkg pkg_create.c utils.c

Register the FreeBSD version and use it
Delta File
+7 -0 libpkg/pkg_create.c
+1 -1 libpkg/utils.c
+8 -1 2 files

pkgng — libpkg pkg_create.c utils.c

Register the FreeBSD version and use it
Delta File
+7 -0 libpkg/pkg_create.c
+1 -1 libpkg/utils.c
+8 -1 2 files

pkgng — libpkg pkg_elf.c pkg.h.in, libpkg/private pkg.h

Add a integer to store osversion