Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
cups: fix unwanted chgrp build
- fixed SRCURL

- fix install of later removed folder which implies chgrp

```
chgrp: changing group of 'var/cache/cups/rss': Operation not permitted
```
  • Loading branch information
wwwutz committed Nov 1, 2021
1 parent 7e7d07b commit 56c3f75
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions cups.be0
@@ -1,10 +1,12 @@
#!/usr/bin/env beesh

# BEE_VERSION cups-2.2.11-0
# BEE_VERSION cups-2.2.11-1

SRCURL[0]="https://github.com/apple/cups/releases/download/v${PKGVERSION}/cups-${PKGVERSION}-source.tar.gz"
# SRCURL[0]="https://github.com/apple/cups/releases/download/v${PKGVERSION}/cups-${PKGVERSION}-source.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/7afbbcd2497e7d742583c492f6de40cd/cups-2.2.11-source.tar.gz"

# PATCHURL+=()
# fix install -g which rersults in "var/cache/cups/rss': Operation not permitted"
PATCHURL+=("https://beehive.molgen.mpg.de/85482e86fb26e092f2757378c030196e/cups-2211-remove-chgrp-install.patch")

build_in_sourcedir

Expand Down Expand Up @@ -35,10 +37,6 @@ mee_configure() {

mee_install() {
bee_install BUILDROOT=${D}
}
## by default this may be 'make install DESTDIR="${D}"'

mee_install_post() {

start_cmd sed -i 's/pam_unknown.so/pam_unix.so/;s/nodelay/shadow nodelay/' \
${D}/etc/pam.d/cups
Expand Down

0 comments on commit 56c3f75

Please sign in to comment.