-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
217 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
*~ | ||
*.xz | ||
*.changes | ||
*.dsc | ||
*.deb | ||
*.build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,12 @@ | ||
# wlt-script | ||
ustc wlt login shell script | ||
|
||
## 安装 | ||
|
||
请使用 `release` 的 deb 包进行安装。 | ||
|
||
手动打包安装: | ||
|
||
cd ./wlt-script-0.1/ | ||
debuild -us -uc | ||
sudo dpkg -i ../*.deb |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/make -f | ||
# | ||
|
||
prefix = /usr | ||
bindir = $(prefix)/bin | ||
man1dir = $(prefix)/share/man/man1 | ||
manzh1dir = $(prefix)/share/man/zh_CN/man1 | ||
|
||
all: | ||
|
||
install: | ||
install -m 0755 wlt $(DESTDIR)$(bindir) | ||
install -m 0644 wlt.1 $(DESTDIR)$(man1dir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.log | ||
*.substvars | ||
wlt-script/ |
4 changes: 2 additions & 2 deletions
4
wlt-script-0.1-1/debian/README.Debian → wlt-script-0.1/debian/README.Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
wlt-script-0.1 for Debian | ||
wlt-script for Debian | ||
-------------------------- | ||
|
||
<possible notes regarding this package - if none, delete this file> | ||
For Debian packaging. Debian Dafa is Good! | ||
|
||
-- Boyuan Yang <073plan@gmail.com> Wed, 17 Jun 2015 22:11:20 +0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
wlt-script for Debian | ||
-------------------------- | ||
|
||
#<this file describes information about the source package, see Debian policy | ||
#manual section 4.14. You WILL either need to modify or delete this file> | ||
Nothing much. Enjoy. | ||
|
||
|
||
|
||
-- Boyuan Yang <hosiet@mail.ustc.edu.cn> Fri, 19 Jun 2015 11:11:20 +0800 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
wlt-script (0.1-2) unstable; urgency=low | ||
|
||
* Update packaging script to fix lintian warnings. | ||
|
||
-- Boyuan Yang <073plan@gmail.com> Fri, 19 Jun 2015 11:38:01 +0800 | ||
|
||
wlt-script (0.1-1) unstable; urgency=low | ||
|
||
* Initial release (Closes: #1) | ||
* The #1 does not exist, FYI. | ||
|
||
-- Boyuan Yang <073plan@gmail.com> Wed, 17 Jun 2015 21:11:20 +0800 |
File renamed without changes.
10 changes: 5 additions & 5 deletions
10
wlt-script-0.1-1/debian/control → wlt-script-0.1/debian/control
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
Source: wlt-script-0.1 | ||
Source: wlt-script | ||
Section: utils | ||
Priority: optional | ||
Maintainer: Boyuan Yang <073plan@gmail.com> | ||
Build-Depends: debhelper (>= 9) | ||
Standards-Version: 3.9.5 | ||
Standards-Version: 3.9.6 | ||
Homepage: https://github.com/hosiet/wlt-script | ||
|
||
Package: wlt-scripts-0.1 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Package: wlt-script | ||
Architecture: all | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, curl | ||
Description: Scripts to log into ustc wlt service | ||
As said. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: wlt-script | ||
Upstream-Contact: Boyuan Yang <hosiet@mail.ustc.edu.cn> | ||
Source: https://github.com/hosiet/wlt-script | ||
|
||
Files: * | ||
Copyright: 2014-2015 Boyuan Yang <073plan@gmail.com> | ||
License: GPL-3+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/> | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". | ||
|
||
Files: debian/* | ||
Copyright: 2015 Boyuan Yang <073plan@gmail.com> | ||
License: GPL-3+ | ||
This package is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3 of the License, or | ||
(at your option) any later version. | ||
. | ||
This package is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/> | ||
. | ||
On Debian systems, the complete text of the GNU General | ||
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
wlt-script_0.1-2_all.deb utils optional |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
usr/bin | ||
usr/share/man/man1 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
.\" generated with Ronn/v0.7.3 | ||
.\" http://github.com/rtomayko/ronn/tree/0.7.3 | ||
. | ||
.TH "WLT" "1" "June 2015" "USTC Linux User Group" "User Commands" | ||
.\" Workaround added for Chinese display. | ||
.\" by manpages-zh project | ||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
.\" workaround: for puctuations and line-breaking | ||
.\" copied from groff Japanese l10n file | ||
.ds locale chinese | ||
.class [CJKprepunct] \ | ||
, : ; > } \ | ||
\[u3001] \[u3002] \[uFF0C] \[uFF0E] \[u30FB] \[uFF1A] \[uFF1B] \[uFF1F] \ | ||
\[uFF01] \[uFF09] \[u3015] \[uFF3D] \[uFF5D] \[u300D] \[u300F] \[u3011] \ | ||
\[u3041] \[u3043] \[u3045] \[u3047] \[u3049] \[u3063] \[u3083] \[u3085] \ | ||
\[u3087] \[u30FC] \ | ||
\[u30A1] \[u30A3] \[u30A5] \[u30A7] \[u30A9] \[u30C3] \[u30E3] \[u30E5] \ | ||
\[u30E7] | ||
.class [CJKpostpunct] \ | ||
\[uFF08] \[u3014] \[uFF3B] \[uFF5B] \[u300C] \[u300E] \[u3010] | ||
. | ||
.\" Hiragana, Katakana, and Kanji glyphs. | ||
.class [CJKnormal] \ | ||
\[u3041]-\[u3096] \[u30A0]-\[u30FF] \[u4E00]-\[u9FFF] | ||
. | ||
.cflags 128 \C'[CJKprepunct]' | ||
.cflags 266 \C'[CJKpostpunct]' | ||
.cflags 512 \C'[CJKnormal]' | ||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
.\" workaround: define some portability stuff | ||
.\" http://bugs.debian.org/507673 | ||
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html | ||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
.ie \n(.g .ds Aq (aq | ||
.el .ds Aq | ||
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
. | ||
.SH "NAME" | ||
\fBwlt\fR \- login into ustc\-wlt service | ||
. | ||
.SH "SYNOPSIS" | ||
\fBwlt\fR | ||
.br | ||
\fBwlt\fR \fB\-d\fR | ||
.br | ||
\fBwlt\fR \fB\-h\fR | ||
. | ||
.SH "DESCRIPTION" | ||
\fBWlt\fR is a network service provided by USTC Networking and Information Center\. All students and teachers may own one wlt account to access Internet from within the campus using \fBustcnet\fR\. An attempt to log in on the wlt website \fBhttp://wlt\.ustc\.edu\.cn\fR is required\. | ||
. | ||
.P | ||
\fBwlt(1)\fR is a shell script that can help wlt users to log in \fBwlt\.ustc\.edu\.cn\fR from command line easily\. By default, it is an interactive tool\. You simply need to type the login informations, then the script will finish the rest of the task\. | ||
. | ||
.P | ||
Read the script code for more details\. | ||
. | ||
.SH "EXAMPLES" | ||
Not provided now\. May be added soon\. | ||
. | ||
.SH "BUGS" | ||
The program may misbehave in corner conditions\. So use it at your own risk\. | ||
. | ||
.SH "COPYRIGHT" | ||
Copyright (C) 2015 Boyuan Yang \fIhosiet@mail\.ustc\.edu\.cn\fR | ||
. | ||
.SH "SEE ALSO" | ||
curl(1), wget(1) | ||
. | ||
.P | ||
http://wlt\.ustc\.edu\.cn/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
wlt(1) -- login into ustc-wlt service | ||
============================================= | ||
|
||
## SYNOPSIS | ||
|
||
`wlt` | ||
`wlt` `-d` | ||
`wlt` `-h` | ||
|
||
## DESCRIPTION | ||
|
||
**Wlt** is a network service provided by USTC Networking and Information Center. | ||
All students and teachers may own one wlt account to access Internet from | ||
within the campus using `ustcnet`. An attempt to log in on the wlt website | ||
`http://wlt.ustc.edu.cn` is required. | ||
|
||
**wlt(1)** is a shell script that can help wlt users to log in `wlt.ustc.edu.cn` | ||
from command line easily. By default, it is an interactive tool. You simply | ||
need to type the login informations, then the script will finish the rest of | ||
the task. | ||
|
||
Read the script code for more details. | ||
|
||
## EXAMPLES | ||
|
||
Not provided now. May be added soon. | ||
|
||
## BUGS | ||
|
||
The program may misbehave in corner conditions. So use it at your | ||
own risk. | ||
|
||
## COPYRIGHT | ||
|
||
Copyright (C) 2015 Boyuan Yang <hosiet@mail.ustc.edu.cn> | ||
|
||
## SEE ALSO | ||
|
||
curl(1), wget(1) | ||
|
||
http://wlt.ustc.edu.cn/ |