Module Name:    src
Committed By:   christos
Date:           Tue Feb 11 17:46:32 UTC 2025

Modified Files:
        src/external/bsd/blocklist/port: Makefile.am

Log Message:
- don't install test programs
- use autoconf prefix for paths
(Hans Rosenfeld)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/blocklist/port/Makefile.am

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/blocklist/port/Makefile.am
diff -u src/external/bsd/blocklist/port/Makefile.am:1.1.1.1 src/external/bsd/blocklist/port/Makefile.am:1.2
--- src/external/bsd/blocklist/port/Makefile.am:1.1.1.1	Sun Jun 14 21:52:53 2020
+++ src/external/bsd/blocklist/port/Makefile.am	Tue Feb 11 12:46:32 2025
@@ -3,11 +3,25 @@ ACLOCAL_AMFLAGS = -I m4
 lib_LTLIBRARIES = libblocklist.la
 include_HEADERS = ../include/blocklist.h
 
-bin_PROGRAMS = blocklistd blocklistctl srvtest cltest
+exampledir = $(datarootdir)/examples/blocklistd
+example_DATA = ../etc/blocklistd.conf ../etc/npf.conf
+
+sbin_PROGRAMS = blocklistd blocklistctl
+noinst_PROGRAMS = srvtest cltest
+libexec_SCRIPTS = ../libexec/blocklistd-helper
+
+man5_MANS = ../bin/blocklistd.conf.5
+man8_MANS = ../bin/blocklistd.8 ../bin/blocklistctl.8
 
 VPATH = ../bin:../lib:../test:../include
 
 AM_CPPFLAGS = -I../include  -DDOT="."
+AM_CPPFLAGS += -D_PATH_BLCONF=\"$(sysconfdir)/blocklistd.conf\"
+AM_CPPFLAGS += -D_PATH_BLCONTROL=\"$(libexecdir)/blocklistd-helper\"
+AM_CPPFLAGS += -D_PATH_BLSOCK=\"$(runstatedir)/blocklistd.sock\"
+AM_CPPFLAGS += -D_PATH_BLSTATE=\"$(localstatedir)/db/blocklistd.db\"
+AM_CPPFLAGS += -std=c99 -D_POSIX_C_SOURCE=200809L -D__EXTENSIONS__
+AM_CPPFLAGS += -D__BSD_VISIBLE=1
 AM_CFLAGS = @WARNINGS@
 
 libblocklist_la_SOURCES = bl.c blocklist.c

Reply via email to