[Samba] best way to work with cvs?

Gerald Carter jerry at samba.org
Fri Mar 1 06:17:02 GMT 2002

On Fri, 1 Mar 2002, David Edward Shapiro wrote:

> I use a script to get the lastest samba:
> #!/usr/bin/ksh
> echo "\npassword: cvs\n"
> cvs -d :pserver:cvs at pserver.samba.org:/cvsroot login
> cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba

After you check it out once, you only need

	cvs update -d -P

> Are there any other commands I could tack on or something I should do
> differently to make sure I am getting correct rebuilds?
> For example, should I tack on at the end:
> cd /usr/local/samba/source
> autoconf
> or should I run some make commands?

To rebuild my latest CVS tree I have a script

## ./build-me

make realclean
/bin/rm config.cache

env CFLAGS="-Wall" ./configure --enable-debug \
        --with-pam \
        --with-smbmount \
        --with-msdfs \
	--with-ldapsam \
&& make proto \
&& make

 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba-technical mailing list