cups: fix configure options, make gnutls optional

This commit is contained in:
Juergen Daubert 2021-12-11 16:23:26 +01:00
parent 19cbe59955
commit 8801053972
3 changed files with 8 additions and 7 deletions

View File

@ -53,9 +53,7 @@ drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cups/
drwxr-xr-x root/root usr/lib/cups/backend/
lrwxrwxrwx root/root usr/lib/cups/backend/http -> ipp
lrwxrwxrwx root/root usr/lib/cups/backend/https -> ipp
-rwxr--r-- root/root usr/lib/cups/backend/ipp
lrwxrwxrwx root/root usr/lib/cups/backend/ipps -> ipp
-rwxr--r-- root/root usr/lib/cups/backend/lpd
-rwxr-xr-x root/root usr/lib/cups/backend/snmp
-rwxr-xr-x root/root usr/lib/cups/backend/socket

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/f3RqDWVal0L40DP+/fSYQmKA7Wx6i8TZ+ZtD+/8JU5RtPND7kYhPINmMCF5hsLjZBQN52AOkS/5LV+eT2XZagU=
SHA256 (Pkgfile) = 8f99336763acd3bfa9337c86736c5147f84b85c7583dd7969ee481f7adae9311
SHA256 (.footprint) = 2848a128992f7a6176a9c38c9e1b75f6e53cd86ff87774a07cb3c5d32114fef1
RWSE3ohX2g5d/UpgRVqbBtZhff7raamquK6vrFFla83E1HchXTOivHc4NNoq6uJuTQNkNjl+cv9Vtj+k4cfLU3RMv9ngTxDMuww=
SHA256 (Pkgfile) = e19c8bd25083a0a1b010d854c57f0a7153e93e7922d3ad5b79ad3b84c3be3df4
SHA256 (.footprint) = fb0031a0d9637c7941d6940b3fb81acdcd945ad53c4ca2118bc4381e7998a900
SHA256 (cups-2.4.0-source.tar.gz) = 9abecec128ca6847c5bb2d3e3d30c87b782c0697b9acf284d16fa38f80a3a6de
SHA256 (cups.rc) = 61a1deceebcee0437e5c3f987621abf24642b6517961336ed4f26384ddab5639
SHA256 (cups.pam) = 46b6b6e42e77c82435c0680405a45c66a37ec3d727af6aa6f036dd1d60215479

View File

@ -2,6 +2,7 @@
# URL: https://openprinting.github.io/cups/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: acl libusb zlib linux-pam
# Optional: dbus gnutls
name=cups
version=2.4.0
@ -12,8 +13,10 @@ source=(https://github.com/OpenPrinting/cups/releases/download/v$version/$name-$
build() {
cd $name-$version
prt-get isinst gnutls || PKGMK_CUPS+=' --without-tls'
CC=cc CXX=c++ \
./configure \
./configure $PKGMK_CUPS \
--prefix=/usr \
--sysconfdir=/etc \
--libdir=/usr/lib \
@ -26,7 +29,7 @@ build() {
--without-rcdir \
--with-optim="$CFLAGS" \
--enable-acl \
--disable-{gnutls,gssapi,systemd}
--without-systemd
make
make BUILDROOT=$PKG install