parent
3179bb2e40
commit
ce860229c3
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=apparmor
|
||||
pkgver=3.1.6
|
||||
pkgrel=02
|
||||
pkgrel=03
|
||||
pkgdesc="Mandatory Access Control (MAC) using Linux Security Module (LSM) w/o systemd"
|
||||
url="https://gitlab.com/apparmor/apparmor"
|
||||
depends=(audit bash gcc-libs glibc pam python)
|
||||
|
@ -49,18 +49,17 @@ build() {
|
|||
--without-systemd
|
||||
)
|
||||
|
||||
cd "${pkgname}-${pkgver}"
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
# export required perl executable locations
|
||||
export MAKEFLAGS+=" POD2MAN=${_core_perl}/pod2man"
|
||||
export MAKEFLAGS+=" POD2HTML=${_core_perl}/pod2html"
|
||||
export MAKEFLAGS+=" PODCHECKER=${_core_perl}/podchecker"
|
||||
export MAKEFLAGS+=" PROVE=${_core_perl}/prove"
|
||||
export MAKEFLAGS+=" POD2MAN=$_core_perl/pod2man"
|
||||
export MAKEFLAGS+=" POD2HTML=$_core_perl/pod2html"
|
||||
export MAKEFLAGS+=" PODCHECKER=$_core_perl/podchecker"
|
||||
export MAKEFLAGS+=" PROVE=$_core_perl/prove"
|
||||
(
|
||||
cd "libraries/libapparmor/"
|
||||
cd libraries/libapparmor/
|
||||
./configure "${configure_options[@]}"
|
||||
|
||||
make
|
||||
make
|
||||
)
|
||||
make -C binutils
|
||||
make -C parser
|
||||
|
@ -73,11 +72,11 @@ build() {
|
|||
# copy to test location as some tests render the resulting python bytecode
|
||||
# unreproducible: https://gitlab.com/apparmor/apparmor/-/issues/184
|
||||
cd ..
|
||||
cp -av "${pkgname}-${pkgver}" "${pkgname}-${pkgver}-test"
|
||||
cp -av $pkgname-$pkgver $pkgname-$pkgver-test
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$pkgname-$pkgver-test"
|
||||
cd $pkgname-$pkgver-test
|
||||
echo "INFO: Running check: libraries/libapparmor"
|
||||
make -C libraries/libapparmor check
|
||||
echo "INFO: Running check binutils"
|
||||
|
@ -114,7 +113,7 @@ package() {
|
|||
SBINDIR="${pkgdir}/usr/bin" \
|
||||
USR_SBINDIR="${pkgdir}/usr/bin" \
|
||||
APPARMOR_BIN_PREFIX="${pkgdir}/usr/lib/apparmor" \
|
||||
# install
|
||||
install
|
||||
make -C profiles DESTDIR="${pkgdir}" install
|
||||
make -C utils DESTDIR="${pkgdir}" \
|
||||
SBINDIR="${pkgdir}/usr/bin" \
|
||||
|
@ -132,16 +131,15 @@ package() {
|
|||
rm -rv "${pkgdir}"/usr/lib/perl5/*/core_perl
|
||||
# move ruby bindings to vendor_ruby:
|
||||
# https://gitlab.com/apparmor/apparmor/issues/35
|
||||
mv -v "${pkgdir}/usr/lib/ruby/"{site,vendor}_ruby
|
||||
mv -v "$pkgdir/usr/lib/ruby/"{site,vendor}_ruby
|
||||
# adding files below /etc/apparmor.d to backup array
|
||||
cd "${pkgdir}"
|
||||
cd "$pkgdir"
|
||||
# trick extract_function_variable() in makepkg into not detecting the
|
||||
# backup array modification and adding remaining configuration files
|
||||
[[ /usr/bin/true ]] && backup=( ${backup[@]} $(find "etc/${pkgname}.d/" -type f | LC_ALL=C sort) )
|
||||
rm -rf $pkgdir/usr/lib/systemd
|
||||
rm -rf $pkgdir/etc/apparmor.d/abstractions/nss-systemd
|
||||
rm -rf $pkgdir/etc/apparmor.d/abstractions/libpam-systemd
|
||||
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
@ -155,6 +153,4 @@ validpgpkeys=('3ECDCBA5FB34D254961CC53F6689E64E3D3664BB') # AppArmor Development
|
|||
sha256sums=(d5d699fd43faffd924dd51bfb5781a5a7cbabb55c1c9cb4abfb8c2840a9e8fcd # apparmor-3.1.6.tar.gz
|
||||
fd68b2a19c3fbbbbe8607fed08521d7ad7b5b84389f7926e6a2e6356a1408c0a) # apparmor-3.1.6.tar.gz.asc
|
||||
|
||||
## 2c057f87d1646302c4effab32b694cc04c62312d4fd9bab55a83b77d628b4f91 apparmor-3.1.6-02-x86_64.pkg.tar.lz
|
||||
|
||||
|
||||
## 419699b1500c2edd0cbd26f84b4558af15b34c3eb239bf930b6540118ba8fe95 apparmor-3.1.6-03-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -6,45 +6,29 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=cups-filters
|
||||
pkgver=1.28.17
|
||||
pkgrel=04
|
||||
pkgver=2.0.0
|
||||
pkgrel=01
|
||||
pkgdesc="OpenPrinting CUPS Filters w/o systemd"
|
||||
url="https://wiki.linuxfoundation.org/openprinting/cups-filters"
|
||||
checkdepends=('ttf-dejavu') # ttf-dejavu for make check
|
||||
depends=('lcms2' 'poppler' 'qpdf' 'libcups>=2.2.4-02' 'libexif')
|
||||
makedepends=('ghostscript' 'python' 'mupdf-tools' 'liblouis')
|
||||
optdepends=('ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
|
||||
'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'antiword: to convert MS Word documents'
|
||||
'docx2txt: to convert Microsoft OOXML text from DOCX files'
|
||||
'imagemagick: for Braille embosser support'
|
||||
'liblouis: for Braille embosser support')
|
||||
backup=(etc/cups/cups-browsed.conf)
|
||||
source=(#https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
|
||||
https://github.com/OpenPrinting/cups-filters/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
|
||||
cups-filters-CVE-2023-24805.patch::https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89.patch)
|
||||
depends=('libcups' 'libppd'
|
||||
'libcupsfilters' 'glibc')
|
||||
makedepends=('ghostscript' 'mupdf-tools')
|
||||
source=(https://github.com/OpenPrinting/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname"-$pkgver
|
||||
patch -Np1 < ../cups-filters-CVE-2023-24805.patch
|
||||
}
|
||||
#prepare() {
|
||||
# cd "$pkgname"-$pkgver
|
||||
# patch -Np1 < ../cups-filters-CVE-2023-24805.patch
|
||||
#}
|
||||
|
||||
build() {
|
||||
# qpdf 11.3.0 buildfix - https://github.com/OpenPrinting/cups-filters/issues/512
|
||||
CXXFLAGS+=" -std=c++17"
|
||||
|
||||
cd "$pkgname"-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--with-rcdir=no \
|
||||
--disable-avahi \
|
||||
--with-browseremoteprotocols=DNSSD,CUPS \
|
||||
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
--disable-avahi
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -56,13 +40,10 @@ check() {
|
|||
package() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
# use cups group from cups pkg FS#56818
|
||||
chgrp -R 209 "${pkgdir}"/etc/cups
|
||||
|
||||
# license
|
||||
mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
install -m644 "${srcdir}"/${pkgname}-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||
install -m644 "${srcdir}"/${pkgname}-${pkgver}/{COPYING,NOTICE} "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
@ -71,7 +52,6 @@ arch=(x86_64)
|
|||
|
||||
license=('custom')
|
||||
|
||||
sha256sums=(270a3752a960368aa99d431fb5d34f4039b2ac943c576d840612d1d8185c9bb9 # cups-filters-1.28.17.tar.xz
|
||||
c79f9bb558ce02117c09c461d760844d5de79e7f753a48971bb5f9aed1a9f913) # cups-filters-CVE-2023-24805.patch
|
||||
sha256sums=(b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8) # cups-filters-2.0.0.tar.xz
|
||||
|
||||
## 4b7a37dfc04026b738136913ed6a15ed715c2cad2ffd664911cd287cb185fe50 cups-filters-1.28.17-04-x86_64.pkg.tar.lz
|
||||
## c64bb777ffc63e2005006a3814f005103fd2cd8b4ed3f6d0a288780be1027ad8 cups-filters-2.0.0-01-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -1,49 +1,25 @@
|
|||
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
||||
|
||||
pkgname=cups-filters
|
||||
pkgver=1.28.17
|
||||
pkgrel=4
|
||||
pkgver=2.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="OpenPrinting CUPS Filters"
|
||||
arch=('x86_64')
|
||||
url="https://wiki.linuxfoundation.org/openprinting/cups-filters"
|
||||
license=('custom')
|
||||
depends=('lcms2' 'poppler' 'qpdf' 'libcups>=2.2.6-2' 'systemd' 'libexif')
|
||||
makedepends=('ghostscript' 'python' 'mupdf-tools' 'liblouis')
|
||||
checkdepends=('ttf-dejavu') # ttf-dejavu for make check
|
||||
optdepends=('ghostscript: for non-PostScript printers to print with CUPS to convert PostScript to raster images'
|
||||
'foomatic-db: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'foomatic-db-engine: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'foomatic-db-nonfree: drivers use Ghostscript to convert PostScript to a printable form directly'
|
||||
'imagemagick: for Braille embosser support'
|
||||
'liblouis: for Braille embosser support'
|
||||
'antiword: to convert MS Word documents for Braille embosser support'
|
||||
'docx2txt: to convert Microsoft OOXML text from DOCX files for Braille embosser support')
|
||||
backup=(etc/cups/cups-browsed.conf)
|
||||
source=(#https://www.openprinting.org/download/cups-filters/$pkgname-$pkgver.tar.xz
|
||||
https://github.com/OpenPrinting/cups-filters/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
|
||||
cups-filters-CVE-2023-24805.patch::https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89.patch)
|
||||
sha256sums=('270a3752a960368aa99d431fb5d34f4039b2ac943c576d840612d1d8185c9bb9'
|
||||
'c79f9bb558ce02117c09c461d760844d5de79e7f753a48971bb5f9aed1a9f913')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname"-$pkgver
|
||||
patch -Np1 < ../cups-filters-CVE-2023-24805.patch
|
||||
}
|
||||
depends=('libcups' 'libppd'
|
||||
'libcupsfilters' 'glibc')
|
||||
makedepends=('ghostscript' 'mupdf-tools')
|
||||
source=(https://github.com/OpenPrinting/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
|
||||
sha256sums=('b5152e3dd148ed73835827ac2f219df7cf5808dbf9dbaec2aa0127b44de800d8')
|
||||
|
||||
build() {
|
||||
# qpdf 11.3.0 buildfix - https://github.com/OpenPrinting/cups-filters/issues/512
|
||||
CXXFLAGS+=" -std=c++17"
|
||||
|
||||
cd "$pkgname"-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--sbindir=/usr/bin \
|
||||
--localstatedir=/var \
|
||||
--with-rcdir=no \
|
||||
--enable-avahi \
|
||||
--with-browseremoteprotocols=DNSSD,CUPS \
|
||||
--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
--enable-avahi
|
||||
make
|
||||
}
|
||||
|
||||
|
@ -55,16 +31,8 @@ check() {
|
|||
package() {
|
||||
cd "$pkgname"-$pkgver
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
# add upstream systemd support file
|
||||
install -Dm644 utils/cups-browsed.service "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
|
||||
sed -i "s|/usr/sbin/cups-browsed|/usr/bin/cups-browsed|" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
|
||||
#sed -i "s|cups.service|org.cups.cupsd.service|g" "${pkgdir}"/usr/lib/systemd/system/cups-browsed.service
|
||||
|
||||
# use cups group from cups pkg FS#56818
|
||||
chgrp -R 209 "${pkgdir}"/etc/cups
|
||||
|
||||
# license
|
||||
mkdir -p "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
install -m644 "${srcdir}"/${pkgname}-${pkgver}/COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||
install -m644 "${srcdir}"/${pkgname}-${pkgver}/{COPYING,NOTICE} "${pkgdir}"/usr/share/licenses/${pkgname}/
|
||||
}
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
mupdf-tools
|
||||
lcms2
|
||||
poppler
|
||||
qpdf
|
||||
liblouis
|
||||
libcups
|
||||
libppd
|
||||
libcupsfilters
|
||||
ghostscript
|
||||
ttf-dejavu
|
||||
python
|
||||
libexif
|
||||
|
||||
mupdf-tools
|
||||
|
||||
|
|
|
@ -0,0 +1,72 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=cups-pdf
|
||||
pkgver=3.0.1
|
||||
pkgrel=07
|
||||
pkgdesc="PDF printer for cups"
|
||||
depends=('cups' 'ghostscript')
|
||||
url="https://www.cups-pdf.de/welcome.shtml"
|
||||
source=(https://www.cups-pdf.de/src/cups-pdf_$pkgver.tar.gz
|
||||
https://www.cups-pdf.de/src/${pkgname}_${pkgver}.tar.gz.md5
|
||||
remove-deprecated-ghostscript-setpdfwrite-operator.diff
|
||||
cups-pdf.install)
|
||||
backup=(etc/cups/cups-pdf.conf)
|
||||
# http://www.cups-pdf.de/src/cups-pdf_3.0.1.tar.gz.md5 - no other checksums
|
||||
install=cups-pdf.install
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
# remove unsupported ghostscript operator - FS#70313
|
||||
patch -Np1 -i ../remove-deprecated-ghostscript-setpdfwrite-operator.diff
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"/src
|
||||
[ -z "$CC" ] && CC=gcc
|
||||
# $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
|
||||
$CC $CFLAGS $LDFLAGS -s cups-pdf.c -o cups-pdf -lcups
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"/src
|
||||
install -D -m700 cups-pdf "$pkgdir"/usr/lib/cups/backend/cups-pdf
|
||||
|
||||
# Install Postscript Color printer
|
||||
cd ../extra
|
||||
install -D -m644 CUPS-PDF_noopt.ppd "$pkgdir"/usr/share/cups/model/CUPS-PDF_noopt.ppd
|
||||
install -D -m644 CUPS-PDF_opt.ppd "$pkgdir"/usr/share/cups/model/CUPS-PDF_opt.ppd
|
||||
|
||||
# Install config file
|
||||
install -D -m644 cups-pdf.conf "$pkgdir"/etc/cups/cups-pdf.conf
|
||||
|
||||
# Install docs
|
||||
install -D -m 644 ../README "$pkgdir"/usr/share/doc/$pkgname/README
|
||||
|
||||
# use cups group from cups pkg FS#57311/FS#56818/FS#57313
|
||||
chgrp -R cups "${pkgdir}"/etc/cups
|
||||
sed -i "s:### Default\: lp:### Default\: cups:" "${pkgdir}"/etc/cups/cups-pdf.conf
|
||||
sed -i "s:#Grp lp:Grp cups:" "${pkgdir}"/etc/cups/cups-pdf.conf
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL2')
|
||||
|
||||
md5sums=(5071bf192b9c6eb5ada4337b6917b939 # cups-pdf_3.0.1.tar.gz
|
||||
SKIP
|
||||
SKIP
|
||||
SKIP)
|
||||
|
||||
sha256sums=(738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531 # cups-pdf_3.0.1.tar.gz
|
||||
dcf43ffd22631b3ccc7d41e3cf2db413c3a4389ebb15d440048e58dd0ab27663 # cups-pdf_3.0.1.tar.gz.md5
|
||||
8429e8329ac8b10dd28bd1f5693cf3b0eb7461a62183440c319430c999ab8cbd # remove-deprecated-ghostscript-setpdfwrite-operator.diff
|
||||
ed677275fcddc448952b7579410e07d19780e352640b35741b6c085909fd3be0) # cups-pdf.install
|
||||
|
||||
## ef29928d5b4e80fdca542107bab22b575d76d1f14e9149c4e9b2bc8871f5af17 cups-pdf-3.0.1-07-x86_64.pkg.tar.lz
|
|
@ -0,0 +1,55 @@
|
|||
# Maintainer: Andreas Radke <andyrtr at archlinux.org>
|
||||
# Contributor: Thomas Baechler <thomas.baechler@rwth-aachen.de>
|
||||
|
||||
pkgname=cups-pdf
|
||||
pkgver=3.0.1
|
||||
pkgrel=7
|
||||
pkgdesc="PDF printer for cups"
|
||||
arch=(x86_64)
|
||||
depends=('cups' 'ghostscript')
|
||||
install=cups-pdf.install
|
||||
url="https://www.cups-pdf.de/welcome.shtml"
|
||||
license=('GPL2')
|
||||
source=(https://www.cups-pdf.de/src/cups-pdf_$pkgver.tar.gz
|
||||
remove-deprecated-ghostscript-setpdfwrite-operator.diff)
|
||||
backup=(etc/cups/cups-pdf.conf)
|
||||
# http://www.cups-pdf.de/src/cups-pdf_3.0.1.tar.gz.md5 - no other checksums
|
||||
md5sums=('5071bf192b9c6eb5ada4337b6917b939'
|
||||
'08eb1f7037ec8c6197437204d533db22')
|
||||
sha256sums=('738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531'
|
||||
'8429e8329ac8b10dd28bd1f5693cf3b0eb7461a62183440c319430c999ab8cbd')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
# remove unsupported ghostscript operator - FS#70313
|
||||
patch -Np1 -i ../remove-deprecated-ghostscript-setpdfwrite-operator.diff
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"/src
|
||||
[ -z "$CC" ] && CC=gcc
|
||||
# $CC $CFLAGS -Wall -o cups-pdf cups-pdf.c
|
||||
$CC $CFLAGS $LDFLAGS -s cups-pdf.c -o cups-pdf -lcups
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"/src
|
||||
install -D -m700 cups-pdf "$pkgdir"/usr/lib/cups/backend/cups-pdf
|
||||
|
||||
# Install Postscript Color printer
|
||||
cd ../extra
|
||||
install -D -m644 CUPS-PDF_noopt.ppd "$pkgdir"/usr/share/cups/model/CUPS-PDF_noopt.ppd
|
||||
install -D -m644 CUPS-PDF_opt.ppd "$pkgdir"/usr/share/cups/model/CUPS-PDF_opt.ppd
|
||||
|
||||
# Install config file
|
||||
install -D -m644 cups-pdf.conf "$pkgdir"/etc/cups/cups-pdf.conf
|
||||
|
||||
# Install docs
|
||||
install -D -m 644 ../README "$pkgdir"/usr/share/doc/$pkgname/README
|
||||
|
||||
# use cups group from cups pkg FS#57311/FS#56818/FS#57313
|
||||
chgrp -R cups "${pkgdir}"/etc/cups
|
||||
sed -i "s:### Default\: lp:### Default\: cups:" "${pkgdir}"/etc/cups/cups-pdf.conf
|
||||
sed -i "s:#Grp lp:Grp cups:" "${pkgdir}"/etc/cups/cups-pdf.conf
|
||||
}
|
||||
62659cf6d80adf083b2c35d97e84aa64cccef85eeb42a1c1ec038669d1782b85 # PKGBUILD
|
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,cups-pdf_*.tar.gz*}
|
|
@ -0,0 +1,16 @@
|
|||
post_install() {
|
||||
cat << "EOF"
|
||||
-------------------------------------------------
|
||||
To use cups-pdf, restart cups and visit the cups
|
||||
web interface at http://localhost:631/
|
||||
|
||||
You can now add a "Virtual Printer (PDF Printer)"
|
||||
and use the Postscript/Generic postscript color
|
||||
printer driver.
|
||||
|
||||
Note that cups-pdf has a configuration
|
||||
file in /etc/cups. The default location for
|
||||
pdf output is /var/spool/cups-pdf/$username.
|
||||
-------------------------------------------------
|
||||
EOF
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
cups
|
||||
ghostscript
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
--- cups-pdf-3.0.1/src/cups-pdf.h 2017-02-24 16:31:00.901661190 +0100
|
||||
+++ cups-pdf-3.0.1/src/cups-pdf.h.new 2021-04-06 17:05:57.553854742 +0200
|
||||
@@ -58,7 +58,7 @@
|
||||
{ "AnonDirName", SEC_CONF|SEC_PPD, { "/var/spool/cups-pdf/ANONYMOUS" } },
|
||||
{ "AnonUser", SEC_CONF|SEC_PPD, { "nobody" } },
|
||||
{ "GhostScript", SEC_CONF|SEC_PPD, { "/usr/bin/gs" } },
|
||||
- { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s" } },
|
||||
+ { "GSCall", SEC_CONF|SEC_PPD, { "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile=\"%s\" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" } },
|
||||
{ "Grp", SEC_CONF|SEC_PPD, { "lp" } },
|
||||
{ "GSTmp", SEC_CONF|SEC_PPD, { "TMPDIR=/var/tmp" } },
|
||||
{ "Log", SEC_CONF|SEC_PPD, { "/var/log/cups" } },
|
||||
--- cups-pdf-3.0.1/extra/cups-pdf.conf 2017-02-24 16:30:18.476524443 +0100
|
||||
+++ cups-pdf-3.0.1/extra/cups-pdf.conf.new 2021-04-06 17:06:26.364602843 +0200
|
||||
@@ -250,9 +250,9 @@
|
||||
### Key: GSCall (config)
|
||||
## command line for calling GhostScript (!!! DO NOT USE NEWLINES !!!)
|
||||
## MacOSX: for using pstopdf set this to %s %s -o %s %s
|
||||
-### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
|
||||
+### Default: %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
|
||||
|
||||
-#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
|
||||
+#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s
|
||||
|
||||
### Key: PDFVer (config, ppd, lptopions)
|
||||
## PDF version to be created - can be "1.5", "1.4", "1.3" or "1.2"
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m2.167s
|
||||
user 0m1.780s
|
||||
sys 0m0.365s
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
pkgbase="cups"
|
||||
pkgname=('libcups' 'cups')
|
||||
pkgver=2.4.7
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
epoch=1
|
||||
url="https://openprinting.github.io/cups/"
|
||||
makedepends=('acl' 'pam' 'gnutls' 'cups-filters' 'colord'
|
||||
|
@ -111,8 +111,9 @@ backup=(etc/cups/cupsd.conf
|
|||
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters'
|
||||
'dbus' 'libpaper' 'hicolor-icon-theme'
|
||||
'glibc' 'gcc-libs' 'gnutls' 'xinetd')
|
||||
optdepends=('libusb: for usb printer backend'
|
||||
'ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections'
|
||||
optdepends=('cups-browsed: to browse the network for remote CUPS queues and IPP network printers'
|
||||
'libusb: for usb printer backend'
|
||||
'ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections'
|
||||
'xdg-utils: xdg .desktop file support'
|
||||
'colord: for ICC color profile support'
|
||||
'logrotate: for logfile rotation support')
|
||||
|
@ -189,6 +190,5 @@ sha256sums=(dd54228dd903526428ce7e37961afaed230ad310788141da75cebaa08362cf6c #
|
|||
3385047b9ac8a7b13aeb8f0ca55d15f793ce7283516db0155fe28a67923c592d # cups-freebind.patch
|
||||
0bf6a75ba1b051771f155d9a5d36b307a6d40c6857d645b250fe93f3fb713474) # guid.patch
|
||||
|
||||
## 2c7fdd134e6a8aa2b016a67b484abf1dba19eff1989c39adcdd2bcbfd1efae38 cups-1:2.4.7-01-x86_64.pkg.tar.lz
|
||||
## 10678681fbe1b834f94c37224ffd368384337dcfb4aae5387a2256292abe7400 libcups-1:2.4.7-01-x86_64.pkg.tar.lz
|
||||
|
||||
## cdfd50a93dd805c2ff29e2a5b8a4892f7b830588dbc34ac2b7350a5c741c87cc cups-1_2.4.7-02-x86_64.pkg.tar.lz
|
||||
## 5ebaf1c7dc3a2975fedf2a11e0c7426bd18bdf10cca4f8b170d69444339216de libcups-1_2.4.7-02-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
pkgbase="cups"
|
||||
pkgname=('libcups' 'cups')
|
||||
pkgver=2.4.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
epoch=1
|
||||
arch=('x86_64')
|
||||
license=('Apache' 'custom')
|
||||
|
@ -119,7 +119,8 @@ backup=(etc/cups/cupsd.conf
|
|||
depends=('acl' 'pam' "libcups>=${pkgver}" 'cups-filters'
|
||||
'dbus' 'systemd' 'systemd-libs' 'libpaper' 'hicolor-icon-theme'
|
||||
'glibc' 'gcc-libs' 'avahi' 'gnutls')
|
||||
optdepends=('libusb: for usb printer backend'
|
||||
optdepends=('cups-browsed: to browse the network for remote CUPS queues and IPP network printers'
|
||||
'libusb: for usb printer backend'
|
||||
'ipp-usb: allows to send HTTP requests via a USB connection on devices without Ethernet or WiFi connections'
|
||||
'xdg-utils: xdg .desktop file support'
|
||||
'colord: for ICC color profile support'
|
||||
|
|
|
@ -7,19 +7,19 @@
|
|||
|
||||
pkgname=firejail
|
||||
pkgver=0.9.72
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc='Linux namespaces sandbox program'
|
||||
arch=('x86_64')
|
||||
url=https://github.com/netblue30/firejail
|
||||
depends=('apparmor')
|
||||
optdepends=('xdg-dbus-proxy: for D-Bus filtering')
|
||||
backup=('etc/apparmor.d/local/firejail-default'
|
||||
'etc/firejail/firecfg.config'
|
||||
'etc/firejail/firejail.config'
|
||||
'etc/firejail/login.users')
|
||||
#install=firejail.install
|
||||
backup=('etc/firejail/login.users'
|
||||
'etc/apparmor.d/local/firejail-default'
|
||||
'etc/firejail/firejail.config'
|
||||
'etc/firejail/firecfg.config')
|
||||
conflicts=('firejail-git')
|
||||
provides=('firejail')
|
||||
source=("$url/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc})
|
||||
|
||||
install=firejail.install
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
./configure --prefix=/usr --enable-apparmor
|
||||
|
@ -31,13 +31,15 @@ package() {
|
|||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
license=('GPL2')
|
||||
arch=(x86_64)
|
||||
|
||||
license=(GPL2)
|
||||
|
||||
validpgpkeys=('F951164995F5C4006A73411E2CCB36ADFC5849A7')
|
||||
|
||||
sha256sums=(82e177c48cfc87f62b088b55efc53ff4612b9740aab5ea35cbf2395e83efe7f4 # firejail-0.9.72.tar.xz
|
||||
112f4cbc6b29dce82b8b8532e717bbd004a8c647b84b3d2e5feb40ea20262aaf) # firejail-0.9.72.tar.xz.asc
|
||||
|
||||
|
||||
## 2c95bcc45dba4b578ee2f013ae3037cef79c41b21230fa904fdba17e2f9e34e5 firejail-0.9.72-02-x86_64.pkg.tar.lz
|
||||
|
|
Loading…
Reference in New Issue