[Ocfs2-tools-commits] jlbec commits r940 - in trunk: . debian

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Jun 14 03:17:54 CDT 2005


Author: jlbec
Date: 2005-06-14 03:17:51 -0500 (Tue, 14 Jun 2005)
New Revision: 940

Added:
   trunk/debian/
   trunk/debian/README.Debian
   trunk/debian/changelog
   trunk/debian/compat
   trunk/debian/control
   trunk/debian/ocfs2-tools.copyright
   trunk/debian/ocfs2-tools.docs
   trunk/debian/ocfs2-tools.files
   trunk/debian/ocfs2-tools.manpages
   trunk/debian/ocfs2console.copyright
   trunk/debian/ocfs2console.files
   trunk/debian/ocfs2console.manpages
   trunk/debian/postinst
   trunk/debian/prerm
   trunk/debian/rules
Log:

o Debianize packaging




Property changes on: trunk/debian
___________________________________________________________________
Name: svn:ignore
   + .*.sw?
files
*.debhelper
tmp
dsh
*.substvars


Added: trunk/debian/README.Debian
===================================================================
--- trunk/debian/README.Debian	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/README.Debian	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1 @@
+

Added: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/changelog	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,10 @@
+ocfs2-tools (0.99.11-1) unstable; urgency=low
+
+  * Initial debian file.
+
+ -- Joel Becker <joel.becker at oracle.com>  Mon, 13 Jun 2004 23:17:35 -0800
+
+
+Local variables:
+mode: debian-changelog
+End:

Added: trunk/debian/compat
===================================================================
--- trunk/debian/compat	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/compat	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1 @@
+4

Added: trunk/debian/control
===================================================================
--- trunk/debian/control	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/control	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,23 @@
+Source: ocfs2-tools
+Section: admin
+Priority: optional
+Maintainer: Joel Becker <joel.becker at oracle.com>
+Standards-Version: 3.5.6
+Build-Depends: python-gtk2-dev (>= 2.0), python (>= 2.3), python (<< 2.4), python2.3-dev, libglib2.0-dev (>= 2.2.4), libreadline4-dev, comerr-dev, uuid-dev, debhelper (>= 3.0.5)
+
+Package: ocfs2-tools
+Architecture: any
+Depends: ${shlibs:Depends}
+Section: admin
+Conflicts:
+Description: Tools for managing the OCFS2 filesystem.
+ Tools to manage the OCFS2 filesystem, including mkfs, tunefs, fsck,
+ debugfs, and the utilities to control the O2CB clustering stack.
+
+Package: ocfs2console
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ocfs2-tools (= ${Source-Version})
+Section: admin
+Conflicts:
+Description: The ocfs2console GUI
+ ocfs2console is a GUI for creating and managing OCFS2 filesystems.

Added: trunk/debian/ocfs2-tools.copyright
===================================================================
--- trunk/debian/ocfs2-tools.copyright	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2-tools.copyright	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,19 @@
+Program Copyright (C) 2005 Oracle Corporation,
+Joel Becker <joel.becker at oracle.com>.
+All Rights Reserved.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, version 2.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or
+with the Debian GNU/Linux hello source package as the file COPYING.  
+If not, write to the Free Software Foundation, Inc., 59 Templ Place -
+Suite 330, Boston, MA 02111-1307, USA.
+

Added: trunk/debian/ocfs2-tools.docs
===================================================================
--- trunk/debian/ocfs2-tools.docs	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2-tools.docs	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,5 @@
+README.O2CB
+COPYING
+CREDITS
+MAINTAINERS
+documentation/users_guide.txt

Added: trunk/debian/ocfs2-tools.files
===================================================================
--- trunk/debian/ocfs2-tools.files	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2-tools.files	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,11 @@
+sbin/fsck.ocfs2
+sbin/mkfs.ocfs2
+sbin/mounted.ocfs2
+sbin/tunefs.ocfs2
+sbin/debugfs.ocfs2
+sbin/o2cb_ctl
+sbin/mount.ocfs2
+sbin/ocfs2cdsl
+sbin/ocfs2_hb_ctl
+etc/init.d/o2cb
+etc/sysconfig/o2cb

Added: trunk/debian/ocfs2-tools.manpages
===================================================================
--- trunk/debian/ocfs2-tools.manpages	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2-tools.manpages	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,8 @@
+debian/tmp/usr/share/man/man8/debugfs.ocfs2.8
+debian/tmp/usr/share/man/man8/fsck.ocfs2.8
+debian/tmp/usr/share/man/man8/fsck.ocfs2.checks.8
+debian/tmp/usr/share/man/man8/mkfs.ocfs2.8
+debian/tmp/usr/share/man/man8/tunefs.ocfs2.8
+debian/tmp/usr/share/man/man8/mounted.ocfs2.8
+debian/tmp/usr/share/man/man8/o2cb_ctl.8
+debian/tmp/usr/share/man/man8/ocfs2cdsl.8

Added: trunk/debian/ocfs2console.copyright
===================================================================
--- trunk/debian/ocfs2console.copyright	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2console.copyright	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,19 @@
+Program Copyright (C) 2005 Oracle Corporation,
+Joel Becker <joel.becker at oracle.com>.
+All Rights Reserved.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, version 2.
+
+This program is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+General Public License for more details.
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or
+with the Debian GNU/Linux hello source package as the file COPYING.  
+If not, write to the Free Software Foundation, Inc., 59 Templ Place -
+Suite 330, Boston, MA 02111-1307, USA.
+

Added: trunk/debian/ocfs2console.files
===================================================================
--- trunk/debian/ocfs2console.files	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2console.files	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,2 @@
+usr/lib/python2.3
+usr/sbin/ocfs2console

Added: trunk/debian/ocfs2console.manpages
===================================================================
--- trunk/debian/ocfs2console.manpages	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/ocfs2console.manpages	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man8/ocfs2console.8

Added: trunk/debian/postinst
===================================================================
--- trunk/debian/postinst	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/postinst	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+#DEBHELPER#

Added: trunk/debian/prerm
===================================================================
--- trunk/debian/prerm	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/prerm	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+#DEBHELPER#

Added: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2005-06-13 23:03:52 UTC (rev 939)
+++ trunk/debian/rules	2005-06-14 08:17:51 UTC (rev 940)
@@ -0,0 +1,102 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# This file is public domain software, originally written by Joey Hess.
+#
+# This version is for a multibinary package. It also allows you to build any
+# of the binary packages independantly, via binary-<package> targets.
+
+# Uncomment this to turn on verbose mode. 
+#export DH_VERBOSE=1
+
+# This has to be exported to make some magic below work.
+export DH_OPTIONS
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	./configure --disable-debug --prefix=/usr --mandir=/usr/share/man
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	-$(MAKE) -i distclean
+
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	mkdir -p debian/tmp/etc/init.d
+	cp -f vendor/common/o2cb.init debian/tmp/etc/init.d/o2cb
+	mkdir -p debian/tmp/etc/sysconfig
+	cp -f vendor/common/o2cb.sysconfig debian/tmp/etc/sysconfig/o2cb
+
+	$(MAKE) DESTDIR=`pwd`/debian/tmp install
+
+# We're using compat of 3
+#	dh_install
+
+# This single target is used to build all the packages, all at once, or
+# one at a time. So keep in mind: any options passed to commands here will
+# affect _all_ packages. Anything you want to only affect one package
+# should be put in another target, such as the install target.
+binary-common:
+	dh_testdir
+	dh_testroot
+
+	# debhelper V3 compat level
+	dh_movefiles
+
+	dh_installchangelogs
+	dh_installdocs
+#	dh_installexamples
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+	dh_installman
+#	dh_installcron
+#	dh_installinfo
+#	dh_undocumented
+	dh_strip
+	dh_link
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs 
+	dh_installdeb
+	dh_python
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+	# timbo-doc isn't ready yet
+	#$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+# Any other binary targets build just one binary package at a time.
+binary-%: build install
+	make -f debian/rules binary-common DH_OPTIONS=-p$*
+
+# No indep right now
+#binary: binary-indep binary-arch
+binary: binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *



More information about the Ocfs2-tools-commits mailing list