| 1 |
Notes on how we can update the different packages for ixwebsocket. |
| 2 |
|
| 3 |
## VCPKG |
| 4 |
|
| 5 |
Visit the [releases](https://github.com/machinezone/IXWebSocket/releases) page on Github. A tag must have been made first. |
| 6 |
|
| 7 |
Download the latest entry. |
| 8 |
|
| 9 |
``` |
| 10 |
$ cd /tmp |
| 11 |
/tmp$ curl -s -O -L https://github.com/machinezone/IXWebSocket/archive/v9.1.9.tar.gz |
| 12 |
/tmp$ |
| 13 |
/tmp$ openssl sha512 v9.1.9.tar.gz |
| 14 |
SHA512(v9.1.9.tar.gz)= f1fd731b5f6a9ce6d6d10bee22a5d9d9baaa8ea0564d6c4cd7eb91dcb88a45c49b2c7fdb75f8640a3589c1b30cee33ef5df8dcbb55920d013394d1e33ddd3c8e |
| 15 |
``` |
| 16 |
|
| 17 |
Now go punch those values in the vcpkg ixwebsocket port config files. Here is what the diff look like. |
| 18 |
|
| 19 |
``` |
| 20 |
vcpkg$ git diff |
| 21 |
diff --git a/ports/ixwebsocket/CONTROL b/ports/ixwebsocket/CONTROL |
| 22 |
index db9c2adc9..4acae5c3f 100644 |
| 23 |
--- a/ports/ixwebsocket/CONTROL |
| 24 |
+++ b/ports/ixwebsocket/CONTROL |
| 25 |
@@ -1,5 +1,5 @@ |
| 26 |
Source: ixwebsocket |
| 27 |
-Version: 8.0.5 |
| 28 |
+Version: 9.1.9 |
| 29 |
Build-Depends: zlib |
| 30 |
Homepage: https://github.com/machinezone/IXWebSocket |
| 31 |
Description: Lightweight WebSocket Client and Server + HTTP Client and Server |
| 32 |
diff --git a/ports/ixwebsocket/portfile.cmake b/ports/ixwebsocket/portfile.cmake |
| 33 |
index de082aece..68e523a05 100644 |
| 34 |
--- a/ports/ixwebsocket/portfile.cmake |
| 35 |
+++ b/ports/ixwebsocket/portfile.cmake |
| 36 |
@@ -1,8 +1,8 @@ |
| 37 |
vcpkg_from_github( |
| 38 |
OUT_SOURCE_PATH SOURCE_PATH |
| 39 |
REPO machinezone/IXWebSocket |
| 40 |
- REF v8.0.5 |
| 41 |
- SHA512 9dcc20d9a0629b92c62a68a8bd7c8206f18dbd9e93289b0b687ec13c478ce9ad1f3563b38c399c8277b0d3812cc78ca725786ba1dedbc3445b9bdb9b689e8add |
| 42 |
+ REF v9.1.9 |
| 43 |
+ SHA512 f1fd731b5f6a9ce6d6d10bee22a5d9d9baaa8ea0564d6c4cd7eb91dcb88a45c49b2c7fdb75f8640a3589c1b30cee33ef5df8dcbb55920d013394d1e33ddd3c8e |
| 44 |
) |
| 45 |
``` |
| 46 |
|
| 47 |
You will need a fork of the vcpkg repo to make a pull request. |
| 48 |
|
| 49 |
``` |
| 50 |
git fetch upstream |
| 51 |
git co master |
| 52 |
git reset --hard upstream/master |
| 53 |
git push origin master --force |
| 54 |
``` |
| 55 |
|
| 56 |
Make the pull request (I use a new branch to do that). |
| 57 |
|
| 58 |
``` |
| 59 |
vcpkg$ git co -b feature/ixwebsocket_9.1.9 |
| 60 |
M ports/ixwebsocket/CONTROL |
| 61 |
M ports/ixwebsocket/portfile.cmake |
| 62 |
Switched to a new branch 'feature/ixwebsocket_9.1.9' |
| 63 |
vcpkg$ |
| 64 |
vcpkg$ |
| 65 |
vcpkg$ git commit -am 'ixwebsocket: update to 9.1.9' |
| 66 |
[feature/ixwebsocket_9.1.9 8587a4881] ixwebsocket: update to 9.1.9 |
| 67 |
2 files changed, 3 insertions(+), 3 deletions(-) |
| 68 |
vcpkg$ |
| 69 |
vcpkg$ git push |
| 70 |
fatal: The current branch feature/ixwebsocket_9.1.9 has no upstream branch. |
| 71 |
To push the current branch and set the remote as upstream, use |
| 72 |
|
| 73 |
git push --set-upstream origin feature/ixwebsocket_9.1.9 |
| 74 |
|
| 75 |
vcpkg$ git push --set-upstream origin feature/ixwebsocket_9.1.9 |
| 76 |
|
| 77 |
Enumerating objects: 11, done. |
| 78 |
Counting objects: 100% (11/11), done. |
| 79 |
Delta compression using up to 8 threads |
| 80 |
Compressing objects: 100% (6/6), done. |
| 81 |
Writing objects: 100% (6/6), 621 bytes | 621.00 KiB/s, done. |
| 82 |
Total 6 (delta 4), reused 0 (delta 0) |
| 83 |
remote: Resolving deltas: 100% (4/4), completed with 4 local objects. |
| 84 |
remote: |
| 85 |
remote: Create a pull request for 'feature/ixwebsocket_9.1.9' on GitHub by visiting: |
| 86 |
remote: https://github.com/bsergean/vcpkg/pull/new/feature/ixwebsocket_9.1.9 |
| 87 |
remote: |
| 88 |
To https://github.com/bsergean/vcpkg.git |
| 89 |
* [new branch] feature/ixwebsocket_9.1.9 -> feature/ixwebsocket_9.1.9 |
| 90 |
Branch 'feature/ixwebsocket_9.1.9' set up to track remote branch 'feature/ixwebsocket_9.1.9' from 'origin' by rebasing. |
| 91 |
vcpkg$ |
| 92 |
``` |
| 93 |
|
| 94 |
Just visit this url, https://github.com/bsergean/vcpkg/pull/new/feature/ixwebsocket_9.1.9, printed on the console, to make the pull request. |