summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-09 15:23:33 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-09 16:13:19 +0000
commit27a911ca193ad5a56a7afac4f6100b3a3f732680 (patch)
tree2e6d00343b043117df202d7e6cc4ee70674eebc3
parentbcbbfa520a49967b3301243ebffdfefcd58c069a (diff)
downloadfebootstrap-27a911ca193ad5a56a7afac4f6100b3a3f732680.tar.gz
febootstrap-27a911ca193ad5a56a7afac4f6100b3a3f732680.tar.xz
febootstrap-27a911ca193ad5a56a7afac4f6100b3a3f732680.zip
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.
-rw-r--r--.gitignore1
-rw-r--r--configure.ac6
-rw-r--r--debian/.gitignore8
-rw-r--r--debian/changelog.in5
-rw-r--r--debian/compat1
-rw-r--r--debian/control18
-rw-r--r--debian/dirs2
-rwxr-xr-xdebian/rules7
8 files changed, 47 insertions, 1 deletions
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 <rjones@redhat.com> 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 <rjones@redhat.com>
+Uploaders: Richard Jones <rjones@redhat.com>, Guido Günther <agx@sigxcpu.org>
+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