Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ?
On Tue, 2005-12-06 at 15:10 -0800, Ranga Nathan wrote: I believe there is a utility to build RPMs from normal tar.gz distro. In order to keep things consistent, I would like to build an RPM of Nagios 2x beta for SuSE9 (intel). Of course, creating an RPM from a tar ball is a fairly simple operation even without such a tool. Spec files are easy to write, and once you do that, you place your tar ball into /usr/src/X/SOURCES (X=redhat on my system, but I'm sure SuSE puts it somewhere else). Then run rpmbuild -ba /usr/src/X/SPECS/yourpackage.spec and you get an SRPM and RPM(s). If you need guidance on what a spec file should contain, just grab the SRPM for any random package in your distribution, install it and look at its spec file. They're like a Makefile, but with a bit more regular structure. -- Aaron Sherman [EMAIL PROTECTED] Senior Systems Engineer and Toolsmith We had some good machines, but they don't work no more. -Shriekback ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ?
On Tue, 2005-12-06 at 20:45 -0500, John Abreau wrote: Of course, getting to the site is a problem; it looks like Network Solutions is screwing them over. From WHOIS: ... Looks like the guy tried to switch registrars, and NetSol is punishing him for it. No, his DNS servers are just down... http://web.archive.org/web/20040923093925/http://checkinstall.izto.org/ http://rpmfind.net/linux/rpm2html/search.php?query=checkinstall -- Jeremy ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ?
Thanks Aaron! __ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840 Aaron Sherman [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 12/07/2005 08:28 AM To Ranga Nathan [EMAIL PROTECTED] cc boston-pm@mail.pm.org Subject Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ? On Tue, 2005-12-06 at 15:10 -0800, Ranga Nathan wrote: I believe there is a utility to build RPMs from normal tar.gz distro. In order to keep things consistent, I would like to build an RPM of Nagios 2x beta for SuSE9 (intel). Of course, creating an RPM from a tar ball is a fairly simple operation even without such a tool. Spec files are easy to write, and once you do that, you place your tar ball into /usr/src/X/SOURCES (X=redhat on my system, but I'm sure SuSE puts it somewhere else). Then run rpmbuild -ba /usr/src/X/SPECS/yourpackage.spec and you get an SRPM and RPM(s). Thanks, that helped. When I proceeded to rpmbuild, I got some dependency errors. Took care of them and it worked. Then rpm -i .. installed it. If you need guidance on what a spec file should contain, just grab the SRPM for any random package in your distribution, install it and look at its spec file. They're like a Makefile, but with a bit more regular structure. Thanks again. -- Aaron Sherman [EMAIL PROTECTED] Senior Systems Engineer and Toolsmith We had some good machines, but they don't work no more. -Shriekback ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] may be OT: Heard of chkinstall, a utility to build RPMs ?
Ranga Nathan wrote: I believe there is a utility to build RPMs from normal tar.gz distro. In order to keep things consistent, I would like to build an RPM of Nagios 2x beta for SuSE9 (intel). But I could not find any download links for it. Can someone point me in the right direction? Thanks Of course, getting to the site is a problem; it looks like Network Solutions is screwing them over. From WHOIS: Domain ID:D81895216-LROR Domain Name:IZTO.ORG Created On:03-Jan-2002 00:56:28 UTC Last Updated On:02-Jan-2005 02:54:02 UTC Expiration Date:03-Jan-2006 00:56:28 UTC Sponsoring Registrar:Network Solutions LLC (R63-LROR) Status:CLIENT TRANSFER PROHIBITED Looks like the guy tried to switch registrars, and NetSol is punishing him for it. -- John Abreau / Executive Director, Boston Linux Unix ICQ 28611923 / AIM abreauj / JABBER [EMAIL PROTECTED] / YAHOO abreauj Email [EMAIL PROTECTED] / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9 PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99 ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm