Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mike Perry
Tor
Commits
356114c2
Commit
356114c2
authored
19 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Patches
Plain Diff
OSX 10.4.1 really really really wants startup items to be owned by wheel:root.
svn:r4257
parent
6e555535
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/osx/TorPostflight
+4
-0
4 additions, 0 deletions
contrib/osx/TorPostflight
contrib/osx/package.sh
+4
-4
4 additions, 4 deletions
contrib/osx/package.sh
with
8 additions
and
4 deletions
contrib/osx/TorPostflight
+
4
−
0
View file @
356114c2
...
...
@@ -63,3 +63,7 @@ if [ ! -d /Library/StartupItems/Tor ]; then
fi
rm
-f
/Library/StartupItems/Tor/Tor.loc
echo
"
$TARGET
"
>
/Library/StartupItems/Tor/Tor.loc
if
[
-d
/Library/StartupItems/Privoxy
]
;
then
find /Library/StartupItems/Privoxy
-print0
| xargs
-0
chown
root:wheel
fi
This diff is collapsed.
Click to expand it.
contrib/osx/package.sh
+
4
−
4
View file @
356114c2
...
...
@@ -61,7 +61,7 @@ Tor is a system for using the internet anonymously, and allowing
others to do so.
EOF
find
$BUILD_DIR
/tor_packageroot
-print0
|sudo xargs
-0
chown
root:
admin
find
$BUILD_DIR
/tor_packageroot
-print0
|sudo xargs
-0
chown
root:
wheel
$PACKAGEMAKER
-build
\
-p
$BUILD_DIR
/output/Tor.pkg
\
...
...
@@ -74,7 +74,7 @@ $PACKAGEMAKER -build \
mkdir
-p
$BUILD_DIR
/privoxyconf_packageroot/Library/Privoxy
cp
contrib/osx/privoxy.config
$BUILD_DIR
/privoxyconf_packageroot/Library/Privoxy/config
find
$BUILD_DIR
/privoxyconf_packageroot
-print0
|sudo xargs
-0
chown
root:
admin
find
$BUILD_DIR
/privoxyconf_packageroot
-print0
|sudo xargs
-0
chown
root:
wheel
$PACKAGEMAKER
-build
\
-p
$BUILD_DIR
/output/privoxyconf.pkg
\
...
...
@@ -88,7 +88,7 @@ mkdir -p $BUILD_DIR/torstartup_packageroot/Library/StartupItems/Tor
cp
contrib/osx/Tor contrib/osx/StartupParameters.plist
\
$BUILD_DIR
/torstartup_packageroot/Library/StartupItems/Tor
find
$BUILD_DIR
/torstartup_packageroot
-print0
|
sudo
xargs
-0
chown
root:
admin
find
$BUILD_DIR
/torstartup_packageroot
-print0
|
sudo
xargs
-0
chown
root:
wheel
$PACKAGEMAKER
-build
\
-p
$BUILD_DIR
/output/torstartup.pkg
\
-f
$BUILD_DIR
/torstartup_packageroot
\
...
...
@@ -137,7 +137,7 @@ cp ChangeLog $DOC/Advanced/ChangeLog.txt
### Package it all into a DMG
find
$BUILD_DIR
/output
-print0
|
sudo
xargs
-0
chown
root:
admin
find
$BUILD_DIR
/output
-print0
|
sudo
xargs
-0
chown
root:
wheel
mv
$BUILD_DIR
/output
"
$BUILD_DIR
/Tor
$VERSION
Bundle"
rm
-f
"Tor
$VERSION
Bundle.dmg"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment