aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/files
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-05-17 22:16:10 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-05-17 22:16:10 +0800
commitc5ddf506cd435ad414990f91bceb1f4842f663d3 (patch)
treec57f7e5d97596ea7077585c804c855b51043c70d /security/openssh-portable/files
parent9018da68d38e40cae7a40f5bd637ee5cce84ff1b (diff)
downloadfreebsd-ports-gnome-c5ddf506cd435ad414990f91bceb1f4842f663d3.tar.gz
freebsd-ports-gnome-c5ddf506cd435ad414990f91bceb1f4842f663d3.tar.zst
freebsd-ports-gnome-c5ddf506cd435ad414990f91bceb1f4842f663d3.zip
- Remove copyright as it was a base customization that was removed in
base r213250
Diffstat (limited to 'security/openssh-portable/files')
-rw-r--r--security/openssh-portable/files/patch-session.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/security/openssh-portable/files/patch-session.c b/security/openssh-portable/files/patch-session.c
index 900572b78dff..df1ab8e9db9a 100644
--- a/security/openssh-portable/files/patch-session.c
+++ b/security/openssh-portable/files/patch-session.c
@@ -17,31 +17,6 @@ PR: 35904
--- session.c.orig 2011-07-21 18:55:33.883559116 +0200
+++ session.c 2011-07-21 19:02:17.789294035 +0200
-@@ -896,6 +896,24 @@
- {
- FILE *f;
- char buf[256];
-+#ifdef HAVE_LOGIN_CAP
-+ const char *fname;
-+#endif
-+
-+#ifdef HAVE_LOGIN_CAP
-+ fname = login_getcapstr(lc, "copyright", NULL, NULL);
-+ if (fname != NULL && (f = fopen(fname, "r")) != NULL) {
-+ while (fgets(buf, sizeof(buf), f) != NULL)
-+ fputs(buf, stdout);
-+ fclose(f);
-+ } else
-+#endif /* HAVE_LOGIN_CAP */
-+ (void)printf("%s\n\t%s %s\n",
-+ "Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994",
-+ "The Regents of the University of California. ",
-+ "All rights reserved.");
-+
-+ (void)printf("\n");
-
- if (options.print_motd) {
- #ifdef HAVE_LOGIN_CAP
@@ -1125,6 +1143,9 @@
struct passwd *pw = s->pw;
#if !defined (HAVE_LOGIN_CAP) && !defined (HAVE_CYGWIN)