mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-09 04:51:27 +02:00
net-proxy/sshttp: eapi bump
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Yury Martynov <email@linxon.ru>
This commit is contained in:
parent
bfb8d85743
commit
83f70349d4
2 changed files with 23 additions and 14 deletions
8
net-proxy/sshttp/metadata.xml
Normal file
8
net-proxy/sshttp/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,20 +1,20 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="An easy to use OSI-Layer5 switching daemon"
|
||||
HOMEPAGE="https://c-skills.blogspot.com/"
|
||||
|
||||
DESCRIPTION="an easy to use OSI-Layer5 switching daemon"
|
||||
HOMEPAGE="http://c-skills.blogspot.com/"
|
||||
MY_PV=${PV/./-}
|
||||
MY_P="${PN}-splice-${MY_PV/_p/s}"
|
||||
SRC_URI="https://github.com/stealth/sshttp/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
#sshttp-splice-0-35s2.tar.gz
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="net-libs/libpcap"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
|
@ -22,17 +22,18 @@ RDEPEND="${DEPEND}"
|
|||
S="${WORKDIR}/${PN}-${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s|-O2|$CFLAGS|g" Makefile || die
|
||||
eapply_user
|
||||
default
|
||||
sed -i "/^CFLAGS/s|-O2|${CFLAGS}|g" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "This is about to die due to https://github.com/stealth/sshttp/issues/7"
|
||||
default
|
||||
emake CXX=$(tc-getCXX) LD=$(tc-getLD)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin sshttpd || die
|
||||
dodoc README || die
|
||||
dobin nf-setup || die
|
||||
dobin sshttpd
|
||||
dodoc *.md Changelog HINTS
|
||||
|
||||
exeinto /usr/share/${PN}
|
||||
doexe nf-setup
|
||||
}
|
||||
Loading…
Reference in a new issue