mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
Release pkg 1.10.0
* fix pkg which -g * Do not use openssl for sha256 * Improve the default output when fetching data * Update libfetch to the version of FreeBSD 11 * Fix NetBSD ABI * Add a fallback for utimensat when reporting EOPNOTSUPP * replace libsbuf with utstring for portability * Overwrite some sqlite vfs functions to allow more capsicumisation of pkg * move more pkg audit details into the library * allow to run pkg query without any privileges * extend the audit periodic script to report deprecated packages * Fix fd leak to rcscripts * stop dropping privieges during fetching it causes more issues than it solves * speed walking though [reverse]dependencies * Update blake2b to latest version * Add blake2s to the list of supported checksums * Internal digest now default on blake2b on 64 bits and blake2s on 32 bits. * Fix segfault when ABI is defined but empty * Do not use the shared library provides/requires on non FreeBSD/Linux * Define _NETBSD_SOURCES on NetBSD to allow libfetch to use funopen * Document vital flags * Fix potential double free when dealing with @config keyword * Add progress when fetching (number of files to fetch) * Improved messages about locked packages * Return 1 when a user rejects the proposed plan * When dealing with configuration files '@config' never overwrites non tracked files * Warn everyone about deprecation of @dirrm and @exec * Deduplicate metadata loading code * pkg register now understands context aware messages * Fix pkg register issues with some version of libarchive: hardlinks not being made hardlinks sometime issues when PREFIX is a symlink to another directory * Use portable mechanism to find the number of CPUs which allows pkg repo to be faster on linux * New pkg upgrade --vulnerable
This commit is contained in:
parent
eae8bbbfc9
commit
e69e8ebbc4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434755
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pkg
|
||||
DISTVERSION= 1.9.4
|
||||
PORTREVISION= 1
|
||||
DISTVERSION= 1.10.0
|
||||
_PKG_VERSION= ${DISTVERSION}
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= \
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1480925481
|
||||
SHA256 (pkg-1.9.4.tar.xz) = cf0318fa1cbc4fe8ffb2b421768ac3e72b22056085dee4fba7361bb43ccff949
|
||||
SIZE (pkg-1.9.4.tar.xz) = 1922460
|
||||
TIMESTAMP = 1487976687
|
||||
SHA256 (pkg-1.10.0.tar.xz) = d561288a4c3fbde7cede45f040b276f89e984c288c91c07559d48e3b984b7748
|
||||
SIZE (pkg-1.10.0.tar.xz) = 2207908
|
||||
|
@ -1,22 +0,0 @@
|
||||
--- libpkg/pkg_add.c.orig 2016-12-25 15:12:01 UTC
|
||||
+++ libpkg/pkg_add.c
|
||||
@@ -1344,8 +1344,10 @@ pkg_add_fromdir(struct pkg *pkg, const c
|
||||
}
|
||||
kh_find(hls, hardlinks, st.st_ino, path);
|
||||
if (path != NULL) {
|
||||
- if (create_hardlink(pkg, f, path) == EPKG_FATAL)
|
||||
+ if (create_hardlink(pkg, f, path) == EPKG_FATAL) {
|
||||
+ close(fd);
|
||||
return (EPKG_FATAL);
|
||||
+ }
|
||||
} else {
|
||||
if (create_regfile(pkg, f, NULL, NULL, fd, NULL) == EPKG_FATAL) {
|
||||
close(fd);
|
||||
@@ -1353,6 +1355,7 @@ pkg_add_fromdir(struct pkg *pkg, const c
|
||||
}
|
||||
kh_safe_add(hls, hardlinks, f->path, st.st_ino);
|
||||
}
|
||||
+ close(fd);
|
||||
} else {
|
||||
pkg_emit_error("Invalid file type");
|
||||
return (EPKG_FATAL);
|
@ -8,8 +8,8 @@ etc/periodic/weekly/400.status-pkg
|
||||
include/pkg.h
|
||||
lib/libpkg.a
|
||||
lib/libpkg.so
|
||||
lib/libpkg.so.3
|
||||
lib/libpkg.so.3.0.0
|
||||
lib/libpkg.so.4
|
||||
lib/libpkg.so.4.0.0
|
||||
libdata/pkgconfig/pkg.pc
|
||||
man/man3/pkg_printf.3.gz
|
||||
man/man3/pkg_repos.3.gz
|
||||
|
Loading…
Reference in New Issue
Block a user