mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
knot: Reduced version of knot with kdig only
Signed-off-by: Erik Kapfer <ummeegge@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
59d673ae44
commit
2397e51335
93
config/rootfiles/common/knot
Normal file
93
config/rootfiles/common/knot
Normal file
@@ -0,0 +1,93 @@
|
||||
usr/bin/kdig
|
||||
#usr/bin/khost
|
||||
#usr/bin/knsec3hash
|
||||
#usr/bin/knsupdate
|
||||
#usr/include/knot
|
||||
#usr/include/knot/module.h
|
||||
#usr/include/libdnssec
|
||||
#usr/include/libdnssec/binary.h
|
||||
#usr/include/libdnssec/crypto.h
|
||||
#usr/include/libdnssec/dnssec.h
|
||||
#usr/include/libdnssec/error.h
|
||||
#usr/include/libdnssec/key.h
|
||||
#usr/include/libdnssec/keyid.h
|
||||
#usr/include/libdnssec/keystore.h
|
||||
#usr/include/libdnssec/keytag.h
|
||||
#usr/include/libdnssec/list.h
|
||||
#usr/include/libdnssec/nsec.h
|
||||
#usr/include/libdnssec/random.h
|
||||
#usr/include/libdnssec/sign.h
|
||||
#usr/include/libdnssec/tsig.h
|
||||
#usr/include/libdnssec/version.h
|
||||
#usr/include/libknot
|
||||
#usr/include/libknot/attribute.h
|
||||
#usr/include/libknot/codes.h
|
||||
#usr/include/libknot/consts.h
|
||||
#usr/include/libknot/control
|
||||
#usr/include/libknot/control/control.h
|
||||
#usr/include/libknot/cookies.h
|
||||
#usr/include/libknot/db
|
||||
#usr/include/libknot/db/db.h
|
||||
#usr/include/libknot/db/db_lmdb.h
|
||||
#usr/include/libknot/db/db_trie.h
|
||||
#usr/include/libknot/descriptor.h
|
||||
#usr/include/libknot/dname.h
|
||||
#usr/include/libknot/endian.h
|
||||
#usr/include/libknot/errcode.h
|
||||
#usr/include/libknot/error.h
|
||||
#usr/include/libknot/libknot.h
|
||||
#usr/include/libknot/lookup.h
|
||||
#usr/include/libknot/mm_ctx.h
|
||||
#usr/include/libknot/packet
|
||||
#usr/include/libknot/packet/compr.h
|
||||
#usr/include/libknot/packet/pkt.h
|
||||
#usr/include/libknot/packet/rrset-wire.h
|
||||
#usr/include/libknot/packet/wire.h
|
||||
#usr/include/libknot/rdata.h
|
||||
#usr/include/libknot/rdataset.h
|
||||
#usr/include/libknot/rrset-dump.h
|
||||
#usr/include/libknot/rrset.h
|
||||
#usr/include/libknot/rrtype
|
||||
#usr/include/libknot/rrtype/dnskey.h
|
||||
#usr/include/libknot/rrtype/ds.h
|
||||
#usr/include/libknot/rrtype/naptr.h
|
||||
#usr/include/libknot/rrtype/nsec.h
|
||||
#usr/include/libknot/rrtype/nsec3.h
|
||||
#usr/include/libknot/rrtype/nsec3param.h
|
||||
#usr/include/libknot/rrtype/opt.h
|
||||
#usr/include/libknot/rrtype/rdname.h
|
||||
#usr/include/libknot/rrtype/rrsig.h
|
||||
#usr/include/libknot/rrtype/soa.h
|
||||
#usr/include/libknot/rrtype/tsig.h
|
||||
#usr/include/libknot/tsig-op.h
|
||||
#usr/include/libknot/tsig.h
|
||||
#usr/include/libknot/version.h
|
||||
#usr/include/libknot/wire.h
|
||||
#usr/include/libknot/yparser
|
||||
#usr/include/libknot/yparser/yparser.h
|
||||
#usr/include/libknot/yparser/ypformat.h
|
||||
#usr/include/libknot/yparser/ypschema.h
|
||||
#usr/include/libknot/yparser/yptrafo.h
|
||||
#usr/include/libzscanner
|
||||
#usr/include/libzscanner/error.h
|
||||
#usr/include/libzscanner/scanner.h
|
||||
#usr/include/libzscanner/version.h
|
||||
#usr/lib/libdnssec.la
|
||||
#usr/lib/libdnssec.so
|
||||
usr/lib/libdnssec.so.6
|
||||
usr/lib/libdnssec.so.6.0.0
|
||||
#usr/lib/libknot.la
|
||||
#usr/lib/libknot.so
|
||||
usr/lib/libknot.so.8
|
||||
usr/lib/libknot.so.8.0.0
|
||||
#usr/lib/libzscanner.la
|
||||
#usr/lib/libzscanner.so
|
||||
usr/lib/libzscanner.so.2
|
||||
usr/lib/libzscanner.so.2.0.0
|
||||
#usr/lib/pkgconfig/libdnssec.pc
|
||||
#usr/lib/pkgconfig/libknot.pc
|
||||
#usr/lib/pkgconfig/libzscanner.pc
|
||||
#usr/share/man/man1/kdig.1
|
||||
#usr/share/man/man1/khost.1
|
||||
#usr/share/man/man1/knsec3hash.1
|
||||
#usr/share/man/man1/knsupdate.1
|
||||
89
lfs/knot
Normal file
89
lfs/knot
Normal file
@@ -0,0 +1,89 @@
|
||||
###############################################################################
|
||||
# #
|
||||
# IPFire.org - A linux based firewall #
|
||||
# Copyright (C) 2007-2019 IPFire Team <info@ipfire.org> #
|
||||
# #
|
||||
# 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 <http://www.gnu.org/licenses/>. #
|
||||
# #
|
||||
###############################################################################
|
||||
|
||||
###############################################################################
|
||||
# Definitions
|
||||
###############################################################################
|
||||
|
||||
include Config
|
||||
|
||||
VER = 2.7.6
|
||||
|
||||
THISAPP = knot-$(VER)
|
||||
DL_FILE = $(THISAPP).tar.xz
|
||||
DL_FROM = $(URL_IPFIRE)
|
||||
DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
|
||||
###############################################################################
|
||||
# Top-level Rules
|
||||
###############################################################################
|
||||
|
||||
objects = $(DL_FILE)
|
||||
|
||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||
|
||||
$(DL_FILE)_MD5 = 6afbbaff4e9d93de8d6311958d86b323
|
||||
|
||||
install : $(TARGET)
|
||||
|
||||
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
||||
|
||||
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
md5 : $(subst %,%_MD5,$(objects))
|
||||
|
||||
dist:
|
||||
@$(PAK)
|
||||
|
||||
###############################################################################
|
||||
# Downloading, checking, md5sum
|
||||
###############################################################################
|
||||
|
||||
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
||||
@$(CHECK)
|
||||
|
||||
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
||||
@$(LOAD)
|
||||
|
||||
$(subst %,%_MD5,$(objects)) :
|
||||
@$(MD5)
|
||||
|
||||
###############################################################################
|
||||
# Installation Details
|
||||
###############################################################################
|
||||
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
|
||||
cd $(DIR_APP) && ./configure \
|
||||
--prefix=/usr \
|
||||
--enable-static=no \
|
||||
--disable-daemon \
|
||||
--disable-modules \
|
||||
--enable-maxminddb=no \
|
||||
--disable-documentation
|
||||
|
||||
cd $(DIR_APP) && make $(MAKETUNING)
|
||||
cd $(DIR_APP) && make install
|
||||
|
||||
@rm -rf $(DIR_APP)
|
||||
@$(POSTBUILD)
|
||||
|
||||
Reference in New Issue
Block a user