diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-05-14 11:54:55 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-05-14 11:54:55 +0000 |
commit | b919b8311bc5d38e5731d40525c88c54816f4530 (patch) | |
tree | 35bbb3a9293cb7a160571b1bceb1ca2a52507a18 /security/krb5-appl | |
parent | Despite what I said before, this is the official INDEX file for (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_3_2_0'.release/3.2.0
Diffstat (limited to 'security/krb5-appl')
-rw-r--r-- | security/krb5-appl/Makefile | 204 | ||||
-rw-r--r-- | security/krb5-appl/distinfo | 3 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ac | 13 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ad | 13 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ae | 13 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-af | 13 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ai | 25 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-aj | 46 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-as | 194 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-at | 14 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-au | 19 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-av | 13 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ax | 11 | ||||
-rw-r--r-- | security/krb5-appl/files/patch-ay | 50 | ||||
-rw-r--r-- | security/krb5-appl/pkg-comment | 1 | ||||
-rw-r--r-- | security/krb5-appl/pkg-descr | 24 | ||||
-rw-r--r-- | security/krb5-appl/pkg-plist | 122 |
17 files changed, 0 insertions, 778 deletions
diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile deleted file mode 100644 index a363b461dd32..000000000000 --- a/security/krb5-appl/Makefile +++ /dev/null @@ -1,204 +0,0 @@ -# Ports collection Makefile for: MIT Kerberos V -# Version required: 1.0.5 -# Date created: 6/5/1998 -# Whom: n@nectar.com -# -# $Id: Makefile,v 1.7 1998/11/07 02:33:44 nectar Exp $ -# - -DISTNAME= krb5-1.0.5 -CATEGORIES= security -MASTER_SITES= # empty here. See below for real setting. -DISTFILES= krb5-1.0.5.src.tar.gz \ - krb5-1.0.5.doc.tar.gz \ - krb5-1.0.5.crypto.tar.gz - -MAINTAINER= n@nectar.com - -BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 - -DIST_SUBDIR= krb5 - -# Deal with "secret" subdirectory on the canonical MASTER_SITE. -# If USA_RESIDENT=YES then: -# we fetch from the canonical MASTER_SITE in the USA, -# and deal with a "secret" subdirectory whose name -# we obtain by using an awk script to search a README file. -# If USA_RESIDENT=NO then: -# we fetch from a MASTER_SITE outside the USA, -# and we don't need to deal with any "secret" subdirectory, -# so we use an empty awk script. -README_KRB5= README.KRB5-1.0.5 -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES" -MASTER_SITES= ftp://athena-dist.mit.edu/pub/kerberos/ -AWK_SCRIPT= '(/1\) Change into the directory/) { if (match($$0, "dist/[0-9]+")) print substr($$0, RSTART, RLENGTH) }' -.else -MASTER_SITES= ftp://ftp.internat.freebsd.org/pub/FreeBSD/distfiles/ -AWK_SCRIPT= '' -.endif - -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS?= --enable-shared --with-ccopts="${CFLAGS}" -KRB5_KRB4_COMPAT?= YES - -.if !defined(KRB5_KRB4_COMPAT) || ${KRB5_KRB4_COMPAT} == "NO" -CONFIGURE_ARGS+= --without-krb4 -.endif - -.if defined(KRB5_HOME) -PREFIX= ${KRB5_HOME} -.endif - -RESTRICTED= "Crypto; export-controlled" -# Set USA_RESIDENT appropriately in /etc/make.conf if you like - -INFO_FILES= krb425.info krb5-admin.info krb5-admin.info-1 \ - krb5-admin.info-2 krb5-admin.info-3 krb5-install.info \ - krb5-install.info-1 krb5-install.info-2 krb5-user.info - -pre-fetch: -.if !defined(KRB5_KRB4_COMPAT) - @${ECHO} "------------------------------------------------------" - @${ECHO} "Set KRB5_KRB4_COMPAT=NO if you do not want to build " - @${ECHO} "the KerberosIV compatibility libraries. " - @${ECHO} "------------------------------------------------------" -.endif -.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES" - @${ECHO} - @${ECHO} ">> If you are a US resident, understand that this software" - @${ECHO} " may be export restricted." -.elif defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO" - @${ECHO} - @${ECHO} ">> If you are not a US resident, then you cannot obtain" - @${ECHO} " Kerberos V source from a server within the United" - @${ECHO} " States. If automatic fetching of the sources from" - @${ECHO} " a server outside the US fails then you will have to" - @${ECHO} " find the sources elsewhere yourself, and put them" - @${ECHO} " in ${_DISTDIR}." -.else - @${ECHO} - @${ECHO} ">> You must set the variable USA_RESIDENT to YES if you are" - @${ECHO} " a United States resident, otherwise NO." - @${ECHO} " If you are a US resident, understand that this software" - @${ECHO} " may be export restricted." - @${ECHO} " If you are not a US resident, then you cannot obtain" - @${ECHO} " Kerberos V source from a server within the United" - @${ECHO} " States." - @${FALSE} -.endif - -MAN1= krb5-send-pr.1 kpasswd.1 v5passwd.1 klist.1 kinit.1 \ - kdestroy.1 ksu.1 sclient.1 rsh.1 rcp.1 rlogin.1 \ - v4rcp.1 ftp.1 telnet.1 kerberos.1 -MAN5= kdc.conf.5 krb5.conf.5 .k5login.5 -MAN8= krb5kdc.8 kadmin.8 kadmin.local.8 kdb5_util.8 \ - ktutil.8 kadmind.8 kprop.8 kpropd.8 sserver.8 \ - kshd.8 klogind.8 login.krb5.8 ftpd.8 telnetd.8 - -WRKSRC= ${WRKDIR}/${DISTNAME}/src -RECONF_COOKIE= ${WRKDIR}/.reconf_done - -WANT_HTML?= YES -HTML_DOC_DIR= ${WRKDIR}/${DISTNAME}/doc -HTML_DOCS= admin.html install_foot.html user-guide.html \ - admin_foot.html install_toc.html user-guide_foot.html \ - admin_toc.html krb425.html user-guide_toc.html \ - install.html krb425_toc.html -SETUID_EXE= bin/ksu bin/v4rcp - -CHOWN?= chown -SUPERUSER?= root - -.include <bsd.port.pre.mk> - -do-fetch: - @${MKDIR} ${_DISTDIR} - @(cd ${_DISTDIR}; \ - if [ ! -f ${README_KRB5} ]; then \ - for site in ${MASTER_SITES}; do \ - ${ECHO_MSG} ">> Attempting to fetch ${README_KRB5} from $${site}."; \ - if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}/${README_KRB5} \ - ${FETCH_AFTER_ARGS}; then \ - break; \ - fi \ - done; fi; ${DO_NADA}) - @(if [ ! -f ${_DISTDIR}/${README_KRB5} ]; then \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retrieve"; \ - ${ECHO_MSG} ">> this port manually into ${_DISTDIR} and try"; \ - ${ECHO_MSG} ">> again."; \ - ${FALSE}; \ - fi) - @${MKDIR} ${_DISTDIR} - @(cd ${_DISTDIR}; \ - secret=`${AWK} ${AWK_SCRIPT} < ${_DISTDIR}/${README_KRB5}`; \ - for file in ${DISTFILES}; do \ - if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \ - if [ -h $$file -o -h `${BASENAME} $$file` ]; then \ - ${ECHO_MSG} ">> ${_DISTDIR}/$$file is a broken symlink."; \ - ${ECHO_MSG} ">> Perhaps a filesystem (most likely a CD) isn't mounted?"; \ - ${ECHO_MSG} ">> Please correct this problem and try again."; \ - exit 1; \ - fi ; \ - ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ - for site in ${MASTER_SITES}; do \ - ${ECHO_MSG} ">> Attempting to fetch from $${site}/$${secret}."; \ - if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}/$${secret}/$${file} ${FETCH_AFTER_ARGS}; then \ - continue 2; \ - fi \ - done; \ - ${ECHO_MSG} ">> Couldn't fetch it - please try to retrieve this";\ - ${ECHO_MSG} ">> port manually into ${_DISTDIR} and try again."; \ - exit 1; \ - fi \ - done) - -pre-configure: ${RECONF_COOKIE} - -${RECONF_COOKIE}: - ${SETENV} PORTOBJFORMAT="${PORTOBJFORMAT}" \ - ${SH} -c 'cd ${WRKSRC}/util/autoconf && ./configure && ${GMAKE} && cd ${WRKSRC} && ./util/reconf --force' - ${TOUCH} ${RECONF_COOKIE} - -post-build: - @(cd ${WRKSRC}/../doc && \ - ${MAKE} ${INFO_FILES}) - -post-install: -# XXX Not sure why tmac.doc is installed here -- I don't think -# we need it. I should patch the distribution to not install -# it, I think. - @rm -f ${PREFIX}/man/man1/tmac.doc -# shared libs - ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib -# html documentation -.if defined(WANT_HTML) && ${WANT_HTML} == "YES" - @${MKDIR} ${PREFIX}/share/doc/krb5 -.for html in ${HTML_DOCS} - ${INSTALL_MAN} ${HTML_DOC_DIR}/${html} ${PREFIX}/share/doc/krb5 -.endfor -.endif -# fixup setuid executables -.for setuid in ${SETUID_EXE} - ${CHOWN} ${SUPERUSER} ${PREFIX}/${setuid} -.endfor -# handle info files - if [ ! -f ${PREFIX}/info/dir ]; then \ - ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > \ - ${PREFIX}/info/dir; \ - fi -.for info in ${INFO_FILES} - ${INSTALL_MAN} ${WRKSRC}/../doc/${info} ${PREFIX}/info/${info} -.endfor -.for info in ${INFO_FILES:M*.info} - install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir -.endfor -# fixup packing list (no libs without version numbers in aout case) -.if ${PORTOBJFORMAT} == "aout" - ${ECHO_MSG} "Fixing packing list for a.out" - ${MV} ${TMPPLIST} ${TMPPLIST}.new - ${GREP} -v '\.so$$' ${TMPPLIST}.new > ${TMPPLIST} - ${RM} ${TMPPLIST}.new -.endif - -.include <bsd.port.post.mk> diff --git a/security/krb5-appl/distinfo b/security/krb5-appl/distinfo deleted file mode 100644 index 97769518f03e..000000000000 --- a/security/krb5-appl/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (krb5/krb5-1.0.5.src.tar.gz) = 97b523ba3c3f0b6a703691daadb2d85c -MD5 (krb5/krb5-1.0.5.doc.tar.gz) = 6eadfe9cff088bc5cc704b720c3883f6 -MD5 (krb5/krb5-1.0.5.crypto.tar.gz) = 2303ee0ebd08fad1945365f4cbb310d6 diff --git a/security/krb5-appl/files/patch-ac b/security/krb5-appl/files/patch-ac deleted file mode 100644 index 8bca5437d964..000000000000 --- a/security/krb5-appl/files/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ ---- ../doc/admin.texinfo Fri Feb 6 21:40:56 1998 -+++ admin.texinfo Fri Jun 19 15:13:45 1998 -@@ -5,6 +5,10 @@ - @c guide - @setfilename krb5-admin.info - @settitle Kerberos V5 System Administrator's Guide -+@dircategory Kerberos V5 -+@direntry -+* Admin Guide: (krb5-admin). Kerberos V5 System Admin's Guide -+@end direntry - @setchapternewpage odd @c chapter begins on next odd page - @c @setchapternewpage on @c chapter begins on next page - @c @smallbook @c Format for 7" X 9.25" paper diff --git a/security/krb5-appl/files/patch-ad b/security/krb5-appl/files/patch-ad deleted file mode 100644 index c8b6d3e99e91..000000000000 --- a/security/krb5-appl/files/patch-ad +++ /dev/null @@ -1,13 +0,0 @@ ---- ../doc/user-guide.texinfo Fri Feb 6 21:40:58 1998 -+++ user-guide.texinfo Fri Jun 19 15:13:45 1998 -@@ -3,6 +3,10 @@ - @c guide - @setfilename krb5-user.info - @settitle Kerberos V5 UNIX User's Guide -+@dircategory Kerberos V5 -+@direntry -+* User's Guide: (krb5-user). Kerberos V5 UNIX User's Guide -+@end direntry - @setchapternewpage odd @c chapter begins on next odd page - @c @setchapternewpage on @c chapter begins on next page - @c @smallbook @c Format for 7" X 9.25" paper diff --git a/security/krb5-appl/files/patch-ae b/security/krb5-appl/files/patch-ae deleted file mode 100644 index f5643b5aa04f..000000000000 --- a/security/krb5-appl/files/patch-ae +++ /dev/null @@ -1,13 +0,0 @@ ---- ../doc/install.texinfo Fri Feb 6 21:40:56 1998 -+++ install.texinfo Fri Jun 19 15:13:45 1998 -@@ -5,6 +5,10 @@ - @c guide - @setfilename krb5-install.info - @settitle Kerberos V5 Installation Guide -+@dircategory Kerberos V5 -+@direntry -+* Installation Guide: (krb5-install). Kerberos V5 Installation Guide -+@end direntry - @setchapternewpage odd @c chapter begins on next odd page - @c @setchapternewpage on @c chapter begins on next page - @c @smallbook @c Format for 7" X 9.25" paper diff --git a/security/krb5-appl/files/patch-af b/security/krb5-appl/files/patch-af deleted file mode 100644 index e054b18bbef5..000000000000 --- a/security/krb5-appl/files/patch-af +++ /dev/null @@ -1,13 +0,0 @@ ---- ../doc/krb425.texinfo Fri Feb 6 21:40:57 1998 -+++ krb425.texinfo Fri Jun 19 15:13:45 1998 -@@ -5,6 +5,10 @@ - @c guide - @setfilename krb425.info - @settitle Upgrading to Kerberos V5 from Kerberos V4 -+@dircategory Kerberos V5 -+@direntry -+* Upgrading from V4 to V5: (krb425). Upgrading from Kerberos V4 to V5 -+@end direntry - @setchapternewpage odd @c chapter begins on next odd page - @c @setchapternewpage on @c chapter begins on next page - @c @smallbook @c Format for 7" X 9.25" paper diff --git a/security/krb5-appl/files/patch-ai b/security/krb5-appl/files/patch-ai deleted file mode 100644 index 5eacca9caf86..000000000000 --- a/security/krb5-appl/files/patch-ai +++ /dev/null @@ -1,25 +0,0 @@ -*** appl/gssftp/ftpd/ftpd.c.ORIG Fri Feb 6 19:41:25 1998 ---- appl/gssftp/ftpd/ftpd.c Tue Jun 30 19:46:01 1998 -*************** -*** 374,380 **** - #ifndef LOG_DAEMON - #define LOG_DAEMON 0 - #endif -! openlog("ftpd", LOG_PID | LOG_NDELAY, LOG_DAEMON); - addrlen = sizeof (his_addr); - if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { - syslog(LOG_ERR, "getpeername (%s): %m",argv[0]); ---- 374,386 ---- - #ifndef LOG_DAEMON - #define LOG_DAEMON 0 - #endif -! -! #ifndef LOG_FTP -! #define FACILITY LOG_DAEMON -! #else -! #define FACILITY LOG_FTP -! #endif -! openlog("ftpd", LOG_PID | LOG_NDELAY, FACILITY); - addrlen = sizeof (his_addr); - if (getpeername(0, (struct sockaddr *)&his_addr, &addrlen) < 0) { - syslog(LOG_ERR, "getpeername (%s): %m",argv[0]); diff --git a/security/krb5-appl/files/patch-aj b/security/krb5-appl/files/patch-aj deleted file mode 100644 index 29e845803294..000000000000 --- a/security/krb5-appl/files/patch-aj +++ /dev/null @@ -1,46 +0,0 @@ -*** appl/gssftp/ftpd/logwtmp.c.ORIG Fri Feb 6 19:41:25 1998 ---- appl/gssftp/ftpd/logwtmp.c Tue Jun 30 19:46:01 1998 -*************** -*** 44,55 **** - #include <unistd.h> - #include <string.h> - -! #ifdef WTMP_FILE -! #define WTMPFILE WTMP_FILE - #endif - -! #ifndef WTMPFILE -! #define WTMPFILE "/usr/adm/wtmp" - #endif - - static int fd = -1; ---- 44,55 ---- - #include <unistd.h> - #include <string.h> - -! #if !defined(WTMP_FILE) && defined(_PATH_WTMP) -! #define WTMP_FILE _PATH_WTMP - #endif - -! #ifndef WTMP_FILE -! #define WTMP_FILE "/usr/adm/wtmp" - #endif - - static int fd = -1; -*************** -*** 66,72 **** - struct stat buf; - time_t time(); - -! if (fd < 0 && (fd = open(WTMPFILE, O_WRONLY|O_APPEND, 0)) < 0) - return; - if (fstat(fd, &buf) == 0) { - (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); ---- 66,72 ---- - struct stat buf; - time_t time(); - -! if (fd < 0 && (fd = open(WTMP_FILE, O_WRONLY|O_APPEND, 0)) < 0) - return; - if (fstat(fd, &buf) == 0) { - (void)strncpy(ut.ut_line, line, sizeof(ut.ut_line)); diff --git a/security/krb5-appl/files/patch-as b/security/krb5-appl/files/patch-as deleted file mode 100644 index 8ab90bb8494e..000000000000 --- a/security/krb5-appl/files/patch-as +++ /dev/null @@ -1,194 +0,0 @@ -*** clients/ksu/main.c.ORIG Fri Feb 6 19:41:57 1998 ---- clients/ksu/main.c Tue Jun 30 19:46:02 1998 -*************** -*** 56,62 **** - ill specified arguments to commands */ - - void usage (){ -! fprintf(stderr, "Usage: %s [target user] [-n principal] [-c source cachename] [-C target cachename] [-k] [-D] [-r time] [-pf] [-l lifetime] [-zZ] [-q] [-e command [args... ] ] [-a [args... ] ]\n", prog_name); - - } - ---- 56,62 ---- - ill specified arguments to commands */ - - void usage (){ -! fprintf(stderr, "Usage: %s [target user] [-m] [-n principal] [-c source cachename] [-C target cachename] [-k] [-D] [-r time] [-pf] [-l lifetime] [-zZ] [-q] [-e command [args... ] ] [-a [args... ] ]\n", prog_name); - - } - -*************** -*** 75,80 **** ---- 75,81 ---- - int argc; - char ** argv; - { -+ int asme = 0; - int hp =0; - int some_rest_copy = 0; - int all_rest_copy = 0; -*************** -*** 90,95 **** ---- 91,97 ---- - char * cc_target_tag = NULL; - char * target_user = NULL; - char * source_user; -+ char * source_shell; - - krb5_ccache cc_source = NULL; - char * cc_source_tag = NULL; -*************** -*** 174,180 **** - } - - -! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkql:e:")) != EOF)){ - switch (option) { - case 'r': - options.opt |= KDC_OPT_RENEWABLE; ---- 176,182 ---- - } - - -! while(!done && ((option = getopt(pargc, pargv,"n:c:C:r:a:zZDfpkmql:e:")) != EOF)){ - switch (option) { - case 'r': - options.opt |= KDC_OPT_RENEWABLE; -*************** -*** 216,221 **** ---- 218,226 ---- - errflg++; - } - break; -+ case 'm': -+ asme = 1; -+ break; - case 'n': - if ((retval = krb5_parse_name(ksu_context, optarg, &client))){ - com_err(prog_name, retval, "when parsing name %s", optarg); -*************** -*** 355,362 **** - exit(1); - } - -! /* allocate space and copy the usernamane there */ - source_user = strdup(pwd->pw_name); - source_uid = pwd->pw_uid; - source_gid = pwd->pw_gid; - ---- 360,368 ---- - exit(1); - } - -! /* allocate space and copy the username there */ - source_user = strdup(pwd->pw_name); -+ source_shell = strdup(pwd->pw_shell); - source_uid = pwd->pw_uid; - source_gid = pwd->pw_gid; - -*************** -*** 727,769 **** - /* get the shell of the user, this will be the shell used by su */ - target_pwd = getpwnam(target_user); - -! if (target_pwd->pw_shell) -! shell = strdup(target_pwd->pw_shell); -! else { -! shell = _DEF_CSH; /* default is cshell */ -! } - - #ifdef HAVE_GETUSERSHELL - - /* insist that the target login uses a standard shell (root is omited) */ - -! if (!standard_shell(target_pwd->pw_shell) && source_uid) { -! fprintf(stderr, "ksu: permission denied (shell).\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); - } - #endif /* HAVE_GETUSERSHELL */ - -! if (target_pwd->pw_uid){ -! -! if(set_env_var("USER", target_pwd->pw_name)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! } -! -! if(set_env_var( "HOME", target_pwd->pw_dir)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! -! if(set_env_var( "SHELL", shell)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } - - /* set the cc env name to target */ - ---- 733,792 ---- - /* get the shell of the user, this will be the shell used by su */ - target_pwd = getpwnam(target_user); - -! if (asme) { -! if (source_shell && *source_shell) { -! shell = strdup(source_shell); -! } else { -! shell = _DEF_CSH; -! } -! } else { -! if (target_pwd->pw_shell) -! shell = strdup(target_pwd->pw_shell); -! else { -! shell = _DEF_CSH; /* default is cshell */ -! } -! } - - #ifdef HAVE_GETUSERSHELL - - /* insist that the target login uses a standard shell (root is omited) */ - -! if (asme) { -! if (!standard_shell(pwd->pw_shell) && source_uid) { -! fprintf(stderr, "ksu: permission denied (shell).\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! } else { -! if (!standard_shell(target_pwd->pw_shell) && source_uid) { -! fprintf(stderr, "ksu: permission denied (shell).\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } - } - #endif /* HAVE_GETUSERSHELL */ - -! if (!asme) { -! if (target_pwd->pw_uid){ -! if (set_env_var("USER", target_pwd->pw_name)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! } -! -! if (set_env_var( "HOME", target_pwd->pw_dir)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! -! if (set_env_var( "SHELL", shell)){ -! fprintf(stderr,"ksu: couldn't set environment variable USER\n"); -! sweep_up(ksu_context, use_source_cache, cc_target); -! exit(1); -! } -! } - - /* set the cc env name to target */ - diff --git a/security/krb5-appl/files/patch-at b/security/krb5-appl/files/patch-at deleted file mode 100644 index ef9ea4856f7a..000000000000 --- a/security/krb5-appl/files/patch-at +++ /dev/null @@ -1,14 +0,0 @@ -*** include/sys/syslog.h.ORIG Fri Feb 6 19:42:12 1998 ---- include/sys/syslog.h Tue Jun 30 19:46:02 1998 -*************** -*** 34,39 **** ---- 34,42 ---- - #define LOG_LPR (6<<3) /* line printer subsystem */ - #define LOG_NEWS (7<<3) /* network news subsystem */ - #define LOG_UUCP (8<<3) /* UUCP subsystem */ -+ #if (defined(BSD) && (BSD >= 199306)) -+ #define LOG_FTP (11<<3) /* ftp daemon */ -+ #endif - /* other codes through 15 reserved for system use */ - #define LOG_LOCAL0 (16<<3) /* reserved for local use */ - #define LOG_LOCAL1 (17<<3) /* reserved for local use */ diff --git a/security/krb5-appl/files/patch-au b/security/krb5-appl/files/patch-au deleted file mode 100644 index b408c4a3750d..000000000000 --- a/security/krb5-appl/files/patch-au +++ /dev/null @@ -1,19 +0,0 @@ -*** appl/bsd/forward.c.ORIG Fri Feb 6 19:41:16 1998 ---- appl/bsd/forward.c Tue Jun 30 19:46:01 1998 -*************** -*** 51,57 **** - */ - - sprintf(ccname, "FILE:/tmp/krb5cc_p%d", getpid()); -! setenv("KRB5CCNAME", ccname, 0); - - if (retval = krb5_cc_resolve(context, ccname, ccache)) - goto cleanup; ---- 51,57 ---- - */ - - sprintf(ccname, "FILE:/tmp/krb5cc_p%d", getpid()); -! setenv("KRB5CCNAME", ccname, 1); - - if (retval = krb5_cc_resolve(context, ccname, ccache)) - goto cleanup; diff --git a/security/krb5-appl/files/patch-av b/security/krb5-appl/files/patch-av deleted file mode 100644 index 5bcb582b707d..000000000000 --- a/security/krb5-appl/files/patch-av +++ /dev/null @@ -1,13 +0,0 @@ -*** clients/ksu/Makefile.in.ORIG Sun Aug 2 16:51:18 1998 ---- clients/ksu/Makefile.in Sun Aug 2 16:53:48 1998 -*************** -*** 1,4 **** -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/bin /local/bin"' - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - - SRCS = \ ---- 1,4 ---- -! DEFINES = -DGET_TGT_VIA_PASSWD -DPRINC_LOOK_AHEAD -DCMD_PATH='"/usr/bin /bin /usr/sbin /sbin"' - CFLAGS = $(CCOPTS) $(DEFINES) $(DEFS) $(LOCALINCLUDE) - - SRCS = \ diff --git a/security/krb5-appl/files/patch-ax b/security/krb5-appl/files/patch-ax deleted file mode 100644 index 58cfe89d9294..000000000000 --- a/security/krb5-appl/files/patch-ax +++ /dev/null @@ -1,11 +0,0 @@ ---- ../doc/Makefile.orig Wed Jan 20 21:57:45 1999 -+++ ../doc/Makefile Wed Jan 20 21:59:19 1999 -@@ -1,7 +1,7 @@ - SRCDIR=../src - DVI=texi2dvi - DVIPS=dvips -o "$@" --INFO=makeinfo -+INFO=makeinfo --no-validate - HTML=texi2html - RM=rm -f - TAR=tar -chvf diff --git a/security/krb5-appl/files/patch-ay b/security/krb5-appl/files/patch-ay deleted file mode 100644 index 4ed0c9e5cbbb..000000000000 --- a/security/krb5-appl/files/patch-ay +++ /dev/null @@ -1,50 +0,0 @@ ---- util/pty/getpty.c.orig Fri Feb 6 19:46:42 1998 -+++ util/pty/getpty.c Mon Apr 5 14:00:07 1999 -@@ -21,13 +21,26 @@ - #include "libpty.h" - #include "pty-int.h" - -+#ifdef __FreeBSD__ -+#define PTYCHARS1 "pqrsPQRS" -+#define PTYCHARS2 "0123456789abcdefghijklmnopqrstuv" -+#endif -+ -+#ifndef PTYCHARS1 -+#define PTYCHARS1 "pqrstuvwxyzPQRST" -+#endif -+ -+#ifndef PTYCHARS2 -+#define PTYCHARS2 "0123456789abcdef" -+#endif -+ - long pty_getpty (fd, slave, slavelength) - int slavelength; - int *fd; char *slave; - { -- char *cp; -+ char *cp1, *cp2; - char *p; -- int i,ptynum; -+ int ptynum; - struct stat stb; - char slavebuf[1024]; - #ifdef HAVE__GETPTY -@@ -109,14 +122,14 @@ - strncpy(slave, slavebuf, slavelength); - return 0; - } else { -- for (cp = "pqrstuvwxyzPQRST";*cp; cp++) { -+ for (cp1 = PTYCHARS1; *cp1 != '\0'; cp1++) { - sprintf(slavebuf,"/dev/ptyXX"); -- slavebuf[sizeof("/dev/pty") - 1] = *cp; -+ slavebuf[sizeof("/dev/pty") - 1] = *cp1; - slavebuf[sizeof("/dev/ptyp") - 1] = '0'; - if (stat(slavebuf, &stb) < 0) - break; -- for (i = 0; i < 16; i++) { -- slavebuf[sizeof("/dev/ptyp") - 1] = "0123456789abcdef"[i]; -+ for (cp2 = PTYCHARS2; *cp2 != '\0'; cp2++) { -+ slavebuf[sizeof("/dev/ptyp") - 1] = *cp2; - *fd = open(slavebuf, O_RDWR); - if (*fd < 0) continue; - diff --git a/security/krb5-appl/pkg-comment b/security/krb5-appl/pkg-comment deleted file mode 100644 index 0610a7e278ae..000000000000 --- a/security/krb5-appl/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -An authentication system developed at MIT, successor to Kerberos IV. diff --git a/security/krb5-appl/pkg-descr b/security/krb5-appl/pkg-descr deleted file mode 100644 index 376a48c52faf..000000000000 --- a/security/krb5-appl/pkg-descr +++ /dev/null @@ -1,24 +0,0 @@ -Kerberos V5 is an authentication system developed at MIT. -WWW: http://web.mit.edu/kerberos/www/ - -Abridged from the User Guide: - Under Kerberos, a client sends a request for a ticket to the - Key Distribution Center (KDC). The KDC creates a ticket-granting - ticket (TGT) for the client, encrypts it using the client's - password as the key, and sends the encrypted TGT back to the - client. The client then attempts to decrypt the TGT, using - its password. If the client successfully decrypts the TGT, it - keeps the decrypted TGT, which indicates proof of the client's - identity. The TGT permits the client to obtain additional tickets, - which give permission for specific services. - Since Kerberos negotiates authenticated, and optionally encrypted, - communications between two points anywhere on the internet, it - provides a layer of security that is not dependent on which side of a - firewall either client is on. - The Kerberos V5 package is designed to be easy to use. Most of the - commands are nearly identical to UNIX network programs you are already - used to. Kerberos V5 is a single-sign-on system, which means that you - have to type your password only once per session, and Kerberos does - the authenticating and encrypting transparently. - -Jacques Vidrine <n@nectar.com> diff --git a/security/krb5-appl/pkg-plist b/security/krb5-appl/pkg-plist deleted file mode 100644 index 2f984b9e344a..000000000000 --- a/security/krb5-appl/pkg-plist +++ /dev/null @@ -1,122 +0,0 @@ -bin/krb524init -bin/kpasswd -bin/v5passwd -bin/klist -bin/kinit -bin/kdestroy -bin/ksu -bin/sclient -bin/sim_client -bin/uuclient -bin/rsh -bin/rcp -bin/rlogin -bin/v4rcp -bin/gss-client -bin/ftp -bin/telnet -include/gssapi/gssapi_generic.h -include/gssapi/gssapi.h -include/gssapi/gssapi_krb5.h -include/kerberosIV/krb.h -include/kerberosIV/des.h -include/kerberosIV/kadm.h -include/kerberosIV/mit-copyright.h -include/kerberosIV/krb_err.h -include/com_err.h -include/mit-sipb-copyright.h -include/libpty.h -include/krb5.h -lib/libcom_err.a -lib/libcom_err.so -lib/libcom_err.so.1 -lib/libpty.a -lib/libdyn.a -lib/libdyn.so -lib/libdyn.so.1 -lib/libcrypto.so -lib/libcrypto.so.1 -lib/libcrypto.a -lib/libkrb5.so -lib/libkrb5.so.1 -lib/libkrb5.a -lib/libdes425.a -lib/libdes425.so -lib/libdes425.so.1 -lib/libkrb4.so -lib/libkrb4.so.1 -lib/libkrb4.a -lib/libkrb5util.a -lib/libkdb5.so -lib/libkdb5.so.1 -lib/libkdb5.a -lib/libgssapi_krb5.a -lib/libgssapi_krb5.so -lib/libgssapi_krb5.so.1 -lib/libgssrpc.a -lib/libgssrpc.so -lib/libgssrpc.so.1 -lib/libkadm5clnt.a -lib/libkadm5clnt.so -lib/libkadm5clnt.so.1 -lib/libkadm5srv.a -lib/libkadm5srv.so -lib/libkadm5srv.so.1 -lib/libkrb524.a -@exec /sbin/ldconfig -m %D/lib -sbin/krb5-send-pr -sbin/krb524d -sbin/krb5kdc -sbin/kadmin.local -sbin/kadmin -sbin/kdb5_util -sbin/ktutil -sbin/kadmind -sbin/kadmind4 -sbin/v5passwdd -sbin/kprop -sbin/kpropd -sbin/sserver -sbin/sim_server -sbin/uuserver -sbin/kshd -sbin/klogind -sbin/login.krb5 -sbin/gss-server -sbin/ftpd -sbin/telnetd -share/gnats/mit -share/doc/krb5/admin.html -share/doc/krb5/install_foot.html -share/doc/krb5/user-guide.html -share/doc/krb5/admin_foot.html -share/doc/krb5/install_toc.html -share/doc/krb5/user-guide_foot.html -share/doc/krb5/admin_toc.html -share/doc/krb5/krb425.html -share/doc/krb5/user-guide_toc.html -share/doc/krb5/install.html -share/doc/krb5/krb425_toc.html -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R -@unexec install-info --delete %D/info/krb425.info %D/info/dir -@unexec install-info --delete %D/info/krb5-admin.info %D/info/dir -@unexec install-info --delete %D/info/krb5-install.info %D/info/dir -@unexec install-info --delete %D/info/krb5-user.info %D/info/dir -info/krb425.info -info/krb5-admin.info -info/krb5-admin.info-1 -info/krb5-admin.info-2 -info/krb5-admin.info-3 -info/krb5-install.info -info/krb5-install.info-1 -info/krb5-install.info-2 -info/krb5-user.info -@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir -@exec install-info %D/info/krb425.info %D/info/dir -@exec install-info %D/info/krb5-admin.info %D/info/dir -@exec install-info %D/info/krb5-install.info %D/info/dir -@exec install-info %D/info/krb5-user.info %D/info/dir -@dirrm include/gssapi -@dirrm include/kerberosIV -@dirrm share/doc/krb5 |