Opened 15 years ago

Last modified 15 years ago

#202 closed defect (Fixed)

rpm spec file patch

Reported by: lfarkas Owned by: phobos
Priority: Low Milestone:
Component: Tor-Other Version: unspeficied
Severity: Keywords:
Cc: lfarkas Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


this is a small patch to the spec file for tor.

--- tor.spec.lfarkas 2005-10-20 13:31:11.000000000 +0200
+++ tor.spec 2005-10-20 13:44:10.000000000 +0200
@@ -105,6 +105,8 @@

BuildRequires: openssl-devel >= 0.9.6, rpm-build >= 4.0
Requires(pre): shadow-utils, /usr/bin/id, /bin/date, /bin/sh
Requires(pre): %{_sbindir}/useradd, %{_sbindir}/groupadd

+Requires: libevent
+BuildRequires: libevent-devel


[Automatically added by flyspray2trac: Operating System: Linux]

Child Tickets

Change History (10)

comment:1 Changed 15 years ago by phobos

Does this pull in the proper libevent on your system? Or does it pull in something pre-1.1a which is buggy?
Apparently, buggy libevent is still in most rpm repos.

comment:2 Changed 15 years ago by phobos

Currently, the rpms available for download include a statically linked libevent. Most libevent libraries out in the wild are woefully out of date, so we cannot rely upon it.

comment:3 Changed 15 years ago by lfarkas

the current on fedora is libevent-1.1a-2.fc4
but at the same time you can use:
Requires: libevent >= 1.1a
or whatever version you like and you probelem is solved.
and please do not staticaly link it, it's somethink windowsish think. or rather provide andother rpm for those distro which contains some bugy verion of libevent.

comment:4 Changed 15 years ago by phobos

Let me think on this for a bit and perhaps we'll do just as you suggest, a static rpm and a better rpm spec file.

comment:5 Changed 15 years ago by phobos

I see that the dag repo has updated to 1.1a, which means lots of rpm-using distro's can now use the new libevent easily.
This is good news.

comment:6 Changed 15 years ago by lfarkas

fedora extras in the distro contains this version.

comment:7 Changed 15 years ago by lfarkas

anyway tor already in dries repos so it's no longer important to create rpms for fedora.

comment:8 Changed 15 years ago by phobos

I put this patch in place as a BuildRequires libevent-devel >= 1.1a. I'm testing out the resulting RPM on my test server.
This is in the -alpha branch.

comment:9 Changed 15 years ago by arma

Looks like this is in and working. I'm going to close this flyspray entry. Thanks!

comment:10 Changed 15 years ago by arma

flyspray2trac: bug closed.

Note: See TracTickets for help on using tickets.