Subject: RE: Proposed changes to bsd.pkg.mk
To: None <tech-pkg@netbsd.org>
From: Dave Burgess <burgess@neonramp.com>
List: tech-pkg
Date: 04/13/2001 09:30:35
As long as "make makesum" and "make makepatchsum" (or their progeny)
continue to work, I don't see a problem.  Is there a similar change for the
port2pkg package that would be made, or does this make that a non-problem?

> -----Original Message-----
> From: tech-pkg-owner@netbsd.org [mailto:tech-pkg-owner@netbsd.org]On
> Behalf Of Berndt Josef Wulf
> Sent: Friday, April 13, 2001 4:05 AM
> To: tech-pkg@netbsd.org
> Cc: Berndt Josef Wulf
> Subject: Proposed changes to bsd.pkg.mk
>
>
> G'day,
>
> I like to submit a proposal of changes to bsd.pkg.mk that will help to
> drastically reduce the number of small files in the pkgsrc filesystem.
>
> I propose to have the md5 and patchsum information for each package
> to be appended to the Makefile in the top directory of the package.
> The information would look similar to that below:
>
> Makefile:
> ...
> #
> # Begin of Checksum Data
> #
> #[DCS] SHA1 (vim-5.7-src.tar.gz) =
> 71e263e9072118e5e56dad77a4bfbaed363bf591
> #[DCS] SHA1 (vim-5.7-rt.tar.gz) = c60c2996547e8b3939cbe744f7d2520b47a9060f
> #[PCS] SHA1 (patch-aa) = 1f38e5291e4803abeed50ffa403ec897ffb856bd
> #[PCS] SHA1 (patch-zb) = c929da81e94120a6540b6a503d40dd9f9ffc83ff
>
> The advantages are a drastic reduction in the number of small files
> in the packages source tree and speed improvements during
> cvs update and building process.
>
> There are only three package that to my knowledge wouldn't work
> without some minor modification to the Makefile. These are
> vim-*, nethack-* and ap-jk. I've since modified and rebuilt vim
> without any problems.
>
> The diff file can be found at
> ftp://ftp.netbsd.org/home/wulf/bsd.pkg.mk.diff
>
> There may be other ways to implement this, but sofar nobody else has
> come forward to take it on and I took the liberty to take the
> first step.
>
> What do you think? As always, I entertain your comments and
> suggestions.
>
> cheerio Berndt
> --
> Name    : Berndt Josef Wulf            | +++ With BSD on Packet Radio +++
> E-Mail  : wulf@ping.net.au             |    tfkiss, tnt, dpbox, wampes
> ICQ     : 18196098                     |  VK5ABN, Nairne, South Australia
> URL     : http://www.ping.net.au/~wulf | MBOX :
> vk5abn@vk5abn.#lmr.#sa.au.oc
> Sysinfo : DEC AXPpci33+, NetBSD-1.5    | BBS  : vk5abn.#lmr.#sa.aus.oc
>