separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind.

This commit is contained in:
itojun 2001-01-27 08:09:42 +00:00
parent 21ecf40da9
commit b4eb727352
1 changed files with 13 additions and 4 deletions

17
dist/bind/bind2netbsd vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
#
# $NetBSD: bind2netbsd,v 1.14 2000/11/10 09:51:03 itojun Exp $
# $NetBSD: bind2netbsd,v 1.15 2001/01/27 08:09:42 itojun Exp $
#
# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
# All rights reserved.
@ -34,7 +34,7 @@
# POSSIBILITY OF SUCH DAMAGE.
#
# bind2netbsd: convert a bind source tree into a
# netbsd bind source tree, under basesrc/dist,
# netbsd bind source tree, under basesrc/dist and basesrc/crypto/dist,
# Note: you need to extract the src and doc tar files and put it into
# one directory. This directory is the 'src' argument of bind2netbsd.
@ -43,6 +43,7 @@ if [ $# -ne 2 ]; then echo "bind2netbsd src dest"; exit 1; fi
r=$1
d=$2/basesrc/dist/bind
dcrypto=$2/basesrc/crypto/dist/bind
case "$d" in
/*)
@ -65,6 +66,7 @@ rm -rf $d
mkdir -p $d
mkdir -p $d/man
mkdir -p $d/doc
mkdir -p $dcrypto/lib
### Copy the files and directories
cd $r/src
@ -80,9 +82,9 @@ pax -rvw bog $d/doc
cd $d/doc/bog
make clean
### Remove lib/bsd, lib/cylink and lib/dnssafe
### Remove lib/bsd
cd $d/lib
rm -r bsd cylink dnssafe
rm -r bsd
### Remove yacc/lex-generated files
cd $d/bin
@ -184,4 +186,11 @@ echo "Fixing file/directory permissions."
)
echo done
echo "Split crypto source code."
(
#mv $d/lib/cylink $dcrypto/lib
#mv $d/lib/dnssafe $dcrypto/lib
)
echo done
exit 0