pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/37990 (bzip2 support from http for pkg_add on Linux)
The following reply was made to PR pkg/37990; it has been noted by GNATS.
From: =?ISO-8859-2?Q?Ond=F8ej_T=F9ma?= <pkgsrc%blackmouse.biz@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/37990 (bzip2 support from http for pkg_add on Linux)
Date: Sun, 10 Feb 2008 09:38:29 +0100
--MP_/CgUvLT5z58hVXv64gSDzBrt
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Here is the last patch for 20080208 version.
On Sun, 10 Feb 2008 00:37:02 +0000 (UTC)
obache%NetBSD.org@localhost wrote:
> Synopsis: bzip2 support from http for pkg_add on Linux
>
> Responsible-Changed-From-To: pkg-manager->joerg
> Responsible-Changed-By: obache%narn.netbsd.org@localhost
> Responsible-Changed-When: Sun, 10 Feb 2008 00:37:01 +0000
> Responsible-Changed-Why:
> Over to maintainer.
--
Ondrej Tuma
Www: www.blackmouse.biz, mcbig.webjet.cz
Jabber: mcbig%jabber.cz@localhost
--MP_/CgUvLT5z58hVXv64gSDzBrt
Content-Type: application/octet-stream; name=bzipfromweb-20080208.patch
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=bzipfromweb-20080208.patch
LS0tIGZpbGVzL2FkZC9wZXJmb3JtLmMub3JpZwkyMDA4LTAyLTEwIDA5OjIzOjE2LjAwMDAwMDAw
MCArMDEwMAorKysgZmlsZXMvYWRkL3BlcmZvcm0uYwkyMDA4LTAyLTEwIDA5OjIzOjQ3LjAwMDAw
MDAwMCArMDEwMApAQCAtNDUwLDcgKzQ1MCw3IEBACiAJCWlmICghSG9tZSkKIAkJCXdhcm54KCJ1
bmFibGUgdG8gbWFrZSBwbGF5cGVuIGZvciAlbGQgYnl0ZXMiLAogCQkJICAgICAgKGxvbmcpIChz
Yi5zdF9zaXplICogNCkpOwot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