Package Details: asf

Git Clone URL: (read-only, click to copy)
Package Base: asf
Description: Steam cards farmer.
Upstream URL:
Licenses: Apache
Submitter: Gilrain
Maintainer: Gilrain
Last Packager: Gilrain
Votes: 18
Popularity: 0.69
First Submitted: 2016-04-02 13:31
Last Updated: 2020-04-04 19:22

Latest Comments

1 2 3 4 5 Next › Last »

Gilrain commented on 2020-03-18 09:49

@licensed How do you launch asf? The different service files expect the conf in the folders you listed, but /usr/bin/asf doesn't. The latter needs either "--path yourconfdir" passed as an argument or to set "ASF_PATH=yourconfdir".

licensed commented on 2020-03-18 00:22

I had build today in my archlinux-arm, but i am getting this error every time.

WARN|ASF|RegisterBots() No bots are defined. Did you forget to configure your ASF?

I tried to put my json in /var/lib/asf/config and ~/.config/asf and ~/.config/asf/config but same error.

I use same json files on my archlinux on desktop and its working.

Gilrain commented on 2019-12-19 01:51

AFAIK it's not possible to use checksum checks on git clones.

Not sums but commits, just like the one you used for ASF-ui. They offer the same level of control since they are unique hash.

You might even be using such packages right now ( glibc and linux being the more obvious.

As for now, all the sha256 sums tell you is that the archive was not modified between the time I downloaded it and you build the package. If GitHub were publishing sums, then it would be another story…

Lucki commented on 2019-12-18 23:48

[…] by using git for the next stable release.

Not sure if the guidelines will be met when using git: "Do not diminish the security or validity of a package (e.g. by removing a checksum check […]". AFAIK it's not possible to use checksum checks on git clones.

While at it: The sources should be unique now. They overhauled the guidelines the other days.

Gilrain commented on 2019-12-18 17:54

Thank you Lucki for doing the leg work. I'll pretty it up by using git for the next stable release.

Lucki commented on 2019-12-18 12:23

@JustArchi: This package doesn't clone the git repository so the git commands aren't available. Downloading the targeting commit seems to do the same.

@Gilrain: This got me the UI back:

diff --git a/.SRCINFO b/.SRCINFO
index 5931620..bd91133 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = asf
    pkgdesc = Steam cards farmer.
    pkgver =
-   pkgrel = 1
+   pkgrel = 2
    url =
    install = install
    changelog = changelog
@@ -10,16 +10,19 @@ pkgbase = asf
    arch = aarch64
    license = Apache
    makedepends = dotnet-sdk>=3.1
+   makedepends = npm
    depends = aspnet-runtime>=3.1
    backup = var/lib/asf/config/ASF.json
    backup = usr/lib/asf/NLog.config
    source =
+   source = asf-ASF-ui-575e11498d432ec37a08236b8801110addac676d.tar.gz::
    source =
    source = service
    source = service.user
    source = ASF.json
    source = NLog.config
    sha256sums = 7da3b7954300ef6a69e1ab97f96ccc66c03ccd36165c90a54cb3e539c5741d1b
+   sha256sums = 16283371243377d768bc3ee8d175e7bc0f291178d419cf245478516cc72e2b78
    sha256sums = 8d76996c1024b80704b25af8a8800ef3f8a8a518d19c2a1e85ba62b58b22cdfd
    sha256sums = ba1ff85e55e56d71dbdd0d898244ff7725bced8625f29c5389e28525e6cdb987
    sha256sums = b627c8d4b3ba7f194a44749bd401b33bae601b9570da98e457737a6f9cfa408f
diff --git a/PKGBUILD b/PKGBUILD
index ffea5db..6be368b 100644
@@ -2,29 +2,37 @@

 pkgdesc="Steam cards farmer."
 arch=('x86_64' 'armv7h' 'aarch64')
+makedepends=('dotnet-sdk>=3.1' 'npm')
 backup=('var/lib/asf/config/ASF.json' 'usr/lib/asf/NLog.config')
+        "${pkgname}-ASF-ui-${_asfuicommit}.tar.gz::${_asfuicommit}.tar.gz"
+            '16283371243377d768bc3ee8d175e7bc0f291178d419cf245478516cc72e2b78'

+prepare() {
+    mkdir -p "ArchiSteamFarm-${pkgver}/ASF-ui"
+    cp -rdp --no-preserve=ownership "ASF-ui-${_asfuicommit}/." "ArchiSteamFarm-${pkgver}/ASF-ui"
 build() {
     cd ArchiSteamFarm-${pkgver}

Gilrain commented on 2019-12-18 09:32

ASF-ui will be integrated, eventually. I ran out of time trying to understand what went wrong with the v4.1.1.3 binaries and finally switching to source. As always, feel free to contribute a patch for the PKGBUILD.

JustArchi commented on 2019-12-17 21:54

@Lucki this is likely because you're either missing ASF-ui submodule in the source, missing npm to build ASF-ui with, or both. Source on GitHub sadly doesn't recurse into submodules, @Gilrain would need to add sub-step after extraction such as git submodule sync --recursive && git submodule update --init --recursive, perhaps also some git init before. In addition to that you'll need some arch package providing npm for ASF-ui to build. My script that Gilrain is using verifies that ASF-ui source and npm command are available during build.

If you'd like/need any ASF-related thing from me to provide, best to raise issue in ASF repo directly, since third-party packaging is part of ASF development, at least to the point of providing a base to work with. For now I don't see such a thing, which is good, makes me believe that ASF source code is easy enough to compile and use, but perhaps you'd appreciate some option that isn't considered as of now.

Lucki commented on 2019-12-16 12:13

While building I get WARNING: ASF-ui dependencies are missing, skipping build of ASF-ui... and ASF-ui isn't available to me. Are you planning to include these or do you want to exclude the UI in a seperate package?

Gilrain commented on 2019-12-16 10:50

This package is now compiling the source code.

For now, you'll see these namcap warnings: W: ELF file ('usr/lib/asf/ArchiSteamFarm') lacks FULL RELRO, check LDFLAGS. W: ELF file ('usr/lib/asf/ArchiSteamFarm') lacks PIE.

I'll investigate further when community is updated to v3.x, since the benefits of those options would be lost while using dotnet AUR binaries.

EDIT: Upstream has integrated the needed functions []. We'll have to wait for v5.0 at the end of 2020.