From 482c39c51fa8fff1ec2d5d9a17d4f7f7dd66f31c Mon Sep 17 00:00:00 2001 From: Luis <98406209+lumarogit@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:09:28 +0100 Subject: [PATCH] cups: remove spkgbuild.bk --- main/cups/spkgbuild.bk | 60 ------------------------------------------ 1 file changed, 60 deletions(-) delete mode 100755 main/cups/spkgbuild.bk diff --git a/main/cups/spkgbuild.bk b/main/cups/spkgbuild.bk deleted file mode 100755 index 89d1dbba0..000000000 --- a/main/cups/spkgbuild.bk +++ /dev/null @@ -1,60 +0,0 @@ -# description : Print spooler and associated utilities -# depends : gnutls libusb linux-pam dbus xdg-utils - -name=cups -version=2.4.7 -release=5 -source="https://github.com/OpenPrinting/cups/archive/v$version/$name-$version-source.tar.gz - run.cupsd - rc.cupsd" - -build() { - cd $name-$version - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --libdir=/usr/lib \ - --localstatedir=/var \ - --with-rundir=/run/cups \ - --with-docdir=/usr/share/cups/doc \ - --with-logdir=/var/log/cups \ - --with-system-groups=lpadmin \ - --with-languages="" \ - --without-rcdir \ - --with-optim="$CFLAGS" \ - --with-tls=gnutls \ - --enable-acl \ - --without-systemd - make - make BUILDROOT=$PKG install - - # Linux PAM Configuration - mkdir -p $PKG/etc/pam.d -cat > /etc/pam.d/cups << "EOF" -# Begin /etc/pam.d/cups - -auth include system-auth -account include system-account -session include system-session - -# End /etc/pam.d/cups -EOF - # cleanup - rm -fr $PKG/var/run - rm -fr $PKG/tmp - chmod 0755 $PKG/var/cache - chmod 0755 $PKG/var/spool - chmod -R +w $PKG - - _runit() { - # runit service - install -Dm755 $SRC/run.cupsd $PKG/etc/sv/cupsd/run - ln -s /run/runit/supervise.cupsd $PKG/etc/sv/cupsd/supervise - } - _sysv() { - # rc service - install -Dm755 $SRC/rc.cupsd $PKG/etc/rc.d/cupsd - } - scratch isinstalled runit && _runit || _sysv -}