net-misc/openvpn-radiusplugin: drop unused package

This commit is contained in:
Sergey Popov 2023-02-16 12:33:18 +03:00
parent b476b598f9
commit 25a3b593d6
3 changed files with 0 additions and 68 deletions

View File

@ -1 +0,0 @@
DIST radiusplugin_v2.1.tar.gz 239270 SHA256 d858e9c26a2f71390ca2c0229eb3205fbe407876a6efda3f30433d20044ace88 SHA512 21d5fcb5f3aa607445d28cef1bed357a5027d4c54e0003d8e7d05874182c791031802703cb481e1f127a9582867d677452102df0b4eff6b2f6a5ea5a201d7738 WHIRLPOOL 75c8f106a98ae91f7e2cc8b51aa53bc3a0a0a010f22390f6c3edbb28e02ea194ee4f55061b763d6d3e5ea0cd45ba5f58b8de36647c89fdc32a04040fac80c5cb

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pinkbyte@gentoo.org</email>
<name>Sergey Popov</name>
</maintainer>
</pkgmetadata>

View File

@ -1,59 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=6
MY_PN="radiusplugin"
MY_P="${MY_PN}_v${PV}"
inherit flag-o-matic multilib toolchain-funcs
DESCRIPTION="Radiusplugin for OpenVPN"
HOMEPAGE="http://www.nongnu.org/radiusplugin/index.html"
SRC_URI="http://www.nongnu.org/radiusplugin/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# TODO: handle with optional doxygen documentation generation
#IUSE="doc"
IUSE=""
DEPEND="dev-libs/libgcrypt:="
RDEPEND="${DEPEND}
net-vpn/openvpn"
S="${WORKDIR}/${MY_PN}"
src_prepare() {
# Make compilation process verbose
# Respect CFLAGS, LDFLAGS and compiler
sed -i \
-e 's:@$(CC):$(CC):g' \
-e '/^CFLAGS/d' \
-e '/^LDFLAGS/d' \
Makefile || die 'sed on Makefile failed'
# needed for proper compilation
append-cflags -shared -fPIC -DPIC
eapply_user
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
insinto /etc/openvpn
doins "${MY_PN}.cnf"
exeinto "/usr/$(get_libdir)/openvpn"
doexe "${MY_PN}.so"
dodoc README ToDo
}
pkg_postinst() {
elog "Radiusplugin is installed into '/usr/$(get_libdir)/openvpn'"
elog "Path for it should be set in your openvpn.conf"
}