cups rebuild

This commit is contained in:
Rmys
2022-07-05 16:15:32 +03:00
committed by ayhanyalcinsoy
parent 28e1d18e97
commit 6cb5df2ab3
2 changed files with 22 additions and 8 deletions
+7 -8
View File
@@ -9,6 +9,8 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
Libdir = "/usr/lib32" if get.buildTYPE() == "emul32" else "/usr/lib"
def setup(): def setup():
#pisitools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1") #pisitools.flags.add("-fstack-protector-all", "-DLDAP_DEPRECATED=1")
pisitools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )", " -Wl,--as-needed\\1") pisitools.dosed("config-scripts/cups-sharedlibs.m4", "( -shared )", " -Wl,--as-needed\\1")
@@ -27,7 +29,6 @@ def setup():
--with-cupsd-file-perm=0755 \ --with-cupsd-file-perm=0755 \
--with-log-file-perm=0600 \ --with-log-file-perm=0600 \
--enable-acl \ --enable-acl \
--enable-ssl=yes \
--enable-libpaper \ --enable-libpaper \
--enable-debug \ --enable-debug \
--enable-gssapi \ --enable-gssapi \
@@ -35,19 +36,18 @@ def setup():
--enable-pam=yes \ --enable-pam=yes \
--enable-relro \ --enable-relro \
--enable-browsing \ --enable-browsing \
--enable-threads \
--enable-raw-printing \ --enable-raw-printing \
--with-tls=no \ --with-tls=gnutls \
--disable-launchd \
--disable-libusb \ --disable-libusb \
--with-rcdir=no \ --with-rcdir=no \
--libdir=/usr/lib \ --libdir=%s \
--with-pkgconfpath=%s/pkgconfig \
--with-logdir=/var/log/cups \ --with-logdir=/var/log/cups \
KRB5CONFIG=/usr/bin/krb5-config \ KRB5CONFIG=/usr/bin/krb5-config \
--localstatedir=/var \ --localstatedir=/var \
--with-rundir=/run/cups \ --with-rundir=/run/cups \
--with-xinetd=/etc/xinetd.d \ --with-xinetd=/etc/xinetd.d \
' % get.CFLAGS() ' % (get.CFLAGS(), Libdir, Libdir)
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
options += ' \ options += ' \
@@ -57,8 +57,7 @@ def setup():
--disable-gssapi \ --disable-gssapi \
--disable-dbus \ --disable-dbus \
--bindir=/usr/bin32 \ --bindir=/usr/bin32 \
--sbindir=/usr/sbin32 \ --sbindir=/usr/sbin32'
--libdir=/usr/lib32'
else: else:
options += " --with-dnssd=yes" options += " --with-dnssd=yes"
+15
View File
@@ -18,6 +18,7 @@
<Dependency>acl-devel</Dependency> <Dependency>acl-devel</Dependency>
<Dependency>pam-devel</Dependency> <Dependency>pam-devel</Dependency>
<Dependency>dbus-devel</Dependency> <Dependency>dbus-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>libpcre-devel</Dependency> <Dependency>libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>python-devel</Dependency> <Dependency>python-devel</Dependency>
@@ -75,6 +76,7 @@
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>libpaper</Dependency> <Dependency>libpaper</Dependency>
<Dependency>avahi</Dependency> <Dependency>avahi</Dependency>
<Dependency>gnutls</Dependency>
<Dependency>e2fsprogs</Dependency> <Dependency>e2fsprogs</Dependency>
<Dependency>avahi-libs</Dependency> <Dependency>avahi-libs</Dependency>
<Dependency>mit-kerberos</Dependency> <Dependency>mit-kerberos</Dependency>
@@ -118,11 +120,15 @@
<Name>cups-devel</Name> <Name>cups-devel</Name>
<Summary>Development files for cups</Summary> <Summary>Development files for cups</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>avahi-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency release="current">cups</Dependency> <Dependency release="current">cups</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="executable">/usr/bin/cups-config</Path> <Path fileType="executable">/usr/bin/cups-config</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/lib32/pkgconfig</Path>
</Files> </Files>
</Package> </Package>
@@ -133,12 +139,14 @@
<BuildType>emul32</BuildType> <BuildType>emul32</BuildType>
<BuildDependencies> <BuildDependencies>
<Dependency>zlib-32bit</Dependency> <Dependency>zlib-32bit</Dependency>
<Dependency>gnutls-32bit</Dependency>
<Dependency>openssl-32bit</Dependency> <Dependency>openssl-32bit</Dependency>
</BuildDependencies> </BuildDependencies>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>zlib-32bit</Dependency> <Dependency>zlib-32bit</Dependency>
<Dependency>openssl-32bit</Dependency> <Dependency>openssl-32bit</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>gnutls-32bit</Dependency>
<Dependency release="current">cups</Dependency> <Dependency release="current">cups</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
@@ -148,6 +156,13 @@
</Package> </Package>
<History> <History>
<Update release="21">
<Date>2022-07-05</Date>
<Version>2.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="20"> <Update release="20">
<Date>2022-05-26</Date> <Date>2022-05-26</Date>
<Version>2.4.2</Version> <Version>2.4.2</Version>