1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/databases/gnats/files/patch-ab
Dag-Erling Smørgrav 0e9073a57e [1] Avoid leaking potentially sensitive information into system logs
[2] Add PAM support to gnatsd

PR:		[1] ports/41342
Submitted by:	[1] Igor Kucherenko <kivvy@sunbay.com>
		[2] ru
2003-02-04 16:31:34 +00:00

39 lines
1.1 KiB
Plaintext

--- gnats/Makefile.in.orig Tue May 8 20:23:36 2001
+++ gnats/Makefile.in Tue Aug 20 19:17:44 2002
@@ -122,7 +122,7 @@
DIFFOPT = @DIFFOPT@
# These are set by autoconf.
-DEFS = @DEFS@
+DEFS = @DEFS@ -DHAVE_PAM
LIBS = @LIBS@
KRBINCLUDE = @KRBINCLUDE@
@@ -311,7 +311,7 @@
gnatsd: gnatsd.o cmds.o regex.o libgnats.a
$(CC) $(LDFLAGS) -o $@ gnatsd.o cmds.o regex.o db_conf.o \
- libgnats.a $(LIBRX) $(LIBIBERTY) $(LIBS)
+ libgnats.a $(LIBRX) $(LIBIBERTY) $(LIBS) -lpam
queue-pr: queue-pr.o libgnats.a
$(CC) $(LDFLAGS) -o $@ queue-pr.o \
@@ -465,7 +465,7 @@
getdate.c: getdate.y
@echo expect 10 shift/reduce conflicts
- $(BISON) $(srcdir)/getdate.y -o getdate.c
+ $(BISON) -o getdate.c $(srcdir)/getdate.y
config-send-pr:
@if [ ! -d ../send-pr ]; then \
@@ -496,7 +496,7 @@
echo "*** Warning: Must chown $(GNATS_USER) $(datadir)/gnats" ; \
fi
$(INSTALL_DATA) gnats.el $(lispdir)/gnats.el
- test -f gnats.elc && $(INSTALL_DATA) gnats.elc $(lispdir)/gnats.elc
+# test -f gnats.elc && $(INSTALL_DATA) gnats.elc $(lispdir)/gnats.elc
install-tools-bin: all-tools
$(INSTALL_PROGRAM) query-pr $(bindir)/query-pr