Skip to content

Commit 9621a93

Browse files
committedDec 31, 2020
Removed unnecessary software, now a repository
1 parent 779be28 commit 9621a93

9 files changed

+45
-13
lines changed
 

‎LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Nicholas Carr
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

‎README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Nicholas' Home Assistant Addon Repository
2+
3+
## CUPS Addon
4+
5+
A CUPS server with a variety of included drivers, USB support, support for the Home Assistant installation's TLS certificate, and mDNS broadcasting enabled.
6+
7+
Logins are disabled from the local network, but the web UI from within Home Assistant is automatically authenticated
8+
9+
cupsd.conf and Dockerfile modified from https://github.com/lemariva/wifi-cups-server

‎Dockerfile ‎cups/Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ ENV LANG C.UTF-8
77

88
RUN apt-get update \
99
&& apt-get install -y --no-install-recommends \
10-
vim \
11-
locales \
12-
whois \
10+
cups \
1311
avahi-daemon \
14-
cups-bsd \
1512
printer-driver-all \
1613
printer-driver-gutenprint \
1714
hpijs-ppds \

‎build.json ‎cups/build.json

File renamed without changes.

‎config.json ‎cups/config.json

File renamed without changes.

‎rootfs/run.sh ‎cups/rootfs/run.sh

File renamed without changes.

‎rootfs/usr/share/cupsd.conf.tempio ‎cups/rootfs/usr/share/cupsd.conf.tempio

+9-9
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ WebInterface Yes
4444
AuthType Default
4545
Require user @SYSTEM
4646
Order allow,deny
47-
Allow 172.30.32.1/255.255.254.0
47+
Allow 172.30.32.2
4848
Satisfy any
4949
</Location>
5050

@@ -64,7 +64,7 @@ WebInterface Yes
6464
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
6565
Require user @OWNER @SYSTEM
6666
Order allow,deny
67-
Allow 172.30.32.1/255.255.254.0
67+
Allow 172.30.32.2
6868
Satisfy any
6969
</Limit>
7070

@@ -73,7 +73,7 @@ WebInterface Yes
7373
AuthType Default
7474
Require user @SYSTEM
7575
Order allow,deny
76-
Allow 172.30.32.1/255.255.254.0
76+
Allow 172.30.32.2
7777
Satisfy any
7878
</Limit>
7979

@@ -82,15 +82,15 @@ WebInterface Yes
8282
AuthType Default
8383
Require user @SYSTEM
8484
Order allow,deny
85-
Allow 172.30.32.1/255.255.254.0
85+
Allow 172.30.32.2
8686
Satisfy any
8787
</Limit>
8888

8989
# Only the owner or an administrator can cancel or authenticate a job...
9090
<Limit Cancel-Job CUPS-Authenticate-Job>
9191
Require user @OWNER @SYSTEM
9292
Order allow,deny
93-
Allow 172.30.32.1/255.255.254.0
93+
Allow 172.30.32.2
9494
Satisfy any
9595
</Limit>
9696

@@ -117,7 +117,7 @@ WebInterface Yes
117117
AuthType Default
118118
Require user @OWNER @SYSTEM
119119
Order allow,deny
120-
Allow 172.30.32.1/255.255.254.0
120+
Allow 172.30.32.2
121121
Satisfy any
122122
</Limit>
123123

@@ -126,7 +126,7 @@ WebInterface Yes
126126
AuthType Default
127127
Require user @SYSTEM
128128
Order allow,deny
129-
Allow 172.30.32.1/255.255.254.0
129+
Allow 172.30.32.2
130130
Satisfy any
131131
</Limit>
132132

@@ -135,7 +135,7 @@ WebInterface Yes
135135
AuthType Default
136136
Require user @SYSTEM
137137
Order allow,deny
138-
Allow 172.30.32.1/255.255.254.0
138+
Allow 172.30.32.2
139139
Satisfy any
140140
</Limit>
141141

@@ -144,7 +144,7 @@ WebInterface Yes
144144
AuthType Default
145145
Require user @OWNER @SYSTEM
146146
Order allow,deny
147-
Allow 172.30.32.1/255.255.254.0
147+
Allow 172.30.32.2
148148
Satisfy any
149149
</Limit>
150150

‎repository.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"name": "Nicholas' Addon Repository",
3+
"url": "https://github.com/ncarr/addon-repository",
4+
"maintainer": "Nicholas Carr"
5+
}

0 commit comments

Comments
 (0)
Please sign in to comment.