diff --exclude-from=/home/dang/.diffrc -u -ruN cups-1.1.23.orig/config-scripts/cups-setXid.m4 cups-1.1.23/config-scripts/cups-setXid.m4 --- cups-1.1.23.orig/config-scripts/cups-setXid.m4 1969-12-31 19:00:00.000000000 -0500 +++ cups-1.1.23/config-scripts/cups-setXid.m4 2005-12-14 14:30:10.000000000 -0500 @@ -0,0 +1,9 @@ +dnl +dnl Copyright 1999-2005 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 --exclude-from=/home/dang/.diffrc -u -ruN cups-1.1.23.orig/configure.in cups-1.1.23/configure.in --- cups-1.1.23.orig/configure.in 2005-01-03 14:29:44.000000000 -0500 +++ cups-1.1.23/configure.in 2005-12-14 14:30:36.000000000 -0500 @@ -40,6 +40,7 @@ sinclude(config-scripts/cups-pam.m4) sinclude(config-scripts/cups-scripting.m4) +sinclude(config-scripts/cups-setXid.m4) AC_OUTPUT(Makedefs cups.list cups.sh cups-config conf/cupsd.conf conf/pam.std) diff --exclude-from=/home/dang/.diffrc -u -ruN cups-1.1.23.orig/Makedefs.in cups-1.1.23/Makedefs.in --- cups-1.1.23.orig/Makedefs.in 2005-01-03 14:29:44.000000000 -0500 +++ cups-1.1.23/Makedefs.in 2005-12-14 13:55:48.000000000 -0500 @@ -93,6 +93,7 @@ DSOLIBS = @DSOLIBS@ $(COMMONLIBS) IMGLIBS = @IMGLIBS@ -lm LDFLAGS = -L../cups -L../filter $(RC_CFLAGS) @LDFLAGS@ $(OPTIM) +BINDNOW_FLAGS = @BINDNOW_FLAGS@ LINKCUPS = @LINKCUPS@ LINKCUPSIMAGE = @LINKCUPSIMAGE@ LIBS = $(LINKCUPS) $(NETLIBS) @LIBS@ $(COMMONLIBS) diff --exclude-from=/home/dang/.diffrc -u -ruN cups-1.1.23.orig/systemv/Makefile cups-1.1.23/systemv/Makefile --- cups-1.1.23.orig/systemv/Makefile 2005-01-03 14:29:59.000000000 -0500 +++ cups-1.1.23/systemv/Makefile 2005-12-14 13:55:09.000000000 -0500 @@ -174,7 +174,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) #