2002-03-05 04:38:35 +01:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# buildbff.sh: Create AIX SMIT-installable OpenSSH packages
|
2009-03-07 00:22:10 +01:00
|
|
|
# $Id: buildbff.sh,v 1.11 2009/03/06 23:22:10 dtucker Exp $
|
2002-03-05 04:38:35 +01:00
|
|
|
#
|
|
|
|
# Author: Darren Tucker (dtucker at zip dot com dot au)
|
|
|
|
# This file is placed in the public domain and comes with absolutely
|
|
|
|
# no warranty.
|
2003-11-21 13:48:55 +01:00
|
|
|
#
|
2002-03-05 04:38:35 +01:00
|
|
|
# Based originally on Ben Lindstrom's buildpkg.sh for Solaris
|
|
|
|
#
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
|
|
|
# Tunable configuration settings
|
2003-03-10 02:10:45 +01:00
|
|
|
# create a "config.local" in your build directory or set
|
|
|
|
# environment variables to override these.
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
2003-08-25 07:01:04 +02:00
|
|
|
[ -z "$PERMIT_ROOT_LOGIN" ] && PERMIT_ROOT_LOGIN=no
|
|
|
|
[ -z "$X11_FORWARDING" ] && X11_FORWARDING=no
|
|
|
|
[ -z "$AIX_SRC" ] && AIX_SRC=no
|
2002-06-26 01:38:47 +02:00
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
umask 022
|
2002-06-26 01:38:47 +02:00
|
|
|
|
2002-07-18 03:04:50 +02:00
|
|
|
startdir=`pwd`
|
|
|
|
|
2006-09-10 05:24:18 +02:00
|
|
|
perl -v >/dev/null || (echo perl required; exit 1)
|
|
|
|
|
2002-07-18 03:04:50 +02:00
|
|
|
# Path to inventory.sh: same place as buildbff.sh
|
|
|
|
if echo $0 | egrep '^/'
|
|
|
|
then
|
|
|
|
inventory=`dirname $0`/inventory.sh # absolute path
|
|
|
|
else
|
|
|
|
inventory=`pwd`/`dirname $0`/inventory.sh # relative path
|
|
|
|
fi
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
2003-08-25 07:01:04 +02:00
|
|
|
# We still support running from contrib/aix, but this is deprecated
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
|
|
|
if pwd | egrep 'contrib/aix$'
|
|
|
|
then
|
|
|
|
echo "Changing directory to `pwd`/../.."
|
|
|
|
echo "Please run buildbff.sh from your build directory in future."
|
|
|
|
cd ../..
|
|
|
|
contribaix=1
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -f Makefile ]
|
|
|
|
then
|
|
|
|
echo "Makefile not found (did you run configure?)"
|
2003-11-21 13:48:55 +01:00
|
|
|
exit 1
|
2002-06-26 01:38:47 +02:00
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
# Directories used during build:
|
|
|
|
# current dir = $objdir directory you ran ./configure in.
|
|
|
|
# $objdir/$PKGDIR/ directory package files are constructed in
|
|
|
|
# $objdir/$PKGDIR/root/ package root ($FAKE_ROOT)
|
|
|
|
#
|
|
|
|
objdir=`pwd`
|
2002-03-05 04:38:35 +01:00
|
|
|
PKGNAME=openssh
|
2002-03-17 23:05:24 +01:00
|
|
|
PKGDIR=package
|
2002-03-05 04:38:35 +01:00
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
|
|
|
# Collect local configuration settings to override defaults
|
|
|
|
#
|
|
|
|
if [ -s ./config.local ]
|
|
|
|
then
|
|
|
|
echo Reading local settings from config.local
|
|
|
|
. ./config.local
|
|
|
|
fi
|
|
|
|
|
|
|
|
#
|
|
|
|
# Fill in some details from Makefile, like prefix and sysconfdir
|
|
|
|
# the eval also expands variables like sysconfdir=${prefix}/etc
|
|
|
|
# provided they are eval'ed in the correct order
|
|
|
|
#
|
|
|
|
for confvar in prefix exec_prefix bindir sbindir libexecdir datadir mandir mansubdir sysconfdir piddir srcdir
|
|
|
|
do
|
|
|
|
eval $confvar=`grep "^$confvar=" $objdir/Makefile | cut -d = -f 2`
|
|
|
|
done
|
|
|
|
|
|
|
|
#
|
|
|
|
# Collect values of privsep user and privsep path
|
|
|
|
# currently only found in config.h
|
|
|
|
#
|
|
|
|
for confvar in SSH_PRIVSEP_USER PRIVSEP_PATH
|
|
|
|
do
|
|
|
|
eval $confvar=`awk '/#define[ \t]'$confvar'/{print $3}' $objdir/config.h`
|
|
|
|
done
|
2002-03-05 04:38:35 +01:00
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
# Set privsep defaults if not defined
|
|
|
|
if [ -z "$SSH_PRIVSEP_USER" ]
|
2002-03-05 04:38:35 +01:00
|
|
|
then
|
2002-06-26 01:38:47 +02:00
|
|
|
SSH_PRIVSEP_USER=sshd
|
|
|
|
fi
|
|
|
|
if [ -z "$PRIVSEP_PATH" ]
|
|
|
|
then
|
|
|
|
PRIVSEP_PATH=/var/empty
|
2002-03-05 04:38:35 +01:00
|
|
|
fi
|
|
|
|
|
2003-11-21 13:48:55 +01:00
|
|
|
# Clean package build directory
|
2002-06-26 01:38:47 +02:00
|
|
|
rm -rf $objdir/$PKGDIR
|
|
|
|
FAKE_ROOT=$objdir/$PKGDIR/root
|
|
|
|
mkdir -p $FAKE_ROOT
|
|
|
|
|
2003-11-21 13:48:55 +01:00
|
|
|
# Start by faking root install
|
2002-03-05 04:38:35 +01:00
|
|
|
echo "Faking root install..."
|
2002-06-26 01:38:47 +02:00
|
|
|
cd $objdir
|
2002-03-05 04:38:35 +01:00
|
|
|
make install-nokeys DESTDIR=$FAKE_ROOT
|
|
|
|
|
2002-03-17 23:05:24 +01:00
|
|
|
if [ $? -gt 0 ]
|
|
|
|
then
|
|
|
|
echo "Fake root install failed, stopping."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
|
|
|
# Copy informational files to include in package
|
|
|
|
#
|
|
|
|
cp $srcdir/LICENCE $objdir/$PKGDIR/
|
|
|
|
cp $srcdir/README* $objdir/$PKGDIR/
|
|
|
|
|
2002-03-17 23:05:24 +01:00
|
|
|
#
|
|
|
|
# Extract common info requires for the 'info' part of the package.
|
|
|
|
# AIX requires 4-part version numbers
|
|
|
|
#
|
2003-08-25 07:01:04 +02:00
|
|
|
VERSION=`./ssh -V 2>&1 | cut -f 1 -d , | cut -f 2 -d _`
|
2002-03-17 23:05:24 +01:00
|
|
|
MAJOR=`echo $VERSION | cut -f 1 -d p | cut -f 1 -d .`
|
|
|
|
MINOR=`echo $VERSION | cut -f 1 -d p | cut -f 2 -d .`
|
|
|
|
PATCH=`echo $VERSION | cut -f 1 -d p | cut -f 3 -d .`
|
2002-06-26 01:38:47 +02:00
|
|
|
PORTABLE=`echo $VERSION | awk 'BEGIN{FS="p"}{print $2}'`
|
|
|
|
[ "$PATCH" = "" ] && PATCH=0
|
|
|
|
[ "$PORTABLE" = "" ] && PORTABLE=0
|
2002-03-17 23:05:24 +01:00
|
|
|
BFFVERSION=`printf "%d.%d.%d.%d" $MAJOR $MINOR $PATCH $PORTABLE`
|
|
|
|
|
|
|
|
echo "Building BFF for $PKGNAME $VERSION (package version $BFFVERSION)"
|
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
#
|
2002-06-26 01:38:47 +02:00
|
|
|
# Set ssh and sshd parameters as per config.local
|
2002-03-05 04:38:35 +01:00
|
|
|
#
|
2003-11-21 13:48:55 +01:00
|
|
|
if [ "${PERMIT_ROOT_LOGIN}" = no ]
|
2002-06-26 01:38:47 +02:00
|
|
|
then
|
2003-11-21 13:48:55 +01:00
|
|
|
perl -p -i -e "s/#PermitRootLogin yes/PermitRootLogin no/" \
|
|
|
|
$FAKE_ROOT/${sysconfdir}/sshd_config
|
2002-06-26 01:38:47 +02:00
|
|
|
fi
|
|
|
|
if [ "${X11_FORWARDING}" = yes ]
|
|
|
|
then
|
2003-11-21 13:48:55 +01:00
|
|
|
perl -p -i -e "s/#X11Forwarding no/X11Forwarding yes/" \
|
|
|
|
$FAKE_ROOT/${sysconfdir}/sshd_config
|
2002-06-26 01:38:47 +02:00
|
|
|
fi
|
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
|
|
|
|
# Rename config files; postinstall script will copy them if necessary
|
2009-03-07 00:22:10 +01:00
|
|
|
for cfgfile in ssh_config sshd_config
|
2002-03-05 04:38:35 +01:00
|
|
|
do
|
|
|
|
mv $FAKE_ROOT/$sysconfdir/$cfgfile $FAKE_ROOT/$sysconfdir/$cfgfile.default
|
|
|
|
done
|
|
|
|
|
2009-03-07 00:22:10 +01:00
|
|
|
# AIX 5.3 and newer have /dev/random and don't create ssh_prng_cmds
|
|
|
|
if [ -f $FAKE_ROOT/$sysconfdir/ssh_prng_cmds ]
|
|
|
|
then
|
|
|
|
mv FAKE_ROOT/$sysconfdir/ssh_prng_cmds \
|
|
|
|
$FAKE_ROOT/$sysconfdir/ssh_prng_cmds.default
|
|
|
|
fi
|
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
#
|
|
|
|
# Generate lpp control files.
|
2002-06-26 01:38:47 +02:00
|
|
|
# working dir is $FAKE_ROOT but files are generated in dir above
|
2002-03-05 04:38:35 +01:00
|
|
|
# and moved into place just before creation of .bff
|
|
|
|
#
|
|
|
|
cd $FAKE_ROOT
|
|
|
|
echo Generating LPP control files
|
|
|
|
find . ! -name . -print >../openssh.al
|
2002-06-26 01:38:47 +02:00
|
|
|
$inventory >../openssh.inventory
|
|
|
|
|
|
|
|
cat <<EOD >../openssh.copyright
|
|
|
|
This software is distributed under a BSD-style license.
|
|
|
|
For the full text of the license, see /usr/lpp/openssh/LICENCE
|
|
|
|
EOD
|
2002-03-05 04:38:35 +01:00
|
|
|
|
2003-03-10 02:10:45 +01:00
|
|
|
#
|
|
|
|
# openssh.size file allows filesystem expansion as required
|
|
|
|
# generate list of directories containing files
|
|
|
|
# then calculate disk usage for each directory and store in openssh.size
|
|
|
|
#
|
|
|
|
files=`find . -type f -print`
|
|
|
|
dirs=`for file in $files; do dirname $file; done | sort -u`
|
|
|
|
for dir in $dirs
|
|
|
|
do
|
|
|
|
du $dir
|
|
|
|
done > ../openssh.size
|
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
#
|
|
|
|
# Create postinstall script
|
|
|
|
#
|
|
|
|
cat <<EOF >>../openssh.post_i
|
|
|
|
#!/bin/sh
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
echo Creating configs from defaults if necessary.
|
2002-03-05 04:38:35 +01:00
|
|
|
for cfgfile in ssh_config sshd_config ssh_prng_cmds
|
|
|
|
do
|
2003-11-21 13:48:55 +01:00
|
|
|
if [ ! -f $sysconfdir/\$cfgfile ]
|
|
|
|
then
|
|
|
|
echo "Creating \$cfgfile from default"
|
|
|
|
cp $sysconfdir/\$cfgfile.default $sysconfdir/\$cfgfile
|
|
|
|
else
|
|
|
|
echo "\$cfgfile already exists."
|
|
|
|
fi
|
2002-03-05 04:38:35 +01:00
|
|
|
done
|
2002-06-26 01:38:47 +02:00
|
|
|
echo
|
|
|
|
|
2006-09-09 12:34:15 +02:00
|
|
|
# Create PrivilegeSeparation user and group if not present
|
|
|
|
echo Checking for PrivilegeSeparation user and group.
|
|
|
|
if cut -f1 -d: /etc/group | egrep '^'$SSH_PRIVSEP_USER'\$' >/dev/null
|
2002-06-26 01:38:47 +02:00
|
|
|
then
|
2006-09-09 12:34:15 +02:00
|
|
|
echo "PrivSep group $SSH_PRIVSEP_USER already exists."
|
2002-06-26 01:38:47 +02:00
|
|
|
else
|
2006-09-09 12:34:15 +02:00
|
|
|
echo "Creating PrivSep group $SSH_PRIVSEP_USER."
|
|
|
|
mkgroup -A $SSH_PRIVSEP_USER
|
|
|
|
fi
|
2002-06-26 01:38:47 +02:00
|
|
|
|
2006-09-09 12:34:15 +02:00
|
|
|
# Create user if required
|
|
|
|
if lsuser "$SSH_PRIVSEP_USER" >/dev/null
|
|
|
|
then
|
|
|
|
echo "PrivSep user $SSH_PRIVSEP_USER already exists."
|
|
|
|
else
|
|
|
|
echo "Creating PrivSep user $SSH_PRIVSEP_USER."
|
|
|
|
mkuser gecos='SSHD PrivSep User' login=false rlogin=false account_locked=true pgrp=$SSH_PRIVSEP_USER $SSH_PRIVSEP_USER
|
|
|
|
fi
|
2002-06-26 01:38:47 +02:00
|
|
|
|
2006-09-09 12:34:15 +02:00
|
|
|
if egrep '^[ \t]*UsePrivilegeSeparation[ \t]+no' $sysconfdir/sshd_config >/dev/null
|
|
|
|
then
|
|
|
|
echo UsePrivilegeSeparation not enabled, privsep directory not required.
|
|
|
|
else
|
2002-06-26 01:38:47 +02:00
|
|
|
# create chroot directory if required
|
|
|
|
if [ -d $PRIVSEP_PATH ]
|
|
|
|
then
|
|
|
|
echo "PrivSep chroot directory $PRIVSEP_PATH already exists."
|
|
|
|
else
|
|
|
|
echo "Creating PrivSep chroot directory $PRIVSEP_PATH."
|
|
|
|
mkdir $PRIVSEP_PATH
|
|
|
|
chown 0 $PRIVSEP_PATH
|
|
|
|
chgrp 0 $PRIVSEP_PATH
|
|
|
|
chmod 755 $PRIVSEP_PATH
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
echo
|
2002-03-05 04:38:35 +01:00
|
|
|
|
|
|
|
# Generate keys unless they already exist
|
2002-06-26 01:38:47 +02:00
|
|
|
echo Creating host keys if required.
|
2002-03-05 04:38:35 +01:00
|
|
|
if [ -f "$sysconfdir/ssh_host_key" ] ; then
|
2003-11-21 13:48:55 +01:00
|
|
|
echo "$sysconfdir/ssh_host_key already exists, skipping."
|
2002-03-05 04:38:35 +01:00
|
|
|
else
|
2003-11-21 13:48:55 +01:00
|
|
|
$bindir/ssh-keygen -t rsa1 -f $sysconfdir/ssh_host_key -N ""
|
2002-03-05 04:38:35 +01:00
|
|
|
fi
|
|
|
|
if [ -f $sysconfdir/ssh_host_dsa_key ] ; then
|
2003-11-21 13:48:55 +01:00
|
|
|
echo "$sysconfdir/ssh_host_dsa_key already exists, skipping."
|
2002-03-05 04:38:35 +01:00
|
|
|
else
|
2003-11-21 13:48:55 +01:00
|
|
|
$bindir/ssh-keygen -t dsa -f $sysconfdir/ssh_host_dsa_key -N ""
|
2002-03-05 04:38:35 +01:00
|
|
|
fi
|
|
|
|
if [ -f $sysconfdir/ssh_host_rsa_key ] ; then
|
2003-11-21 13:48:55 +01:00
|
|
|
echo "$sysconfdir/ssh_host_rsa_key already exists, skipping."
|
|
|
|
else
|
|
|
|
$bindir/ssh-keygen -t rsa -f $sysconfdir/ssh_host_rsa_key -N ""
|
2002-03-05 04:38:35 +01:00
|
|
|
fi
|
2002-06-26 01:38:47 +02:00
|
|
|
echo
|
2002-03-05 04:38:35 +01:00
|
|
|
|
2003-03-10 02:10:45 +01:00
|
|
|
# Set startup command depending on SRC support
|
|
|
|
if [ "$AIX_SRC" = "yes" ]
|
|
|
|
then
|
|
|
|
echo Creating SRC sshd subsystem.
|
|
|
|
rmssys -s sshd 2>&1 >/dev/null
|
|
|
|
mkssys -s sshd -p "$sbindir/sshd" -a '-D' -u 0 -S -n 15 -f 9 -R -G tcpip
|
|
|
|
startupcmd="start $sbindir/sshd \\\"\\\$src_running\\\""
|
|
|
|
oldstartcmd="$sbindir/sshd"
|
|
|
|
else
|
|
|
|
startupcmd="$sbindir/sshd"
|
|
|
|
oldstartcmd="start $sbindir/sshd \\\"$src_running\\\""
|
|
|
|
fi
|
|
|
|
|
|
|
|
# If migrating to or from SRC, change previous startup command
|
|
|
|
# otherwise add to rc.tcpip
|
|
|
|
if egrep "^\$oldstartcmd" /etc/rc.tcpip >/dev/null
|
2002-03-05 04:38:35 +01:00
|
|
|
then
|
2003-03-10 02:10:45 +01:00
|
|
|
if sed "s|^\$oldstartcmd|\$startupcmd|g" /etc/rc.tcpip >/etc/rc.tcpip.new
|
|
|
|
then
|
|
|
|
chmod 0755 /etc/rc.tcpip.new
|
|
|
|
mv /etc/rc.tcpip /etc/rc.tcpip.old && \
|
|
|
|
mv /etc/rc.tcpip.new /etc/rc.tcpip
|
|
|
|
else
|
|
|
|
echo "Updating /etc/rc.tcpip failed, please check."
|
|
|
|
fi
|
2002-03-05 04:38:35 +01:00
|
|
|
else
|
2003-03-10 02:10:45 +01:00
|
|
|
# Add to system startup if required
|
|
|
|
if grep "^\$startupcmd" /etc/rc.tcpip >/dev/null
|
|
|
|
then
|
|
|
|
echo "sshd found in rc.tcpip, not adding."
|
|
|
|
else
|
|
|
|
echo "Adding sshd to rc.tcpip"
|
|
|
|
echo >>/etc/rc.tcpip
|
|
|
|
echo "# Start sshd" >>/etc/rc.tcpip
|
|
|
|
echo "\$startupcmd" >>/etc/rc.tcpip
|
|
|
|
fi
|
2002-03-05 04:38:35 +01:00
|
|
|
fi
|
|
|
|
EOF
|
|
|
|
|
|
|
|
#
|
|
|
|
# Create liblpp.a and move control files into it
|
|
|
|
#
|
|
|
|
echo Creating liblpp.a
|
|
|
|
(
|
|
|
|
cd ..
|
2003-03-10 02:10:45 +01:00
|
|
|
for i in openssh.al openssh.copyright openssh.inventory openssh.post_i openssh.size LICENCE README*
|
2002-03-05 04:38:35 +01:00
|
|
|
do
|
2002-06-26 01:38:47 +02:00
|
|
|
ar -r liblpp.a $i
|
|
|
|
rm $i
|
2002-03-05 04:38:35 +01:00
|
|
|
done
|
|
|
|
)
|
|
|
|
|
|
|
|
#
|
|
|
|
# Create lpp_name
|
|
|
|
#
|
|
|
|
# This will end up looking something like:
|
|
|
|
# 4 R I OpenSSH {
|
|
|
|
# OpenSSH 3.0.2.1 1 N U en_US OpenSSH 3.0.2p1 Portable for AIX
|
|
|
|
# [
|
|
|
|
# %
|
|
|
|
# /usr/local/bin 8073
|
|
|
|
# /usr/local/etc 189
|
|
|
|
# /usr/local/libexec 185
|
|
|
|
# /usr/local/man/man1 145
|
|
|
|
# /usr/local/man/man8 83
|
|
|
|
# /usr/local/sbin 2105
|
|
|
|
# /usr/local/share 3
|
|
|
|
# %
|
|
|
|
# ]
|
2002-06-26 01:38:47 +02:00
|
|
|
# }
|
|
|
|
|
2002-03-05 04:38:35 +01:00
|
|
|
echo Creating lpp_name
|
|
|
|
cat <<EOF >../lpp_name
|
|
|
|
4 R I $PKGNAME {
|
|
|
|
$PKGNAME $BFFVERSION 1 N U en_US OpenSSH $VERSION Portable for AIX
|
|
|
|
[
|
|
|
|
%
|
|
|
|
EOF
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
for i in $bindir $sysconfdir $libexecdir $mandir/${mansubdir}1 $mandir/${mansubdir}8 $sbindir $datadir /usr/lpp/openssh
|
2002-03-05 04:38:35 +01:00
|
|
|
do
|
|
|
|
# get size in 512 byte blocks
|
2002-06-26 01:38:47 +02:00
|
|
|
if [ -d $FAKE_ROOT/$i ]
|
|
|
|
then
|
|
|
|
size=`du $FAKE_ROOT/$i | awk '{print $1}'`
|
|
|
|
echo "$i $size" >>../lpp_name
|
|
|
|
fi
|
2002-03-05 04:38:35 +01:00
|
|
|
done
|
|
|
|
|
|
|
|
echo '%' >>../lpp_name
|
|
|
|
echo ']' >>../lpp_name
|
|
|
|
echo '}' >>../lpp_name
|
|
|
|
|
|
|
|
#
|
|
|
|
# Move pieces into place
|
|
|
|
#
|
|
|
|
mkdir -p usr/lpp/openssh
|
|
|
|
mv ../liblpp.a usr/lpp/openssh
|
|
|
|
mv ../lpp_name .
|
|
|
|
|
|
|
|
#
|
|
|
|
# Now invoke backup to create .bff file
|
2002-06-26 01:38:47 +02:00
|
|
|
# note: lpp_name needs to be the first file so we generate the
|
2002-03-05 04:38:35 +01:00
|
|
|
# file list on the fly and feed it to backup using -i
|
|
|
|
#
|
|
|
|
echo Creating $PKGNAME-$VERSION.bff with backup...
|
2002-03-17 23:05:24 +01:00
|
|
|
rm -f $PKGNAME-$VERSION.bff
|
2002-03-05 04:38:35 +01:00
|
|
|
(
|
|
|
|
echo "./lpp_name"
|
2003-11-21 13:48:55 +01:00
|
|
|
find . ! -name lpp_name -a ! -name . -print
|
2002-03-05 04:38:35 +01:00
|
|
|
) | backup -i -q -f ../$PKGNAME-$VERSION.bff $filelist
|
|
|
|
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
2002-07-18 03:04:50 +02:00
|
|
|
# Move package into final location and clean up
|
2002-06-26 01:38:47 +02:00
|
|
|
#
|
2002-07-18 03:04:50 +02:00
|
|
|
mv ../$PKGNAME-$VERSION.bff $startdir
|
|
|
|
cd $startdir
|
2002-06-26 01:38:47 +02:00
|
|
|
rm -rf $objdir/$PKGDIR
|
2002-03-05 04:38:35 +01:00
|
|
|
|
|
|
|
echo $0: done.
|
|
|
|
|