Skip to content

Commit dcda447

Browse files
committed
1.1 (20210909)
1 parent ae7adcc commit dcda447

File tree

8 files changed

+88
-62
lines changed

8 files changed

+88
-62
lines changed

CHANGELOG

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
*sshdo* - controls which commands may be executed via incoming ssh
44

5+
1.1 (20210909)
6+
7+
- Fix reading gzipped auth.log files in python3 (spotted by github/jbuggie)
8+
- Change #! line from python to python3 when installing if necessary
9+
- Change #! line from python to python3 when testing if necessary
10+
- Add CODE_OF_CONDUCT.md
11+
- Change #! line to python3 by default and change to python if necessary
12+
- Remove install-time dependency on pod2man (replace with dist-time dependency)
13+
- Make manpages more standard
14+
- Add INSTALL instructions for other locations
15+
516
1.0 (20200101)
617

718
- Added support for Python 3.
@@ -12,8 +23,8 @@
1223

1324
# FROM
1425

15-
URL: http://raf.org/sshdo/
16-
GIT: https://github.com/raforg/sshdo/
26+
URL: https://raf.org/sshdo
27+
GIT: https://github.com/raforg/sshdo
1728
Date: 20200101
1829
Author: raf <[email protected]>
1930

COPYING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
*sshdo* - controls which commands may be executed via incoming ssh
44

5-
Copyright (C) 2018, 2020 raf <[email protected]>
5+
Copyright (C) 2018, 2020-2021 raf <[email protected]>
66

77
This program is free software: you can redistribute it and/or modify
88
it under the terms of the GNU General Public License as published by
@@ -19,8 +19,8 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
1919

2020
# FROM
2121

22-
URL: http://raf.org/sshdo/
23-
GIT: https://github.com/raforg/sshdo/
24-
Date: 20200101
22+
URL: https://raf.org/sshdo
23+
GIT: https://github.com/raforg/sshdo
24+
Date: 20210909
2525
Author: raf <[email protected]>
2626

INSTALL

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
To install sshdo:
66

7-
tar xzf sshdo-1.0.tar.gz
8-
cd sshdo-1.0
7+
tar xzf sshdo-1.1.tar.gz
8+
cd sshdo-1.1
99
make check
1010
sudo make install
1111

@@ -35,13 +35,13 @@ To uninstall sshdo:
3535

3636
# REQUIREMENTS
3737

38-
Requires Python 2.6+ or Python 3, Perl's pod2man (for the manual pages),
39-
an sshd server and a syslog-compatible logging system.
38+
Requires Python 2.6+ or Python 3.3+, an SSH server, and a syslog-compatible
39+
logging system.
4040

4141
# FROM
4242

43-
URL: http://raf.org/sshdo/
44-
GIT: https://github.com/raforg/sshdo/
45-
Date: 20200101
43+
URL: https://raf.org/sshdo
44+
GIT: https://github.com/raforg/sshdo
45+
Date: 20210909
4646
Author: raf <[email protected]>
4747

Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# sshdo - controls which commands may be executed via incoming ssh
22
#
3-
# Copyright (C) 2018, 2020 raf <[email protected]>
3+
# Copyright (C) 2018, 2020-2021 raf <[email protected]>
44
#
55
# This program is free software: you can redistribute it and/or modify
66
# it under the terms of the GNU General Public License as published by
@@ -15,11 +15,11 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with this program. If not, see https://www.gnu.org/licenses/.
1717
#
18-
# 20200101 raf <[email protected]>
18+
# 20210909 raf <[email protected]>
1919

2020
NAME := sshdo
21-
VERSION := 1.0
22-
DATE := 20200101
21+
VERSION := 1.1
22+
DATE := 20210909
2323
ID := $(NAME)-$(VERSION)
2424

2525
DESTDIR :=
@@ -112,10 +112,12 @@ dist-html: dist html
112112
mkdir $(NAME)-$(VERSION)-html
113113
mkdir $(NAME)-$(VERSION)-html/manpages
114114
mkdir $(NAME)-$(VERSION)-html/download
115+
mkdir $(NAME)-$(VERSION)-html/sources
115116
cp index.html README.md INSTALL COPYING CHANGELOG $(NAME)-$(VERSION)-html
116117
perl -pi -e 's/TIMESTAMP/'"`date`"'/; s/SHA256 XXX/SHA256 '`shasum -a 256 ../$(NAME)-$(VERSION).tar.gz | awk '{ print $$1 }'`/ $(NAME)-$(VERSION)-html/index.html
117118
cp sshdo.8.html sshdoers.5.html $(NAME)-$(VERSION)-html/manpages
118119
cp ../$(NAME)-$(VERSION).tar.gz $(NAME)-$(VERSION)-html/download
120+
cp sshdo $(NAME)-$(VERSION)-html/sources
119121
tar czf ../$(NAME)-$(VERSION)-html.tar.gz $(NAME)-$(VERSION)-html
120122
tar tvzf ../$(NAME)-$(VERSION)-html.tar.gz
121123
rm -r $(NAME)-$(VERSION)-html

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ to maintain strict least privilege.
4040

4141
# FROM
4242

43-
URL: http://raf.org/sshdo/
44-
GIT: https://github.com/raforg/sshdo/
45-
Date: 20200101
43+
URL: https://raf.org/sshdo
44+
GIT: https://github.com/raforg/sshdo
45+
Date: 20210909
4646
Author: raf <[email protected]>
4747

index.html

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</head>
2222
<body>
2323
<div class="center">
24-
<h1><a href="http://raf.org/sshdo/">sshdo</a></h1>
24+
<h1><a href="https://raf.org/sshdo">sshdo</a></h1>
2525
<p>
2626
<span class="larger">
2727
controls which commands may be executed via incoming ssh
@@ -86,12 +86,12 @@ <h2><a name="what_is_sshdo">What is sshdo?</a></h2>
8686
</p>
8787
<p>
8888
<em>sshdo</em> is freely available under the
89-
<a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</a>.
89+
<a href="https://www.gnu.org/licenses">GNU General Public License Version 2 or later</a>.
9090
</p>
9191
<h2><a name="supported_platforms">Supported Platforms</a></h2>
9292
<p>
93-
<em>sshdo</em> is written in <em>Python</em> (2 or 3) and should run on most
94-
systems. It assumes POSIX and an <em>sshd</em> server and a
93+
<em>sshdo</em> is written in <em>Python</em> (2.6+ or 3.3+) and should run
94+
on most systems. It assumes POSIX and an <em>SSH</em> server and a
9595
<em>syslog</em>-compatible logging system.
9696
</p>
9797
<h2><a name="documentation">Documentation</a></h2>
@@ -122,7 +122,7 @@ <h2><a name="documentation">Documentation</a></h2>
122122
<tr valign="top">
123123
<td align="right"><a href="manpages/sshdo.8.html"><code>sshdo(8)</code></a></td>
124124
<td>-</td>
125-
<td>controls which commands may be executed via incoming ssh</td>
125+
<td>controls which commands may be executed via incoming ssh (<a href="sources/sshdo">source</a>)</td>
126126
</tr>
127127
<tr valign="top">
128128
<td align="right"><a href="manpages/sshdoers.5.html"><code>sshdoers(5)</code></a></td>
@@ -137,16 +137,29 @@ <h2><a name="download">Download</a></h2>
137137
Latest:
138138
</td>
139139
<td align="left">
140-
<a href="download/sshdo-1.0.tar.gz"><code>sshdo-1.0.tar.gz</code></a>
140+
<a href="download/sshdo-1.1.tar.gz"><code>sshdo-1.1.tar.gz</code></a>
141141
</td>
142142
<td align="left">
143-
(<code>SHA256 ce776dd9481bebf14127a58e2c5809f802097bafbf36a1436bf2bf053fc327ab</code>)
143+
(<code>SHA256 04a36696538ddbf188f86c357c1d2eaca21b2a09dd555bae072ed8660400c75a</code>)
144144
</td>
145145
</tr>
146+
<tr>
147+
<td>&nbsp;</td>
148+
<td>&nbsp;</td>
149+
<td>&nbsp;</td>
150+
</tr>
146151
<tr valign="top">
147-
<td align="right">
152+
<td align="right" rowspan="2">
148153
Previous:
149154
</td>
155+
<td align="left">
156+
<a href="download/sshdo-1.0.tar.gz"><code>sshdo-1.0.tar.gz</code></a>
157+
</td>
158+
<td align="left">
159+
(<code>SHA256 ce776dd9481bebf14127a58e2c5809f802097bafbf36a1436bf2bf053fc327ab</code>)
160+
</td>
161+
</tr>
162+
<tr valign="top">
150163
<td align="left">
151164
<a href="download/sshdo-0.1.tar.gz"><code>sshdo-0.1.tar.gz</code></a>
152165
</td>
@@ -168,8 +181,8 @@ <h2><a name="download">Download</a></h2>
168181
TIMESTAMP
169182
</div>
170183
<div class="right">
171-
<a href="http://validator.w3.org/check?url=http://raf.org/sshdo/">v</a>
172-
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://raf.org/sshdo/">v</a>
184+
<a href="https://validator.w3.org/check?url=https://raf.org/sshdo">v</a>
185+
<a href="https://jigsaw.w3.org/css-validator/validator?uri=https://raf.org/sshdo">v</a>
173186
</div>
174187
</body>
175188
</html>

0 commit comments

Comments
 (0)