Bump net-misc/haspd-3.2.8

atratsevskiy
Dmitry 'daks' Fomenko 13 years ago
parent 4757fda479
commit d4c1f2ea9f

@ -9,8 +9,8 @@ AUX skeyd 429 RMD160 c110d782ea820247f313d9e370fb2c2d2fd0b9ae SHA1 7490db5695af2
AUX skeyd.conf 71 RMD160 efd7f74ebf85375263a437f8ef4377dd465980ed SHA1 c787f9a7c634ff128902aceb36fdf14a0e3c27e4 SHA256 5abf627105917fcf28692fe51242c30f1c32ad692d133cc4e273f6fb4747a593
AUX winehasp 415 RMD160 7b446b4ba0446251c5e656f1c31c0d7951f9070c SHA1 8c77f9657aaf3a3a78f59254438682dbd7c3b76a SHA256 e09735c2461c581fed40090dc48df53790af8ee4ebdd69b1498a790bbb0835d2
AUX winehasp.conf 114 RMD160 08a894fbe24b8232a87d0749e168653eaa15b1b5 SHA1 d2588dc943859ad353d0116147c1ef1195a0a8f2 SHA256 063395a11f91ae44f3deb738761fa0eb1956ef844da3d76b8ee11c1235325710
DIST haspd-3.2-eter7gentoo.i586.tar.bz2 2196751 RMD160 968aa257b81d42d94a14f084f4b9cc91fa166e63 SHA1 219618cc0027cbe2674494be0dd249d963d81ab7 SHA256 3b2ff09d260238f90655ae83ff2b54ff3a7295aa580e184fbcc4b1407b49f406
DIST haspd-modules-3.2-eter7gentoo.i586.tar.bz2 56625 RMD160 8238d7ba92b6c8630611d804d9a32736debeb61a SHA1 a2b527a03cec03118048b3bad3f4bef136e82e0f SHA256 16fc89998647ab1ff92ba488d0ac47752f0176944f33e67be4ca0e655bf710da
EBUILD haspd-3.2.7.ebuild 3289 RMD160 9aa3851096abf0ea656aa50ff9444e605f7f12be SHA1 24221ccc8ecd0750bdc084246b7afa9cc5bde0d1 SHA256 4b9d5ad34d4c0e174e7ea84c81f76b984eee958b30f14dd2e5f8c7722a0f60c8
DIST haspd-3.2-eter8gentoo.i586.tar.bz2 2196940 RMD160 39af1036864f43f2ac27ae073008ec1cb5bead56 SHA1 66c80f232bb9f1fe92e33691ccbc6602b8bdb64d SHA256 e04518173eecb161a0a35b8cb3aa0644ae4d46a68c0840b07c725c64676b97f4
DIST haspd-modules-3.2-eter8gentoo.i586.tar.bz2 56631 RMD160 a6d7a2bd54a9ea9fdd3b0e16efb7fe2f1ea069bc SHA1 c0b18ea9e7b69374f331f163c85e7298856091ed SHA256 1d3a331abe973d78591c971d3a28e5bb68c731a2b41321059b0e46c6214a69de
EBUILD haspd-3.2.8.ebuild 3289 RMD160 9aa3851096abf0ea656aa50ff9444e605f7f12be SHA1 24221ccc8ecd0750bdc084246b7afa9cc5bde0d1 SHA256 4b9d5ad34d4c0e174e7ea84c81f76b984eee958b30f14dd2e5f8c7722a0f60c8
MISC ChangeLog 275 RMD160 5298eab9ebf4a9bd483f5c5c47d23aaa317ab4d7 SHA1 4a35f0aafd10967f78dfa50751318ea3b7034732 SHA256 c27bd29d388fc8edbf75ac585e9b70e601eb0b95291cc9efe4469d221ae0cb26
MISC metadata.xml 746 RMD160 7ccaa81b3ed47626fedc3027c5bd6f1b406ba2f6 SHA1 6220818e663243d45bf0e956e563a3c1e62a60ed SHA256 d465c4900e79f69c30561341127c0adcf03e34405b9b89b1f30518a9f3dcaad4

@ -0,0 +1,127 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# : $
EAPI="4"
inherit versionator linux-info
MY_R=eter$(get_version_component_range 3)gentoo
DESCRIPTION="HASP drivers and license managers"
HOMEPAGE=http://www.etersoft.ru
BASE_URI=ftp://updates.etersoft.ru/pub/Etersoft/WINE@Etersoft/last/HASP/Gentoo/2009/
SRC_URI="${BASE_URI}/${PN}-$(get_version_component_range 1-2)-${MY_R}.i586.tar.bz2
lpt-hasp? ( ${BASE_URI}/${PN}-modules-$(get_version_component_range 1-2)-${MY_R}.i586.tar.bz2 )"
LICENSE=Proprietary
SLOT="0"
KEYWORDS="-* x86 amd64"
IUSE="-lpt-hasp -sentinel -skey +wine"
S="${WORKDIR}"
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/libMD5CHAP.so
/opt/lib/sentinel/libcrypto.so.0.9.7
/opt/lib/sentinel/libusb-0.1.so.4
/opt/lib/sentinel/SntlKeysSrvrlnx
/opt/lib/sentinel/PwdGenUtility
/opt/lib/sentinel/libssl.so
/opt/lib/sentinel/usbsentinel
"
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_install() {
insopts -m0755
if use wine; then
doinitd "${FILESDIR}"/winehasp
else
rm -f ${S}/usr/sbin/winehasp
fi
if use sentinel; then
doinitd "${FILESDIR}"/sentinel
insinto /opt
doins -r ${S}/usr/lib*
fi
if use lpt-hasp; then
insinto /usr
doins -r ${S}/usr/src*
fi
insinto /etc
for i in aksusbd hasplm hasplmd; do
doinitd "${FILESDIR}"/${i}
done
if use skey; then
insinto /etc
insopts -m0664
doins "${S}"/etc/skeyd.conf
doman ${S}/usr/share/man/man1/*
doman ${S}/usr/share/man/man5/*
newconfd "${FILESDIR}"/skeyd.conf skeyd
insopts -m755
doinitd "${FILESDIR}"/skeyd
else
rm -rf ${WORKDIR}/sbin/skeyd || die "TEST"
fi
insinto /opt
doins -r ${S}/usr/sbin*
insopts -m664
newconfd "${FILESDIR}"/aksusbd.conf aksusbd
newconfd "${FILESDIR}"/hasplmd.conf hasplmd
newconfd "${FILESDIR}"/hasplm.conf haspml
newconfd "${FILESDIR}"/winehasp.conf winehasp
insinto /etc/haspd
doins "${S}"/etc/haspd/hasplm.conf
#exit 1
}
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
}
Loading…
Cancel
Save