[tor-talk] Tor on OpenBSD 5.6

Richard Johnson rdump at river.com
Fri Apr 10 19:08:42 UTC 2015


On 2015-04-09 22:18, Seth wrote:
> On Thu, 09 Apr 2015 15:53:51 -0700, Richard Johnson <rdump at river.com> wrote:
>
>> Your strange attitude aside, one can learn much on OpenBSD by updating the
>> ports and building a revised package.
>
> Look, I just get fed up with people being dismissive pricks, both to myself

I don't intend to be dismissive, but the manner in which you present your 
views may be counterproductive.  I was being nice when I said "weird 
attitude".  Your term may be more accurate. ;)

>> Easy enough to change the version in Makefile, confirm PGP sig, and update
>> distinfo.
>
> Did you even test the above, because I have, and it's not 'easy enough'.

There's the weird attitude again.  I mostly get that you intensely dislike 
alternatives to your way, and your ego is offended by them, so you lash out.

That aside, maybe consider something productive like this?

(Note: I did this before Pascal updated the Makefile and distinfo in the 
OpenBSD ports tree with the same changes. I see my diff here is now redundant.)
-------
$ diff -r -u /usr/ports/net/tor /usr/ports/net/tor-0.2.6.7
diff -r -u /usr/ports/net/tor/Makefile /usr/ports/net/tor-0.2.6.7/Makefile
--- /usr/ports/net/tor/Makefile Mon Apr  6 17:02:12 2015
+++ /usr/ports/net/tor-0.2.6.7/Makefile Mon Apr  6 17:57:44 2015
@@ -2,7 +2,7 @@

  COMMENT=       anonymity service using onion routing

-DISTNAME=      tor-0.2.6.6
+DISTNAME=      tor-0.2.6.7
  REVISION=      0
  CATEGORIES=    net
  HOMEPAGE=      https://www.torproject.org/
diff -r -u /usr/ports/net/tor/distinfo /usr/ports/net/tor-0.2.6.7/distinfo
--- /usr/ports/net/tor/distinfo Mon Apr  6 17:02:12 2015
+++ /usr/ports/net/tor-0.2.6.7/distinfo Mon Apr  6 17:58:15 2015
@@ -1,2 +1,2 @@
-SHA256 (tor-0.2.6.6.tar.gz) = wzSeRXxxuOXBOMZWknsrvKC/oDU5/+6FebDlaP+xAoM=
-SIZE (tor-0.2.6.6.tar.gz) = 3594452
+SHA256 (tor-0.2.6.7.tar.gz) = 
8c2be88a542ed1b22a8d3d595ec0acd0e28191de273dbcaefc64fdce92b89e6c
+SIZE (tor-0.2.6.7.tar.gz) = 3595669
-------

After a successful build, a 'pkg_delete tor' followed by a 'sudo make install' 
gets everything cleaned up fine.  It works now in production for 5 relays and 
a bridge.  And has for about 5 years to date.

Further, reading the port files, including any files in the patches directory 
can be quite instructive.  Past just using them, they can educate about how to 
do hand builds on OpenBSD.  The comments in the Makefile are great for leading 
further exploration.

I won't address your subsequent comments, as they describe standard sig 
verification and OS-specific patch applications common to all approaches.  I 
don't have an easy or generic solution to them.

Best of luck.


Richard



More information about the tor-talk mailing list