Blame Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial/Makefile

c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
#
c068eec
#   Makefile of /CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial
c068eec
#   Description: Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of)
c068eec
#   Author: Petr Sklenar <psklenar@redhat.com>
c068eec
#
c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
#
c068eec
#   Copyright (c) 2015 Red Hat, Inc.
c068eec
#
c068eec
#   This program is free software: you can redistribute it and/or
c068eec
#   modify it under the terms of the GNU General Public License as
c068eec
#   published by the Free Software Foundation, either version 2 of
c068eec
#   the License, or (at your option) any later version.
c068eec
#
c068eec
#   This program is distributed in the hope that it will be
c068eec
#   useful, but WITHOUT ANY WARRANTY; without even the implied
c068eec
#   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
c068eec
#   PURPOSE.  See the GNU General Public License for more details.
c068eec
#
c068eec
#   You should have received a copy of the GNU General Public License
c068eec
#   along with this program. If not, see http://www.gnu.org/licenses/.
c068eec
#
c068eec
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c068eec
c068eec
export TEST=/CoreOS/bind/Regression/bz1247374-bind-TKEY-query-handling-flaw-leading-to-denial
c068eec
export TESTVERSION=1.0
c068eec
c068eec
BUILT_FILES=
c068eec
c068eec
FILES=$(METADATA) runtest.sh Makefile PURPOSE CVE-2015-5477.py
c068eec
c068eec
.PHONY: all install download clean
c068eec
c068eec
run: $(FILES) build
c068eec
	./runtest.sh
c068eec
c068eec
build: $(BUILT_FILES)
c068eec
	test -x runtest.sh || chmod a+x runtest.sh
c068eec
c068eec
clean:
c068eec
	rm -f *~ $(BUILT_FILES)
c068eec
c068eec
c068eec
include /usr/share/rhts/lib/rhts-make.include
c068eec
c068eec
$(METADATA): Makefile
c068eec
	@echo "Owner:           Petr Sklenar <psklenar@redhat.com>" > $(METADATA)
c068eec
	@echo "Name:            $(TEST)" >> $(METADATA)
c068eec
	@echo "TestVersion:     $(TESTVERSION)" >> $(METADATA)
c068eec
	@echo "Path:            $(TEST_DIR)" >> $(METADATA)
c068eec
	@echo "Description:     Test for BZ#1247374 (bind TKEY query handling flaw leading to denial of)" >> $(METADATA)
c068eec
	@echo "Type:            Regression" >> $(METADATA)
c068eec
	@echo "TestTime:        5m" >> $(METADATA)
c068eec
	@echo "RunFor:          bind" >> $(METADATA)
c068eec
	@echo "Requires:        bind python-dns python2-dns python3-dns python-crypto python3" >> $(METADATA)
c068eec
	@echo "Priority:        Normal" >> $(METADATA)
c068eec
	@echo "License:         GPLv2+" >> $(METADATA)
c068eec
	@echo "Confidential:    no" >> $(METADATA)
c068eec
	@echo "Destructive:     no" >> $(METADATA)
c068eec
	@echo "Bug:             1247374" >> $(METADATA)
c068eec
	@echo "Releases:        -RHEL4 -RHELClient5 -RHELServer5" >> $(METADATA)
c068eec
c068eec
	rhts-lint $(METADATA)