From dirk.schulz at kinzesberg.de Sat Aug 3 11:49:12 2013 From: dirk.schulz at kinzesberg.de (Dirk) Date: Sat, 03 Aug 2013 20:49:12 +0200 Subject: [Xorp-users] Building RPM for CentOS 6 Message-ID: <51FD50A8.9050705@kinzesberg.de> Hi all, I am looking for RPMs for CentOS 6 (64Bit) and came up empty so far (I do not want to install compilers and stuff on my routers). So I thought about building my own and found a hint in the xorp release notes that there is a rpm building script - but did not find any information on how to use it. Please, if someone has already done that: any hint or help is appreciated. Dirk From dirk.schulz at kinzesberg.de Sun Aug 4 06:19:39 2013 From: dirk.schulz at kinzesberg.de (Dirk) Date: Sun, 04 Aug 2013 15:19:39 +0200 Subject: [Xorp-users] Building RPM for CentOS 6 In-Reply-To: <51FD50A8.9050705@kinzesberg.de> References: <51FD50A8.9050705@kinzesberg.de> Message-ID: <51FE54EB.4040907@kinzesberg.de> I managed to get through with it, so here is how it finally worked The script for rpm building and the specfile are faulty. Here is what I had to change: spec file: - the changelog was deranged, rpmbuild requires the time entries to be consecutive and descriptions to be there for every version entry - the options part in the beginning of the spec file needs a %define __strip /bin/true because otherwise stripping is tried even for shell scripts which breaks the build Additionally I changed xorp_confdir to %{_sysconfdir}/xorp because I do not like throwing everything unsorted into /etc/, but that is not necessary to make it work. Same with localstatedir. script: The script relies on pulling source code from the git repo but does not do so. I changed this part to: # Create a clean repo. mkdir -p $TMPDIR cd $TMPDIR git clone git://github.com/greearb/xorp.ct.git cd xorp.ct/ cp README xorp/ tar cfa $RPMDIR/SOURCES/xorp-$VERSION.tar.lzma xorp cd At last rpmbuild produced a nice rpm which installed error free. Cheers, Dirk Am 03.08.13 20:49, schrieb Dirk: > Hi all, > > I am looking for RPMs for CentOS 6 (64Bit) and came up empty so far (I > do not want to install compilers and stuff on my routers). > > So I thought about building my own and found a hint in the xorp release > notes that there is a rpm building script - but did not find any > information on how to use it. > > Please, if someone has already done that: any hint or help is appreciated. > > Dirk > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users From greearb at candelatech.com Sun Aug 4 10:59:10 2013 From: greearb at candelatech.com (Ben Greear) Date: Sun, 04 Aug 2013 10:59:10 -0700 Subject: [Xorp-users] Building RPM for CentOS 6 In-Reply-To: <51FE54EB.4040907@kinzesberg.de> References: <51FD50A8.9050705@kinzesberg.de> <51FE54EB.4040907@kinzesberg.de> Message-ID: <51FE966E.3010102@candelatech.com> On 08/04/2013 06:19 AM, Dirk wrote: > I managed to get through with it, so here is how it finally worked Please send a git patch for the changes you made. Thanks, Ben > > The script for rpm building and the specfile are faulty. Here is what I > had to change: > > spec file: > - the changelog was deranged, rpmbuild requires the time entries to be > consecutive and descriptions to be there for every version entry > - the options part in the beginning of the spec file needs a %define > __strip /bin/true because otherwise stripping is tried even for shell > scripts which breaks the build > > Additionally I changed xorp_confdir to %{_sysconfdir}/xorp because I do > not like throwing everything unsorted into /etc/, but that is not > necessary to make it work. Same with localstatedir. > > script: > The script relies on pulling source code from the git repo but does not > do so. I changed this part to: > # Create a clean repo. > mkdir -p $TMPDIR > cd $TMPDIR > git clone git://github.com/greearb/xorp.ct.git > cd xorp.ct/ > cp README xorp/ > tar cfa $RPMDIR/SOURCES/xorp-$VERSION.tar.lzma xorp > cd > > At last rpmbuild produced a nice rpm which installed error free. > > Cheers, > > Dirk > > > Am 03.08.13 20:49, schrieb Dirk: >> Hi all, >> >> I am looking for RPMs for CentOS 6 (64Bit) and came up empty so far (I >> do not want to install compilers and stuff on my routers). >> >> So I thought about building my own and found a hint in the xorp release >> notes that there is a rpm building script - but did not find any >> information on how to use it. >> >> Please, if someone has already done that: any hint or help is appreciated. >> >> Dirk >> >> _______________________________________________ >> Xorp-users mailing list >> Xorp-users at xorp.org >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com From perry.gagne at plexxi.com Fri Aug 23 12:46:24 2013 From: perry.gagne at plexxi.com (Perry Gagne) Date: Fri, 23 Aug 2013 15:46:24 -0400 Subject: [Xorp-users] XORP Manual? Message-ID: The online Manual and Wiki for XORP seem to be down, this page gives a 500 Error http://xorp.run.montefiore.ulg.ac.be/latex2wiki/user_manual Is this manual available anywhere else? --Perry -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20130823/501f5731/attachment.html From greearb at candelatech.com Fri Aug 23 12:57:01 2013 From: greearb at candelatech.com (Ben Greear) Date: Fri, 23 Aug 2013 12:57:01 -0700 Subject: [Xorp-users] XORP Manual? In-Reply-To: References: Message-ID: <5217BE8D.9090006@candelatech.com> On 08/23/2013 12:46 PM, Perry Gagne wrote: > The online Manual and Wiki for XORP seem to be down, this page gives a 500 Error > > http://xorp.run.montefiore.ulg.ac.be/latex2wiki/user_manual > > Is this manual available anywhere else? There is a backup in git, but I'll have to set up a wiki to make it visible...might be a while, but I'll try to get it done soon-ish. If someone else wants to host it, please be my guest. Thanks, Ben > > --Perry > > > _______________________________________________ > Xorp-users mailing list > Xorp-users at xorp.org > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users > -- Ben Greear Candela Technologies Inc http://www.candelatech.com