Subject: Proposed changes to bsd.pkg.mk
To: None <firstname.lastname@example.org>
From: Berndt Josef Wulf <email@example.com>
Date: 04/13/2001 18:35:25
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:
# 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
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
What do you think? As always, I entertain your comments and
Name : Berndt Josef Wulf | +++ With BSD on Packet Radio +++
E-Mail : firstname.lastname@example.org | 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