Skip to content

Commit

Permalink
Removed unnecessary software, now a repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ncarr committed Dec 31, 2020
1 parent 779be28 commit 9621a93
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 13 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Nicholas Carr

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Nicholas' Home Assistant Addon Repository

## CUPS Addon

A CUPS server with a variety of included drivers, USB support, support for the Home Assistant installation's TLS certificate, and mDNS broadcasting enabled.

Logins are disabled from the local network, but the web UI from within Home Assistant is automatically authenticated

cupsd.conf and Dockerfile modified from https://github.com/lemariva/wifi-cups-server
5 changes: 1 addition & 4 deletions Dockerfile → cups/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ ENV LANG C.UTF-8

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
vim \
locales \
whois \
cups \
avahi-daemon \
cups-bsd \
printer-driver-all \
printer-driver-gutenprint \
hpijs-ppds \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ WebInterface Yes
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Location>

Expand All @@ -64,7 +64,7 @@ WebInterface Yes
<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>
Require user @OWNER @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand All @@ -73,7 +73,7 @@ WebInterface Yes
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand All @@ -82,15 +82,15 @@ WebInterface Yes
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

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

Expand All @@ -117,7 +117,7 @@ WebInterface Yes
AuthType Default
Require user @OWNER @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand All @@ -126,7 +126,7 @@ WebInterface Yes
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand All @@ -135,7 +135,7 @@ WebInterface Yes
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand All @@ -144,7 +144,7 @@ WebInterface Yes
AuthType Default
Require user @OWNER @SYSTEM
Order allow,deny
Allow 172.30.32.1/255.255.254.0
Allow 172.30.32.2
Satisfy any
</Limit>

Expand Down
5 changes: 5 additions & 0 deletions repository.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Nicholas' Addon Repository",
"url": "https://github.com/ncarr/addon-repository",
"maintainer": "Nicholas Carr"
}

0 comments on commit 9621a93

Please sign in to comment.