summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEric L. Hernes <erich@FreeBSD.org>1995-09-22 13:52:51 +0000
committerEric L. Hernes <erich@FreeBSD.org>1995-09-22 13:52:51 +0000
commite527a94cbad4f10cd67682fd745dbfb1d67d6daf (patch)
tree3248449cad5ef8bb8fe85de41ce1c672d57fd52c /security
parentAdded chimera, convert to new format. (diff)
added sudo to ports/sysutils
Reviewed by: satoshi
Notes
Notes: svn path=/head/; revision=2174
Diffstat (limited to 'security')
-rw-r--r--security/sudo/Makefile19
-rw-r--r--security/sudo/distinfo1
-rw-r--r--security/sudo/files/patch-aa66
-rw-r--r--security/sudo/pkg-comment1
-rw-r--r--security/sudo/pkg-descr23
-rw-r--r--security/sudo/pkg-plist5
6 files changed, 115 insertions, 0 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
new file mode 100644
index 000000000000..3fc81a8428ea
--- /dev/null
+++ b/security/sudo/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: sudo
+# Version required: 1.3.1pl4
+# Date created: Sun Aug 13 12:36:14 CDT 1995
+# Whom: erich@rrnet.com
+#
+# $Id$
+#
+
+DISTNAME= cu-sudo.v1.3.1pl4
+PKGNAME= sudo-1.3.1.4
+MAINTAINER= erich@rrnet.com
+CATEGORIES+= sysutils
+MASTER_SITES= ftp://mroe.cs.colorado.edu/pub/sysadmin/utilities/
+EXTRACT_SUFX= .tar.Z
+
+HAS_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/sudo.v1.3.1pl4
+
+.include <bsd.port.mk>
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
new file mode 100644
index 000000000000..5cfdba36a7d1
--- /dev/null
+++ b/security/sudo/distinfo
@@ -0,0 +1 @@
+MD5 (cu-sudo.v1.3.1pl4.tar.Z) = 76eab7ec541437331c6a621d9864ff3a
diff --git a/security/sudo/files/patch-aa b/security/sudo/files/patch-aa
new file mode 100644
index 000000000000..cd57bd0f1846
--- /dev/null
+++ b/security/sudo/files/patch-aa
@@ -0,0 +1,66 @@
+*** configure.in~ Sun Aug 13 16:40:24 1995
+--- configure.in Sun Aug 13 16:40:38 1995
+***************
+*** 148,153 ****
+--- 148,156 ----
+ ;;
+ "bsd/386") echo "Looks like bsdi BSD/386"
+ ;;
++ "freebsd") echo "Looks like FreeBSD"
++ LIBS="${LIBS} -lcrypt"
++ ;;
+ "mtxinu") echo "Looks like mt Xinu MORE/BSD"
+ ;;
+ "4.3bsd") echo "Looks like HP BSD"
+*** configure~ Sun Aug 13 16:39:32 1995
+--- configure Sun Aug 13 16:40:38 1995
+***************
+*** 890,895 ****
+--- 890,898 ----
+ ;;
+ "bsd/386") echo "Looks like bsdi BSD/386"
+ ;;
++ "freebsd") echo "Looks like FreeBSD"
++ LIBS="${LIBS} -lcrypt"
++ ;;
+ "mtxinu") echo "Looks like mt Xinu MORE/BSD"
+ ;;
+ "4.3bsd") echo "Looks like HP BSD"
+*** config.h.in~ Sun Aug 13 16:31:00 1995
+--- config.h.in Sun Aug 13 16:31:26 1995
+***************
+*** 23,34 ****
+--- 23,36 ----
+ * NOT using configure.
+ */
+
++ #ifndef __FreeBSD__
+ /* Deal with ansi stuff reasonably. */
+ #undef __P
+ #if defined (__cplusplus) || defined (__STDC__)
+ # define __P(args) args
+ #else
+ # define __P(args) ()
++ #endif
+ #endif
+
+ /* New ANSI-style OS defs. */
+*** visudoers/visudo.yacc~ Mon Aug 14 08:53:44 1995
+--- visudoers/visudo.yacc Mon Aug 14 08:54:12 1995
+***************
+*** 42,48 ****
+ #include "sudo.h"
+
+ extern int status;
+! extern int yyerrok, sudolineno, err_line_no;
+
+ yyerror(s)
+ char *s;
+--- 42,48 ----
+ #include "sudo.h"
+
+ extern int status;
+! extern int sudolineno, err_line_no;
+
+ yyerror(s)
+ char *s;
diff --git a/security/sudo/pkg-comment b/security/sudo/pkg-comment
new file mode 100644
index 000000000000..32c4d51ec9da
--- /dev/null
+++ b/security/sudo/pkg-comment
@@ -0,0 +1 @@
+This is the CU version of sudo, release 1.3.1.
diff --git a/security/sudo/pkg-descr b/security/sudo/pkg-descr
new file mode 100644
index 000000000000..323a0d3beb1c
--- /dev/null
+++ b/security/sudo/pkg-descr
@@ -0,0 +1,23 @@
+This is the CU version of sudo, release 1.3.1.
+
+Sudo is a program designed to allow a sysadmin to give limited root privileges
+to users and log root activity. The basic philosophy is to give as few
+privileges as possible but still allow people to get their work done.
+
+CU sudo 1.3.1 is mostly a cleanup of the sudo 1.3 code including bug fixes,
+code reworkings, portability changes with a few extra features. See the
+CHANGES file for the full scoop.
+
+Also note that sudo options are now configured in sudo.h instead of the Makefile
+(although you can override the sudo.h values from the Makefile if you so
+desire). For more info see the INSTALL file. If you need to make changes,
+please send them to sudo-bugs@cs.colorado.edu
+
+MAILING LISTS:
+
+Please send bugs, problems, comments, etc to sudo-bugs@cs.colorado.edu
+There is a mailing list that receives announcements whenever a new
+version of sudo is released. You can subscribe to it by sending a
+message to "majordomo@cs.colorado.edu" that includes the line
+"subscribe sudo-announce". There is also a list for people working
+on sudo. The command to add yourself is "subscribe sudo-workers".
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
new file mode 100644
index 000000000000..5c42b0d1321d
--- /dev/null
+++ b/security/sudo/pkg-plist
@@ -0,0 +1,5 @@
+bin/sudo
+sbin/visudo
+etc/sudoers
+man/man8/sudo.8
+man/man8/visudo.8