diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-14 22:51:42 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-14 22:51:42 +0400 |
commit | 53fa9ea09429af6e67616d3157a6e907d1e632e9 (patch) | |
tree | 0ef4b9457b723d1747f78f2567872683ceaddc9e /contrib/gentoo/net-dialup/accel-pptp | |
parent | 04c623f7a645d0decae6ba73ba19650aaec3c497 (diff) | |
download | accel-ppp-53fa9ea09429af6e67616d3157a6e907d1e632e9.tar.gz accel-ppp-53fa9ea09429af6e67616d3157a6e907d1e632e9.zip |
updated gentoo ebuids
fixed compilation warnings
Diffstat (limited to 'contrib/gentoo/net-dialup/accel-pptp')
-rw-r--r-- | contrib/gentoo/net-dialup/accel-pptp/accel-pptp-9999.ebuild | 10 | ||||
-rwxr-xr-x | contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init | 1 |
2 files changed, 6 insertions, 5 deletions
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 $? } |