{"thread":{"id":"1654","subject":"[PATCH] Enable git-send-email-script on Debian.","startedAt":"2005-08-26T01:29:43Z","lastAt":"2005-08-26T01:29:43Z","messageCount":1,"participants":["Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"7784","messageId":"7vfysxmqns.fsf@assigned-by-dhcp.cox.net","threadId":"1654","inReplyTo":null,"subject":"[PATCH] Enable git-send-email-script on Debian.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-08-26T01:29:43Z","receivedAt":"2005-08-26T01:29:43Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"You can define WITH_SEND_EMAIL to include the send-email command as\npart of the installation.  Since Debian, unlike RPM/Fedora, has the\ntwo necessary Perl modules available as part of the mainline\ndistribution, there is no reason for us to shy away from shipping\nsend-email.\n\nSigned-off-by: Junio C Hamano <junkio@cox.net>\n\n---\n\n *** How do you like this one, Ryan?  Yes I know that we should\n *** not be using the same \"0.99.5-\" with different package\n *** version to ship changes in the upsteram file (Makefile)\n *** like this, but that aside...\n\n Makefile         |    5 ++++-\n debian/changelog |    7 +++++++\n debian/rules     |    3 +++\n 3 files changed, 14 insertions(+), 1 deletions(-)\n\n32fa6df832a1dc9ed0a1388dbe11a16b236683d5\ndiff --git a/Makefile b/Makefile\n--- a/Makefile\n+++ b/Makefile\n@@ -69,7 +69,6 @@ SCRIPTS=git git-apply-patch-script git-m\n \tgit-request-pull-script git-bisect-script\n \n SCRIPTS += git-count-objects-script\n-# SCRIPTS += git-send-email-script\n SCRIPTS += git-revert-script\n SCRIPTS += git-octopus-script\n \n@@ -87,6 +86,10 @@ PROG=   git-update-cache git-diff-files \n \tgit-show-index git-daemon git-var git-peek-remote git-show-branch \\\n \tgit-update-server-info git-show-rev-cache git-build-rev-cache\n \n+ifdef WITH_SEND_EMAIL\n+SCRIPTS += git-send-email-script\n+endif\n+\n ifndef NO_CURL\n \tPROG+= git-http-pull\n endif\ndiff --git a/debian/changelog b/debian/changelog\n--- a/debian/changelog\n+++ b/debian/changelog\n@@ -1,3 +1,10 @@\n+git-core (0.99.5-1) unstable; urgency=low\n+\n+  * Enable git-send-email-script on Debian.  There is no reason to shy\n+    away from it, since we have the necessary Perl modules available.\n+\n+ -- Junio C Hamano <junkio@cox.net>  Thu, 25 Aug 2005 14:16:59 -0700\n+\n git-core (0.99.5-0) unstable; urgency=low\n \n   * GIT 0.99.5\ndiff --git a/debian/rules b/debian/rules\n--- a/debian/rules\n+++ b/debian/rules\n@@ -25,6 +25,9 @@ else\n \texport MOZILLA_SHA1=YesPlease\n endif\n \n+# We do have the requisite perl modules in the mainline, and\n+# have no reason to shy away from this script.\n+export WITH_SEND_EMAIL=YesPlease\n \n PREFIX := /usr\n MANDIR := /usr/share/man/\n"}]}