mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- Update to 1.0.14, bringing minor fixes before the 1.1 release.
Changes: - 'pkg update' fix [already in port] - Crash fix on i386 [already in port] - Fix for periodic scripts [1] PR: ports/179723 [1] Reported by: fred@SUNBOT.Homedns.ORG [1]
This commit is contained in:
parent
68fdbeba16
commit
70fe959214
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321337
@ -1,8 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= pkg
|
PORTNAME= pkg
|
||||||
DISTVERSION= 1.0.13
|
DISTVERSION= 1.0.14
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= ports-mgmt
|
CATEGORIES= ports-mgmt
|
||||||
MASTER_SITES= LOCAL/portmgr \
|
MASTER_SITES= LOCAL/portmgr \
|
||||||
http://files.etoilebsd.net/pkg/ \
|
http://files.etoilebsd.net/pkg/ \
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (pkg-1.0.13.tar.xz) = 29d2f477f30aff8dd394ffbcdc9e75f3b88ba43d99da71b2a5ad9e171241271b
|
SHA256 (pkg-1.0.14.tar.xz) = ded2c91b0e13fb34da36868328e9b5f3700c634c1fa4962ce3910f20d66a0a53
|
||||||
SIZE (pkg-1.0.13.tar.xz) = 1458576
|
SIZE (pkg-1.0.14.tar.xz) = 1458472
|
||||||
|
@ -1,39 +0,0 @@
|
|||||||
diff --git libpkg/fetch.c libpkg/fetch.c
|
|
||||||
index c2e5919..c094e33 100644
|
|
||||||
--- libpkg/fetch.c
|
|
||||||
+++ libpkg/fetch.c
|
|
||||||
@@ -212,7 +212,7 @@ pkg_fetch_file_to_fd(const char *url, int dest, time_t t)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
- if (t != 0) {
|
|
||||||
+ if (t != 0 && st.mtime != 0) {
|
|
||||||
if (st.mtime <= t) {
|
|
||||||
retcode = EPKG_UPTODATE;
|
|
||||||
goto cleanup;
|
|
||||||
diff --git newvers.sh newvers.sh
|
|
||||||
index 207aab0..651231f 100755
|
|
||||||
--- newvers.sh
|
|
||||||
+++ newvers.sh
|
|
||||||
@@ -41,7 +41,7 @@
|
|
||||||
: ${PKG_MINOR_VERSION="0"}
|
|
||||||
: ${PKG_PATCH_LEVEL="13"}
|
|
||||||
|
|
||||||
-: ${PORTREVISION:=""}
|
|
||||||
+: ${PORTREVISION:="1"}
|
|
||||||
: ${PORTEPOCH:=}
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
|
||||||
diff --git pkg/register.c pkg/register.c
|
|
||||||
index 385f8a2..ce29612 100644
|
|
||||||
--- pkg/register.c
|
|
||||||
+++ pkg/register.c
|
|
||||||
@@ -119,7 +119,7 @@ exec_register(int argc, char **argv)
|
|
||||||
err(1, "cannot allocate memory");
|
|
||||||
break;
|
|
||||||
case 'd':
|
|
||||||
- pkg_set(pkg, PKG_AUTOMATIC, true);
|
|
||||||
+ pkg_set(pkg, PKG_AUTOMATIC, (int64_t)true);
|
|
||||||
break;
|
|
||||||
case 'i':
|
|
||||||
if ((input_path = strdup(optarg)) == NULL)
|
|
Loading…
Reference in New Issue
Block a user