Skip to contentSkip to conversation

Initial support for building a debian package (.deb)

PATCH New Eric W. Biederman 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Initial support for building a debian package (.deb)

It's not any harder to include debian package support than to include a spec file so here is the setup to build the equivalent debian package.

---

 debian/changelog         |    5 +++
 debian/control           |   17 ++++++++++
 debian/copyright         |    3 ++
 debian/docs              |    3 ++
 debian/git-core.doc-base |   12 +++++++
 debian/rules             |   81 ++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 121 insertions(+), 0 deletions(-)
 create mode 100644 debian/changelog
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/docs
 create mode 100644 debian/git-core.doc-base
 create mode 100644 debian/rules

a1f78e1ec9e95720b8d349d5095ed66b0137f862

debian/changelog new file +5 -0
new file mode 100644
@@ -0,0 +1,5 @@
+git-core (0.99-0) unstable; urgency=low
+	
+  * Initial deb package support
+
+ -- Eric Biederman <[email protected]>  Tue, 12 Jul 2005 10:57:51 -0600
debian/control new file +17 -0
new file mode 100644
@@ -0,0 +1,17 @@
+Source: git-core
+Section: devel
+Priority: optional
+Maintainer: Linus Torvalds <[email protected]>
+Build-Depends-Indep: libz-dev, libssl-dev, libcurl3-dev, asciidoc > 6.0.3, xmlto, debhelper (>= 4.0.0)
+Standards-Version: 3.6.1
+
+Package: git-core
+Architecture: any
+Depends: ${shlibs:Depends}, shellutils, diff, rysnc, rcs
+Description: The git content addressable filesystem
+ GIT comes in two layers. The bottom layer is merely an extremely fast
+ and flexible filesystem-based database designed to store directory trees
+ with regard to their history. The top layer is a SCM-like tool which
+ enables human beings to work with the database in a manner to a degree
+ similar to other SCM tools (like CVS, BitKeeper or Monotone).
+
debian/copyright new file +3 -0
new file mode 100644
@@ -0,0 +1,3 @@
+License: 
+
+GPL v2 (see COPYING for details)
debian/docs new file +3 -0
new file mode 100644
@@ -0,0 +1,3 @@
+README
+COPYING
+
debian/git-core.doc-base new file +12 -0
new file mode 100644
@@ -0,0 +1,12 @@
+Document: git-core
+Title: git-core
+Author: 
+Abstract: This manual describes git
+Section: Devel
+
+Format: HTML
+Index: /usr/share/doc/git-core/html/git.html
+Files: /usr/share/doc/git-core/html/*.html
+
+Format: text
+Files: /usr/share/doc/git-core/git-core.txt
debian/rules new file +81 -0

81 lines not on this page · raw message