summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilrain2018-10-31 10:08:39 +0100
committerGilrain2018-10-31 10:08:39 +0100
commita5b7218c74a8f2c0f90106af6e34bbcc46ffe3ea (patch)
tree71ee6f1d494d372aa405c9e0866f8981d91f131d
parent7ed7afd82d0f88a27bc59282be8c3e709484cb74 (diff)
downloadaur-a5b7218c74a8f2c0f90106af6e34bbcc46ffe3ea.tar.gz
Update to 3.4.0.4-1
-rw-r--r--.SRCINFO24
-rw-r--r--ASF.json5
-rw-r--r--PKGBUILD26
-rw-r--r--changelog33
4 files changed, 62 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 656cbad4d85b..35ab9d8bb782 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = asf
pkgdesc = Steam cards farmer.
- pkgver = 3.3.0.3
+ pkgver = 3.4.0.4
pkgrel = 1
- url = https://github.com/JustArchi/ArchiSteamFarm
+ url = https://github.com/JustArchiNET/ArchiSteamFarm
install = asf.install
changelog = changelog
arch = x86_64
@@ -10,34 +10,36 @@ pkgbase = asf
arch = i686
license = Apache
makedepends = p7zip
- noextract = asf-3.3.0.3-x86_64.zip
- noextract = asf-3.3.0.3-arm.zip
- noextract = asf-3.3.0.3-i686.zip
+ noextract = asf-3.4.0.4-x86_64.zip
+ noextract = asf-3.4.0.4-arm.zip
+ noextract = asf-3.4.0.4-i686.zip
backup = var/lib/asf/config/ASF.json
backup = usr/lib/asf/NLog.config
source = asf.sh
source = asf.service
source = asf-user.service
source = asf.sysusers
+ source = ASF.json
source = NLog.config
sha256sums = 8d76996c1024b80704b25af8a8800ef3f8a8a518d19c2a1e85ba62b58b22cdfd
sha256sums = e543cd3fed402c9dfdd23918ea2d0a3a1793e6b1a906167752bdaca86864eac9
sha256sums = 17dd9b90b00df2bac9b1f0974fb93c278b2cdebc2f239cd9f6568a7dd0a95856
sha256sums = 883373be23f6f49ae597f61c1310d8cd45bce7c3ee1b5d456ffc9fedbe7dd486
+ sha256sums = e63a92fd8008c40dab963161bdac967b57146553c00f114469c204ac6e1795b2
sha256sums = 9a10e9e6ff88fcc00000c12464ae2b650a3f075ef7e440088414b46c41214ee4
- source_x86_64 = asf-3.3.0.3-x86_64.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/3.3.0.3/ASF-linux-x64.zip
+ source_x86_64 = asf-3.4.0.4-x86_64.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/3.4.0.4/ASF-linux-x64.zip
depends_x86_64 = dotnet-host
depends_x86_64 = libunwind
depends_x86_64 = openssl-1.0
- sha256sums_x86_64 = 6bfe7608ba54d0d5b5ad0396fb23edda5e35357da78a9f025b68a77d287e50a0
- source_arm = asf-3.3.0.3-arm.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/3.3.0.3/ASF-linux-arm.zip
+ sha256sums_x86_64 = fa2e43711d60165406b3bb8b6f609f5f2407831a44730f46bc17fb330f8a343d
+ source_arm = asf-3.4.0.4-arm.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/3.4.0.4/ASF-linux-arm.zip
depends_arm = dotnet-host
depends_arm = libunwind
depends_arm = openssl-1.0
- sha256sums_arm = a3bda684564e7578c048782114315603e7289936deb0364856476efd8e2fbf76
- source_i686 = asf-3.3.0.3-i686.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/3.3.0.3/ASF-generic.zip
+ sha256sums_arm = 4f3bd47d94370025f137d6cc8da57ff0560e5d8da99894d4864e4e1c232d89de
+ source_i686 = asf-3.4.0.4-i686.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/3.4.0.4/ASF-generic.zip
depends_i686 = dotnet-runtime
- sha256sums_i686 = 67b50ba525572eda2e88927fbd359c1f8a3af72dac48edf949d877fac8a19578
+ sha256sums_i686 = 0abd9cfcf5cf2d7ded252eedf1941f3d77c87d5360fafabaf196c6dcf077fbf9
pkgname = asf
diff --git a/ASF.json b/ASF.json
new file mode 100644
index 000000000000..bcdeb97b4996
--- /dev/null
+++ b/ASF.json
@@ -0,0 +1,5 @@
+{
+ "IPC": true,
+ "UpdateChannel": 0,
+ "UpdatePeriod": 0
+}
diff --git a/PKGBUILD b/PKGBUILD
index dd9ee794c57d..327f2b753be6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer: Gilrain <gilrain+libre.arch A_T castelmo DOT_ re>
pkgname="asf"
-pkgver="3.3.0.6"
+pkgver="3.4.0.4"
pkgrel=1
pkgdesc="Steam cards farmer."
arch=('x86_64' 'arm' 'i686')
-url="https://github.com/JustArchi/ArchiSteamFarm"
+url="https://github.com/JustArchiNET/ArchiSteamFarm"
license=('Apache')
depends_x86_64=('dotnet-host' 'libunwind' 'openssl-1.0')
depends_arm=('dotnet-host' 'libunwind' 'openssl-1.0')
@@ -18,18 +18,20 @@ source=("${pkgname}.sh"
"${pkgname}.service"
"${pkgname}-user.service"
"${pkgname}.sysusers"
+ "ASF.json"
"NLog.config")
-source_x86_64=("${pkgname}-${pkgver}-x86_64.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip")
-source_arm=("${pkgname}-${pkgver}-arm.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-arm.zip")
-source_i686=("${pkgname}-${pkgver}-i686.zip::https://github.com/JustArchi/ArchiSteamFarm/releases/download/${pkgver}/ASF-generic.zip")
+source_x86_64=("${pkgname}-${pkgver}-x86_64.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-x64.zip")
+source_arm=("${pkgname}-${pkgver}-arm.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-linux-arm.zip")
+source_i686=("${pkgname}-${pkgver}-i686.zip::https://github.com/JustArchiNET/ArchiSteamFarm/releases/download/${pkgver}/ASF-generic.zip")
sha256sums=('8d76996c1024b80704b25af8a8800ef3f8a8a518d19c2a1e85ba62b58b22cdfd'
'e543cd3fed402c9dfdd23918ea2d0a3a1793e6b1a906167752bdaca86864eac9'
'17dd9b90b00df2bac9b1f0974fb93c278b2cdebc2f239cd9f6568a7dd0a95856'
'883373be23f6f49ae597f61c1310d8cd45bce7c3ee1b5d456ffc9fedbe7dd486'
+ 'e63a92fd8008c40dab963161bdac967b57146553c00f114469c204ac6e1795b2'
'9a10e9e6ff88fcc00000c12464ae2b650a3f075ef7e440088414b46c41214ee4')
-sha256sums_x86_64=('462db42a30652115a5ed3ed9921b51d1c9b81c71d86aded23e3166d7c42918ea')
-sha256sums_arm=('8194b0da4d3ecad15305ac0324379c1a39e64d863a8820e5336011d66409ad52')
-sha256sums_i686=('72c3d02518c28735306155d18154e853181d9b0c9eb4871dc525e1c676d148aa')
+sha256sums_x86_64=('fa2e43711d60165406b3bb8b6f609f5f2407831a44730f46bc17fb330f8a343d')
+sha256sums_arm=('4f3bd47d94370025f137d6cc8da57ff0560e5d8da99894d4864e4e1c232d89de')
+sha256sums_i686=('0abd9cfcf5cf2d7ded252eedf1941f3d77c87d5360fafabaf196c6dcf077fbf9')
noextract=("${source_x86_64[@]%%::*}" "${source_arm[@]%%::*}" "${source_i686[@]%%::*}")
prepare() {
@@ -46,16 +48,10 @@ package() {
mv "${pkgdir}/usr/lib/${pkgname}/config" "${pkgdir}/var/lib/${pkgname}"
ln -sf "/var/lib/${pkgname}/config" "${pkgdir}/usr/lib/${pkgname}/config"
+ install -D -m644 "${srcdir}/ASF.json" "${pkgdir}/var/lib/${pkgname}/config/ASF.json"
install -D -m755 "${srcdir}/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -D -m644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
install -D -m644 "${srcdir}/${pkgname}-user.service" "${pkgdir}/usr/lib/systemd/user/${pkgname}.service"
install -D -m644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
install -D -m644 "${srcdir}/NLog.config" "${pkgdir}/usr/lib/${pkgname}/NLog.config"
-
- # enable headless daemon
- sed -i 's/"IPC": false/"IPC": true/g' "${pkgdir}/var/lib/${pkgname}/config/ASF.json"
-
- # disable auto-updates and version checks
- sed -i 's/"UpdateChannel": 1/"UpdateChannel": 0/g' "${pkgdir}/var/lib/${pkgname}/config/ASF.json"
- sed -i 's/"UpdatePeriod": 24/"UpdatePeriod": 0/g' "${pkgdir}/var/lib/${pkgname}/config/ASF.json"
}
diff --git a/changelog b/changelog
index 8184f2539fd0..01f0020b60ea 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,36 @@
+2018-10-31 Gilrain <gilrain+libre.arch A_T castelmo DOT_ re>
+ * 3.4.0.4-1:
+ [!] We've moved ASF project under JustArchiNET GitHub organization. This change should be mostly transparent for you as old URLs redirect appropriately. Only web config generator is no longer accessible under old URL, we've already updated all references (on wiki and alike). If you're using URL to our repo in your own projects, you might want to update them.
+ [!] We've rewritten our IPC interface from HttpListener to KestrelHttpServer (ref: #761).
+ Kestrel http server is modern drop-in replacement for legacy and far more basic HttpListener that we've used until now. IPC API and IPC GUI (now ASF-ui) continues to work like before.
+ This change has dramatically improved ASF's code maintenance in regards to IPC routines. Our new code is very clean and efficient, allowing further development of IPC with ease.
+ Kestrel comes with a lot of under-the-hood improvements in regards to IPC, especially compatibility, stability and performance improvements. Some of them include support for ETag, modern response compression algorithms (such as brotli) or increased compatibility by implementing all modern RFCs.
+ We've slightly improved our CORS policy. ASF API now allows cross-origin resource sharing only when IPCPassword is set. See wiki for details.
+ It's now possible to use IPC with custom base path (ref: #840).
+ It's now possible to run IPC with https natively.
+ Removed IPCPrefixes global config property, listening addresses are now handled by Kestrel config directly.
+ A lot of other improvements related to performance, compatibility and stability.
+ [!] Breaking changes in ASF API:
+ Documentation of ASF API has moved to swagger, which apart from delivering that, also includes far easier ASF API access and other benefits. It's now possible to programmatically check exact definition of all ASF API endpoints.
+ /Api/Bot/{bot} now returns a name-bot map (previously: array of bots).
+ /Api/Bot/{bot} no longer uses SteamID for online status, there is IsConnectedAndLoggedOn for that now.
+ /Api/Log has moved under /Api/NLog.
+ /Api/GamesToRedeemInBackground/{bot} has moved under /Api/Bot/{bot}/GamesToRedeemInBackground.
+ There are other small changes related to error reporting and similar, but nothing that should break existing apps.
+ ASF API has gained a lot of new endpoints that are supposed to replace commands in long-run. New /Api/Bot/{bot}/Pause is one of those. Refer to our new swagger doc for details.
+ [!] IPC GUI has been replaced by ASF-ui (aka "IPC GUI v2") built on top of new ASF API:
+ ASF-ui has become a separate project under ASF. It has its own flow of development - you can post your bug reports, suggestions, pull requests and other questions in that place.
+ ASF-ui is still in heavy development, so bugs and fixes are to be expected. Given time, we hope to see a fully-featured web GUI that will fully deprecate the use of commands and improve user experience, perhaps to the point of having its own ASF GUI release.
+ ASF comes with latest version of ASF-ui included at the time of release.
+ It's now possible to use your own IPC-ui frontend (instead of ASF-ui) by using --path command-line argument and putting www directory inside (ref: #915).
+ Added transfer@ and transfer^ commands (ref: #908, #911).
+ Default value of SteamProtocols was changed from 5 back to 7 due to fixing issue #882.
+ Fixed SteamTradeMatcher logic flaw that could interpret some valid neutral+ trades as bad.
+ Fixed IdleRefundableGames value change not taking effect until ASF restart (ref: #912).
+ Removed default config files, ASF can now work without ASF.json being present. Full JSON structure is still available on the wiki for those that would prefer to generate configs manually, everybody else overwrites those files anyway. You may want to delete example.json and minimal.json manually from your config directory.
+ Removed <Modes> argument from transfer commands, added TransferableTypes bot config property as drop-in replacement.
+ [Deprecation] SteamParentalPIN bot config property is now available under SteamParentalCode with one subtle difference - null is now treated as no PIN while 0 as PIN provided during update (In old property it was the other way). We needed this change for ASF-ui. ASF will map old logic during first stage of deprecation.
+ Usual amount of other code improvements, optimizations and bugfixes.
2018-09-06 Gilrain <gilrain+libre.arch A_T castelmo DOT_ re>
* 3.3.0.6-1:
Added games cache to owns command in order to speed up consecutive checks. Cache is transparent and automatically invalidated on new licenses added to the account.