summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey D2021-01-31 11:02:54 +0300
committerAlexey D2021-01-31 11:02:54 +0300
commite3f6b58e8fd243a7ee1e79bdf92b83ffe5cc9dae (patch)
treecacc83cd77d227ce932f3916932c1bfbe94e1c14
parentb5bdcbc706f8e9239f24e1e79eb672f6825ade0d (diff)
downloadaur-e3f6b58e8fd243a7ee1e79bdf92b83ffe5cc9dae.tar.gz
version 1:2.3.3op1-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD21
2 files changed, 19 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index baf45ec7987..2b731b01323 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = cups-nosystemd
pkgdesc = The CUPS Printing System - daemon package
- pkgver = 2.3.3
- pkgrel = 2
- url = https://www.cups.org/
+ pkgver = 2.3.3op1
+ pkgrel = 1
+ epoch = 1
+ url = https://github.com/OpenPrinting/cups
install = cups-nosystemd.install
arch = i686
arch = x86_64
@@ -22,7 +23,7 @@ pkgbase = cups-nosystemd
makedepends = libxcrypt
depends = acl
depends = pam
- depends = libcups>=2.3.3
+ depends = libcups>=2.3.3op1
depends = cups-filters
depends = bc
depends = dbus
@@ -33,7 +34,7 @@ pkgbase = cups-nosystemd
optdepends = colord: for ICC color profile support
optdepends = logrotate: for logfile rotation support
optdepends = cups-openrc: cups openrc initscript
- provides = cups=2.3.3
+ provides = cups=2.3.3op1
conflicts = cups
conflicts = cups-eudev
replaces = cups
@@ -46,13 +47,13 @@ pkgbase = cups-nosystemd
backup = etc/cups/subscriptions.conf
backup = etc/logrotate.d/cups
backup = etc/pam.d/cups
- source = https://github.com/apple/cups/releases/download/v2.3.3/cups-2.3.3-source.tar.gz
+ source = https://github.com/OpenPrinting/cups/releases/download/v2.3.3op1/cups-2.3.3op1-source.tar.gz
source = cups
source = cups.logrotate
source = cups.pam
source = cups-no-export-ssllibs.patch
source = cups-1.6.2-statedir.patch
- sha256sums = 261fd948bce8647b6d5cb2a1784f0c24cc52b5c4e827b71d726020bcc502f3ee
+ sha256sums = 5cf7988081d9003f589ba173b37bc2bbf81db43bb94e5e7d3e7d4c0afb0f9bc2
sha256sums = 87cd833e7c07a36298341e35d5ce0534ce68fdf76ce3e9eda697e5455b963d1b
sha256sums = d87fa0f0b5ec677aae34668f260333db17ce303aa1a752cba5f8e72623d9acf9
sha256sums = 57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5
diff --git a/PKGBUILD b/PKGBUILD
index 481d3c6ae3b..53acdc4fd95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname="cups-nosystemd"
-pkgver=2.3.3
-pkgrel=2
+pkgver=2.3.3op1
+pkgrel=1
+epoch=1
pkgdesc="The CUPS Printing System - daemon package"
arch=('i686' 'x86_64')
license=('Apache' 'custom')
-url="https://www.cups.org/"
+url="https://github.com/OpenPrinting/cups"
groups=('eudev-base')
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters' 'bc'
'dbus' 'hicolor-icon-theme' 'libpaper')
@@ -31,13 +32,13 @@ backup=(etc/cups/cupsd.conf
etc/logrotate.d/cups
etc/pam.d/cups)
#etc/xinetd.d/cups-lpd)
-source=(https://github.com/apple/cups/releases/download/v${pkgver}/cups-${pkgver}-source.tar.gz
+source=(https://github.com/OpenPrinting/cups/releases/download/v${pkgver}/cups-${pkgver}-source.tar.gz
cups cups.logrotate cups.pam
# improve build and linking
cups-no-export-ssllibs.patch
cups-1.6.2-statedir.patch
)
-sha256sums=('261fd948bce8647b6d5cb2a1784f0c24cc52b5c4e827b71d726020bcc502f3ee'
+sha256sums=('5cf7988081d9003f589ba173b37bc2bbf81db43bb94e5e7d3e7d4c0afb0f9bc2'
'87cd833e7c07a36298341e35d5ce0534ce68fdf76ce3e9eda697e5455b963d1b'
'd87fa0f0b5ec677aae34668f260333db17ce303aa1a752cba5f8e72623d9acf9'
'57dfd072fd7ef0018c6b0a798367aac1abb5979060ff3f9df22d1048bb71c0d5'
@@ -54,11 +55,6 @@ prepare() {
# move /var/run -> /run for pid file
patch -Np1 -i "$srcdir"/cups-1.6.2-statedir.patch
- # set MaxLogSize to 0 to prevent using cups internal log rotation
- sed -i -e '5i\ ' conf/cupsd.conf.in
- sed -i -e '6i# Disable cups internal logging - use logrotate instead' conf/cupsd.conf.in
- sed -i -e '7iMaxLogSize 0' conf/cupsd.conf.in
-
# Rebuild configure script for not zipping man-pages.
aclocal -I config-scripts
autoconf -I config-scripts
@@ -66,6 +62,10 @@ prepare() {
build() {
cd cups-${pkgver}
+
+ # The build system uses only DSOFLAGS but not LDFLAGS to build some libraries.
+ export DSOFLAGS=${LDFLAGS}
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -77,6 +77,7 @@ build() {
--with-exe-file-perm=0755 \
--with-cups-user=daemon \
--with-cups-group=lp \
+ --with-max-log-size=0 \
--enable-pam=yes \
--enable-raw-printing \
--enable-dbus=yes \