[Mailman-Users] Making an RPM

2003-08-04 Thread Angel Gabriel


I just wanted to find out if this is possible? I want to download the
latest source code for mailman, compile it, and then turn it into an
RPM, so that I can install and remove it when neccessary. How would I go
about doing this?

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Making an RPM

2003-08-04 Thread Josep L. Guallar-Esteve
On Monday 04 August 2003 10:12 am, Angel Gabriel wrote:
 I just wanted to find out if this is possible? I want to download the
 latest source code for mailman, compile it, and then turn it into an
 RPM, so that I can install and remove it when neccessary. How would I go
 about doing this?

You can easily build an rpm (or deb) from the source code using Checkinstall. 
Checkinstall comes already included with many distributions.

Checkinstall website and documentation is found here:
http://asic-linux.com.mx/~izto/checkinstall/

A small HOWTO in Spanish about Checkinstall is here:
http://libertonia.escomposlinux.org/story/2002/10/25/53113/319


Regards,
Josep
-- 
Josep L. Guallar-Esteve Eastern Radiologists, Inc.
Systems and Network Administration  http://www.easternrad.com


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Making an RPM

2003-08-04 Thread Todd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Angel Gabriel wrote:
 I just wanted to find out if this is possible?

Possible, sure.  Worthwhile, maybe.  Depends on how many systems you have to
push out mailman installs to and how much you like using rpm to manage your
files.

 I want to download the latest source code for mailman, compile it, and
 then turn it into an RPM, so that I can install and remove it when
 neccessary. How would I go about doing this?

Have you ever built rpm's before?  If not, check some of the the docs on
rpm.org[1] for a starting point.  The other thing that's useful is checking
out someone else's source rpm to get an idea of what they had to do to get
things installed properly.  There is a redhat rpm in rawhide for 2.1.2 that
might get you started.  I haven't looked at it though, so I don't know what
it's like.

I've created rpms for my own systems since back in the 2.0.something days,
mainly so that I could get things working with postfix better out of the box
and so I could apply a few minor cosmetic tweaks to the code.  I don't think
it'll be very useful, but I did put the spec file and other source files on
the web a while back for someone else's reference.  Feel free to take a peek
at that, but don't complain to me if they don't work (though if you let me
know of a problem in them I'll fix it if it affects my systems).

http://pobox.com/~tmz/RPMS/

IMO, Mailman is one of those packages that's harder to make an rpm of than
it is to just install from source, so weigh carefully your need/desire to
have an rpm.  I mostly started building the one's I've built just for the
hell of it.  I really had no pressing need for them, though it does save me
a little time futzing with config files after the install.  YMMV.

[1] http://rpm.org/howto/

One thing that's worth noting, in case it's not covered prominently in any
of the HOWTO's: don't build your rpm's as root!  You're asking for trouble
if you do, since part of the build process does a make install and if you're
root, you can easily overwrite your working install with a test build if
you're not careful.  It's much better to use a regular user account for
building, even though that sometimes has issues with some packages.

- -- 
Todd  OpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp

Left to Her own devices, nature cures stupidity.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3rc2 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/LnQpuv+09NZUB1oRAmmqAKDKywKAFuKip/MxQnrhG7QU2VFwQQCfV3bT
VRvo+tibiYtO0BF+l6W0z9k=
=bpuX
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Making an RPM

2003-08-04 Thread Richard Barrett
On Monday, August 4, 2003, at 03:12  pm, Angel Gabriel wrote:

I just wanted to find out if this is possible? I want to download the
latest source code for mailman, compile it, and then turn it into an
RPM, so that I can install and remove it when neccessary. How would I 
go
about doing this?
Its feasible but you have a reasonably steep learning curve ahead of 
you building your own RPMs from scratch.

A good starting point might be to install a Mailman source RPM from 
your distribution of choice and look at its .spec file. Then change 
that to meet your needs. If those statements make no sense to you then 
take a look at:

http://www.redhat.com/docs/books/max-rpm/

---
Richard Barrett   http://www.openinfo.co.uk
--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Making an RPM

2003-08-04 Thread Nigel Metheringham
On Mon, 2003-08-04 at 15:12, Angel Gabriel wrote:
 I just wanted to find out if this is possible? I want to download the
 latest source code for mailman, compile it, and then turn it into an
 RPM, so that I can install and remove it when neccessary. How would I go
 about doing this?

Theoretically its easy to make an rpm of mailman.
In practice its a package that is hard to package correctly.
It is the *only* software set on my machines that is not built as an
rpm, and several people have been badly burned on trying to upgrade rpm
versions of mailman.

If you do want to make a package then start by looking at the RH SRPM
package and work from there.  I believe their build is not quite right -
at least the one that went out with the RH9 release isn't quite right so
be careful.

Avoid like the plague systems like checkinstall that purport to make
binary packages from preinstalled systems.  They are seriously
dangerous.

Nigel.
-- 
[ Nigel Metheringham   [EMAIL PROTECTED] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]


--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org