From 27a911ca193ad5a56a7afac4f6100b3a3f732680 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 9 Dec 2010 15:23:33 +0000 Subject: [PATCH] Add debian/ subdirectory (temporary). This adds the debian/ subdirectory to make it easier for us to build Debian packages. When we get this into Debian, this directory can be removed. --- .gitignore | 1 + configure.ac | 6 +++++- debian/.gitignore | 8 ++++++++ debian/changelog.in | 5 +++++ debian/compat | 1 + debian/control | 18 ++++++++++++++++++ debian/dirs | 2 ++ debian/rules | 7 +++++++ 8 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 debian/.gitignore create mode 100644 debian/changelog.in create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/dirs create mode 100755 debian/rules diff --git a/.gitignore b/.gitignore index 66161c7..f1339cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *~ +*.cdbs-orig *.cmi *.cmo *.cmx diff --git a/configure.ac b/configure.ac index a715668..5eb6c07 100644 --- a/configure.ac +++ b/configure.ac @@ -106,5 +106,9 @@ AC_CHECK_HEADER([ext2fs/ext2fs.h],[],[ ]) AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_FILES([config.ml Makefile lib/Makefile helper/Makefile]) +AC_CONFIG_FILES([config.ml + debian/changelog + Makefile + lib/Makefile + helper/Makefile]) AC_OUTPUT diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..790b089 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,8 @@ +*.debhelper.log +*.substvars +changelog +files +stamp-autotools +stamp-autotools-files +stamp-makefile-build +stamp-makefile-install \ No newline at end of file diff --git a/debian/changelog.in b/debian/changelog.in new file mode 100644 index 0000000..9480309 --- /dev/null +++ b/debian/changelog.in @@ -0,0 +1,5 @@ +febootstrap (@VERSION@-1) unstable; urgency=low + + * release: New upstream version @VERSION@. + + -- Richard W.M. Jones Thu, 9 Dec 2010 12:00:00 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..15c30ea --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: febootstrap +Section: libs +Priority: extra +Maintainer: Richard Jones +Uploaders: Richard Jones , Guido Günther +Build-Depends: debhelper (>= 7), ocaml, ocaml-findlib, aptitude, + module-init-tools, e2fslibs-dev, e2fsprogs +Homepage: http://people.redhat.com/~rjones/febootstrap +Standards-Version: 3.8.2 + +Package: febootstrap +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: bootstrapping tool for creating supermin appliances + febootstrap is a tool for building supermin appliances. These are + tiny appliances [similar to virtual machines], usually around 100KB + in size, which get fully instantiated on-the-fly in a fraction of a + second when you need to boot one of them. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..901aa2d --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man8 \ No newline at end of file diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..bb2be21 --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +DEB_DH_INSTALL_SOURCEDIR = debian/tmp +DEB_VENDOR=$(shell dpkg-vendor --query vendor) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk -- 1.8.3.1