Commit graph

5 commits

Author SHA1 Message Date
Renato Botelho
e7f43038ad - Fix PLIST problem and unbreak
PR:		ports/85024
Submitted by:	Marcus Grando <marcus@corp.grupos.com.br>
Approved by:	maintainer timeout (20 days)
2005-09-06 19:20:40 +00:00
Peter Pentchev
c9aeee376d Fix package deinstallation: only move X.bck over X if the former exists.
Since pkg_deinstall(1) invokes the package deinstall script twice,
at the second invocation X.bck is no longer there, and mv(1), even with
the -f flag, returns a non-zero exit code.  The shell executing the script
propagates this exit code right back unto pkg_deinstall(1), which complains
and aborts the package deinstallation.

I wish I had not forgotten about this problem, so this could go in
before DP1 was cut :(

Approved by:	no response from trevor@, the port maintainer
2002-04-11 11:56:55 +00:00
Trevor Johnson
a53d52dd67 Add precautions so this won't damage an installation of XFree86 3.X. 2002-03-11 13:04:28 +00:00
Trevor Johnson
bb8d36603d On deinstallation, do not apply an SUID bit to the X server, since
neither the XFree86-4 nor XFree86-4-Server ports install privileged
X servers any longer.
2000-11-03 21:55:50 +00:00
Ade Lovett
32f6a2767b Add wrapper, a program that runs an X server after sanity-checking
the environment and any options passed to it.  It is meant to
enhance security on multi-user systems running XFree86 4.x, where
the ability to use a startx script is needed.

If you have XFree86 3.x, do not install this, you do not need it
and it will not work.

PR:		21352
Submitted by:	Trevor Johnson <trevor@jpj.net>
2000-09-19 16:45:40 +00:00