All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] Debian packaging
@ 2000-12-13 20:15 Russell Coker
  2000-12-14 15:50 ` Tamas Gergely
  2000-12-14 16:46 ` lewis
  0 siblings, 2 replies; 25+ messages in thread
From: Russell Coker @ 2000-12-13 20:15 UTC (permalink / raw)
  To: Linux-LVM

I plan to take over the Debian package of lvm because the current maintainer 
hasn't fixed serious bugs for quite a while.

I have created packages for lvm 0.8.1 and lvm 0.9.  One change I think should 
be done is an option for ./configure to specify whether a shared library 
should be used or whether the programs should be statically linked.  If this 
is desired then someone please tell me which version I should create a patch 
against and I'll send it in.

Also as part of the Debian packaging I have put the following patch in to 
make it clean up all files after compiling:
diff -ruN ../LVM.orig/lvm-0.8.1.orig/Makefile.in lvm-0.8.1-0/Makefile.in
--- ../LVM.orig/lvm-0.8.1.orig/Makefile.in      Sun Nov 12 19:52:12 2000
+++ lvm-0.8.1-0/Makefile.in     Wed Dec 13 15:40:06 2000
@@ -39,4 +39,5 @@
 distclean: clean
        $(MAKE) -C tools distclean
        rm -f config.cache config.log config.status
-       rm -f Makefile make.tmpl
+       rm -f Makefile make.tmpl tools/Makefile tools/tools_and_lib.make.tmpl 
\
+              tools/lib/Makefile tools/man8/Makefile 

Also I have put in the following patch to work with the way Debian packages 
have different compile and install directories:
--- ../LVM.orig/lvm-0.8.1.orig/make.tmpl.in     Sun Nov 12 19:52:12 2000
+++ lvm-0.8.1-0/make.tmpl.in    Wed Dec 13 15:40:06 2000
@@ -35,11 +35,16 @@
 # Setup directory variables
 prefix = @prefix@
 exec_prefix = @exec_prefix@
-bindir = @bindir@
-sbindir = @sbindir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
+bindir = ${PREFIX}@bindir@
+sbindir = ${PREFIX}@sbindir@
+libdir = ${PREFIX}@libdir@
+infodir = ${PREFIX}@infodir@
+mandir = ${PREFIX}@mandir@
+
+ifeq ($(TOP),)
+TOP := $(shell cd `for i in . .. ../..; do if [ -f $$i/LVM-HOWTO ]; then 
echo $$i; break; fi; done`; pwd)
+export TOP
+endif
 
 # helper scripts
 UNINSTALL = ${TOP}/autoconf/uninstall.pl


Also I would prefer to have the Debian packaging files in the upstream 
source.  They are about 5K of data in 11 files in a separate sub-directory.  
Please let me know if this would be desired/accepted as part of the LVM 
upstream source and I will send the relevant patch to you.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: [linux-lvm] Debian packaging
@ 2000-12-20 15:18 Claudio Matsuoka
  0 siblings, 0 replies; 25+ messages in thread
From: Claudio Matsuoka @ 2000-12-20 15:18 UTC (permalink / raw)
  To: linux-lvm

On Tue, 19 Dec 2000, Andreas Dilger wrote:

> No, because you can have multiple kernels installed, and the LVM IOP may
> change depending on the LVM version, even within a single kernel release
> (i.e. 2.2 or 2.4).  It would be nice (but more complex) if the LVM user
> tools could handle multiple IOP versions, but they don't.  Also, the
> update-alternatives functionality is only available on Debian, so we
> would still need another mechanism on RPM-based systems, and it may
> as well be uniform across all systems.

Ok, experimental lvm-base, lvm-iop6 and lvm-iop10 RPM packages available
at http://distro.conectiva.com.br/experimental/lvm. They certainly need
improvements, but I'm able to transparently switch back and forth between
IOP 6 and IOP 10.

To get the packages using APT, add the following lines to sources.list:

rpm http://distro.conectiva.com.br/experimental lvm/conectiva main
rpm-src http://distro.conectiva.com.br/experimental lvm/conectiva main


claudio

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2000-12-20 23:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-13 20:15 [linux-lvm] Debian packaging Russell Coker
2000-12-14 15:50 ` Tamas Gergely
2000-12-14 16:22   ` Russell Coker
2000-12-17  2:00     ` Ragnar Kjørstad
2000-12-17 10:49       ` Claudio Matsuoka
2000-12-17  9:47     ` Luca Berra
2000-12-17 18:00     ` Andreas Dilger
2000-12-18  1:00       ` Claudio Matsuoka
2000-12-19 20:24       ` Fionn Behrens
2000-12-19 22:51         ` Andreas Dilger
2000-12-20  8:43           ` Ulf Bartelt
2000-12-20 15:04           ` Claudio Matsuoka
2000-12-20 21:53         ` Russell Coker
2000-12-20 22:30           ` lewis
2000-12-20 23:15             ` Andreas Dilger
2000-12-14 17:43   ` HIBINO Kei
2000-12-15 17:58     ` Gergely Tamas
2000-12-15 22:10       ` Ragnar Kjørstad
2000-12-15 23:13         ` Jay Weber
2000-12-16  7:19         ` Gergely Tamas
2000-12-14 16:46 ` lewis
2000-12-15  6:51   ` Russell Coker
2000-12-15 18:15     ` lewis
2000-12-17 20:04     ` Tom Lees
  -- strict thread matches above, loose matches on Subject: below --
2000-12-20 15:18 Claudio Matsuoka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.