File tree Expand file tree Collapse file tree 2 files changed +24
-4
lines changed
Expand file tree Collapse file tree 2 files changed +24
-4
lines changed Original file line number Diff line number Diff line change 11PortSystem 1.0
22PortGroup 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
55name MacPorts
66
77categories sysutils macports
@@ -21,17 +21,19 @@ homepage https://www.macports.org/
2121distname ${name}-${version}
2222github.tarball_from releases
2323# testing subdir is for non-final releases only
24- dist_subdir ${name}/testing
24+ # dist_subdir ${name}/testing
2525use_bzip2 yes
2626
27- checksums rmd160 d4b61615cddbbe032a8af374541b86181e8b7c48 \
28- sha256 40c2f26f5fb152156fa67e2b66e931a856818080b6545e040eb7b3944e2c7456
27+ checksums rmd160 26d3b70472eef8e1c638701bf552288b6ccf3d64 \
28+ sha256 a3e0b4a1cdcc76e7c144b94fb913676bb97a3c73fa69da8622eb004373d8e3d3
2929
3030variant keep_prefix description "Use configured prefix instead of enforcing /opt/local" {}
3131if {![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.
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments