Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Achou.Wang
accel-ppp
提交
cfabc95f
A
accel-ppp
项目概览
Achou.Wang
/
accel-ppp
通知
6
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
accel-ppp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
cfabc95f
编写于
10月 14, 2010
作者:
D
Dmitry Kozlov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updated gentoo ebuids
上级
53fa9ea0
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
81 addition
and
1 deletion
+81
-1
README
README
+1
-1
contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.1.ebuild
contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.1.ebuild
+80
-0
未找到文件。
README
浏览文件 @
cfabc95f
...
...
@@ -39,7 +39,7 @@ Compilation and instalation
-----------
Make sure you have configured kernel headers in /usr/src/linux,
or specify other location via KDIR.
1. cd /path/to/accel-pptp-1.
0
1. cd /path/to/accel-pptp-1.
1
2. mkdir build
3. cd build
4. cmake [-DBUILD_DRIVER=TRUE] [-DKDIR=/usr/src/linux] [-DCMAKE_INSTALL_PREFIX=/usr/local] [-DCMAKE_BUILD_TYPE=Debug] [-DLOG_PGSQL=TRUE] [-DL2TP=TRUE] [-DSHAPER=TRUE] ..
...
...
contrib/gentoo/net-dialup/accel-pptp/accel-pptp-1.1.ebuild
0 → 100644
浏览文件 @
cfabc95f
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI
=
2
inherit eutils linux-mod cmake-utils
DESCRIPTION
=
"Point-to-Point Tunnelling Protocol Client/Server for Linux"
SRC_URI
=
"http://sourceforge.net/projects/accel-pptp/files/accel-pptp/
${
P
}
.tar.bz2"
HOMEPAGE
=
"http://accel-pptp.sourceforge.net/"
SLOT
=
"0"
LICENSE
=
"GPL"
KEYWORDS
=
"~amd64 ~x86"
IUSE
=
"postgres debug l2tp shaper"
DEPEND
=
">=sys-libs/glibc-2.8
dev-libs/openssl
dev-libs/libaio
l2tp? ( =dev-libs/libnl-9999 )
shaper? ( =dev-libs/libnl-9999 )
postgres? ( >=dev-db/postgresql-base-8.1 )"
RDEPEND
=
"
$DEPEND
virtual/modutils"
BUILD_TARGETS
=
"default"
BUILD_PARAMS
=
"KDIR=
${
KERNEL_DIR
}
"
CONFIG_CHECK
=
"PPP PPPOE"
MODULESD_PPTP_ALIASES
=(
"net-pf-24 pptp"
)
PREFIX
=
"/"
MODULE_NAMES
=
"pptp(extra:
${
S
}
/driver/)"
src_prepare
()
{
sed
-i
-e
"/mkdir/d"
"
${
S
}
/accel-pptpd/CMakeLists.txt"
sed
-i
-e
"/INSTALL/d"
"
${
S
}
/driver/CMakeLists.txt"
}
src_configure
()
{
if
use debug
;
then
mycmakeargs+
=(
"-DCMAKE_BUILD_TYPE=Debug"
)
fi
if
use postgres
;
then
mycmakeargs+
=(
"-DLOG_PGSQL=TRUE"
)
fi
if
use l2tp
;
then
mycmakeargs+
=(
"-DL2TP=TRUE"
)
fi
if
use shaper
;
then
mycmakeargs+
=(
"-DSHAPER=TRUE"
)
fi
cmake-utils_src_configure
}
src_compile
()
{
cmake-utils_src_compile
cd
${
S
}
/driver
linux-mod_src_compile
||
die
"failed to build driver"
}
src_install
()
{
cmake-utils_src_install
cd
${
S
}
/driver
linux-mod_src_install
exeinto /etc/init.d
newexe
"
${
S
}
/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-init"
accel-pptpd
insinto /etc/conf.d
newins
"
${
S
}
/contrib/gentoo/net-dialup/accel-pptp/files/pptpd-confd"
accel-pptpd
dodir /var/log/accel-pptp
dodir /var/run/radattr
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录