diff options
author | Timo Gurr <tgurr@gentoo.org> | 2007-10-10 21:07:18 +0000 |
---|---|---|
committer | Timo Gurr <tgurr@gentoo.org> | 2007-10-10 21:07:18 +0000 |
commit | 41e289137d3b5d3e7460458cbe77d8b4000b594a (patch) | |
tree | c6508bdb2fc55436c1a7849df7ea4c063b1e6cb5 /net-print/cups/files | |
parent | bump to 1.5.6 (from overlay) (diff) | |
download | gentoo-2-41e289137d3b5d3e7460458cbe77d8b4000b594a.tar.gz gentoo-2-41e289137d3b5d3e7460458cbe77d8b4000b594a.tar.bz2 gentoo-2-41e289137d3b5d3e7460458cbe77d8b4000b594a.zip |
Add cups-1.3.3.ebuild, fixes bug #188993 and also has a patch applied for bug #192294.
(Portage version: 2.1.3.12)
Diffstat (limited to 'net-print/cups/files')
-rw-r--r-- | net-print/cups/files/cups-1.3.0-bindnow.patch | 47 | ||||
-rw-r--r-- | net-print/cups/files/cups-1.3.0-configure.patch | 18 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.3.3 | 3 |
3 files changed, 68 insertions, 0 deletions
diff --git a/net-print/cups/files/cups-1.3.0-bindnow.patch b/net-print/cups/files/cups-1.3.0-bindnow.patch new file mode 100644 index 000000000000..aa97cd4e60fe --- /dev/null +++ b/net-print/cups/files/cups-1.3.0-bindnow.patch @@ -0,0 +1,47 @@ +diff -Naur cups-1.3.0/config-scripts/cups-setXid.m4 cups-1.3.0/config-scripts/cups-setXid.m4.new +--- cups-1.3.0/config-scripts/cups-setXid.m4 1970-01-01 01:00:00.000000000 +0100 ++++ cups-1.3.0/config-scripts/cups-setXid.m4.new 2006-05-08 23:50:22.000000000 +0200 +@@ -0,0 +1,9 @@ ++dnl ++dnl Copyright 1999-2007 Gentoo Foundation ++dnl Distributed under the terms of the GNU General Public License v2 ++dnl ++ ++AC_ARG_WITH(bindnow, [ --with-bindnow Set linker flags for force-binding setuid binaries], ++ BINDNOW_FLAGS="$withval", ++ BINDNOW_FLAGS="") ++AC_SUBST(BINDNOW_FLAGS) +diff -Naur cups-1.3.0/configure.in cups-1.3.0/configure.in.new +--- cups-1.3.0/configure.in 2007-07-25 01:47:12.000000000 +0200 ++++ cups-1.3.0/configure.in.new 2007-08-15 10:31:58.896923749 +0200 +@@ -41,6 +41,7 @@ + sinclude(config-scripts/cups-pap.m4) + sinclude(config-scripts/cups-pdf.m4) + sinclude(config-scripts/cups-scripting.m4) ++sinclude(config-scripts/cups-setXid.m4) + + INSTALL_LANGUAGES="" + UNINSTALL_LANGUAGES="" +diff -Naur cups-1.3.0/Makedefs.in cups-1.3.0/Makedefs.in.new +--- cups-1.3.0/Makedefs.in 2007-07-18 21:49:45.000000000 +0200 ++++ cups-1.3.0/Makedefs.in.new 2007-08-15 10:24:56.634342552 +0200 +@@ -132,6 +132,7 @@ + LEGACY_BACKENDS = @LEGACY_BACKENDS@ + LIBCUPSORDER = @LIBCUPSORDER@ + LIBCUPSIMAGEORDER = @LIBCUPSIMAGEORDER@ ++BINDNOW_FLAGS = @BINDNOW_FLAGS@ + LINKCUPS = @LINKCUPS@ $(SSLLIBS) + LINKCUPSIMAGE = @LINKCUPSIMAGE@ + LIBS = $(LINKCUPS) $(COMMONLIBS) +diff -Naur cups-1.3.0/systemv/Makefile cups-1.3.0/systemv/Makefile.new +--- cups-1.3.0/systemv/Makefile 2007-07-11 23:46:42.000000000 +0200 ++++ cups-1.3.0/systemv/Makefile.new 2007-08-15 10:34:29.771906823 +0200 +@@ -212,7 +212,7 @@ + + lppasswd: lppasswd.o ../cups/$(LIBCUPS) + echo Linking $@... +- $(CC) $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS) ++ $(CC) $(LDFLAGS) $(BINDNOW_FLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS) + + + # diff --git a/net-print/cups/files/cups-1.3.0-configure.patch b/net-print/cups/files/cups-1.3.0-configure.patch new file mode 100644 index 000000000000..f248dfeb0298 --- /dev/null +++ b/net-print/cups/files/cups-1.3.0-configure.patch @@ -0,0 +1,18 @@ +diff -Naur cups-1.3.3/config-scripts/cups-common.m4 cups-1.3.3.new/config-scripts/cups-common.m4 +--- cups-1.3.3/config-scripts/cups-common.m4 2007-09-28 22:40:03.000000000 +0200 ++++ cups-1.3.3.new/config-scripts/cups-common.m4 2007-10-04 14:40:49.414154416 +0200 +@@ -270,7 +270,12 @@ + dnl See if we have POSIX ACL support... + SAVELIBS="$LIBS" + LIBS="" +-AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT)) ++ ++AC_ARG_ENABLE(acl, [ --enable-acl enable POSIX ACL support, default=auto]) ++if test "x$enable_acl" != xno; then ++ AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT)) ++fi ++ + CUPSDLIBS="$CUPSDLIBS $LIBS" + LIBS="$SAVELIBS" + + diff --git a/net-print/cups/files/digest-cups-1.3.3 b/net-print/cups/files/digest-cups-1.3.3 new file mode 100644 index 000000000000..98548d9fa278 --- /dev/null +++ b/net-print/cups/files/digest-cups-1.3.3 @@ -0,0 +1,3 @@ +MD5 d4911e68b6979d16bc7a55f68d16cc53 cups-1.3.3-source.tar.bz2 4077262 +RMD160 b1c34cdcfb79a5b04ffd3174c35d07beea678cb1 cups-1.3.3-source.tar.bz2 4077262 +SHA256 5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de cups-1.3.3-source.tar.bz2 4077262 |