From 9b02ca93eb51a4ea42459c207e7bdbea5276b71d Mon Sep 17 00:00:00 2001 From: Azuk 443 Date: Thu, 12 Oct 2023 18:53:52 +0800 Subject: [PATCH] changed maintainer & installation sources --- README.md | 10 +++++----- README.zh.md | 10 +++++----- build/build-pkgbuild.sh | 2 +- build/debian/build.sh | 4 ++-- build/openwrt/build.sh | 4 ++-- build/rpm/build_spec.sh | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 04dd8b8..1d5e241 100644 --- a/README.md +++ b/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 ``` diff --git a/README.zh.md b/README.zh.md index 437b012..60271e5 100644 --- a/README.zh.md +++ b/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 ``` diff --git a/build/build-pkgbuild.sh b/build/build-pkgbuild.sh index 371db71..d250f65 100755 --- a/build/build-pkgbuild.sh +++ b/build/build-pkgbuild.sh @@ -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 < +# Maintainer: Azuk 443 pkgname=$PKGNAME pkgver=$PKGVER_NOREL diff --git a/build/debian/build.sh b/build/debian/build.sh index 18bbc8e..d2b7b3f 100755 --- a/build/debian/build.sh +++ b/build/debian/build.sh @@ -37,8 +37,8 @@ Section: net Priority: optional Architecture: all Depends: xl2tpd (>= 1.3.7), curl, dnsutils -Maintainer: Tespent -Description: Command Line Scripts for ZJU +Maintainer: Azuk 443 +Description: Command Line Scripts for ZJU Campus Network This script provides a VPN / WLAN / NEXTHOP for ZJUer. EOF diff --git a/build/openwrt/build.sh b/build/openwrt/build.sh index a5b1072..96e23a7 100755 --- a/build/openwrt/build.sh +++ b/build/openwrt/build.sh @@ -27,8 +27,8 @@ Section: net Priority: optional Architecture: all Depends: xl2tpd (>= 1.3.7), curl, bind-dig -Maintainer: Tespent -Description: Command Line Scripts for ZJU +Maintainer: Azuk 443 +Description: Command Line Scripts for ZJU Campus Network This script provides a VPN / WLAN / NEXTHOP for ZJUer. EOF diff --git a/build/rpm/build_spec.sh b/build/rpm/build_spec.sh index 4d52de8..6c1ee9b 100755 --- a/build/rpm/build_spec.sh +++ b/build/rpm/build_spec.sh @@ -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 " >> zjunet.spec +echo "Packager: Azuk 443 " >> 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