add gvpe-3.1.ebuild
remove old gvpe ebuilds
This commit is contained in:
parent
ab09cb4f0b
commit
8beea044c9
14
metadata/md5-cache/net-vpn/gvpe-2.21
Normal file
14
metadata/md5-cache/net-vpn/gvpe-2.21
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=eutils linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish digset-sha512 digset-sha256 digset-sha1 +digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gnu/gvpe/gvpe-2.21.tar.gz
|
||||||
|
_eclasses_=desktop 22952d8f27cac191d75529d4c38e6bfa edos2unix 33e347e171066657f91f8b0c72ec8773 estack 055c42df72f76a4f45ec92b35e83cd56 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 ltprune 97143780d341cc8d8f1d4c6187a36d29 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 eapi7-ver 1a0a60ad07c8b32d2faba2d085dc0f24 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=649e7fee2a718faec9b848c9fde1230b
|
14
metadata/md5-cache/net-vpn/gvpe-2.21-r1
Normal file
14
metadata/md5-cache/net-vpn/gvpe-2.21-r1
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=http://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish digset-sha512 digset-sha256 digset-sha1 +digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gnu/gvpe/gvpe-2.21.tar.gz
|
||||||
|
_eclasses_=toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=970e20720267a33dc1dfbcdc5a5c9f66
|
14
metadata/md5-cache/net-vpn/gvpe-2.25
Normal file
14
metadata/md5-cache/net-vpn/gvpe-2.25
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=eutils linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish +digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://ftp.gnu.org/gnu/gvpe/gvpe-2.25.tar.gz
|
||||||
|
_eclasses_=desktop 22952d8f27cac191d75529d4c38e6bfa edos2unix 33e347e171066657f91f8b0c72ec8773 estack 055c42df72f76a4f45ec92b35e83cd56 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 ltprune 97143780d341cc8d8f1d4c6187a36d29 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 eapi7-ver 1a0a60ad07c8b32d2faba2d085dc0f24 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=2eed8205886cd64bd957b9d9f2753863
|
14
metadata/md5-cache/net-vpn/gvpe-2.25-r1
Normal file
14
metadata/md5-cache/net-vpn/gvpe-2.25-r1
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish +digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://ftp.gnu.org/gnu/gvpe/gvpe-2.25.tar.gz
|
||||||
|
_eclasses_=toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=99279229694c6c758530fd951b6ff4ad
|
14
metadata/md5-cache/net-vpn/gvpe-3.0
Normal file
14
metadata/md5-cache/net-vpn/gvpe-3.0
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=eutils linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish +digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://ftp.gnu.org/gnu/gvpe/gvpe-3.0.tar.gz
|
||||||
|
_eclasses_=desktop 22952d8f27cac191d75529d4c38e6bfa edos2unix 33e347e171066657f91f8b0c72ec8773 estack 055c42df72f76a4f45ec92b35e83cd56 epatch 447396341f5f896d722e435a06f87a4f eqawarn c9847c43b3253a276ae2eabddedab3d7 toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 ltprune 97143780d341cc8d8f1d4c6187a36d29 preserve-libs a8e50acee31b5759b4df1f7707cae54b strip-linguas ac3ee41ee2d31d8c41a77c0838320cc7 vcs-clean d271b7bc7e6a009758d7d4ef749174e3 wrapper 4a1902f969e5718126434fc35f3a0d9c eutils 8f942ebdcf04334697649d4a0bf65a32 eapi7-ver 1a0a60ad07c8b32d2faba2d085dc0f24 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=045d245fff06a2c2d94b43036354107c
|
14
metadata/md5-cache/net-vpn/gvpe-3.0-r1
Normal file
14
metadata/md5-cache/net-vpn/gvpe-3.0-r1
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish +digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://ftp.gnu.org/gnu/gvpe/gvpe-3.0.tar.gz
|
||||||
|
_eclasses_=toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=d9e41dda84e4e9a77ad5d478a8d8b3a0
|
14
metadata/md5-cache/net-vpn/gvpe-3.1
Normal file
14
metadata/md5-cache/net-vpn/gvpe-3.1
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst setup
|
||||||
|
DEPEND=dev-libs/libev >=dev-libs/openssl-0.9.7c nls? ( sys-devel/gettext ) virtual/linux-sources
|
||||||
|
DESCRIPTION=GNU Virtual Private Ethernet
|
||||||
|
EAPI=8
|
||||||
|
HOMEPAGE=https://savannah.gnu.org/projects/gvpe
|
||||||
|
INHERIT=linux-info
|
||||||
|
IUSE=nls tcp +compression dns icmp http-proxy cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish +digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-2
|
||||||
|
RDEPEND=>=dev-libs/openssl-0.9.7c
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://ftp.gnu.org/gnu/gvpe/gvpe-3.1.tar.gz
|
||||||
|
_eclasses_=toolchain-funcs 441f754fd75cd4fd1fa06fbc17da6144 multilib 5ca4e49abed8e3a2f7b56920eadee157 linux-info bbfa385d6907d7948d49a5e107bd654d
|
||||||
|
_md5_=d9e41dda84e4e9a77ad5d478a8d8b3a0
|
@ -3,11 +3,7 @@ AUX gvpe.conf.example 723 BLAKE2B 3dc7d812263f1beccfdbf201beac3e7954e5cf1b832dfe
|
|||||||
AUX gvpe.confd 67 BLAKE2B 53f67b5064d05330aeab275e76523aba5d109f950f49065ea1a99c76e1d85c8f0e9cc2667b0c2fde2b36da365bbf0786c52a6ae83a2e67634ed796577ff5d9f0 SHA512 c6b13eae127d51b8e269bb451c7faf12a2e9c0f27b2ed7c087b64f4297d84c5dc5d9ecb373ae6d2171b61f3c685360ac2d74978f8a7b3c7dcff967d40759c421
|
AUX gvpe.confd 67 BLAKE2B 53f67b5064d05330aeab275e76523aba5d109f950f49065ea1a99c76e1d85c8f0e9cc2667b0c2fde2b36da365bbf0786c52a6ae83a2e67634ed796577ff5d9f0 SHA512 c6b13eae127d51b8e269bb451c7faf12a2e9c0f27b2ed7c087b64f4297d84c5dc5d9ecb373ae6d2171b61f3c685360ac2d74978f8a7b3c7dcff967d40759c421
|
||||||
AUX gvpe.rc 607 BLAKE2B 28e0a52c3d9fdd02505cf4a157f7b2a7afb39718361a6f2ce795427d10feeae5fdcf68d8600d59f93cd7394e8c4e9c87de574ae4a12f0123a69c6601756a68d2 SHA512 b21c22b776f2e2f53fa52e1d9474016d8e366229f90d062a970ff15c562bab83d1018f1ef9cb717d159f7d1038664d3790c73694fcc48f34a5ff50c536385e81
|
AUX gvpe.rc 607 BLAKE2B 28e0a52c3d9fdd02505cf4a157f7b2a7afb39718361a6f2ce795427d10feeae5fdcf68d8600d59f93cd7394e8c4e9c87de574ae4a12f0123a69c6601756a68d2 SHA512 b21c22b776f2e2f53fa52e1d9474016d8e366229f90d062a970ff15c562bab83d1018f1ef9cb717d159f7d1038664d3790c73694fcc48f34a5ff50c536385e81
|
||||||
AUX if-up 135 BLAKE2B 475e3152a07dfc216495a51e8a54ff33dd1471a9da7366a880e89037d874e0f82371cc53373628f393a78be2afb808f8413e904e8d54db725de2e818bb94443a SHA512 0fde496757369c0799b8ee0becf2e01cf83040d63478b2495bde6891211778fa4a22cc615f3c68a37f7e72b26c1718a76e2a7f16c50eb4753c22f372d2e9af07
|
AUX if-up 135 BLAKE2B 475e3152a07dfc216495a51e8a54ff33dd1471a9da7366a880e89037d874e0f82371cc53373628f393a78be2afb808f8413e904e8d54db725de2e818bb94443a SHA512 0fde496757369c0799b8ee0becf2e01cf83040d63478b2495bde6891211778fa4a22cc615f3c68a37f7e72b26c1718a76e2a7f16c50eb4753c22f372d2e9af07
|
||||||
DIST gvpe-2.21.tar.gz 495636 BLAKE2B 092d0459438622d6a920902cb15e48d724cd2b21e42a4cf882acaeae84fb21f81c6a2fa4b8ad97b816487e334b1840476fc1afa4e4f4c6f2430ed334f6fe9049 SHA512 074178914667c8f3cb8bfbac46d0796b1583f913cff294e72df57e520d56ac844c916a90992655a89b35e433baba7d9dff1b1712c85e323ced89a3c98c3f5266
|
DIST gvpe-3.1.tar.gz 543115 BLAKE2B 0c4f8f2249b0e81673311b29b1e7b4741c71df95816488fbbb82040175c1890e51b5d7194337b8c3a87c8840c70cfeb8e28d6dd76c9baa0d5dc7164aeab1d59c SHA512 4deeefb5b9773e3eb46f5fcbff1fe61e64824f7b29615b84b3415ff2a240071d5e19f00a6ecac5dd491a8dbf8c9636efc4a9cde943dbdba5ef4c6bc04597840a
|
||||||
DIST gvpe-2.25.tar.gz 516339 BLAKE2B c72d0747b5decc93b21e3befabbe7fdb0bbad533408e8663e0c4e11c6ae6305c48a76ea2701c5224f44b67569b235bbf130bc57f3f2ef3c0756d6ffb55d24192 SHA512 9122efde787641603c91e067f03f4534c137e5cd274b1d096652cc176335bef6b36662fae1ab2330af6ca17043249086c1c7ee0643f8854154938e161e452e3d
|
EBUILD gvpe-3.1.ebuild 3467 BLAKE2B 69082f3112489c149d15e70a02146fae5dbf3578423c4dc653b19a17ce63012146188c1e681bbe4a13a3736d9e8031178a8a27bb7185512a3c4d4abcd82d28a8 SHA512 5dca58e68337c7cea2d87ea407e56d202b17e87922c7b83009f985b2aa72c9bdefdd477059639a7aca128397b1966e4c85707546fcf38f50847ffe7484747a56
|
||||||
DIST gvpe-3.0.tar.gz 519289 BLAKE2B 515b9ad507ca2be142ef0a2d01e81b26a65ecede7411ca75d64df3ff66908e75640f3137f19cc4a9ba59a68dac10ba15844796e615281cfbea72938dcdf18b42 SHA512 b1a917277746226c78e083aaaf80cbfa96dd311a77229cbc81ad306eb1a7f996e2bc3e40cc6e80edd9e7df69f9c891154ee8118d5d57a5c05fb1cb224b9e59a7
|
|
||||||
EBUILD gvpe-2.21.ebuild 3526 BLAKE2B b5132910494e1359d107b0c24a25d6bd9d3119a82bd9677ca2d165184fee7166aeb41d564a3dbee016fe4db5754a2d448d6657d6e534da5dadc8726f985149d6 SHA512 bce11abc37c0c8f25528a3d13c1c08403832f66220abd3400b1196083b3576904e4a6911e9233ed50dadfd5b5b2b89ccfe54355512fd3849d7c8ff500ad789fb
|
|
||||||
EBUILD gvpe-2.25.ebuild 3436 BLAKE2B 5f368a2b11271ceb30d872c6ea48c828c63f910236631d5b03ba7bd5a5543c0bacc031919dc063086544d69cad9b0884038768bd1f9ccd9f05ff24764a258e50 SHA512 ac4854acbe2d653a0779e50fee950478788d13b9bfa414e1c22c3deeef0f2789e71e3585d5dc84067d0e2f502a480420cbae833876b7aa28af69b55161e2fec7
|
|
||||||
EBUILD gvpe-3.0.ebuild 3474 BLAKE2B 2c416011df0ff40a8d24c26c6601d1cb91e5ee5589684147e3527b04557d2af836c76cf8cbfee7591941edc09107622d72071fab40f19bf82ee7af3b88d8aef2 SHA512 62f3a5d96daf428975f40a543b365ef9296f939c0727a06e026a5b42e6a11298f05900057373149878c07463626a46c451c4e9f847f1005a8285984cd743424a
|
|
||||||
MISC ChangeLog 933 BLAKE2B 976ff83bad03b086dcb92893d8ea5e07efde08ff7343e1055ef636b3646bc9baf6753bd0b776e9a20bfed4e89a413b7ddb34eda9996e7074f055ab655c296aa6 SHA512 5950187dac76003fbf7fbf68f84dfd96d7307ba0d8a623d234a640d3919ea8b1e37d46879df80d0fd5d7fa9fd03ef9b5c985773f4b6f39e111b821bee7c83d42
|
MISC ChangeLog 933 BLAKE2B 976ff83bad03b086dcb92893d8ea5e07efde08ff7343e1055ef636b3646bc9baf6753bd0b776e9a20bfed4e89a413b7ddb34eda9996e7074f055ab655c296aa6 SHA512 5950187dac76003fbf7fbf68f84dfd96d7307ba0d8a623d234a640d3919ea8b1e37d46879df80d0fd5d7fa9fd03ef9b5c985773f4b6f39e111b821bee7c83d42
|
||||||
MISC metadata.xml 1529 BLAKE2B ed52b91008dd4afa020014801b081f8e940bb3034a38f18fc5d087cf6e38f3efedaf8913c482b45aab8474396bb47a2c5725cd9abe84f14287ea3bf665f96f85 SHA512 bb57cb89a1da2d405abf8cc294d75cbc57d472248f7c6d054a5f299a7243290303eb25514a25bd91f478add92392fe5d114a101aaa70f9413e189b3d3e4eee6b
|
MISC metadata.xml 1544 BLAKE2B ae044567d57fcd384049aa52ff18e13e6e66492abd2623845bf3daf0c981de5d85f8d71438d1051e2c4a25451dcba21ca64c195154f6afbe919bd03c2da2cc4c SHA512 b7a6c726aa08c624eb1ca7d7240aa8afb3ec9e649208e81372177281a3f8a64d083af1483ab603fc5a89d5d7cbc65a74d5416e3ca9930b28dd3755de72f297b6
|
||||||
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="1"
|
|
||||||
|
|
||||||
inherit eutils linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="GNU Virtual Private Ethernet"
|
|
||||||
HOMEPAGE="http://savannah.gnu.org/projects/gvpe"
|
|
||||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="nls tcp +compression dns icmp http-proxy
|
|
||||||
cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish
|
|
||||||
digset-sha512 digset-sha256 digset-sha1 +digset-ripemd160 digset-md5 digset-md4-insecure"
|
|
||||||
|
|
||||||
DEPEND="dev-libs/libev
|
|
||||||
>=dev-libs/openssl-0.9.7c
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
virtual/linux-sources"
|
|
||||||
RDEPEND=">=dev-libs/openssl-0.9.7c"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
#Since gvpe does not support more than 1 cipher and more then 1 digset
|
|
||||||
#here we do some not so clever checks to ensure that only one is selected
|
|
||||||
local myEnc
|
|
||||||
local encCnt=0
|
|
||||||
use cipher-aes-256 && myEnc="aes-256" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-aes-192 && myEnc="aes-192" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-aes-128 && myEnc="aes-128" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-blowfish && myEnc="bf" && encCnt=$((encCnt+1))
|
|
||||||
|
|
||||||
if [[ $encCnt<1 ]]; then
|
|
||||||
eerror "An encryption alogotithm have to be selected.\nAdd one of cipher-aes-256, cipher-aes-192, cipher-aes-128 or cipher-blowfish to your USE variable."
|
|
||||||
die;
|
|
||||||
elif [[ $encCnt>1 ]]; then
|
|
||||||
eerror "More then one ecryption alogorithm selected.\nRemove all but one of cipher-aes-256, cipher-aes-192, cipher-aes-128 or cipher-blowfish flags from your USE variable."
|
|
||||||
die;
|
|
||||||
fi
|
|
||||||
|
|
||||||
encCnt=0
|
|
||||||
local myDigset
|
|
||||||
use digset-sha512 && myDigset="sha512" && encCnt=$((encCnt+1))
|
|
||||||
use digset-sha256 && myDigset="sha256" && encCnt=$((encCnt+1))
|
|
||||||
use digset-sha1 && myDigset="sha1" && encCnt=$((encCnt+1))
|
|
||||||
use digset-ripemd160 && myDigset="ripemd160" && encCnt=$((encCnt+1))
|
|
||||||
use digset-md5 && myDigset="md5" && encCnt=$((encCnt+1))
|
|
||||||
use digset-md4-insecure && myDigset="md4" && encCnt=$((encCnt+1))
|
|
||||||
if [[ $encCnt<1 ]]; then
|
|
||||||
eerror "A digset algorithm have to be selected.\nAdd one of digset-sha512, digset-sha256, digset-sha1, digset-ripemd160, digset-md5 or digset-md4-insecure to your USE variable."
|
|
||||||
die;
|
|
||||||
elif [[ $encCnt>1 ]]; then
|
|
||||||
eerror "More then one digset alogorithm selected.\nRemove all but one of digset-sha512, digset-sha256, digset-sha1, digset-ripemd160, digset-md5 or digset-md4-insecure flags from your USE variable."
|
|
||||||
die;
|
|
||||||
fi
|
|
||||||
|
|
||||||
#add proper support for --disable in the configure scrip
|
|
||||||
epatch "${FILESDIR}/configure.${P}.patch"
|
|
||||||
|
|
||||||
#the hmac and rand flags are hardcoded this is not so good because
|
|
||||||
#it leaves the system more predictable. But I don't think that adding
|
|
||||||
#24 more use flags is a good idea too.
|
|
||||||
econf $(use_enable nls) \
|
|
||||||
$(use_enable compression) \
|
|
||||||
$(use_enable dns) \
|
|
||||||
$(use_enable icmp) \
|
|
||||||
$(use_enable http-proxy) \
|
|
||||||
$(use_enable tcp) \
|
|
||||||
--enable-hmac-length=16 --enable-rand-length=8 --enable-cipher=$myEnc \
|
|
||||||
--enable-digest=$myDigset
|
|
||||||
emake || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die
|
|
||||||
dodoc AUTHORS NEWS README TODO || die
|
|
||||||
newinitd "${FILESDIR}/gvpe.rc" gvpe || die
|
|
||||||
newconfd "${FILESDIR}/gvpe.confd" gvpe || die
|
|
||||||
insinto /etc/gvpe
|
|
||||||
doins "${FILESDIR}/gvpe.conf.example" || die
|
|
||||||
exeinto /etc/gvpe
|
|
||||||
doexe "${FILESDIR}/if-up" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
linux_chkconfig_present TUN || ewarn "This package requires the tun/tap kernel device."
|
|
||||||
einfo "Edit /etc/conf.d/gvpe and /etc/gvpe/gvpe.conf"
|
|
||||||
ewarn "All nodes in your VPN have to use the same combination of digset and cipher!"
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
inherit eutils linux-info
|
|
||||||
|
|
||||||
DESCRIPTION="GNU Virtual Private Ethernet"
|
|
||||||
HOMEPAGE="https://savannah.gnu.org/projects/gvpe"
|
|
||||||
SRC_URI="https://ftp.gnu.org/gnu/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="nls tcp +compression dns icmp http-proxy
|
|
||||||
cipher-aes-128 cipher-aes-192 +cipher-aes-256 cipher-blowfish
|
|
||||||
+digset-sha512 digset-sha256 digset-sha1 digset-ripemd160 digset-md5 digset-md4-insecure"
|
|
||||||
|
|
||||||
DEPEND="dev-libs/libev
|
|
||||||
>=dev-libs/openssl-0.9.7c
|
|
||||||
nls? ( sys-devel/gettext )
|
|
||||||
virtual/linux-sources"
|
|
||||||
RDEPEND=">=dev-libs/openssl-0.9.7c"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
#Since gvpe does not support more than 1 cipher and more then 1 digset
|
|
||||||
#here we do some not so clever checks to ensure that only one is selected
|
|
||||||
local myEnc
|
|
||||||
local encCnt=0
|
|
||||||
use cipher-aes-256 && myEnc="aes-256" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-aes-192 && myEnc="aes-192" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-aes-128 && myEnc="aes-128" && encCnt=$((encCnt+1))
|
|
||||||
use cipher-blowfish && myEnc="bf" && encCnt=$((encCnt+1))
|
|
||||||
|
|
||||||
if [[ $encCnt<1 ]]; then
|
|
||||||
eerror "An encryption alogotithm have to be selected.\nAdd one of cipher-aes-256, cipher-aes-192, cipher-aes-128 or cipher-blowfish to your USE variable."
|
|
||||||
die;
|
|
||||||
elif [[ $encCnt>1 ]]; then
|
|
||||||
eerror "More then one ecryption alogorithm selected.\nRemove all but one of cipher-aes-256, cipher-aes-192, cipher-aes-128 or cipher-blowfish flags from your USE variable."
|
|
||||||
die;
|
|
||||||
fi
|
|
||||||
|
|
||||||
encCnt=0
|
|
||||||
local myDigset
|
|
||||||
use digset-sha512 && myDigset="sha512" && encCnt=$((encCnt+1))
|
|
||||||
use digset-sha256 && myDigset="sha256" && encCnt=$((encCnt+1))
|
|
||||||
use digset-sha1 && myDigset="sha1" && encCnt=$((encCnt+1))
|
|
||||||
use digset-ripemd160 && myDigset="ripemd160" && encCnt=$((encCnt+1))
|
|
||||||
use digset-md5 && myDigset="md5" && encCnt=$((encCnt+1))
|
|
||||||
use digset-md4-insecure && myDigset="md4" && encCnt=$((encCnt+1))
|
|
||||||
if [[ $encCnt<1 ]]; then
|
|
||||||
eerror "A digset algorithm have to be selected.\nAdd one of digset-sha512, digset-sha256, digset-sha1, digset-ripemd160, digset-md5 or digset-md4-insecure to your USE variable."
|
|
||||||
die;
|
|
||||||
elif [[ $encCnt>1 ]]; then
|
|
||||||
eerror "More then one digset alogorithm selected.\nRemove all but one of digset-sha512, digset-sha256, digset-sha1, digset-ripemd160, digset-md5 or digset-md4-insecure flags from your USE variable."
|
|
||||||
die;
|
|
||||||
fi
|
|
||||||
|
|
||||||
#the hmac and rand flags are hardcoded this is not so good because
|
|
||||||
#it leaves the system more predictable. But I don't think that adding
|
|
||||||
#24 more use flags is a good idea too.
|
|
||||||
econf $(use_enable nls) \
|
|
||||||
$(use_enable compression) \
|
|
||||||
$(use_enable dns) \
|
|
||||||
$(use_enable icmp) \
|
|
||||||
$(use_enable http-proxy) \
|
|
||||||
$(use_enable tcp) \
|
|
||||||
--enable-hmac-length=16 --enable-rand-length=8 --enable-cipher=$myEnc \
|
|
||||||
--enable-digest=$myDigset
|
|
||||||
emake || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die
|
|
||||||
dodoc AUTHORS NEWS README TODO || die
|
|
||||||
newinitd "${FILESDIR}/gvpe.rc" gvpe || die
|
|
||||||
newconfd "${FILESDIR}/gvpe.confd" gvpe || die
|
|
||||||
insinto /etc/gvpe
|
|
||||||
doins "${FILESDIR}/gvpe.conf.example" || die
|
|
||||||
exeinto /etc/gvpe
|
|
||||||
doexe "${FILESDIR}/if-up" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
linux_chkconfig_present TUN || ewarn "This package requires the tun/tap kernel device."
|
|
||||||
einfo "Edit /etc/conf.d/gvpe and /etc/gvpe/gvpe.conf"
|
|
||||||
ewarn "All nodes in your VPN have to use the same combination of digset and cipher!"
|
|
||||||
}
|
|
@ -2,9 +2,9 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header: $
|
# $Header: $
|
||||||
|
|
||||||
EAPI="6"
|
EAPI="8"
|
||||||
|
|
||||||
inherit eutils linux-info
|
inherit linux-info
|
||||||
|
|
||||||
DESCRIPTION="GNU Virtual Private Ethernet"
|
DESCRIPTION="GNU Virtual Private Ethernet"
|
||||||
HOMEPAGE="https://savannah.gnu.org/projects/gvpe"
|
HOMEPAGE="https://savannah.gnu.org/projects/gvpe"
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
|
<maintainer type="project"><email>maintainer-wanted@gentoo.org</email></maintainer>
|
||||||
<longdescription>GVPE creates a virtual ethernet (broadcasts supported,
|
<longdescription>GVPE creates a virtual ethernet (broadcasts supported,
|
||||||
any protocol that works with a normal ethernet should work with GVPE) by
|
any protocol that works with a normal ethernet should work with GVPE) by
|
||||||
creating encrypted host-to-host tunnels between multiple endpoints.
|
creating encrypted host-to-host tunnels between multiple endpoints.
|
||||||
|
Loading…
Reference in New Issue
Block a user