Brian J. Murrell
brian@interlinx.bc.ca
Sat May 17 00:26:50 UTC 2003
On Fri, 2003-05-16 at 20:17, Vernon Schryver wrote: > > I don't try to remember such things. Instead I write scripts and use > them. Indeed. This is the "heart" of RPM. Reproducible builds. > Sendmail has been changing so frequently in recent years that > the script I use to install new versions is in my ~/bin directory: > > #!/bin/sh -x -e > > # install configuration files in a new sendmail release and build it > if test ! -d "$1" -o ! -f "$2"; then > echo "usage: old-sendmail-dir new.tar.gz" > exit 1 > fi > > gzcat $2 | tar -xf - > NDIR=`basename $2 .tar.gz | sed -e 's/sendmail./sendmail-/'` > > mkdir -p $NDIR/devtools/Site/RCS > ln $1/devtools/Site/RCS/* $NDIR/devtools/Site/RCS > cp -i $1/devtools/Site/site.config.m4 $NDIR/devtools/Site > > mkdir -p $NDIR/cf/cf/RCS > ln $1/cf/cf/RCS/* $NDIR/cf/cf/RCS > cp -i $1/cf/cf/Make-local $1/cf/cf/calcite.cf \ > $1/cf/cf/calcite.mc $1/cf/cf/freebsd.cf \ > $1/cf/cf/freebsd.mc $NDIR/cf/cf > > ln -s ~/dcc/misc/dcc*.m4 $NDIR/cf/feature/. > > mkdir -p $NDIR/cf/mailer/RCS > ln $1/cf/mailer/RCS/tunnel.m4,v $NDIR/cf/mailer/RCS/. > cp -i $1/cf/mailer/tunnel.m4 $NDIR/cf/mailer > > cd $NDIR/sendmail > ./Build > > cd ../libmilter > ./Build > > cd ../cf/cf > ./Make-local This is essentially what the %build part of an RPM specfile would do. Even when I was running Solaris systems, I used RPM so that I knew for sure that each build was the same as the last (plus new mods, etc.) and most of all, to leverage on the work of others. Package management was just a bonus. :-) b. -- Brian J. Murrell <brian@interlinx.bc.ca> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://www.rhyolite.com/pipermail/dcc/attachments/20030516/0bdc6576/attachment.bin>
More information about the DCC
mailing list