From: Todd C. Miller Date: Mon, 12 Jul 2010 21:12:02 +0000 (-0400) Subject: Remove remaining bits of the old binary package X-Git-Tag: SUDO_1_7_4~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=093a6726f462ea44dc514c09658a6a31da43ddb2;p=sudo Remove remaining bits of the old binary package --HG-- branch : 1.7 --- diff --git a/INSTALL.binary b/INSTALL.binary deleted file mode 100644 index 21de26a61..000000000 --- a/INSTALL.binary +++ /dev/null @@ -1,27 +0,0 @@ -Installation instructions for Sudo 1.7 (binary release) -======================================================= - - 0) If you are upgrading from a previous version of sudo - please read the info in the UPGRADE file before proceeding. - - 1) Edit the Makefile if you wish to change the directories - where sudo installs things. By default, sudo goes in - /usr/local/bin, visudo in /usr/local/sbin, and the man - pages go in subdirectories of /usr/local/man. - NOTE: You may *not* change the location of the sudoers file. - If you want to put sudoers in a directory other than /etc - you must get a source distribution and build sudo yourself. - - 2) Type `make install' (as root) to install sudo, visudo, the - man pages, and a skeleton sudoers file. Note that the install - will not overwrite an existing sudoers file. You can also - install various pieces the package via the install-binaries, - install-man, and install-sudoers make targets. - - 3) Edit the sudoers file with `visudo' as necessary for your - site. You will probably want to refer the sample.sudoers - file and sudoers man page included with the sudo package. - - 4) If you want to use syslogd(8) to do the logging, you'll need - to update your /etc/syslog.conf file. See the sample.syslog.conf - file included in the distribution for an example. diff --git a/Makefile.binary.in b/Makefile.binary.in deleted file mode 100644 index 61a3ed46f..000000000 --- a/Makefile.binary.in +++ /dev/null @@ -1,109 +0,0 @@ -# -# Copyright (c) 1996, 1998-2002,2004 Todd C. Miller -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# - -srcdir = . - -# Which install program? -INSTALL = $(srcdir)/install-sh -c - -# Where to install things... -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = @bindir@ -sbindir = @sbindir@ -sysconfdir = @sysconfdir@ -mandir = @mandir@ -noexecfile = @NOEXECFILE@ -noexecdir = @NOEXECDIR@ - -# Directory in which to install sudo. -sudodir = $(bindir) - -# Directory in which to install visudo -visudodir = $(sbindir) - -# Directory in which to install the sudoers file -sudoersdir = $(sysconfdir) - -# Directory in which to install the man page -mantype = @MANTYPE@ -mansectsu = @mansectsu@ -mansectform = @mansectform@ -mandirsu = $(mandir)/$(mantype)$(mansectsu) -mandirform = $(mandir)/$(mantype)$(mansectform) - -# User and group ids the installed files should be "owned" by -install_uid = 0 -install_gid = 0 - -# User, group, and mode the sudoers file should be "owned" by -sudoers_uid = @SUDOERS_UID@ -sudoers_gid = @SUDOERS_GID@ -sudoers_mode = @SUDOERS_MODE@ - -SHELL = /bin/sh - -PROGS = @PROGS@ - -all: $(PROGS) - @echo run 'make install' to install sudo - -install: install-dirs install-binaries @INSTALL_NOEXEC@ install-sudoers install-man - -install-dirs: - $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)$(sudodir) \ - $(DESTDIR)$(visudodir) $(DESTDIR)$(sudoersdir) \ - $(DESTDIR)$(mandirsu) $(DESTDIR)$(mandirform) \ - $(DESTDIR)$(noexecdir) - -install-binaries: $(PROGS) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 4111 sudo $(DESTDIR)$(sudodir)/sudo - rm -f $(DESTDIR)$(sudodir)/sudoedit - ln $(DESTDIR)$(sudodir)/sudo $(DESTDIR)$(sudodir)/sudoedit - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0111 visudo $(DESTDIR)$(visudodir)/visudo - -install-noexec: $(noexecfile) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0755 $(noexecfile) $(DESTDIR)$(noexecdir) - -install-sudoers: - test -f $(DESTDIR)$(sudoersdir)/sudoers || \ - $(INSTALL) -O $(sudoers_uid) -G $(sudoers_gid) -M $(sudoers_mode) \ - $(srcdir)/sudoers $(DESTDIR)$(sudoersdir)/sudoers - -install-man: - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudo.$(mantype) $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) - @rm -f $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu) - ln $(DESTDIR)$(mandirsu)/sudo.$(mansectsu) $(DESTDIR)$(mandirsu)/sudoedit.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/visudo.$(mantype) $(DESTDIR)$(mandirsu)/visudo.$(mansectsu) - $(INSTALL) -O $(install_uid) -G $(install_gid) -M 0444 @mansrcdir@/sudoers.$(mantype) $(DESTDIR)$(mandirform)/sudoers.$(mansectform) -@MAN_POSTINSTALL@ - -check: - @echo nothing to check - -clean: - @echo nothing to clean - -mostlyclean: clean - -distclean: clean - -clobber: clean - -realclean: clean - -cleandir: clean diff --git a/Makefile.in b/Makefile.in index ef1bb0a11..3f97831db 100644 --- a/Makefile.in +++ b/Makefile.in @@ -165,14 +165,6 @@ DISTFILES = $(SRCS) $(HDRS) ChangeLog HISTORY INSTALL INSTALL.configure \ visudo.cat visudo.man.in visudo.pod auth/API sudo.man.pl \ sudoers.man.pl -BINFILES= ChangeLog HISTORY LICENSE README TROUBLESHOOTING \ - UPGRADE install-sh mkinstalldirs sample.syslog.conf sample.sudoers \ - sudo sudo.cat sudo.man sudo.pod sudoers sudoers.cat sudoers.man \ - sudoers.pod sudoreplay.cat sudoreplay.man sudoreplay.pod \ - visudo visudo.cat visudo.man visudo.pod - -BINSPECIAL= INSTALL.binary Makefile.binary.in libtool - SUDODEP = $(srcdir)/sudo.h $(srcdir)/alloc.h $(srcdir)/compat.h \ $(srcdir)/defaults.h $(srcdir)/error.h $(srcdir)/list.h \ $(srcdir)/logging.h $(srcdir)/missing.h $(srcdir)/sudo_nss.h \