mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-22 03:34:48 +08:00
changed maintainer & installation sources
This commit is contained in:
parent
426663b9c1
commit
9b02ca93eb
10
README.md
10
README.md
@ -36,8 +36,8 @@ If you meet any problem during or after the installation, check Troubleshooting
|
||||
2. Run these command.
|
||||
|
||||
``` bash
|
||||
curl https://dl.zjuqsc.com/linux/qsc.public.key | sudo apt-key add -
|
||||
curl https://dl.zjuqsc.com/linux/debian/qsc.list | sudo tee /etc/apt/sources.list.d/qsc.list
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add -
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install zjunet
|
||||
```
|
||||
@ -56,9 +56,9 @@ sudo apt-get install zjunet
|
||||
3. Run these command.
|
||||
|
||||
```bash
|
||||
curl https://dl.zjuqsc.com/linux/qsc.public.key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66
|
||||
curl https://dl.zjuqsc.com/linux/yum/qsc.repo | sudo tee /etc/yum.repos.d/qsc.repo
|
||||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-ZJUMIRRORS
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.repo | sudo tee /etc/yum.repos.d/zjunet.repo
|
||||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-ZJUMIRRORS
|
||||
sudo yum install zjunet
|
||||
```
|
||||
|
||||
|
||||
10
README.zh.md
10
README.zh.md
@ -39,8 +39,8 @@
|
||||
2. 依次输入并执行下列命令:
|
||||
|
||||
``` bash
|
||||
curl https://dl.zjuqsc.com/linux/qsc.public.key | sudo apt-key add -
|
||||
curl https://dl.zjuqsc.com/linux/debian/qsc.list | sudo tee /etc/apt/sources.list.d/qsc.list
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo apt-key add -
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.list | sudo tee /etc/apt/sources.list.d/zjunet.list
|
||||
sudo apt-get update
|
||||
sudo apt-get install zjunet
|
||||
```
|
||||
@ -59,9 +59,9 @@ sudo apt-get install zjunet
|
||||
3. 依次输入并执行下列命令:
|
||||
|
||||
```bash
|
||||
curl https://dl.zjuqsc.com/linux/qsc.public.key | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66
|
||||
curl https://dl.zjuqsc.com/linux/yum/qsc.repo | sudo tee /etc/yum.repos.d/qsc.repo
|
||||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-QSC-COMP66
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjumirrors.pgp | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-ZJUMIRRORS
|
||||
curl https://mirrors.zju.edu.cn/openzjunet/zjunet.repo | sudo tee /etc/yum.repos.d/zjunet.repo
|
||||
sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-ZJUMIRRORS
|
||||
sudo yum install zjunet
|
||||
```
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ FILE_SHA1=$(sha1sum $PKGNAME-$PKGVER.tar.gz | cut -f1 -d' ')
|
||||
FILE_SHA256=$(sha256sum $PKGNAME-$PKGVER.tar.gz | cut -f1 -d' ')
|
||||
|
||||
cat > PKGBUILD <<EOF
|
||||
# Maintainer: Wu Yufei <me@tespent.cn>
|
||||
# Maintainer: Azuk 443 <me@azuk.top>
|
||||
|
||||
pkgname=$PKGNAME
|
||||
pkgver=$PKGVER_NOREL
|
||||
|
||||
@ -37,8 +37,8 @@ Section: net
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: xl2tpd (>= 1.3.7), curl, dnsutils
|
||||
Maintainer: Tespent <me@tespent.cn>
|
||||
Description: Command Line Scripts for ZJU
|
||||
Maintainer: Azuk 443 <me@azuk.top>
|
||||
Description: Command Line Scripts for ZJU Campus Network
|
||||
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||
EOF
|
||||
|
||||
|
||||
@ -27,8 +27,8 @@ Section: net
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Depends: xl2tpd (>= 1.3.7), curl, bind-dig
|
||||
Maintainer: Tespent <me@tespent.cn>
|
||||
Description: Command Line Scripts for ZJU
|
||||
Maintainer: Azuk 443 <me@azuk.top>
|
||||
Description: Command Line Scripts for ZJU Campus Network
|
||||
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||
EOF
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ echo "License: GPL" >> zjunet.spec
|
||||
echo "Group: Applications/Internet" >> zjunet.spec
|
||||
echo "URL: https://github.com/QSCTech/zjunet/" >> zjunet.spec
|
||||
echo "Vendor: Qiu Shi Chao Website of Zhejiang University" >> zjunet.spec
|
||||
echo "Packager: Tespent <me@tespent.cn>" >> zjunet.spec
|
||||
echo "Packager: Azuk 443 <me@azuk.top>" >> zjunet.spec
|
||||
echo "Requires: xl2tpd >= 1.3.7, curl, bind-utils" >> zjunet.spec
|
||||
echo "BuildRoot: %{_builddir}/%{name}-root" >> zjunet.spec
|
||||
echo "Source: %{name}-%{version}.tar.gz" >> zjunet.spec
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user