parent
c95d565634
commit
b73933465b
@ -1,13 +0,0 @@
|
||||
# ChangeLog for app-office/1C_Enterprise-server
|
||||
# Copyright 2002-2011 Gentoo Foundation; Distributed under the GPL v2
|
||||
|
||||
*net-misc/haspd-3.2.10-r1.ebuild
|
||||
|
||||
02 Mar 2012; Dmitry 'daks' Fomenko <daks12@gmail.com>
|
||||
+haspd-3.2.10.ebuild, -haspd-3.2.7.ebuild, -haspd-3.2.ebuild:
|
||||
Ebuild has been mostly rewritten. Purged old, non-working versions.
|
||||
|
||||
*net-misc/haspd-3.2.7.ebuild
|
||||
|
||||
20 Sep 2011; Dmitry 'daks' Fomenko <daks12@gmail.com>
|
||||
Initial import. Based on JohnRDoe63 <johnrdoe63@cregion.ru> ebuild.
|
@ -1,15 +0,0 @@
|
||||
AUX aksusbd 377 RMD160 ccafec2969c2c40fbd2f9dbc241837104b42f94e SHA1 a1f50d90e04cbafdcf4f111710ca9ad188de6a30 SHA256 0e208a11fb1f59d8c9579a4b01f1442c346ec1b6076d0e5d4ccf1e17330067af
|
||||
AUX aksusbd.conf.d 414 RMD160 0467da94aac8a29d5bdc398083f9253df213f580 SHA1 67a0d62a3ea87ac53b7ad753b6ab04924d7768c1 SHA256 d22e74e2402c6642076ae226489d3097344772554d2e40453949e4f7b61593e3
|
||||
AUX hasplm 379 RMD160 5104538a8aedeaf4bacda8cbc42b9b41d567452e SHA1 0676a92b59d39d5836dfe4b0fa87c91c93427184 SHA256 e016ca5632f888c92f2cc682427a5c76cbae5194352185d57579354b097f4ac8
|
||||
AUX hasplm.conf.d 40 RMD160 a54578ba61ba3ca0e96fa23316eb78862cad8964 SHA1 6948619ad310b9f9403e2fc7b883e0568671917b SHA256 747eb34352d12413c9d4780d8acb26c678411d2c7a629331154bca74fb9fa51f
|
||||
AUX hasplmd 377 RMD160 958b6d0529b52a9c4404f2e73b2d5299db57066f SHA1 aef025f9703a836e4cd589a6652375de4e8c394e SHA256 b058f697b7be92c35e8b510431f41131fe54c110c43216cecafb10ca82a2c284
|
||||
AUX hasplmd.conf.d 18 RMD160 7f5bc5aa17183ac2b6da6e4ccedfee31d8d999f9 SHA1 11ec0bf20617e7b9cfca07256980254fa8297d5b SHA256 3ad79d5be0651ed26b6da361d0146f92bdfcb2fe479196423e94b7ce617b21a2
|
||||
AUX sentinel 631 RMD160 e71f409ac5b3255c2d8c29024d00bc910005a0ad SHA1 a4d73bb88729d6eaacc995ea84e4b8efc2587fbe SHA256 34baaf089e8eb4c845a15367091134b95f2973ee3366779acfffe66b499f6488
|
||||
AUX skeyd 382 RMD160 1ba819207bf0b9f7f5003299c98e446ec935f46a SHA1 91815b6fe972c36b64a0299debca2a8f11d487a8 SHA256 bf5bd7bba2dfa7a57e3e33de87d17d2c81420381794c73da7643a9acc61a3472
|
||||
AUX skeyd.conf.d 71 RMD160 efd7f74ebf85375263a437f8ef4377dd465980ed SHA1 c787f9a7c634ff128902aceb36fdf14a0e3c27e4 SHA256 5abf627105917fcf28692fe51242c30f1c32ad692d133cc4e273f6fb4747a593
|
||||
AUX winehasp 396 RMD160 6c973f1a689f634cdba6b9cbf348b4e06600d96e SHA1 daf96e19a38dd7210072472e7714db65440bdb20 SHA256 d7305d80c75b216ca882ee9226793e274c6ae784f37bc377bd960df5310c283e
|
||||
AUX winehasp.conf.d 114 RMD160 08a894fbe24b8232a87d0749e168653eaa15b1b5 SHA1 d2588dc943859ad353d0116147c1ef1195a0a8f2 SHA256 063395a11f91ae44f3deb738761fa0eb1956ef844da3d76b8ee11c1235325710
|
||||
DIST haspd-3.2-eter10gentoo.src.rpm 3567162 RMD160 efab60114b02c49db7c8d647ea2855fce8aef6ea SHA1 d80538918eb89657b39150cf2d384a349faf1c7a SHA256 fb7b778246f285c654a7862761ef46a3904b6d542bfba6e2dd5c6c208a70b6d2
|
||||
EBUILD haspd-3.2.10-r1.ebuild 4360 RMD160 fef49a02d52af192ed98e416b7ca055d883cebf8 SHA1 4f7eb8cf56ea385dec723b2ce9dbe76c2a3ab259 SHA256 5226004e476488fdc66dd7eeb33807172db6774e2a3cc4a2c9201aba2acf7877
|
||||
MISC ChangeLog 500 RMD160 abf49774d32b7d930bf32177195dbc668810e4cf SHA1 1f1f86ecb0640f62daba0e37a1648a30928e7174 SHA256 0efcf521bf15f501b2e3baeeb03f77ecaf5898ce54ad70860aeeef0c1f868919
|
||||
MISC metadata.xml 821 RMD160 ce87c9eb3051731517ec52c424e99ed56c58bcb4 SHA1 5f67a3bc140068b96155ad1241cf3288490930d5 SHA256 7c35334e82acbb33539897aec883af5b7e1445add73b304f90cf22932a76b357
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/sbin/aksusbd"
|
||||
command_args="${AKSUSBD_ARGS}"
|
||||
description="HARDLOCK aksusbd service"
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
depend () {
|
||||
need net
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
# -l <level> sets logging level: [0] errors only [1] normal [2] verbose [3] ultra verbose
|
||||
# -q <entries> sets the length of the work queue (default: 64)
|
||||
# -s <file> sets the communication socket file name
|
||||
# -u <mask> sets the communication socket file access rights
|
||||
# -d <millisec> sets the delay after plugging in a key until it is accessed for the first time (0 - 2000)
|
||||
|
||||
AKSUSBD_ARGS="-l 2 -u 0666"
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/sbin/hasplm"
|
||||
command_args="${HASPLM_ARGS}"
|
||||
description="HASP License manager"
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
depend () {
|
||||
need net aksusbd
|
||||
}
|
@ -1 +0,0 @@
|
||||
HASPLM_ARGS="-c /etc/haspd/hasplm.conf"
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/sbin/hasplmd"
|
||||
command_args="${HASPLMD_ARGS}"
|
||||
description="HASP SRM service"
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
depend () {
|
||||
need net aksusbd
|
||||
}
|
@ -1 +0,0 @@
|
||||
HASPLMD_ARGS="-s"
|
@ -1,24 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend () {
|
||||
need net
|
||||
after aksusbd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Sentinel keys daemon"
|
||||
eval start-stop-daemon --start --quiet --exec /opt/lib/sentinel/usbdaemon
|
||||
eend $?
|
||||
eval start-stop-daemon --start --quiet --exec /opt/lib/sentinel/server/SntlKeysSrvrlnx
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping Sentinel keys daemon"
|
||||
eval start-stop-daemon --stop --quiet --exec /opt/lib/sentinel/usbdaemon
|
||||
eend $?
|
||||
eval start-stop-daemon --stop --quiet --exec /opt/lib/sentinel/server/SntlKeysSrvrlnx
|
||||
eend $?
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/sbin/skeyd"
|
||||
command_args="${SKEYD_ARGS}"
|
||||
description="Smartkey 3 USB/LPT driver"
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
depend () {
|
||||
need net aksusbd
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
# -c, --conf Use the alternate configuration file.
|
||||
|
||||
SKEYD_ARGS=""
|
@ -1,18 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
command="/opt/sbin/winehasp"
|
||||
command_args="${WINEHASP_ARGS}"
|
||||
description="Daemon for support HASP from wine"
|
||||
|
||||
if [ "${RC_VERSION:-0}" = "0" ]; then
|
||||
start() {
|
||||
eerror "This script cannot be used for baselayout-1."
|
||||
return 1
|
||||
}
|
||||
fi
|
||||
|
||||
depend () {
|
||||
need net aksusbd
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
# -p <port> specify port used
|
||||
# -user <user> run as user
|
||||
# -u <user> run as user
|
||||
|
||||
WINEHASP_ARGS=""
|
@ -1,160 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit versionator linux-info linux-mod rpm
|
||||
|
||||
MY_R=eter"$(get_version_component_range 3)"gentoo
|
||||
DESCRIPTION="Hardware Against Software Protection drivers and license managers"
|
||||
HOMEPAGE=http://www.etersoft.ru
|
||||
|
||||
BASE_URI=ftp://updates.etersoft.ru/pub/Etersoft/HASP/3.2/sources/Gentoo/2009/
|
||||
SRC_URI="${BASE_URI}/${PN}-$(get_version_component_range 1-2)-${MY_R}.src.rpm"
|
||||
|
||||
LICENSE=Proprietary
|
||||
SLOT="0"
|
||||
KEYWORDS="-* x86 amd64"
|
||||
IUSE="lpt-hasp sentinel skey +wine demo"
|
||||
|
||||
S="${WORKDIR}"/"${PN}"-"$(get_version_component_range 1-2)"
|
||||
|
||||
QA_EXECSTACK="usr/src/aksparlnx-3.2/api.o_shipped.x86
|
||||
opt/sbin/nethaspdemo
|
||||
opt/sbin/skeymon
|
||||
opt/sbin/aksusbd
|
||||
opt/sbin/hasplmd
|
||||
opt/sbin/haspdemo
|
||||
opt/sbin/skeyd
|
||||
"
|
||||
QA_PRESTRIPPED="/opt/sbin/skeymon
|
||||
/opt/sbin/aksusbd
|
||||
/opt/sbin/hasplmd
|
||||
/opt/sbin/skeyd
|
||||
/opt/sbin/hasplm
|
||||
/opt/sbin/winehasp
|
||||
/opt/lib/sentinel/usbdaemon
|
||||
/opt/lib/sentinel/libusb-0.1.so.4
|
||||
/opt/lib/sentinel/server/SntlKeysSrvrlnx
|
||||
/opt/lib/sentinel/server/PwdGenUtility
|
||||
/opt/lib/sentinel/server/libMD5CHAP.so
|
||||
/opt/lib/sentinel/server/libcrypto.so
|
||||
/opt/lib/sentinel/server/libssl.so
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-info_pkg_setup
|
||||
|
||||
if ! linux_config_exists || ! linux_chkconfig_present USB_DEVICEFS; then
|
||||
echo
|
||||
ewarn "You have to use kernle with CONFIG_USB_DEVICEFS enabled"
|
||||
ewarn " Device Drivers --->"
|
||||
ewarn " USB support --->"
|
||||
ewarn " [*] USB device filesystem"
|
||||
die "Kernel configuration error"
|
||||
fi
|
||||
if [[ ! -f /proc/bus/usb/devices ]]; then
|
||||
ewarn "Before use hasp drivers you have to mount usbfs filesystem into /proc/bus/usb"
|
||||
ewarn "e.g.: mount -t usbfs usbfs /proc/bus/usb -o rw,noexec,nosuid,devmode=0664,devgid=85"
|
||||
fi
|
||||
if ! linux_config_exists || ! linux_chkconfig_present && use lpt-hasp; then
|
||||
eerror "You have to use kernel with PARPORT_PC enabled"
|
||||
eerror " Device Drivers --->"
|
||||
eerror " <*> Parallel port support --->"
|
||||
eerror " <*> PC-style hardware"
|
||||
die "Kernel configuration error"
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
rpm_src_unpack "${A}"
|
||||
tar -xf "${PN}"-"$(get_version_component_range 1-2)".tar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use lpt-hasp; then
|
||||
cd "${S}"/aksparlnx
|
||||
make kernel26 KERNSRC=/usr/src/linux
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
sed -i 's/\/usr\/sbin\/aksusbd/\/opt\/sbin\/aksusbd/g' aksusbd/udev/rules.d/80-hasp.rules
|
||||
insinto /etc/udev/rules.d/
|
||||
doins "${S}"/aksusbd/udev/rules.d/80-hasp.rules
|
||||
for i in aksusbd hasplm hasplmd; do
|
||||
newconfd "${FILESDIR}"/"${i}".conf.d "${i}"
|
||||
done
|
||||
insinto /etc/haspd
|
||||
doins "${S}"/hasplm/hasplm.conf
|
||||
|
||||
DESTTREE="/opt"
|
||||
dosbin "${S}"/aksusbd/aksusbd
|
||||
dosbin "${S}"/hasplm/hasplm
|
||||
dosbin "${S}"/hasplmd/hasplmd
|
||||
doinitd "${FILESDIR}"/{aksusbd,hasplm,hasplmd}
|
||||
|
||||
docinto aksusbd
|
||||
dodoc aksusbd/readme.txt
|
||||
docinto hasplm
|
||||
dodoc hasplm/hasplm.txt
|
||||
docinto hasplmd
|
||||
dohtml hasplmd/readme.html
|
||||
docinto aksusbd
|
||||
dodoc aksusbd/readme.txt
|
||||
|
||||
if use lpt-hasp; then
|
||||
insinto /"$(get_libdir)"/modules/"${KV_FULL}"/misc
|
||||
doins aksparlnx/aksparlnx.ko
|
||||
fi
|
||||
|
||||
if use demo; then
|
||||
dosbin hasptest/{,net}haspdemo
|
||||
fi
|
||||
|
||||
if use wine; then
|
||||
dosbin winehasp/winehasp
|
||||
insinto /opt/sbin
|
||||
doins winehasp/setwinehaspport.exe
|
||||
doinitd "${FILESDIR}"/winehasp
|
||||
newconfd "${FILESDIR}"/winehasp.conf.d winehasp
|
||||
docinto winehasp
|
||||
dodoc winehasp/readme.txt
|
||||
fi
|
||||
|
||||
if use sentinel; then
|
||||
insopts -m755
|
||||
insinto /opt/lib/sentinel
|
||||
doins "${S}"/sentinel/libusb* "${S}"/sentinel/usbdaemon
|
||||
doins -r "${S}"/sentinel/server*
|
||||
doinitd "${FILESDIR}"/sentinel
|
||||
insopts -m644
|
||||
doins "${S}"/sentinel/sntlconfig.xml
|
||||
docinto sentinel
|
||||
dodoc sentinel/{"licenseagreement.txt","readme.pdf","ReadMe.pdf","SentinelSP+Addendum.pdf"}
|
||||
fi
|
||||
|
||||
if use skey; then
|
||||
doinitd "${FILESDIR}"/skeyd
|
||||
dosbin "${S}"/smartkey-server-*/{skeyd,skeymon,skeysrv}
|
||||
insinto /etc
|
||||
doins "${S}"/smartkey-server-*/skeyd.conf
|
||||
doman "${S}"/smartkey-server-*/*.{1,5}
|
||||
newconfd "${FILESDIR}"/skeyd.conf.d skeyd
|
||||
docinto smartkey
|
||||
dodoc smartkey-server-*/{LEGGIMI,README.smartkey}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use lpt-hasp; then
|
||||
linux-mod_pkg_postinst
|
||||
if [[ ! -c "${ROOT}"/dev/Hardlock ]]; then
|
||||
ebegin "Creating Hardlock dev file"
|
||||
mknod "${ROOT}"/dev/Hardlock c 42 0
|
||||
chmod 0666 "${ROOT}"/dev/Hardlock
|
||||
eend $?
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>no-herd</herd>
|
||||
<maintainer>
|
||||
<email>daks12@gmail.com</email>
|
||||
<name>Dmitry 'daks' Fomenko</name>
|
||||
</maintainer>
|
||||
<longdescription lang="ru">
|
||||
Драйверы поддержки LPT и USB ключей HASP.
|
||||
</longdescription>
|
||||
<longdescription>
|
||||
Drivers for LPT and USB HASP keys.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name='demo'>Install haspdemo and nethaspdemo utilities</flag>
|
||||
<flag name='lpt-hasp'>Compile and install aksparlnx, module for LPT HASP driver</flag>
|
||||
<flag name='skey'>Install Eutron Smartkey 3 USB/LPT driver</flag>
|
||||
<flag name='sentinel'>Install SafeNet Sentinel driver</flag>
|
||||
<flag name='wine'>Install HASP keys support for wine</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Reference in new issue