{"thread":{"id":"1284","subject":"[PATCH] debian packaging fixes","startedAt":"2005-07-21T07:56:07Z","lastAt":"2005-07-21T07:56:07Z","messageCount":1,"participants":["Sebastian Kuzminsky"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"6291","messageId":"E1DvVuZ-0008QX-8N@highlab.com","threadId":"1284","inReplyTo":null,"subject":"[PATCH] debian packaging fixes","fromName":"Sebastian Kuzminsky","fromEmail":"seb@highlab.com","sentAt":"2005-07-21T07:56:07Z","receivedAt":"2005-07-21T07:56:07Z","isPatch":true,"sender":{"key":"seb@highlab.com","avatar":"https://gravatar.com/avatar/f7ddd092ba3cf6999434f4d0d2f4b90fd174c2c3851617e8cffc0a2fee47becc?d=mp&s=160"},"body":"This patch includes two fixes to the git-core Debian package:\n\n    * Conflict with the GNU Interactive Tools package, which _also_\n      wants to install /usr/bin/git.\n\n    * Compile against the unencumbered Mozilla SHA1 code, instead of\n      the iffy OpenSSL code.  This makes it easier to get the package\n      included for distribution with Debian.\n\nNote: Assumes that Ryan Anderson's patch \"Deb packages should include\nthe binaries\" has been applied.\n\nSigned-off-by: Sebastian Kuzminsky <seb@highlab.com>\n---\n\n changelog |   11 +++++++++++\n control   |    3 ++-\n rules     |   14 ++++++++++++++\n 3 files changed, 27 insertions(+), 1 deletion(-)\n\ndiff --git a/debian/changelog b/debian/changelog\n--- a/debian/changelog\n+++ b/debian/changelog\n@@ -1,3 +1,14 @@\n+git-core (0.99.1-1) unstable; urgency=low\n+\n+  * Conflict with the GNU Interactive Tools package, which also installs\n+    /usr/bin/git.\n+  * Dont compile against the OpenSSL SHA1 code, it's problematically\n+    licensed.  Instead use the PPC assembly on PPC, and the code ripped\n+    from Mozilla everywhere else.\n+  * Minor tweaks to the Build-Depends.\n+\n+ -- Sebastian Kuzminsky <seb@highlab.com>  Thu, 21 Jul 2005 01:28:35 -0600\n+\n git-core (0.99-1) unstable; urgency=low\n \n   * Update deb package support to build correctly. \ndiff --git a/debian/control b/debian/control\n--- a/debian/control\n+++ b/debian/control\n@@ -7,7 +7,8 @@\n \n Package: git-core\n Architecture: any\n-Depends: ${shlibs:Depends}, shellutils, diff, rysnc, rcs\n+Depends: ${shlibs:Depends}, patch, diff, rsync, rcs, wget, rsh-client\n+Conflicts: git\n Description: The git content addressable filesystem\n  GIT comes in two layers. The bottom layer is merely an extremely fast\n  and flexible filesystem-based database designed to store directory trees\ndiff --git a/debian/rules b/debian/rules\n--- a/debian/rules\n+++ b/debian/rules\n@@ -12,6 +12,20 @@\n endif\n export CFLAGS\n \n+#\n+# On PowerPC we compile against the hand-crafted assembly, on all\n+# other architectures we compile against GPL'ed sha1 code lifted\n+# from Mozilla.  OpenSSL is strangely licensed and best avoided\n+# in Debian.\n+#\n+HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)\n+ifeq (${HOST_ARCH},powerpc)\n+\texport PPC_SHA1=YesPlease\n+else\n+\texport MOZILLA_SHA1=YesPlease\n+endif\n+\n+\n PREFIX := /usr\n MANDIR := /usr/share/man/\n \n\n-- \nSebastian Kuzminsky\n"}]}