r13 - 01 Mar 2005 - 22:43:40 - PeterKlausnerYou are here: TWiki >  Codev Web > TWikiUsers > TuradgAleahmad > TWikiRPMs
Tags:
, create new tag
I couldn't find any RPM packages that would work for my RedHat system (RHEL 3 beta 1) so I wrote my own. If I had known how long it would take to figure out RPM SPEC files and figure out a bug in my rpmbuild installation, I certainly wouldn't have done it. But I couldn't stop once I started.

They should work on any RedHat system that provides Apache 2.0 (httpd >= 2.0). They depend on the availability of /etc/httpd/conf.d.

Enjoy.

-- TuradgAleahmad

Thanks for doing this (belatedly) - see also ModPerl, TWikiOnRedHat and ModPerlOnRedHat90.

-- RichardDonkin - 09 Oct 2003

I've just rebuilt these packages for the TWikiRelease01Sep2004. They are attached below..

-- KevinCMiller - 09 Sep 2004

I've also just built them for Fedora Core 2. The primary difference is dropping the perl-CGI dependency, since perl provides that by default.

-- KevinCMiller - 10 Oct 2004

Good work, thanks Kevin,

I'm ignorant of the details of how RPM works, but just to be sure everyone can reproduce these packages, can I just make sure that

  1. all files required to build the RPMs are checked in to the SVN repository
  2. there are some instructions describing how it is done
I've been interested in putting together an RPM for SuSE 9.0 and 9.1 for a while.

-- CrawfordCurrie - 11 Oct 2004

you can recreate the RPM from the SRPM (source RPM), along with Google:rpmbuild (rpmbuild -rebuild twiki-20040901.fc2-2.src.rpm), although it would still be a good idea to get the .spec file checked into CVS/SVN(?) if i make any modifications, i'll check it into TWikiPluginsCVS?

-- WillNorris - 21 Oct 2004

I've rebuilt the RPMs with the patch to address SecurityAlertExecuteCommandsWithSearch. They are the -3 RPMs below..

I'm also posting the specfile that I'm using to build the RPMs. It can be adjusted for your system and then use rpmbuild -ba [specfile] to build the actual RPMS.

-- KevinCMiller - 16 Nov 2004

If a single spec file is found in a tarball, you can rebuild the binary RPM directly from the tarball with rpmbuild -ta tarballname.tar.gz.

I've done a lot of RPM packaging and will check out what you've got. My TWiki is deployed on Fedora Core 2, but was manually installed. An RPM would be nicer.

-- KennethPorter - 16 Nov 2004

Issues:

  • No build root. That means you can't package as a mortal, and someone who repackages as root risks blowing away their real installation.
  • twiki.conf can be another source file.
  • Don't mess with the user's config in %post and %postun, unless this is a first-time install and no config file exists yet.
  • Content should be in /var/www (or perhaps /srv), not /home.

-- KennethPorter - 17 Nov 2004

> That means you can't package as a mortal
Have you checked http://easysw.com/epm ? As a really nice side effect, it would give you packages for most other Unixes.

-- PeterKlausner - 01 Mar 2005

Topic attachments
I Attachment Action Size Date Who Comment
elsespec TWiki.spec manage 3.4 K 16 Nov 2004 - 03:31 KevinCMiller  
elserpm twiki-20030201-1.noarch.rpm manage 809.5 K 23 Aug 2003 - 04:51 TuradgAleahmad Binary arch-independent package
elserpm twiki-20030201-1.src.rpm manage 871.5 K 23 Aug 2003 - 04:51 TuradgAleahmad Source RPM package
elserpm twiki-20030201-2.noarch.rpm manage 811.7 K 25 Aug 2003 - 17:00 TuradgAleahmad Binary arch-independent package
elserpm twiki-20030201-2.src.rpm manage 872.2 K 25 Aug 2003 - 17:01 TuradgAleahmad Source RPM package
elserpm twiki-20040901-2.noarch.rpm manage 1698.1 K 09 Sep 2004 - 17:36 KevinCMiller RHEL3 RPM of TWiki "Cairo" Release
elserpm twiki-20040901-2.src.rpm manage 1789.9 K 09 Sep 2004 - 17:36 KevinCMiller Source RPM package
elserpm twiki-20040901-3.noarch.rpm manage 1698.1 K 16 Nov 2004 - 03:22 KevinCMiller RHEL3 RPM of TWiki "Cairo" release
elserpm twiki-20040901-3.src.rpm manage 1790.7 K 16 Nov 2004 - 03:24 KevinCMiller Source RPM of RHEL package
elserpm twiki-20040901.fc2-2.noarch.rpm manage 1733.1 K 10 Oct 2004 - 16:32 KevinCMiller FC2 RPM for TWiki "Cairo" release
elserpm twiki-20040901.fc2-2.src.rpm manage 1790.0 K 10 Oct 2004 - 16:36 KevinCMiller  
elserpm twiki-20040901.fc2-3.noarch.rpm manage 1732.4 K 16 Nov 2004 - 03:16 KevinCMiller FC2 RPM for TWiki "Cairo" release
elserpm twiki-20040901.fc2-3.src.rpm manage 1790.7 K 16 Nov 2004 - 03:18 KevinCMiller Source RPM package for FC2
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r13 < r12 < r11 < r10 < r9 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo