|
Yevhenii Shapovalov |
dbe331 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# Makefile of /CoreOS/bind/Sanity/Master-server-not-chrooted
|
|
Yevhenii Shapovalov |
dbe331 |
# Description: Set up master nameserver, test it.
|
|
Yevhenii Shapovalov |
dbe331 |
# Author: Martin Cermak <mcermak@redhat.com>
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# Copyright (c) 2009 Red Hat, Inc. All rights reserved.
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# This copyrighted material is made available to anyone wishing
|
|
Yevhenii Shapovalov |
dbe331 |
# to use, modify, copy, or redistribute it subject to the terms
|
|
Yevhenii Shapovalov |
dbe331 |
# and conditions of the GNU General Public License version 2.
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# This program is distributed in the hope that it will be
|
|
Yevhenii Shapovalov |
dbe331 |
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
Yevhenii Shapovalov |
dbe331 |
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
Yevhenii Shapovalov |
dbe331 |
# PURPOSE. See the GNU General Public License for more details.
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# You should have received a copy of the GNU General Public
|
|
Yevhenii Shapovalov |
dbe331 |
# License along with this program; if not, write to the Free
|
|
Yevhenii Shapovalov |
dbe331 |
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Yevhenii Shapovalov |
dbe331 |
# Boston, MA 02110-1301, USA.
|
|
Yevhenii Shapovalov |
dbe331 |
#
|
|
Yevhenii Shapovalov |
dbe331 |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
export TEST=/CoreOS/bind/Sanity/Master-server-not-chrooted
|
|
Yevhenii Shapovalov |
dbe331 |
export TESTVERSION=1.0
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
BUILT_FILES=
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
FILES=$(METADATA) runtest.sh Makefile PURPOSE named.conf zonefile
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
.PHONY: all install download clean
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
run: $(FILES) build
|
|
Yevhenii Shapovalov |
dbe331 |
./runtest.sh
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
build: $(BUILT_FILES)
|
|
Yevhenii Shapovalov |
dbe331 |
chmod a+x runtest.sh
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
clean:
|
|
Yevhenii Shapovalov |
dbe331 |
rm -f *~ $(BUILT_FILES)
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
include /usr/share/rhts/lib/rhts-make.include
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
$(METADATA): Makefile
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Owner: Martin Cermak <mcermak@redhat.com>" > $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Name: $(TEST)" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Description: Set up master nameserver in chrooted env, test it." >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Type: Sanity" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "TestTime: 5m" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "RunFor: bind" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Requires: bind bind-chroot redhat-lsb" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Requires: bind-utils" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Priority: Normal" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "License: GPLv2" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Confidential: no" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "Destructive: no" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
@echo "RhtsRequires: library(bind/bind-setup)" >> $(METADATA)
|
|
Yevhenii Shapovalov |
dbe331 |
|
|
Yevhenii Shapovalov |
dbe331 |
rhts-lint $(METADATA)
|