Compare commits
8
Commits
70e929893d
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35427ce743
|
||
|
|
bdaa2c48df
|
||
|
|
b4a9d921be
|
||
|
|
0aae3a30cc
|
||
|
|
1606d4d912
|
||
|
|
e78793ff67
|
||
|
|
28bb73792d
|
||
|
|
e00a00dd7d
|
@@ -0,0 +1,3 @@
|
|||||||
|
# Ignore BPM archives and signatures
|
||||||
|
*.bpm
|
||||||
|
*.bpm.sig
|
||||||
+5
-3
@@ -1,9 +1,11 @@
|
|||||||
name: cups
|
name: cups
|
||||||
description: An open-source printing system
|
description: An open-source printing system
|
||||||
version: 2.4.15
|
version: 2.4.19
|
||||||
revision: 4
|
revision: 3
|
||||||
url: https://openprinting.github.io/cups/
|
url: https://openprinting.github.io/cups/
|
||||||
license: Apache2 with LLVM-exception and BSD-3-Clause and Zlib and BSD-2-Clause
|
license: Apache2 with LLVM-exception and BSD-3-Clause and Zlib and BSD-2-Clause
|
||||||
|
maintainers:
|
||||||
|
- [email protected]
|
||||||
architecture: any
|
architecture: any
|
||||||
type: source
|
type: source
|
||||||
make_depends:
|
make_depends:
|
||||||
@@ -20,7 +22,7 @@ downloads:
|
|||||||
- url: https://github.com/OpenPrinting/cups/releases/download/v${BPM_PKG_VERSION}/cups-${BPM_PKG_VERSION}-source.tar.gz
|
- url: https://github.com/OpenPrinting/cups/releases/download/v${BPM_PKG_VERSION}/cups-${BPM_PKG_VERSION}-source.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 1
|
extract_strip_components: 1
|
||||||
checksum: eff0bbd48ff1abcbb8e46e28e85aefaffa391a1d9c4d8dc92ab3822a13008d7f
|
checksum: 820984b12a67f98705785aae2dd1347fe0ac097828001d4583ff64574aed6389
|
||||||
split_packages:
|
split_packages:
|
||||||
- name: cups
|
- name: cups
|
||||||
keep:
|
keep:
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
# This is the recipe.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
@@ -41,8 +41,10 @@ package_cups() {
|
|||||||
# Create default cups client config
|
# Create default cups client config
|
||||||
echo "ServerName /run/cups/cups.sock" | install -Dm644 -g 209 /dev/stdin "$BPM_OUTPUT"/etc/cups/client.conf
|
echo "ServerName /run/cups/cups.sock" | install -Dm644 -g 209 /dev/stdin "$BPM_OUTPUT"/etc/cups/client.conf
|
||||||
|
|
||||||
# Install sysusesrs
|
# Install sysusesrs and set user and group in config
|
||||||
install -Dm644 "$BPM_WORKDIR"/sysusers "$BPM_OUTPUT"/usr/lib/sysusers.d/cups.conf
|
install -Dm644 "$BPM_WORKDIR"/sysusers "$BPM_OUTPUT"/usr/lib/sysusers.d/cups.conf
|
||||||
|
sed -i "s/#User 209/User 209/" "$BPM_OUTPUT"/etc/cups/cups-files.conf{,.default}
|
||||||
|
sed -i "s/#Group 209/Group 209/" "$BPM_OUTPUT"/etc/cups/cups-files.conf{,.default}
|
||||||
|
|
||||||
# Install pam configuration file
|
# Install pam configuration file
|
||||||
install -Dm644 "$BPM_WORKDIR"/cups-pam "$BPM_OUTPUT"/etc/pam.d/cups
|
install -Dm644 "$BPM_WORKDIR"/cups-pam "$BPM_OUTPUT"/etc/pam.d/cups
|
||||||
@@ -1 +1,2 @@
|
|||||||
u cups 209 "Cups helper user" /var/spool/cups /bin/false
|
u cups 209 "Cups helper user" /var/spool/cups /bin/false
|
||||||
|
m cups lpadmin
|
||||||
|
|||||||
Reference in New Issue
Block a user