summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorkamil <kamil@pkgsrc.org>2016-07-08 09:09:47 +0000
committerkamil <kamil@pkgsrc.org>2016-07-08 09:09:47 +0000
commitb05ef738c86f6533da526650cd189bc47cc28cf9 (patch)
tree85d87b61d63a21493800a2cfabfa9ae53862cb40 /sysutils
parent21dfd52c5e1ed944c1914e1f2d700f79578f9ca1 (diff)
downloadpkgsrc-b05ef738c86f6533da526650cd189bc47cc28cf9.tar.gz
Import LVM2.2.02.98 as lvm2-2.02.98
LVM2 refers to the userspace toolset that provide logical volume management facilities on linux. It is reasonably backwards-compatible with the original LVM toolset. This package is restricted for the Linux environment.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/lvm2/DESCR5
-rw-r--r--sysutils/lvm2/Makefile23
-rw-r--r--sysutils/lvm2/PLIST103
-rw-r--r--sysutils/lvm2/buildlink3.mk12
-rw-r--r--sysutils/lvm2/distinfo7
-rw-r--r--sysutils/lvm2/patches/patch-configure33
6 files changed, 183 insertions, 0 deletions
diff --git a/sysutils/lvm2/DESCR b/sysutils/lvm2/DESCR
new file mode 100644
index 00000000000..842cbdafd51
--- /dev/null
+++ b/sysutils/lvm2/DESCR
@@ -0,0 +1,5 @@
+LVM2 refers to the userspace toolset that provide logical volume management
+facilities on linux. It is reasonably backwards-compatible with the original
+LVM toolset.
+
+This package is restricted for the Linux environment.
diff --git a/sysutils/lvm2/Makefile b/sysutils/lvm2/Makefile
new file mode 100644
index 00000000000..8c9fb990dd0
--- /dev/null
+++ b/sysutils/lvm2/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/07/08 09:09:47 kamil Exp $
+
+DISTNAME= LVM2.2.02.98
+PKGNAME= ${DISTNAME:S/LVM2./lvm2-/}
+CATEGORIES= sysutils
+MASTER_SITES= ftp://sources.redhat.com/pub/lvm2/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://sources.redhat.com/lvm2
+COMMENT= Linux userspace toolset for volume management facilities
+LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config gmake
+
+ONLY_FOR_PLATFORM= Linux-*-*
+
+PKGCONFIG_OVERRIDE+= daemons/dmeventd/libdevmapper-event.pc.in
+PKGCONFIG_OVERRIDE+= libdm/libdevmapper.pc.in
+PKGCONFIG_OVERRIDE+= liblvm/liblvm2app.pc.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/lvm2/PLIST b/sysutils/lvm2/PLIST
new file mode 100644
index 00000000000..528465ad4b3
--- /dev/null
+++ b/sysutils/lvm2/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/08 09:09:47 kamil Exp $
+include/libdevmapper.h
+lib/libdevmapper.so
+lib/libdevmapper.so.1.02
+man/man5/lvm.conf.5
+man/man8/blkdeactivate.8
+man/man8/dmsetup.8
+man/man8/fsadm.8
+man/man8/lvchange.8
+man/man8/lvconvert.8
+man/man8/lvcreate.8
+man/man8/lvdisplay.8
+man/man8/lvextend.8
+man/man8/lvm.8
+man/man8/lvmchange.8
+man/man8/lvmconf.8
+man/man8/lvmdiskscan.8
+man/man8/lvmdump.8
+man/man8/lvmsadc.8
+man/man8/lvmsar.8
+man/man8/lvreduce.8
+man/man8/lvremove.8
+man/man8/lvrename.8
+man/man8/lvresize.8
+man/man8/lvs.8
+man/man8/lvscan.8
+man/man8/pvchange.8
+man/man8/pvck.8
+man/man8/pvcreate.8
+man/man8/pvdisplay.8
+man/man8/pvmove.8
+man/man8/pvremove.8
+man/man8/pvresize.8
+man/man8/pvs.8
+man/man8/pvscan.8
+man/man8/vgcfgbackup.8
+man/man8/vgcfgrestore.8
+man/man8/vgchange.8
+man/man8/vgck.8
+man/man8/vgconvert.8
+man/man8/vgcreate.8
+man/man8/vgdisplay.8
+man/man8/vgexport.8
+man/man8/vgextend.8
+man/man8/vgimport.8
+man/man8/vgimportclone.8
+man/man8/vgmerge.8
+man/man8/vgmknodes.8
+man/man8/vgreduce.8
+man/man8/vgremove.8
+man/man8/vgrename.8
+man/man8/vgs.8
+man/man8/vgscan.8
+man/man8/vgsplit.8
+sbin/blkdeactivate
+sbin/dmsetup
+sbin/fsadm
+sbin/lvchange
+sbin/lvconvert
+sbin/lvcreate
+sbin/lvdisplay
+sbin/lvextend
+sbin/lvm
+sbin/lvmchange
+sbin/lvmconf
+sbin/lvmdiskscan
+sbin/lvmdump
+sbin/lvmsadc
+sbin/lvmsar
+sbin/lvreduce
+sbin/lvremove
+sbin/lvrename
+sbin/lvresize
+sbin/lvs
+sbin/lvscan
+sbin/pvchange
+sbin/pvck
+sbin/pvcreate
+sbin/pvdisplay
+sbin/pvmove
+sbin/pvremove
+sbin/pvresize
+sbin/pvs
+sbin/pvscan
+sbin/vgcfgbackup
+sbin/vgcfgrestore
+sbin/vgchange
+sbin/vgck
+sbin/vgconvert
+sbin/vgcreate
+sbin/vgdisplay
+sbin/vgexport
+sbin/vgextend
+sbin/vgimport
+sbin/vgimportclone
+sbin/vgmerge
+sbin/vgmknodes
+sbin/vgreduce
+sbin/vgremove
+sbin/vgrename
+sbin/vgs
+sbin/vgscan
+sbin/vgsplit
diff --git a/sysutils/lvm2/buildlink3.mk b/sysutils/lvm2/buildlink3.mk
new file mode 100644
index 00000000000..586722905c0
--- /dev/null
+++ b/sysutils/lvm2/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/08 09:09:47 kamil Exp $
+
+BUILDLINK_TREE+= lvm2
+
+.if !defined(LVM2_BUILDLINK3_MK)
+LVM2_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lvm2+= lvm2>=2.02.98
+BUILDLINK_PKGSRCDIR.lvm2?= ../../wip/lvm2
+.endif # LVM2_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -lvm2
diff --git a/sysutils/lvm2/distinfo b/sysutils/lvm2/distinfo
new file mode 100644
index 00000000000..237d1ffdb94
--- /dev/null
+++ b/sysutils/lvm2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/07/08 09:09:47 kamil Exp $
+
+SHA1 (LVM2.2.02.98.tgz) = 077425115b164c335a9930df745943e9ea666a8a
+RMD160 (LVM2.2.02.98.tgz) = acd22f3315dc903d5d599cefbb30272ac8dc33ee
+SHA512 (LVM2.2.02.98.tgz) = 9dd1f98f47af1724a2ff64c6d728a03254c46a499a21d48d305a34ae5728ff7b51ef4d32646a96e424c21a44fc8abc87ab5a25e59fcb75beabbf0d3446e41d7b
+Size (LVM2.2.02.98.tgz) = 1227919 bytes
+SHA1 (patch-configure) = b56244369c4789de8cf33d11c515e916aae3a32b
diff --git a/sysutils/lvm2/patches/patch-configure b/sysutils/lvm2/patches/patch-configure
new file mode 100644
index 00000000000..f083d1d5bbc
--- /dev/null
+++ b/sysutils/lvm2/patches/patch-configure
@@ -0,0 +1,33 @@
+$NetBSD: patch-configure,v 1.1 2016/07/08 09:09:47 kamil Exp $
+
+Fix unportable shell constructs.
+
+--- configure.orig 2012-10-15 14:24:58.000000000 +0000
++++ configure
+@@ -9259,7 +9259,7 @@ $as_echo "no" >&6; }
+ fi
+
+
+- if test x$PYTHON == xnotfound; then
++ if test x$PYTHON = xnotfound; then
+ as_fn_error $? "python is required for --enable-python_bindings but cannot be found
+ " "$LINENO" 5
+ fi
+@@ -9305,7 +9305,7 @@ $as_echo "no" >&6; }
+ fi
+
+
+- if test x$PYTHON_CONFIG == xnotfound; then
++ if test x$PYTHON_CONFIG = xnotfound; then
+ as_fn_error $? "python headers are required for --enable-python_bindings but cannot be found
+ " "$LINENO" 5
+ fi
+@@ -10040,7 +10040,7 @@ $as_echo "no" >&6; }
+ fi
+
+
+- if [ "x$MSGFMT" == x ];
++ if [ "x$MSGFMT" = x ];
+ then as_fn_error $? "msgfmt not found in path $PATH
+ " "$LINENO" 5
+ fi;