Improve MacPorts update script and documentation based on feedback in https://trac.macports.org/ticket/48464
This commit is contained in:
@@ -66,7 +66,7 @@ github.setup and checksums updated.```
|
|||||||
* Type: `update`
|
* Type: `update`
|
||||||
* Component: `ports`
|
* Component: `ports`
|
||||||
* Port: `vcs_blackbox`
|
* Port: `vcs_blackbox`
|
||||||
* Keywords: `maintainer`
|
* Keywords: `maintainer haspatch`
|
||||||
* Attach this file: `Portfile-vcs_blackbox.diff`
|
* Attach this file: `Portfile-vcs_blackbox.diff`
|
||||||
|
|
||||||
Step 3: Watch for the update to happen.
|
Step 3: Watch for the update to happen.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ fi
|
|||||||
|
|
||||||
# Generate the diff
|
# Generate the diff
|
||||||
cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/vcs_blackbox/Portfile /var/tmp/ports/security/vcs_blackbox/Portfile.orig
|
cp /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/vcs_blackbox/Portfile /var/tmp/ports/security/vcs_blackbox/Portfile.orig
|
||||||
( cd /var/tmp/ports/security/vcs_blackbox && diff -u Portfile.orig Portfile ) > Portfile-vcs_blackbox.diff
|
( cd /var/tmp/ports/security/vcs_blackbox && diff --ignore-matching-lines='Id:' -u Portfile.orig Portfile ) > Portfile-vcs_blackbox.diff
|
||||||
open -R Portfile-vcs_blackbox.diff
|
open -R Portfile-vcs_blackbox.diff
|
||||||
|
|
||||||
echo
|
echo
|
||||||
@@ -62,6 +62,6 @@ github.setup and checksums updated.
|
|||||||
Type: update
|
Type: update
|
||||||
Component: ports
|
Component: ports
|
||||||
Port: vcs_blackbox
|
Port: vcs_blackbox
|
||||||
Keywords: maintainer
|
Keywords: maintainer haspatch
|
||||||
"
|
"
|
||||||
echo 'Attach: Portfile-vcs_blackbox.diff'
|
echo 'Attach: Portfile-vcs_blackbox.diff'
|
||||||
|
|||||||
Reference in New Issue
Block a user