On 5 Apr 2002, Bret Hughes wrote:
> On Fri, 2002-04-05 at 14:32, Gordon Messmer wrote:
>
> >
> > http://freshrpms.net/
> >
> > I think that apt is the answer I would give to anyone who complains
> > about dependency hell. I've been running my own apt repository for a
...
> I am going to give it a look see. I REALLY want to clean up my software
> management fo 50+ machines.
You may, as I did, want to set up a local repository if you have a very
large number of machines. I'll cut down on bandwidth use.
On my system, I keep the packages in a spool in the ftp area, and symlink
them into the web server root, which is basically just set up in a way
that makes apt happy. I use three scripts in /etc/cron.daily/ to keep
everything up to date.
BTW: Yes, that's my hostname in there. Yes, it's a publicly available
server. Please be nice to it. It's on the end of a rather well used
internet link and a lot of traffic will cause me to have to find a new
home for it... Freshrpms has a lot more bandwidth, I'm sure.
/etc/cron.daily/update-rh:
#!/bin/sh
echo
echo Receiving updates for Red Hat Linux 7.2
echo
for arch in SRPMS noarch 'i?86' athlon; do
rsync -varu "$@" --delete \
"<mirror>::redhat/linux/updates/7.2/en/os/${arch}" \
/var/ftp/pub/linux/redhat-7.2-updates/en/os/
done
# Update the list of packages available in the updates apt repository
rm -f /var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/RPMS.updates/*
ln -s /var/ftp/pub/linux/redhat-7.2-updates/en/os/{noarch,i?86,athlon}/* \
/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/RPMS.updates
rm -f /var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/SRPMS.updates/*
ln -s /var/ftp/pub/linux/redhat-7.2-updates/en/os/SRPMS/* \
/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/SRPMS.updates
genbasedir --flat --bloat --bz2only \
--topdir=/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en i386 updates
/etc/cron.daily/update-ximian:
#!/bin/sh
echo GNOME and Evolution for Red Hat 7.2
echo
rsync -vru --delete 'rsync.ximian.com::ximian/ximian-gnome/redhat-72-i386/.' \
/var/ftp/pub/linux/ximian/redhat-72-i386
# Update the list of packages available in the ximian-gnome apt repository
rm -f /var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/RPMS.ximian-gnome/*
ln -s /var/ftp/pub/linux/ximian/redhat-72-i386/*.rpm \
/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/RPMS.ximian-gnome
rm -f /var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/SRPMS.ximian-gnome/*
ln -s /var/ftp/pub/linux/ximian/redhat-72-i386/source/*.rpm \
/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en/i386/SRPMS.ximian-gnome
genbasedir --flat --bloat --bz2only \
--topdir=/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en i386 ximian-gnome
/etc/cron.daily/update-zzz-apt-hashfile:
#!/bin/sh
genbasedir --flat --hashonly \
--topdir=/var/www/www.dragonsdawn.net/html/apt/redhat/7.2/en i386 os updates
dragonsdawn ximian-gnome
--
If I had a dollar for every brain that you don't have,
I'd have one dollar. - Squidward to SpongeBob
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list