Subject: make update doesnt work as should ?
To: None <tech-pkg@netbsd.org>
From: Szymański <dawszy@polnet.wroc.pl>
List: tech-pkg
Date: 07/23/2002 08:14:09
--=.tu.p1aNOuf:n.,
Content-Type: multipart/mixed;
 boundary="Multipart_Tue__23_Jul_2002_08:14:09_+0200_081da000"


--Multipart_Tue__23_Jul_2002_08:14:09_+0200_081da000
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hoi folks!

I have a few words to tell about make update.
It doesnt work well! :) Why?
Lets see:
1. We have mysql-server installed
2. This is production machine
3. We have old version and want to update

So what are we doing? Sure "cd mysql-server; make update" and?
1. Our "important package gets deinstalled" !
2. If new version will not compile we lost mysql-server and probably our job!

Sollution?

when typing make update we should get:

make build && make deinstall && make install, am I right? Hope so, here you have my patches on mk/bsd.pkg.mk please feedback.

-- 

Regards,
Dawid Szymanski

--Multipart_Tue__23_Jul_2002_08:14:09_+0200_081da000
Content-Type: application/octet-stream;
 name="pkg.diff"
Content-Disposition: attachment;
 filename="pkg.diff"
Content-Transfer-Encoding: base64

LS0tIGJzZC5wa2cubWsub3JpZwlUdWUgSnVsIDIzIDA4OjA0OjQwIDIwMDIKKysrIGJzZC5wa2cu
bWsJVHVlIEp1bCAyMyAwODowNjoyNCAyMDAyCkBAIC0yNzQzLDYgKzI3NDMsNyBAQAogCQkiJHtf
UEtHU1JDX0lOfT4gUmVzdW1pbmcgdXBkYXRlIGZvciAke1BLR05BTUV9IgogLiAgaWYgJHtSRUlO
U1RBTEx9ICE9ICJOTyIKIAkke19QS0dfU0lMRU5UfSR7X1BLR19ERUJVR30JCQkJCVwKKwkJJHtN
QUtFfSAke01BS0VGTEFHU30gYnVpbGQgJiYJXAogCQkke01BS0V9ICR7TUFLRUZMQUdTfSBkZWlu
c3RhbGwgREVJTlNUQUxMREVQRU5EUz1BTEwKIC4gIGVuZGlmCiAuZWxzZQpAQCAtMjc1Miw2ICsy
NzUzLDcgQEAKIHVwZGF0ZToKIAkke19QS0dfU0lMRU5UfSR7X1BLR19ERUJVR30ke01BS0V9ICR7
TUFLRUZMQUdTfSAke0RESVJ9CiAJJHtfUEtHX1NJTEVOVH0ke19QS0dfREVCVUd9aWYgJHtQS0df
SU5GT30gLXFlICR7UEtHQkFTRX07IHRoZW4JXAorCQkke01BS0V9ICR7TUFLRUZMQUdTfSBidWls
ZCAmJglcCiAJCSR7TUFLRX0gJHtNQUtFRkxBR1N9IGRlaW5zdGFsbCBERUlOU1RBTExERVBFTkRT
PUFMTAlcCiAJCXx8ICgke1JNfSAke0RESVJ9ICYmICR7RkFMU0V9KTsJCQkJXAogCWZpCkBAIC0y
NzYzLDEwICsyNzY1LDYgQEAKIAlbICEgLXMgJHtERElSfSBdIHx8IGZvciBkZXAgaW4gYCR7Q0FU
fSAke0RESVJ9YCA7IGRvCQlcCiAJCShpZiBjZCAuLi8uLiAmJiBjZCAiJCR7ZGVwfSIgOyB0aGVu
CQkJXAogCQkJJHtFQ0hPX01TR30gIiR7X1BLR1NSQ19JTn0+IEluc3RhbGxpbmcgaW4gJCR7ZGVw
fSIgJiYgXAotCQkJaWYgWyAiJHtSRVNVTUVVUERBVEV9IiA9ICJOTyIgLW8gCQlcCi0JCQkgICAg
ICIke1JFSU5TVEFMTH0iICE9ICJOTyIgXSA7IHRoZW4JCVwKLQkJCQkke01BS0V9ICR7TUFLRUZM
QUdTfSBkZWluc3RhbGw7CQlcCi0JCQlmaSAmJgkJCQkJCVwKIAkJCSR7TUFLRX0gJHtNQUtFRkxB
R1N9ICR7VVBEQVRFX1RBUkdFVH0JCVwKIAkJCQlERVBFTkRTX1RBUkdFVD0ke0RFUEVORFNfVEFS
R0VUfSA7CVwKIAkJZWxzZQkJCQkJCQlcCg==

--Multipart_Tue__23_Jul_2002_08:14:09_+0200_081da000--

--=.tu.p1aNOuf:n.,
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9PPQ6tbrQgWT4vl8RAnc5AJ9OqqvkDy8tj/tcz8aJetaj65cTVQCfXuHE
Zs/W5CwdoWuYK/wsQ5GOrVY=
=3+U+
-----END PGP SIGNATURE-----

--=.tu.p1aNOuf:n.,--