|
From: Rene R. <re...@gr...> - 2002-10-31 09:10:16
|
On Thu, 2002-10-31 at 07:24, Joe zacky wrote: > I printed this out and I'll try to get to it. It probably won't be until > next week though. > > I gather the rpm install is based on the makefile? Does it actually run > the makefile? How are options specified, like --with-bobsdata? > I've attached the spec file I was working on. What may be a problem is that myBOBSDATA and myWEBDIR is not using the DESTDIR setting which is very useful when creating rpms. The spec file is fairly easy to understand. It runs the configure command and allows to specify options when building it. I've made a few notes on what is hardcoded. I'm no expert in specfiles so I look at other spec files to get and idea of what is possible and good practice. -Rene > > Rene Rask wrote: > > >I'm making a list of things which I think should change in the makefile. > >1. Add a configuration option "--with-processdir" to make it possible to > >have the process dir in another location. > >Default location is still ="--with-bobsdata" > >(this also needs an entry in config.php and a small edit of > >class_backup) > > > >2. cron/backup.php should be copied to /etc/cron.daily/ > >I have some problems with this. I can't get an rpm to compile properly. > >Every time I try the file ends up in /etc/cron.daily instead of the tmp > >rpmbuild dir. It has something to do with --with-prefix not being > >set/used. (it should not go in the wwwroot/bobs/cron/ dir as is does > >now) > > > >3. a new file called "crontab.in" should be added to configure the > >crontab setting. > > > >4. separate options for --with-currentdir --with-incomingdir > >--with-incrementaldir > > > >5. "check_loop" should be placed in the processdir > > > >I'll commit a semi working rpm.spec file when I've tested it some more. > >I can do most of this from the rpm spec file, but it would be best to > >have the configure script do it and the building a spec file on that. > > > > > > > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >Bobs-devel mailing list > >Bob...@li... > >https://lists.sourceforge.net/lists/listinfo/bobs-devel > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future > of Java(TM) technology. Join the Java Community > Process(SM) (JCP(SM)) program now. > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel |