pkgsrc/security/libprelude/patches/patch-ac
shannonjr 5ae116d696 Update to 0.9.10.1. Changes:
- Fix checking for swig/perl/python when full path to the
  application is specified.
- Fix OpenBSD getaddrinfo() AI_ADDRCONFIG issue (apply to
  some other system as well).
- Fix workaround for system with broken libtool,
  that prevented the use of plugin (#168).
2006-08-17 11:31:40 +00:00

84 lines
4.9 KiB
Text

$NetBSD: patch-ac,v 1.3 2006/08/17 11:31:40 shannonjr Exp $
--- Makefile.in.orig 2006-07-25 05:58:26.000000000 -0600
+++ Makefile.in
@@ -304,7 +304,7 @@ oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
prelude_adduser_libs = @prelude_adduser_libs@
-prelude_config_dir = @prelude_config_dir@
+prelude_config_dir = $(prefix)/share/examples/libprelude
prelude_ident_file = @prelude_ident_file@
prelude_spool_dir = @prelude_spool_dir@
program_transform_name = @program_transform_name@
@@ -839,64 +839,12 @@ prelude-config.h: $(top_builddir)/config
install-data-local:
$(INSTALL) -d -m 755 $(DESTDIR)$(prelude_spool_dir);
- $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir);
- $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir)/default;
- $(INSTALL) -d -m 755 $(DESTDIR)$(prelude_config_dir)/profile;
- @if test -f $(DESTDIR)$(prelude_config_dir)/default/client.conf; then \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(prelude_config_dir)/default/client.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(prelude_config_dir)/default/client.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- $(INSTALL) -m 644 $(top_srcdir)/client.conf $(DESTDIR)$(prelude_config_dir)/default/client.conf-dist; \
- else \
- $(INSTALL) -m 644 $(top_srcdir)/client.conf $(DESTDIR)$(prelude_config_dir)/default; \
- fi
-
- @if test -f $(DESTDIR)$(prelude_config_dir)/default/global.conf; then \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(prelude_config_dir)/default/global.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(prelude_config_dir)/default/global.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- $(INSTALL) -m 644 $(top_srcdir)/global.conf $(DESTDIR)$(prelude_config_dir)/default/global.conf-dist; \
- else \
- $(INSTALL) -m 644 $(top_srcdir)/global.conf $(DESTDIR)$(prelude_config_dir)/default; \
- fi
-
- @if test -f $(DESTDIR)$(prelude_config_dir)/default/idmef-client.conf; then \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(prelude_config_dir)/default/idmef-client.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(prelude_config_dir)/default/idmef-client.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- $(INSTALL) -m 644 $(top_srcdir)/idmef-client.conf $(DESTDIR)$(prelude_config_dir)/default/idmef-client.conf-dist; \
- else \
- $(INSTALL) -m 644 $(top_srcdir)/idmef-client.conf $(DESTDIR)$(prelude_config_dir)/default; \
- fi
-
- @if test -f $(DESTDIR)$(prelude_config_dir)/default/tls.conf; then \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- echo "$(DESTDIR)$(prelude_config_dir)/default/tls.conf already exist..."; \
- echo "Installing default configuration in $(DESTDIR)$(prelude_config_dir)/default/tls.conf-dist"; \
- echo; \
- echo "********************************************************************************"; \
- echo; \
- $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(prelude_config_dir)/default/tls.conf-dist; \
- else \
- $(INSTALL) -m 644 $(top_srcdir)/tls.conf $(DESTDIR)$(prelude_config_dir)/default; \
- fi
+ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(prelude_config_dir);
+ $(BSD_INSTALL_DATA) $(top_srcdir)/client.conf $(DESTDIR)$(prelude_config_dir)
+ $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf $(DESTDIR)$(prelude_config_dir)
+ $(BSD_INSTALL_DATA) $(top_srcdir)/idmef-client.conf $(DESTDIR)$(prelude_config_dir)
+ $(BSD_INSTALL_DATA) $(top_srcdir)/tls.conf $(DESTDIR)$(prelude_config_dir)
+ $(BSD_INSTALL_DATA) $(top_srcdir)/global.conf $(DESTDIR)$(prelude_config_dir)
uninstall-local:
rm -f $(DESTDIR)$(prelude_config_dir)/default/client.conf