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
etersoft
eepm
Commits
42c24c16
Commit
42c24c16
authored
Apr 19, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add aksusbd
parent
f47acd70
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-0
aksusbd.sh
pack.d/aksusbd.sh
+18
-0
aksusbd.sh
play.d/aksusbd.sh
+12
-0
aksusbd.sh
repack.d/aksusbd.sh
+21
-0
No files found.
pack.d/aksusbd.sh
0 → 100755
View file @
42c24c16
#!/bin/sh
TAR
=
"
$1
"
RETURNTARNAME
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
CURDIR
=
"
$(
pwd
)
"
PKGDIR
=
"
$(
mktemp
-d
)
"
trap
"rm -fr
$PKGDIR
"
EXIT
cd
$PKGDIR
||
fatal
erc
$TAR
||
fatal
cp
-v
$PRODUCT
*
/pkg/aksusbd-
*
.x86_64.rpm
$CURDIR
||
fatal
return_tar
$CURDIR
/
$PRODUCT
*
.rpm
play.d/aksusbd.sh
0 → 100755
View file @
42c24c16
#!/bin/sh
PKGNAME
=
aksusbd
SUPPORTEDARCHES
=
"x86_64"
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
repack.d/aksusbd.sh
0 → 100755
View file @
42c24c16
#!/bin/sh -x
# It will run with two args: buildroot spec
BUILDROOT
=
"
$1
"
SPEC
=
"
$2
"
.
$(
dirname
$0
)
/common.sh
#subst '1iAutoReq:no' $SPEC
subst
'1iAutoProv:no'
$SPEC
install_file /var/hasplm/init/hasplmd.service /etc/systemd/system/hasplmd.service
install_file /var/hasplm/init/aksusbd.service /etc/systemd/system/aksusbd.service
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/
remove_dir /etc/init.d
remove_dir /var/hasplm
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