View | Details | Raw Unified | Return to bug 244128 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-2 / +3 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	pkg
3
PORTNAME=	pkg
4
DISTVERSION=	1.15.10
4
DISTVERSION=	1.15.10
5
PORTREVISION=	1
5
_PKG_VERSION=	${DISTVERSION}
6
_PKG_VERSION=	${DISTVERSION}
6
CATEGORIES=	ports-mgmt
7
CATEGORIES=	ports-mgmt
7
#MASTER_SITES=	\
8
#MASTER_SITES=	\
Lines 90-97 PKG_BIN= ${WRKSRC}/src/pkg-static Link Here
90
.endif
91
.endif
91
92
92
post-patch:
93
post-patch:
93
	${REINPLACE_CMD} -e "s|-llzma|${LIBLZMA_LIBS}|g" ${WRKSRC}/auto.def \
94
	@${REINPLACE_CMD} 's|-m 755 pkg|-m 755 -s pkg|g' ${WRKSRC}/src/Makefile.autosetup
94
		${WRKSRC}/src/Makefile.autosetup ${WRKSRC}/tests/Makefile.autosetup
95
	@${REINPLACE_CMD} 's|-m 644 lib$$(LIB)$$(LIB|-m 644 -s lib$$(LIB)$$(LIB|' ${WRKSRC}/libpkg/Makefile.autosetup
95
96
96
post-install:
97
post-install:
97
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
98
	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
(-)./files/patch-scripts_periodic_400.status-pkg.in (+19 lines)
Line 0 Link Here
1
--- scripts/periodic/400.status-pkg.in.orig	2020-10-11 21:57:45 UTC
2
+++ scripts/periodic/400.status-pkg.in
3
@@ -8,6 +8,7 @@ if [ -r /etc/defaults/periodic.conf ]; then
4
     source_periodic_confs
5
 fi
6
 pkgcmd=%prefix%/sbin/pkg
7
+: ${pkg_version_flags:=-vI}
8
 
9
 status_pkg() {
10
     local pkgargs
11
@@ -15,7 +16,7 @@ status_pkg() {
12
 
13
     pkgargs="$1"
14
 
15
-    rc=$(${pkgcmd} ${pkgargs} version -v ${pkg_version_index} |
16
+    rc=$(${pkgcmd} ${pkgargs} version ${pkg_version_flags} ${pkg_version_index} |
17
 	sed -n -e '/up-to-date/d' \
18
 	    -e 's/^\([^[:space:]]*\)[[:space:]]*[<>=!?][[:space:]]*\(.*\)$/\1 \2/p' |
19
 	tee /dev/stderr |

Return to bug 244128