Mysql

mark.stewart at bacs.co.uk mark.stewart at bacs.co.uk
Mon Dec 3 13:23:10 GMT 2001


i have installed using the port method, and it works :)
out of interest, can I specify my tree structure (eg =2E/configure prefix=3D/x/x/=
x)
of where I want to put things or do I need to hack at the source ?

____________________Reply Separator____________________
Subject:    Re: Mysql
Author: dom at happygiraffe=2Enet
Date:       03/12/01 1:12 PM

On Mon, Dec 03, 2001 at 11:23:15AM +0000, mark=2Estewart at bacs=2Eco=2Euk wrote:
> I'm one of those people who only install the minimum required on each
> server=2E Cos of the nature of the business i'm in we have to screen all
> code (ensure its authenticity)=2E If I start installing something from
> the ports collection I seem to install lots of dependancies from ftp
> sites all over the place=2E (is it possible to install a port without
> installing the entire ports collection ?)

Well, you can install one port only by downloading the port directory
directly from ftp=2Efreebsd=2Eorg:/pub/FreeBSD/ports/ports/mysql-server/=2E
You still need /usr/ports/Mk/bsd=2Eport=2Emk installed though=2E

If you're unsure about authenticity, don't be=2E  Each source file that is
downloaded is compared against an md5 checksum, which is the same as the
person who comitted that port used=2E  So you're guaranteed to get the
same distribution file that was expected=2E  You can test this on a system
wiht ports by adding a few extra bytes to the end of the file, for
example:

% cd /usr/ports/databases/mysql323-server
% make fetch
>> Attempting to fetch from=20=
ftp://ftp3=2Esourceforge=2Enet/pub/sourceforge/mirrors/mysql/Downloads/MySQL-3=2E=
23/
=2E
11814847 bytes transferred in 617=2E1 seconds (18=2E70 kBps)
% make checksum
>> Checksum OK for mysql-3=2E23=2E46=2Etar=2Egz=2E
% echo "foo" >> /usr/ports/distfiles/mysql-3=2E23=2E46=2Etar=2Egz
% make checksum
>> Checksum mismatch for mysql-3=2E23=2E46=2Etar=2Egz=2E
Make sure the Makefile and distinfo file=20=
(/usr/ports/databases/mysql323-server/distinfo)
are up to date=2E  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=3Dyes [other args]"=2E
*** Error code 1

Stop in /usr/ports/databases/mysql323-server=2E

(the "make checksum" is run automatically when you run an ordinary
make)=2E

If you're really concerned about building it yourself, go ahead, but it
might be worthwhile keeping a copy of the port version to hand so you
can see what it does in terms of configuration=2E

-Dom

------ FreeBSD UK Users' Group  -  Mailing List ------
http://listserver=2Euk=2Efreebsd=2Eorg/mailman/listinfo/freebsd-users


-----------------------------------------------------

You can find us at www=2Ebacs=2Eco=2Euk

*****************************************************
This communication is confidential and intended for
the exclusive use of the addressee only=2E You should
not disclose its contents to any other person=2E
If you are not the intended recipient please notify
the sender named above immediately=2E

BACS Limited, registered in England, No 1023742,
3 De Havilland Road, Edgware, Middlesex, HA8 5QA
*****************************************************




More information about the Ukfreebsd mailing list