1 |
tgurr 07/10/10 21:07:19 |
2 |
|
3 |
Added: cups-1.3.0-configure.patch cups-1.3.0-bindnow.patch |
4 |
digest-cups-1.3.3 |
5 |
Log: |
6 |
Add cups-1.3.3.ebuild, fixes bug #188993 and also has a patch applied for bug #192294. |
7 |
(Portage version: 2.1.3.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-print/cups/files/cups-1.3.0-configure.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.0-configure.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.0-configure.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: cups-1.3.0-configure.patch |
16 |
=================================================================== |
17 |
diff -Naur cups-1.3.3/config-scripts/cups-common.m4 cups-1.3.3.new/config-scripts/cups-common.m4 |
18 |
--- cups-1.3.3/config-scripts/cups-common.m4 2007-09-28 22:40:03.000000000 +0200 |
19 |
+++ cups-1.3.3.new/config-scripts/cups-common.m4 2007-10-04 14:40:49.414154416 +0200 |
20 |
@@ -270,7 +270,12 @@ |
21 |
dnl See if we have POSIX ACL support... |
22 |
SAVELIBS="$LIBS" |
23 |
LIBS="" |
24 |
-AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT)) |
25 |
+ |
26 |
+AC_ARG_ENABLE(acl, [ --enable-acl enable POSIX ACL support, default=auto]) |
27 |
+if test "x$enable_acl" != xno; then |
28 |
+ AC_SEARCH_LIBS(acl_init, acl, AC_DEFINE(HAVE_ACL_INIT)) |
29 |
+fi |
30 |
+ |
31 |
CUPSDLIBS="$CUPSDLIBS $LIBS" |
32 |
LIBS="$SAVELIBS" |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.1 net-print/cups/files/cups-1.3.0-bindnow.patch |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.0-bindnow.patch?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/cups-1.3.0-bindnow.patch?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: cups-1.3.0-bindnow.patch |
44 |
=================================================================== |
45 |
diff -Naur cups-1.3.0/config-scripts/cups-setXid.m4 cups-1.3.0/config-scripts/cups-setXid.m4.new |
46 |
--- cups-1.3.0/config-scripts/cups-setXid.m4 1970-01-01 01:00:00.000000000 +0100 |
47 |
+++ cups-1.3.0/config-scripts/cups-setXid.m4.new 2006-05-08 23:50:22.000000000 +0200 |
48 |
@@ -0,0 +1,9 @@ |
49 |
+dnl |
50 |
+dnl Copyright 1999-2007 Gentoo Foundation |
51 |
+dnl Distributed under the terms of the GNU General Public License v2 |
52 |
+dnl |
53 |
+ |
54 |
+AC_ARG_WITH(bindnow, [ --with-bindnow Set linker flags for force-binding setuid binaries], |
55 |
+ BINDNOW_FLAGS="$withval", |
56 |
+ BINDNOW_FLAGS="") |
57 |
+AC_SUBST(BINDNOW_FLAGS) |
58 |
diff -Naur cups-1.3.0/configure.in cups-1.3.0/configure.in.new |
59 |
--- cups-1.3.0/configure.in 2007-07-25 01:47:12.000000000 +0200 |
60 |
+++ cups-1.3.0/configure.in.new 2007-08-15 10:31:58.896923749 +0200 |
61 |
@@ -41,6 +41,7 @@ |
62 |
sinclude(config-scripts/cups-pap.m4) |
63 |
sinclude(config-scripts/cups-pdf.m4) |
64 |
sinclude(config-scripts/cups-scripting.m4) |
65 |
+sinclude(config-scripts/cups-setXid.m4) |
66 |
|
67 |
INSTALL_LANGUAGES="" |
68 |
UNINSTALL_LANGUAGES="" |
69 |
diff -Naur cups-1.3.0/Makedefs.in cups-1.3.0/Makedefs.in.new |
70 |
--- cups-1.3.0/Makedefs.in 2007-07-18 21:49:45.000000000 +0200 |
71 |
+++ cups-1.3.0/Makedefs.in.new 2007-08-15 10:24:56.634342552 +0200 |
72 |
@@ -132,6 +132,7 @@ |
73 |
LEGACY_BACKENDS = @LEGACY_BACKENDS@ |
74 |
LIBCUPSORDER = @LIBCUPSORDER@ |
75 |
LIBCUPSIMAGEORDER = @LIBCUPSIMAGEORDER@ |
76 |
+BINDNOW_FLAGS = @BINDNOW_FLAGS@ |
77 |
LINKCUPS = @LINKCUPS@ $(SSLLIBS) |
78 |
LINKCUPSIMAGE = @LINKCUPSIMAGE@ |
79 |
LIBS = $(LINKCUPS) $(COMMONLIBS) |
80 |
diff -Naur cups-1.3.0/systemv/Makefile cups-1.3.0/systemv/Makefile.new |
81 |
--- cups-1.3.0/systemv/Makefile 2007-07-11 23:46:42.000000000 +0200 |
82 |
+++ cups-1.3.0/systemv/Makefile.new 2007-08-15 10:34:29.771906823 +0200 |
83 |
@@ -212,7 +212,7 @@ |
84 |
|
85 |
lppasswd: lppasswd.o ../cups/$(LIBCUPS) |
86 |
echo Linking $@... |
87 |
- $(CC) $(LDFLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS) |
88 |
+ $(CC) $(LDFLAGS) $(BINDNOW_FLAGS) -o lppasswd lppasswd.o $(LIBZ) $(LIBS) |
89 |
|
90 |
|
91 |
# |
92 |
|
93 |
|
94 |
|
95 |
1.1 net-print/cups/files/digest-cups-1.3.3 |
96 |
|
97 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/digest-cups-1.3.3?rev=1.1&view=markup |
98 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/cups/files/digest-cups-1.3.3?rev=1.1&content-type=text/plain |
99 |
|
100 |
Index: digest-cups-1.3.3 |
101 |
=================================================================== |
102 |
MD5 d4911e68b6979d16bc7a55f68d16cc53 cups-1.3.3-source.tar.bz2 4077262 |
103 |
RMD160 b1c34cdcfb79a5b04ffd3174c35d07beea678cb1 cups-1.3.3-source.tar.bz2 4077262 |
104 |
SHA256 5e9e5670777055293e309cb0cbb2758df9c1275bf648df70478b7389c2d804de cups-1.3.3-source.tar.bz2 4077262 |
105 |
|
106 |
|
107 |
|
108 |
-- |
109 |
gentoo-commits@g.o mailing list |