From 53fa9ea09429af6e67616d3157a6e907d1e632e9 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 14 Oct 2010 22:51:42 +0400 Subject: updated gentoo ebuids fixed compilation warnings --- contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild | 10 ++++++---- contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'contrib/gentoo') diff --git a/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild b/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild index 7632da83..e926e29a 100644 --- a/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild +++ b/contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild @@ -3,7 +3,7 @@ EAPI=2 -inherit git linux-mod cmake-utils +inherit eutils git linux-mod cmake-utils EGIT_REPO_URI="git://accel-pptp.git.sourceforge.net/gitroot/accel-pptp/accel-pptp" @@ -33,12 +33,13 @@ MODULESD_PPTP_ALIASES=("net-pf-24 pptp") PREFIX="/" MODULE_NAMES="pptp(extra:${S}/driver/)" -src_unpack() { +src_unpack () { git_src_unpack +} + +src_prepare() { sed -i -e "/mkdir/d" "${S}/accel-pptpd/CMakeLists.txt" sed -i -e "/INSTALL/d" "${S}/driver/CMakeLists.txt" - - convert_to_m ${S}/driver/Makefile } src_configure() { @@ -65,6 +66,7 @@ src_compile() { cmake-utils_src_compile cd ${S}/driver + #convert_to_m Makefile linux-mod_src_compile || die "failed to build driver" } diff --git a/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init b/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init index d8e2ee57..f9155b4c 100755 --- a/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init +++ b/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init @@ -6,7 +6,6 @@ depend() { start() { ebegin "Starting accel-pptpd" - modprobe pptp start-stop-daemon --start --quiet --exec /usr/sbin/accel-pptpd -- -p /var/run/pptpd.pid ${PPTPD_OPTS} eend $? } -- cgit v1.2.3