mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-misc/networkmanager-strongswan: New package
Closes: https://bugs.gentoo.org/571234 Closes: https://github.com/gentoo/gentoo/pull/7663 Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
committed by
Michał Górny
parent
d904a596a5
commit
ad8a3f59bc
1
net-misc/networkmanager-strongswan/Manifest
Normal file
1
net-misc/networkmanager-strongswan/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST NetworkManager-strongswan-1.4.4.tar.bz2 305677 BLAKE2B 24d99cd3f3844b6ffd47d076153ff8f80a92e575ca7f8da01141be2a48c39a759ee60e17ccdd4928e3c625fa9caae39d8f3cf2c76481adbcdda91fd00ee9e8a2 SHA512 e3e2dd9f5b961255f897ca1912f9deb34ac62628ff40289ff0f8f3900746482f2f32d390c64b88c10f10b8a99388e27099abedb7157d77c173524dc763a32155
|
||||
15
net-misc/networkmanager-strongswan/metadata.xml
Normal file
15
net-misc/networkmanager-strongswan/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ck+gentoo@bl4ckb0x.de</email>
|
||||
<name>Conrad Kostecki</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="glib">Enable libnm-glib compatibility.</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PN="NetworkManager"
|
||||
MY_P="${P/networkmanager/${MY_PN}}"
|
||||
|
||||
DESCRIPTION="NetworkManager StrongSwan plugin"
|
||||
HOMEPAGE="https://www.strongswan.org/"
|
||||
SRC_URI="https://download.strongswan.org/${MY_PN}/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+glib"
|
||||
|
||||
RDEPEND="app-crypt/libsecret
|
||||
gnome-extra/nm-applet
|
||||
net-misc/networkmanager
|
||||
net-vpn/strongswan[networkmanager]
|
||||
x11-libs/gtk+:3"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/intltool
|
||||
virtual/pkgconfig"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
# Don't enable all warnings, as some are treated as errors and the compilation will fail
|
||||
--disable-more-warnings
|
||||
--disable-static
|
||||
$(usex glib '' --without-libnm-glib)
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user