head	1.3;
access;
symbols
	perseant-exfatfs-base-20250801:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.26
	perseant-exfatfs-base:1.3
	cjep_sun2x:1.3.0.24
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	cjep_staticlib_x:1.3.0.22
	cjep_staticlib_x-base:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	phil-wifi-20200406:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	pgoyette-compat-0728:1.3
	pgoyette-compat-0625:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	pgoyette-compat:1.3.0.20
	pgoyette-compat-base:1.3
	perseant-stdc-iso10646:1.3.0.18
	perseant-stdc-iso10646-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.16
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	bouyer-socketcan:1.3.0.14
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	pgoyette-localcount-20161104:1.3
	localcount-20160914:1.3
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.12
	pgoyette-localcount-base:1.3
	yamt-pagecache-base9:1.3
	yamt-pagecache-tag8:1.3
	tls-earlyentropy:1.3.0.8
	tls-earlyentropy-base:1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.3
	riastradh-drm2-base3:1.3
	agc-symver:1.3.0.10
	agc-symver-base:1.3
	tls-maxphys-base:1.3
	yamt-pagecache-base8:1.3
	yamt-pagecache-base7:1.3
	yamt-pagecache-base6:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.6
	yamt-pagecache-base:1.3
	bouyer-quota2-nbase:1.3
	bouyer-quota2:1.3.0.4
	bouyer-quota2-base:1.3
	jym-xensuspend-nbase:1.3
	jym-xensuspend:1.3.0.2
	jym-xensuspend-base:1.3
	haad-dm-base:1.1.1.1
	haad-dm:1.1.1.1.0.2
	haad-dm-base2:1.1.1.1
	haad-nbase2:1.1.1.1
	lvm2tools-2-02-43:1.1.1.1
	FSF:1.1.1;
locks; strict;
comment	@# @;


1.3
date	2008.12.22.01.07.21;	author haad;	state dead;
branches;
next	1.2;

1.2
date	2008.12.19.15.24.04;	author haad;	state Exp;
branches;
next	1.1;

1.1
date	2008.12.12.11.41.40;	author haad;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2008.12.12.11.41.40;	author haad;	state Exp;
branches
	1.1.1.1.2.1;
next	;

1.1.1.1.2.1
date	2008.12.12.11.41.40;	author haad;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.12.12.16.32.57;	author haad;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove broken merged sources of haad-dm. lvm2tools are now in gpl2/lvm2
and libdevmapper is not needed anymore.
@
text
@#! /bin/sh
#
#	$NetBSD		$
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# lvm2netbsd:  convert a file source tree into a
# format suitable for import.  Works on current dir.
# You can run this only once if you want it to work.
#
# configure.h file in lvm2tools/lib/ was generated with this command
#
# ./configure --with-cluster=none --with-snapshots=internal --with-clvmd=none 
#   --with-lvm1=none --with-cluster=none --disable-readline --enable-o_direct 
#   --enable-devmapper
#
# based on texinfo2netbsd
#

# edit this
lvm2_vers='2.2.02.43'

import_date=`date '+%m-%d-%y'`;
#
# (usually) NO NEED TO EDIT BELOW THIS LINE
#

### Wipe out stuff we don't want
rm -f .cvsignore

echo "Installing header files."
(
    cd include/
    cp `cat .symlinks | xargs` .;

    cat > version.h <<EOF
#ifndef _LVM_VERSION_H
#define LVM_VERSION "$lvm2_vers-cvs ($import_date)"
#endif
EOF
    cd ../
)
echo done

echo "Adding NetBSD RCS ID tags to lvm2 sources"

### Add NetBSD RCS Id
find . -type f -name '*.[chly]' -print | while read c; do
	sed -e '1{/$NetBSD/!{i\
/*	\$NetBSD\$	*/\

};}
/#ifndef[ 	]lint/{N;/FILE_RCSID/s/\n/\
#if 0\
/
a\
#else\
__RCSID("\$NetBSD\$");\
#endif
}' $c > /tmp/file3$$
mv /tmp/file3$$ $c && echo did source mods for $c
done

echo "Adding NetBSD RCS ID tags to manual pages"
#### Add RCS tags to man pages
find . -type f -name '*.[0-9].in' -print | while read m; do
        base=`basename $m .in`
	sed -e '1{/$NetBSD/!i\
.\\"	\$NetBSD\$\
.\\"

}'	    -e 's/__CSECTION__/1/g' \
	    -e 's/__FSECTION__/5/g' \
	    -e 's/__VERSION__/'"${file_vers}/g" \
	    -e 's,__MAGIC__,/usr/share/misc/magic,g' \
            -e "s/#VERSION#/$lvm2_vers-cvs ($import_date)/" \
	    $m > `dirname $m`/$base && echo did manpage mods for $base
done

echo done

### Clean up any CVS directories that might be around.
echo "cleaning up CVS residue."
(
        find . -type d -name "CVS" -print | xargs rm -r
)
echo done


ver=`echo ${lvm2_vers} | sed -e 's/\./-/g'`
echo You can import now.  Use the following command:
echo cvs import src/external/gpl2/lvm2tools/dist FSF lvm2tools-${ver}

exit 0
#! /bin/sh
#
#	$NetBSD		$
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# lvm2netbsd:  convert a file source tree into a
# format suitable for import.  Works on current dir.
# You can run this only once if you want it to work.
#
# configure.h file in lvm2tools/lib/ was generated with this command
#
# ./configure --with-cluster=none --with-snapshots=internal --with-clvmd=none 
#   --with-lvm1=none --with-cluster=none --disable-readline --enable-o_direct 
#   --enable-devmapper
#
# based on texinfo2netbsd
#

# edit this
lvm2_vers='2.2.02.43'

import_date=`date '+%m-%d-%y'`;
#
# (usually) NO NEED TO EDIT BELOW THIS LINE
#

### Wipe out stuff we don't want
rm -f .cvsignore

echo "Installing header files."
(
    cd include/
    cp `cat .symlinks | xargs` .;

    cat > version.h <<EOF
#ifndef _LVM_VERSION_H
#define LVM_VERSION "$lvm2_vers-cvs ($import_date)"
#endif
EOF
    cd ../
)
echo done

echo "Adding NetBSD RCS ID tags to lvm2 sources"

### Add NetBSD RCS Id
find . -type f -name '*.[chly]' -print | while read c; do
	sed -e '1{/$NetBSD/!{i\
/*	\$NetBSD\$	*/\

};}
/#ifndef[ 	]lint/{N;/FILE_RCSID/s/\n/\
#if 0\
/
a\
#else\
__RCSID("\$NetBSD\$");\
#endif
}' $c > /tmp/file3$$
mv /tmp/file3$$ $c && echo did source mods for $c
done

echo "Adding NetBSD RCS ID tags to manual pages"
#### Add RCS tags to man pages
find . -type f -name '*.[0-9].in' -print | while read m; do
        base=`basename $m .in`
	sed -e '1{/$NetBSD/!i\
.\\"	\$NetBSD\$\
.\\"

}'	    -e 's/__CSECTION__/1/g' \
	    -e 's/__FSECTION__/5/g' \
	    -e 's/__VERSION__/'"${file_vers}/g" \
	    -e 's,__MAGIC__,/usr/share/misc/magic,g' \
            -e "s/#VERSION#/$lvm2_vers-cvs ($import_date)/" \
	    $m > `dirname $m`/$base && echo did manpage mods for $base
done

echo done

### Clean up any CVS directories that might be around.
echo "cleaning up CVS residue."
(
        find . -type d -name "CVS" -print | xargs rm -r
)
echo done


ver=`echo ${lvm2_vers} | sed -e 's/\./-/g'`
echo You can import now.  Use the following command:
echo cvs import src/external/gpl2/lvm2tools/dist FSF lvm2tools-${ver}

exit 0
@


1.2
log
@Merge the haad-dm branch to -current. This branch adds LVM functionality to
the base NetBSD system. It uses Linux LVM2 tools and our BSD licensed
device-mapper driver.

The device-mapper driver can be used to create virtual block devices which
maps virtual blocks to real with target mapping called target. Currently
these targets are available a linear, zero, error and a snapshot (this is
work in progress and doesn't work yet).

The lvm2tools adds lvm and dmsetup binary to based system, where the lvm
tool is used to manage and administer whole LVM and the dmestup is used to
communicate iwith device-mapper kernel driver. With these tools also
a libdevmapper library is instaled to the base system.

Building of tools and driver is currently disable and can be enabled with
MKLVM=yes in mk.conf. I will add sets lists and rc.d script soon.

Oked by agc@@ and cube@@.
@
text
@@


1.1
log
@Initial revision
@
text
@d117 116
@


1.1.1.1
log
@Import of latest version of lvm2tools version 2.02.43. In this release
libdevmapper 1.02.29 release was merged by RedHat into the
lvm2tools repository.
@
text
@@


1.1.1.1.2.1
log
@file lvm2netbsd was added on branch haad-dm on 2008-12-12 16:32:57 +0000
@
text
@d1 116
@


1.1.1.1.2.2
log
@Commit updated lvm2tools-2-02-43 tools to haad-dm branch.
@
text
@a0 116
#! /bin/sh
#
#	$NetBSD		$
#
# Copyright (c) 2003 The NetBSD Foundation, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
# ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
# lvm2netbsd:  convert a file source tree into a
# format suitable for import.  Works on current dir.
# You can run this only once if you want it to work.
#
# configure.h file in lvm2tools/lib/ was generated with this command
#
# ./configure --with-cluster=none --with-snapshots=internal --with-clvmd=none 
#   --with-lvm1=none --with-cluster=none --disable-readline --enable-o_direct 
#   --enable-devmapper
#
# based on texinfo2netbsd
#

# edit this
lvm2_vers='2.2.02.43'

import_date=`date '+%m-%d-%y'`;
#
# (usually) NO NEED TO EDIT BELOW THIS LINE
#

### Wipe out stuff we don't want
rm -f .cvsignore

echo "Installing header files."
(
    cd include/
    cp `cat .symlinks | xargs` .;

    cat > version.h <<EOF
#ifndef _LVM_VERSION_H
#define LVM_VERSION "$lvm2_vers-cvs ($import_date)"
#endif
EOF
    cd ../
)
echo done

echo "Adding NetBSD RCS ID tags to lvm2 sources"

### Add NetBSD RCS Id
find . -type f -name '*.[chly]' -print | while read c; do
	sed -e '1{/$NetBSD/!{i\
/*	\$NetBSD\$	*/\

};}
/#ifndef[ 	]lint/{N;/FILE_RCSID/s/\n/\
#if 0\
/
a\
#else\
__RCSID("\$NetBSD\$");\
#endif
}' $c > /tmp/file3$$
mv /tmp/file3$$ $c && echo did source mods for $c
done

echo "Adding NetBSD RCS ID tags to manual pages"
#### Add RCS tags to man pages
find . -type f -name '*.[0-9].in' -print | while read m; do
        base=`basename $m .in`
	sed -e '1{/$NetBSD/!i\
.\\"	\$NetBSD\$\
.\\"

}'	    -e 's/__CSECTION__/1/g' \
	    -e 's/__FSECTION__/5/g' \
	    -e 's/__VERSION__/'"${file_vers}/g" \
	    -e 's,__MAGIC__,/usr/share/misc/magic,g' \
            -e "s/#VERSION#/$lvm2_vers-cvs ($import_date)/" \
	    $m > `dirname $m`/$base && echo did manpage mods for $base
done

echo done

### Clean up any CVS directories that might be around.
echo "cleaning up CVS residue."
(
        find . -type d -name "CVS" -print | xargs rm -r
)
echo done


ver=`echo ${lvm2_vers} | sed -e 's/\./-/g'`
echo You can import now.  Use the following command:
echo cvs import src/external/gpl2/lvm2tools/dist FSF lvm2tools-${ver}

exit 0
@


