Package Details: aksusbd 8.21-2

Git Clone URL: https://aur.archlinux.org/aksusbd.git (read-only, click to copy)
Package Base: aksusbd
Description: Sentinel AKSUSB daemon supporting Sentinel HASP, HASP HL, HASP4 and Hardlock keys.
Upstream URL: https://supportportal.thalesgroup.com/csm?sys_id=54303b92db852e00d298728dae96199c&id=csm_product
Keywords: hardlock hasp safenet sentinel
Licenses: custom
Conflicts: ehaspd
Submitter: andre
Maintainer: ido (grandchild, ido)
Last Packager: grandchild
Votes: 7
Popularity: 0.000000
First Submitted: 2013-06-11 15:07 (UTC)
Last Updated: 2021-07-18 15:18 (UTC)

Latest Comments

fakeshadow commented on 2022-01-23 09:04 (UTC) (edited on 2022-01-23 09:06 (UTC) by fakeshadow)

Unable to install aksubd. Is there some known issue?

Building aksusbd...
==> Making package: aksusbd 8.21-2 (Sun 23 Jan 2022 04:02:01 PM +07)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading Sentinel_LDK_RedHat_and_SuSE_RPM_Run-time_Installer-8.21.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0   315    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://fdsext.gemalto.com/filesSN/Index/e4e1722f4c6a46e1ac2243f0c1e3ca5d?sid=4a5e2d551bc9bc50e2af520f6e4bcb2b
    Aborting...
Failed to build aksusbd

grandchild commented on 2021-07-18 15:19 (UTC)

@btimofeev: Thanks for the report, fixed. :)

btimofeev commented on 2021-07-18 13:44 (UTC)

I am getting an error while building the package in the latest update:

==> Starting package()... install: cannot stat '/home/userdir/.cache/yay/aksusbd/src/Sentinel_LDK_RedHat_and_SuSE_RPM_Run-time_Installer/readme.html': No such file or directory ==> ERROR: A failure occurred in package().

grandchild commented on 2021-06-29 08:51 (UTC)

And thanks to you for reminding me to update this once in a while! :D

Not using it myself anymore either, but it's not much pain to keep it updated for now.

ido commented on 2021-06-29 07:07 (UTC)

@grandchild sorry for the delayed response (3 years late!), happy to have you maintain this. I no longer use aksusbd as I have upgraded to X-Plane 11 which does not have a USB hardware key for the home edition. :-(

grandchild commented on 2018-05-06 15:47 (UTC)

Updated the package and changed quite a bit. If anything breaks for anyone, let me know!

lehthanis commented on 2018-03-21 01:31 (UTC)

I'm also using the HASP key for X-Plane 11...other than enable and start...what do I need to do to get X-Plane to recognize it?

grandchild commented on 2017-10-26 18:57 (UTC) (edited on 2017-10-26 19:33 (UTC) by grandchild)

The FTP-Server seems offline, as well as the whole cis-app.com domain. Does anyone have an alternative source that doesn't require you to click through the EULA and all that? /edit Discussion here: http://sentineldiscussion.gemalto.com/topic/ftp-download-error /edit @ido: If you still don't want to maintain this, I could do it.

ido commented on 2016-11-20 22:41 (UTC) (edited on 2016-11-20 22:46 (UTC) by ido)

@Scimmia: Thanks for the tip, I've updated to use bsdtar (and added the libarchive dependency to replace rpmextract).

Scimmia commented on 2016-11-20 22:30 (UTC)

Ah, you're correct. I was going through all packages that have a makedep on rpmextract as it's an almost entirely useless package. In your case, you're better off using bsdtar to extract it, as it's already a dep of pacman and doesn't pull in extra packages.

ido commented on 2016-11-20 19:21 (UTC) (edited on 2016-11-20 21:49 (UTC) by ido)

@Scimmia: Doug, makepkg does not extract contents of RPMs from within tarballs with different names. It didn't have any functionality to extract contents of RPMs at all when I created this PKGBUILD -- if that's changed, I'm all for updating the PKGBUILD. Also, these are not source files. Do you have a SafeNet HASP token? If you do and you would like to take over the package, I can disown it if you'd like. I originally took this over to upgrade it to support the SafeNet token that came with X-Plane, but I haven't had much time to use X-Plane or the token in the past few months. Also, just updated it to 7.51 since I noticed that came out.

Scimmia commented on 2016-11-20 18:43 (UTC)

Why are you extracting the source files manually? makepkg already does it.

xwhatsit commented on 2016-08-14 22:15 (UTC)

@ido: Thanks for that. Although it looks like you've copied the old (v7.32) sha256sum for the "Sentinel_LDK_RedHat_and_SuSE_RPM_Run-time_Installer.tar.gz" file. The JoinsNamespaceOf might be good enough for the /tmp issue alone, leaving the network thing for the moment? I'll give it a go when I get some time. In a few use cases PrivateNetwork may be impossible anyway; with network HASPs and the special developer HASP key (which allows compiling new HASP libs and doing the envelope-protection stuff), multiple hasplmds on multiple machines need to communicate with each other over the local network. I'd be happy to help out where I can. However (I'm hoping) in the near future the software we develop will be able to stop using these damned things entirely :)

ido commented on 2016-08-12 03:52 (UTC) (edited on 2016-08-12 04:13 (UTC) by ido)

@xwhatsit: Thank you for catching that. I tried adding a JoinsNamespaceOf=aksusbd.service directive to the [Unit] section of winehasp.service and hasplmd.service - that solved the detection problem (so the HASP device shows up), but required me to "sudo nsenter -t `pgrep aksusbd` -n -m" (i.e. join the aksusbd process's network and mount namespaces) to use the web admin and to use the LM API's socket in /tmp/.aksusb for communicating with the hardware...which seems like too much of a hassle just for using X-Plane. :-) For now I've removed PrivateTmp and PrivateNetwork. Update and it should be fixed. When I have time to, I would like to move these binaries to run as a non-root user, at a minimum, and make the /tmp/.aksusb socket accessible to console users only. BTW, are you interested in co-maintaining this package?

xwhatsit commented on 2016-08-12 01:48 (UTC)

@ido: The latest package (7.40-1) doesn't seem to work properly with a HASP HL USB key. My software could not access the license manager. I couldn't access the web config GUI through http://localhost:1947 either (which hasplmd also serves up). Through some experimentation I found commenting out "PrivateNetwork" in hasplmd.service allowed me to access the web service. I'm a bit puzzled about this because the systemd docs I read seem to say the loopback device isn't affected, but there you go. I then discovered that the local HASP HL key that was plugged into the system wasn't listed; commenting out "PrivateTmp" in both hasplmd.service *and* aksusbd.service fixed this. This seems to be because a Unix domain socket /tmp/.aksusb is used for communication between aksusbd and hasplmd, perhaps? It's a shame if we can't have these nice features turned on to try and beef up some security against some binaries that we have no source for. It would seem we can't do without having PrivateTmp disabled, but not sure about PrivateNetwork. This coincided with an upgrade to kernel 4.7.0, but not sure if related.

ido commented on 2016-08-07 03:47 (UTC)

I just rewrote the PKGBUILD, updated to 7.40, fixed the post-install message, and got rid of the PHYSDEVBUS udev errors by removing the redundant legacy udev rules. If you use this package, please comment here confirming that it works for you and remember to vote for the package!

RazZziel commented on 2016-05-05 10:14 (UTC)

Post-install message says: systemctrl enable aksusbd systemctrl start aksusbd The correct command is `systemctl` instead of `systemctrl`

NoSuck commented on 2015-12-21 20:34 (UTC)

It works, and it lets me work. Thank you.

avkonarev commented on 2015-05-16 17:29 (UTC)

package adopted and updated

andre commented on 2014-08-02 14:06 (UTC)

I really don't care about this package anymore, feel free to adopt

ido commented on 2014-08-02 02:42 (UTC)

I'm trying to use this package with X-Plane (flight simulator) and a hardware license token. There are a number of critical bugs with this package. The first of which is: - There have been several new versions released. Please update the LDK. - The .service file is installed into /etc/systemd/system, this is the wrong place. It should be in /usr/lib/systemd/system/. - The udev rules file (80-hasp.rules) should be installed in /usr/lib/udev/rules.d not /etc/udev/rules.d. - The .service file has incompatible Type=oneshot and Restart=on-abort. - The .service file starts 3 daemons, it should be split into 3 .service files that depend on eachother (e.g. using Wants=). - The .service file kills the daemons via killall, this is not ideal, but permissible in a pinch. These programs seem to be keep several sockets open, maybe there is a control program in the RPM that can be used to kill it? How does the init script in the LDK RPM do it? Since you haven't updated

cdx commented on 2014-03-16 04:38 (UTC)

aksusbd.service doesn't start by systemd. This listing for 'aksusbd.service' works for me: ---------------------------------------- [Unit] Description=AKSUSB Daemon [Service] Type=simple RemainAfterExit=yes ExecStart=/usr/sbin/aksusbd;/usr/sbin/winehasp;/usr/sbin/hasplmd -s ExecStop=/usr/bin/killall aksusbd;/usr/bin/killall winehasp;usr/bin/killall hasplmd Restart=on-abort [Install] WantedBy=multi-user.target ----------------------------------------