From: Michael Tremer Date: Fri, 5 Dec 2025 13:32:41 +0000 (+0000) Subject: configure: Create some basic build system X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c999f60128e8d32a9f88a8260ee12a9de96f7cba;p=dnsbl.git configure: Create some basic build system Signed-off-by: Michael Tremer --- c999f60128e8d32a9f88a8260ee12a9de96f7cba diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..31b2476 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +/Makefile +/build-aux +/missing +/tmp +/*.tar.bz2 +/*.tar.gz +/*.tar.xz +*.log +*.cache +*.gmo +*.mo +*~ +Makefile.in +aclocal.m4 +config.log +config.status +configure +install-sh +stamp-* diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..0fb9389 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,29 @@ +############################################################################### +# # +# dnsbl - A DNS Blacklist Compositor For IPFire # +# Copyright (C) 2025 IPFire Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +AM_MAKEFLAGS = --no-print-directory +AUTOMAKE_OPTIONS = color-tests + +# remove target it the command fails +.DELETE_ON_ERROR: + +# keep itermediate files +.SECONDARY: diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..c08fadf --- /dev/null +++ b/autogen.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +autoreconf --force --install --symlink diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..e10e5b1 --- /dev/null +++ b/configure.ac @@ -0,0 +1,57 @@ +############################################################################### +# # +# Pakfire - The IPFire package management system # +# Copyright (C) 2013 Pakfire development team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +AC_PREREQ([2.64]) + +AC_INIT([dnsbl], + [20251205], + [info@ipfire.org], + [dnsbl], + [https://dnsbl.ipfire.org]) + +AC_CONFIG_MACRO_DIR([m4]) +AC_CONFIG_AUX_DIR([build-aux]) + +AC_PREFIX_DEFAULT([/usr]) + +AM_INIT_AUTOMAKE([ + foreign + 1.11 + -Wall + -Wno-portability + silent-rules + tar-pax + subdir-objects +]) +AM_SILENT_RULES([yes]) + +# ------------------------------------------------------------------------------ + +AC_CONFIG_FILES([ + Makefile +]) + +AC_OUTPUT +AC_MSG_RESULT([ + ${PACKAGE_NAME} ${VERSION} + + prefix: ${prefix} + sysconfdir: ${sysconfdir} +])