On Mon, Aug 14, 2006 at 08:37:30AM +0100, Jiri Mencak wrote:
> Words written by `Kostas Georgiou' on 13 Aug 2006 at 01:20:14 +0100 prompted:
> > major linux distributions (unlike other projects ;P) and I have DPM compiling
> > correctly but I don't have an rpm yet (I'll build one once I have a few minutes
> > free).
>
> Last time I compiled DPM RPMs were created during the process.
> There was only one RPM missing, I had to hack a config file and
> build DPM again. Has anything changed?
Considering that the Makefile has:
rpm: dist $(PACKAGE).spec
rm -rf SOURCES SPECS BUILD
mkdir -p SOURCES SPECS BUILD SRPMS "RPMS/i386"
cp $(distdir).src.tar.gz SOURCES
for f in $(SPECFILE) ; do if [ `head -1 /etc/issue.net | cut -c1` == "S" ] ; then sed -e "s/@OS@/_sl3/" -e "s/@VERSION@/$(VERSION)/g" -e "s/@SECURITY@/$(SECURITY)/" $$f > SPECS/$$f ; else sed -e "s/@OS@//" -e "s/@VERSION@/$(VERSION)/g" -e "s/@SECURITY@/$(SECURITY)/" $$f > SPECS/$$f ; fi ; if [ -x /usr/bin/rpmbuild ] ; then rpmbuild --define "_topdir `pwd`" -ba SPECS/$$f ; else rpm --define "_topdir `pwd`" -ba SPECS/$$f ; fi ; done
It's not going to run out of the box and it doesn't do much in case, I
prefer to start from a spec file add my patches etc. and build as well.
Anyway after some small changes (marking some files as config, adding the non
included config files as %ghost, dropping the bogus dependency on MySQL-client
which isn't even a real RHEL rpm etc.) I now have an rpm.
I now have to build the gridftp server but it's a bit hard when I can not
download the sources from the web site
(http://isscvs.cern.ch:8180/cgi-bin/cvsweb.cgi/DPM-FTP/?cvsroot=lcgware;only_with_tag=lcg1_5_5)
and as far as I can tell you can not use anonymous cvs. If anyone has any better clues
on where to download the sources I'll be happy to know.
CHeers,
Kostas
|