Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gdut-drcom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
gdut-drcom
Commits
4d55f54d
Commit
4d55f54d
authored
Nov 25, 2016
by
chenhaowen01
Committed by
GitHub
Nov 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
24d247e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
21 deletions
+14
-21
README.md
README.md
+14
-21
No files found.
README.md
View file @
4d55f54d
...
...
@@ -5,46 +5,38 @@
\_
, /
\_
,_/
\_
,_/
\_
_/ \_,_
/_/
\_
_/\___/_
/_/_/
/___/ A third-party drcom client for gdut.
这是一个适用于广东工业大学的第三方 drcom 客户端(drcom 5.2.1p),支持 Linux (包括OpenWrt等用于路由器的发行版)与Windows。从1.6版本之后添加了切换校验加密的选项 --enable-crypt,现在按理来说应该也是支持其他学校的5.2.1p版的drcom客户,如果有其他学校的同学想要试用或者移植到你们学校,请联系我(chenhaowen01@qq.com)。
# install
*
OpenWrt
*
使用 opkg(推荐)
```
bash
opkg
install
gdut-drcom_xxx.ipk
```
*
手动安装(仅在 opkg 安装失败时使用)
```
bash
tar
xvf gdut-drcom_xxx.tar
-C
/tmp
cd
/tmp/gdut-drocm
sh install.sh
```
本项目旨在为第三方 drcom 客户端提供一个心跳服务,提供一个命令行工具(gdut-drcom),以及一个动态库(gdut-drcom.dll, gdut-drcom.so)供上层程序调用,支持 Linux 与 Windows(mingw64) 平台。
目前仅测试过,适用于广东工业大学的drcom客户端(drcom 5.2.1p),理论上也支持其他学校的drcom客户端,请自测。如有需要移植到其他学校,请联系我(chenhaowen01@qq.com)。
# compile
*
使用 OpenWrt SDK(以rampis平台为例)
```
bash
tar
xvjf OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
cd
OpenWrt-SDK-15.05-ramips-rt305x_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64
git clone https://github.com/chenhaowen01/gdut-drcom.git
make package/gdut-drcom/compile
```
*
Linux
```
bash
git clone https://github.com/chenhaowen01/gdut-drcom.git
cd
gdut-drcom/src
# 编译命令行工具
# 可通过cryptlib变量指定加密库,留空表示不使用第三方库
# cryptlib=[openssl, polarssl, gcrypt]
# 如
make
cryptlib
=
openssl
# 编译动态链接库
make dll
```
*
Windows(
[
mingw-w64
][
3
]
)
```
bat
```
git clone https://github.com/chenhaowen01/gdut-drcom.git
cd gdut-drcom\src
# 可通过cryptlib变量指定加密库,留空表示不使用第三方库
# cryptlib=[openssl, polarssl, gcrypt]
# 如
mingw32-make CC=gcc
# 编译动态链接库
make dll CC=gcc
```
# usage
```
...
...
@@ -57,6 +49,7 @@ gdut-drcom
[--enable-crypt] Enable crypt of keep alive1 packet2.
[-c, --config-file <file>] The path to config file.
[-h, --help] Print this message.
[-v, --version] Print version infomatuon
```
# reference
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment