X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 26056DC141B for ; Wed, 30 Sep 2015 18:14:57 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C2AD1DC0650 for ; Wed, 30 Sep 2015 18:14:56 +0000 (UTC) Received: by wicge5 with SMTP id ge5so209050679wic.0 for ; Wed, 30 Sep 2015 11:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=LKcTfdLxtImvncMMgmFAR48I7/x5GZBD+NSh9i3/GNo=; b=nxK2IzrRtKhhE1PWCUw/9lhn9Jx5rYKJfhM/j5SsCShuDPA+ajaYbHT4ol4tqxABVL jZfuRmn2T5OTupZbRHai18axcoVmEDcQH5qFUNMVYoCSHwQzz///hHqelgtGEWo0XXYR Ceu6aRNm4y6aUTAnAJe9EhMQ5sFyzoINWkxmnz5izlR8eQqpu0IFhN6CcyzIVWhDDaPI arenYapc564pGFlfVZ2bgaRadjS3ycNcg9YRqKxVxDFmH7Lsj01Zjg2NGxlMVRG9WuNS eR8A+WgCHZL1E146ZLm/xkeUISv3gz+Lh1GSW0eGPoUlzRVj1Duis+KXp7JnWrwuvp73 vJ8g== X-Received: by 10.194.179.137 with SMTP id dg9mr5916952wjc.55.1443636894776; Wed, 30 Sep 2015 11:14:54 -0700 (PDT) Received: from localhost.localdomain ([195.154.162.67]) by smtp.gmail.com with ESMTPSA id mc20sm2008323wic.16.2015.09.30.11.14.53 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Sep 2015 11:14:54 -0700 (PDT) From: Muh Muhten To: alpine-aports@lists.alpinelinux.org Cc: Muh Muhten Subject: [alpine-aports] [PATCH] main/git: unbreak send-email syntax errors Date: Wed, 30 Sep 2015 14:14:39 -0400 Message-Id: <1443636879-17545-1-git-send-email-muh.muhten@gmail.com> X-Mailer: git-send-email 2.3.8 (Apple Git-58) X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: something seems to have gone wrong in the process of copy-pasting in a18cf0d. I haven't tested this version to make sure it works, either, but at least it syntax-checks and by inspection it seems like it ought to work. 11:30 < nmeum> a18cf0d3343c487f4a6a262f0038f21d95c35b66 just broke git-send-email http://sprunge.us/TQMW could somebody with access to main/ please revert it? --- main/git/0001-senddata-16K-workaround.patch | 7 +++---- main/git/APKBUILD | 12 ++++++------ main/git/bb-tar.patch | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/main/git/0001-senddata-16K-workaround.patch b/main/git/0001-senddata-16K-workaround.patch index 2455b25..341a2a2 100644 --- a/main/git/0001-senddata-16K-workaround.patch +++ b/main/git/0001-senddata-16K-workaround.patch @@ -2,7 +2,7 @@ diff --git a/git-send-email.perl b/git-send-email.perl index ae9f869..b11dce8 100755 --- a/git-send-email.perl +++ b/git-send-email.perl -@@ -1347,7 +1347,15 @@ Message-Id: $message_id +@@ -1365,7 +1365,14 @@ Message-Id: $message_id $smtp->mail( $raw_from ) or die $smtp->message; $smtp->to( @recipients ) or die $smtp->message; $smtp->data or die $smtp->message; @@ -10,12 +10,11 @@ index ae9f869..b11dce8 100755 + # Apparently datasend cannot send more than about 16 and large patches + # cannot be sent. Source: + # http://git.661346.n2.nabble.com/git-send-email-Connection-Closed-td7635648.html -+ $smtp->datasend("$header\n") or die $smtp->message ++ $smtp->datasend("$header\n") or die $smtp->message; + my @lines = split /^/, $message; + foreach my $line (@lines) { -+ $smtp->datasend("$line") or die $smtp->message ++ $smtp->datasend("$line") or die $smtp->message; + } -+ $message") or die $smtp->message; $smtp->dataend() or die $smtp->message; $smtp->code =~ /250|200/ or die "Failed to send $subject\n".$smtp->message; } diff --git a/main/git/APKBUILD b/main/git/APKBUILD index 10d3f8d..1f801fa 100644 --- a/main/git/APKBUILD +++ b/main/git/APKBUILD @@ -237,17 +237,17 @@ _git_perl() { md5sums="6b7d43d615fb3f0dfecf4d131e23f438 git-2.6.0.tar.xz -e63a201556c4f089de790805c09a2e5b bb-tar.patch -820595e9651c98b696d2636a0a471824 0001-senddata-16K-workaround.patch +0549894076c2081d886fa5ee44c20e23 bb-tar.patch +4f7bd16e389e7df50433cea04d967353 0001-senddata-16K-workaround.patch 75b9d8f33fbec38a8e0e06baf5165b19 git-daemon.initd 2258e95d389ccc6de0b5111d53d9eed6 git-daemon.confd" sha256sums="211beb96ff41a83727e39704431ac388ecb1cebb5219cda067999bce4e1e15a6 git-2.6.0.tar.xz -cb6319f47d81605e199771350154cbed0a6e85ef9042a689f2b405c64039f49c bb-tar.patch -45632b49b0995984feb396c25e7baf8521341840ff78b9961bc62915a71e14e3 0001-senddata-16K-workaround.patch +968e996a306dab643970c5ce1ac40926146b01b9c38a8fe81c74340a0302dbc7 bb-tar.patch +b1440ce71aa4c2d5396472514d4f4e4adf2f6cf6c72bb7811c083f3b4e3fa700 0001-senddata-16K-workaround.patch 7918837f77b4cebce70b600b2f6da00e4c0df6b946f4ff5671c797c37b2ffc4f git-daemon.initd aaa80bd059db549dadf4c4e27a9aa41a4b5def844f8e563c493bc8513dcd981e git-daemon.confd" sha512sums="efcde5fa3ac56d577e25259e74f19026438ccf8888b79429eec2f141bb2a63bb83e73f65b1ea96bcc1f9f894fb90ec1b5ea81b9f0c1806d25352f6b266e7202a git-2.6.0.tar.xz -6fa088a753c2a697e8dbef2032ed63e8c2a0553a41cff2fcff893c2f35c51d2c697054cc921c23ee606f77b93d0f340df85220b15e1c470bd352f7fba3986cd0 bb-tar.patch -7af0b0efbdf242c672864bf3ebc7413cf789c81ab82410485168ac262d6aefb417b7fbf471aaafac52d03d0f473933339a39d64a9cd114800ce5f2d1415261a4 0001-senddata-16K-workaround.patch +85767b5e03137008d6a96199e769e3979f75d83603ac8cb13a3481a915005637409a4fd94e0720da2ec6cd1124f35eba7cf20109a94816c4b4898a81fbc46bd2 bb-tar.patch +3e481be3ece1a982b364955b0080dd648579d78bfcaca01f1120e0fc06cc41f162d9af50adf6eeb7cc20cf8bead6e18b2a313c444a2df3c71337ea827860cfc0 0001-senddata-16K-workaround.patch 1e707250d133d56100f0311e7c2610920d6d81809c425ebf3e6acb4a289b958707a90dc38e1c17720da6dc2758dd84bf957fe6aed3854eacea79226eb616e885 git-daemon.initd 9640f8078d68ed2678e5249da3f946fc21f50e858b94127a4221de73c6132101afcd46bc1fe33861e9a7f731c0dc9591915b8ebf376b8e690cd7135703966509 git-daemon.confd" diff --git a/main/git/bb-tar.patch b/main/git/bb-tar.patch index 6acfa99..d9433ef 100644 --- a/main/git/bb-tar.patch +++ b/main/git/bb-tar.patch @@ -1,6 +1,6 @@ --- a/templates/Makefile Mon Oct 26 02:57:33 2009 +++ b/templates/Makefile Mon Nov 9 14:56:27 2009 -@@ -50,4 +50,4 @@ +@@ -63,4 +63,4 @@ install: all $(INSTALL) -d -m 755 '$(DESTDIR_SQ)$(template_instdir_SQ)' (cd blt && $(TAR) cf - .) | \ -- 2.3.8 (Apple Git-58) --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---