Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
bb750ed0
Commit
bb750ed0
authored
Apr 19, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play aksusbd: switch to support vendor tarball, add .deb support, improvements
parent
6136f104
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
9 deletions
+35
-9
aksusbd.sh
pack.d/aksusbd.sh
+25
-3
aksusbd.sh
play.d/aksusbd.sh
+5
-4
aksusbd.sh
repack.d/aksusbd.sh
+5
-2
No files found.
pack.d/aksusbd.sh
View file @
bb750ed0
...
...
@@ -11,8 +11,30 @@ PKGDIR="$(mktemp -d)"
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
erc
$TAR
||
fatal
if
echo
"
$TAR
"
|
grep
"Sentinel_LDK_Linux_Run-time_Installer_script.tar.gz"
;
then
erc
$TAR
||
fatal
TAR
=
"Sentinel_LDK_Linux_Run-time_Installer_script/aksusbd-*.tar.gz"
fi
cp
-v
$PRODUCT
*
/pkg/aksusbd-
*
.x86_64.rpm
$CURDIR
||
fatal
if
echo
"
$TAR
"
|
grep
"aksusbd"
;
then
erc
$TAR
||
fatal
else
fatal
"How no idea how to handle
$TAR
"
fi
return_tar
$CURDIR
/
$PRODUCT
*
.rpm
pkgtype
=
"
$(
epm print info
-p
)
"
case
$pkgtype
in
rpm
)
pkg
=
"aksusbd-*.x86_64.rpm"
;;
deb
)
pkg
=
"aksusbd_*_amd64.deb"
;;
*
)
pkg
=
"aksusbd_*_amd64.deb"
;;
esac
cp
-v
$PRODUCT
*
/pkg/
$pkg
$CURDIR
||
fatal
return_tar
$CURDIR
/
$pkg
play.d/aksusbd.sh
View file @
bb750ed0
...
...
@@ -6,7 +6,8 @@ DESCRIPTION="Sentinel LDK daemon (HASP) from the official site"
.
$(
dirname
$0
)
/common.sh
# Dropping Support for HASP HL 1.x API and HASP4 API
# HASP HL 1.x API and HASP4 API are no longer supported with Sentinel LDK Run-time Environment RTE 8.41 or later.
PKGURL
=
"https://sd7.ascon.ru/Public/Utils/Sentinel%20HASP/Linux_driver/aksusbd_vlib46707.tar"
epm pack
--repack
--install
$PKGNAME
$PKGURL
#PKGURL="https://sd7.ascon.ru/Public/Utils/Sentinel%20HASP/Linux_driver/aksusbd_vlib46707.tar"
# Site: https://supportportal.gemalto.com/csm?id=kb_category&kb_category=f9ae29a44fb2c304873b69d18110c764
# 8.53 version
PKGURL
=
"https://supportportalsirius.thalesgroup.com/Files%2F01954629db5ea78cfe0aff3dbf9619a0%2FSentinel_LDK_Linux_Run-time_Installer_script.tar.gz?Expires=1681977609125&KeyName=sirius-prod-signing-key&Signature=KGaEmanTGXEeN7Aop4dg5EqOgKY"
epm pack
--install
$PKGNAME
$PKGURL
repack.d/aksusbd.sh
View file @
bb750ed0
...
...
@@ -16,6 +16,9 @@ chmod -v u+w $BUILDROOT/usr/sbin/*
move_file /usr/sbin/aksusbd_x86_64 /usr/sbin/aksusbd
move_file /usr/sbin/hasplmd_x86_64 /usr/sbin/hasplmd
mkdir
$BUILDROOT
/etc/init.d/
subst
"s|aksusbd_x86_64|aksusbd|g"
$BUILDROOT
/etc/udev/rules.d/80-hasp.rules
mkdir
-p
$BUILDROOT
/etc/init.d/
remove_dir /etc/init.d
remove_dir /var/hasplm
remove_dir /var/hasplm/init
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment