Skip to content

Commit 008574e

Browse files
committed
MacPorts port: update to 2.12.0
1 parent d1ede48 commit 008574e

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed

sysutils/MacPorts/Portfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PortSystem 1.0
22
PortGroup github 1.0
33

4-
github.setup macports macports-base 2.12.0-rc2 v
4+
github.setup macports macports-base 2.12.0 v
55
name MacPorts
66

77
categories sysutils macports
@@ -21,17 +21,19 @@ homepage https://www.macports.org/
2121
distname ${name}-${version}
2222
github.tarball_from releases
2323
# testing subdir is for non-final releases only
24-
dist_subdir ${name}/testing
24+
#dist_subdir ${name}/testing
2525
use_bzip2 yes
2626

27-
checksums rmd160 d4b61615cddbbe032a8af374541b86181e8b7c48 \
28-
sha256 40c2f26f5fb152156fa67e2b66e931a856818080b6545e040eb7b3944e2c7456
27+
checksums rmd160 26d3b70472eef8e1c638701bf552288b6ccf3d64 \
28+
sha256 a3e0b4a1cdcc76e7c144b94fb913676bb97a3c73fa69da8622eb004373d8e3d3
2929

3030
variant keep_prefix description "Use configured prefix instead of enforcing /opt/local" {}
3131
if {![variant_isset keep_prefix]} {
3232
prefix /opt/local
3333
}
3434

35+
patchfiles codesign.patch
36+
3537
# Readline is disabled by default to avoid support issues with people who
3638
# have a readline in /usr/local. Since this portfile is presumably used in a
3739
# clean environment, enable it here.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Retry failed codesign commands to work around Apple's flaky secure
2+
timestamp service.
3+
4+
--- src/codesign.sh.orig
5+
+++ src/codesign.sh
6+
@@ -23,8 +23,10 @@ for f in "$@"; do
7+
chown "$SUDO_USER" "$f" "$DIR"
8+
fi
9+
10+
- $SUDO /usr/bin/codesign --sign "$CODESIGN_ID" --identifier=org.macports.base --options=runtime --timestamp --verbose "$f"
11+
-
12+
+ while ! $SUDO /usr/bin/codesign --sign "$CODESIGN_ID" --identifier=org.macports.base --options=runtime --timestamp --verbose "$f"
13+
+ do
14+
+ sleep 1
15+
+ done
16+
if [ -n "$SUDO" ]; then
17+
chown "$FILE_OWNER" "$f"
18+
chown "$DIR_OWNER" "$DIR"

0 commit comments

Comments
 (0)