Opened 18 years ago

Closed 18 years ago

#9051 closed enhancement (fixed)

UPDATE tor-devel-0.1.1.19-rc

Reported by: kayos@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc: toby@…
Port:

Description

Attached is a diff to the tor-devel Portfile. It bumps tor-devel-0.1.1.19-rc up to revision 1.

This version creates a tor user, directories for tor to keep its datafiles, and creates a startupitem.

This version makes tor "just work" out of the box. Just install and then run the launchd command to start it up (there will be a big comment reminding the user how they should run launchd).

I used the mysql4+server and privoxy Portfiles as examples of how to create startupitems, users, and data directories. The only part I don't like about this version is that, by default, it will create a user with a uid above 500 so on OS X, the user will appear in the user list in the login window. Privoxy and some other ports do the same thing.

If the user is already present, then it just uses the exising user. I used this to first create a user with a uid of 401 so it won't appear in the user list. There are also other hints at macosxhints.com on how to hide users from the login window.

This patch is against tor-devel because I would think that adding extra features to the -devel version wouldn't cause much fuss. Users of -devel are problably more advanced and less risk-adverse or they probably wouldn't be using the -devel version in the first place.

Feel free to also apply this to the standard tor port.

Cheers and thank you very much.

Attachments (1)

Portfile.diff (1.8 KB) - added by kayos@… 18 years ago.
Patch to Portfile

Download all attachments as: .zip

Change History (5)

Changed 18 years ago by kayos@…

Attachment: Portfile.diff added

Patch to Portfile

comment:1 Changed 18 years ago by kayos@…

I would suggest removing/deprecating tor-devel in favor of updating the normal tor package to version 0.1.1.20. The 0.1.1.x line of tor has been changed from unstable to stable by the upstream maintainers so there isn't a point in maintaining a tor-devel package.

comment:2 Changed 18 years ago by rhwood@…

severity: normalenhancement

Updates and new ports are enhancements

comment:3 Changed 18 years ago by pguyot (Paul Guyot)

Owner: changed from darwinports-bugs@… to toby@…

comment:4 Changed 18 years ago by tobypeterson

Resolution: fixed
Status: newclosed

tor 0.1.1.24 = r19886 tor 0.1.2.1-alpha = r19887

Note: See TracTickets for help on using tickets.