Diff vtun-3.0.3 with a vtun-3.0.3-r1

/usr/portage/net-vpn/vtun/vtun-3.0.3-r1.ebuild 2019-08-23 01:09:00.000000000 +0300
1
# Copyright 1999-2016 Gentoo Foundation
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=5
4
EAPI=6
5 5

  
6
inherit eutils linux-info
6
inherit linux-info
7 7

  
8 8
DESCRIPTION="Create tunnels over TCP/IP networks with shaping, encryption, and compression"
9 9
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
......
29 29
	sed -i Makefile.in \
30 30
		-e '/^LDFLAGS/s|=|+=|g' \
31 31
		|| die "sed Makefile"
32
	epatch "${FILESDIR}"/${P}-includes.patch
32
	eapply "${FILESDIR}"/${P}-includes.patch
33 33
	# remove unneeded checking for /etc/vtund.conf
34
	epatch "${FILESDIR}"/${PN}-3.0.2-remove-config-presence-check.patch
34
	eapply -p0 "${FILESDIR}"/${PN}-3.0.2-remove-config-presence-check.patch
35 35
	# GCC 5 compatibility, patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778164
36
	epatch "${FILESDIR}"/${P}-gcc5.patch
36
	eapply "${FILESDIR}"/${P}-gcc5.patch
37
	# openssl 1.1 compatibility, bug 674280
38
	eapply -l "${FILESDIR}"/${PN}-libssl-1.1.patch
37 39
	# portage takes care about striping binaries itself
38 40
	sed -i 's:$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund::' Makefile.in || die
39 41

  
40
	epatch_user
42
	eapply_user
41 43
}
42 44

  
43 45
src_configure() {
Thank you!