aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2001-01-09 16:25:22 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2001-01-09 16:25:22 +0000
commita865f0187c5808541301d83adafe66aa5c381645 (patch)
treec8d2aae7147ec3c8d0daf870fb3adae482c621d0 /security
parent4e94abe42a3093542a5d0921554a79e8af6bb429 (diff)
downloadports-a865f0187c5808541301d83adafe66aa5c381645.tar.gz
ports-a865f0187c5808541301d83adafe66aa5c381645.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/krb5-16/files/patch-bc28
-rw-r--r--security/krb5-17/files/patch-bc28
-rw-r--r--security/krb5-appl/files/patch-bc28
-rw-r--r--security/krb5/files/patch-bc28
4 files changed, 112 insertions, 0 deletions
diff --git a/security/krb5-16/files/patch-bc b/security/krb5-16/files/patch-bc
new file mode 100644
index 000000000000..c80d9411629b
--- /dev/null
+++ b/security/krb5-16/files/patch-bc
@@ -0,0 +1,28 @@
+--- appl/bsd/krshd.c~ Thu Jun 29 22:27:05 2000
++++ appl/bsd/krshd.c Sat Jan 6 12:57:23 2001
+@@ -160,6 +160,16 @@
+ Key_schedule v4_schedule;
+ #endif
+
++#ifdef HAVE_PATHS_H
++#include <paths.h>
++#endif
++
++#if defined(_PATH_NOLOGIN)
++#define NOLOGIN _PATH_NOLOGIN
++#else
++#define NOLOGIN "/etc/nologin"
++#endif
++
+ #include "defines.h"
+
+ #if HAVE_ARPA_NAMESER_H
+@@ -1119,7 +1129,7 @@
+ goto signout_please;
+ }
+
+- if (pwd->pw_uid && !access("/etc/nologin", F_OK)) {
++ if (pwd->pw_uid && !access(NOLOGIN, F_OK)) {
+ error("Logins currently disabled.\n");
+ goto signout_please;
+ }
diff --git a/security/krb5-17/files/patch-bc b/security/krb5-17/files/patch-bc
new file mode 100644
index 000000000000..c80d9411629b
--- /dev/null
+++ b/security/krb5-17/files/patch-bc
@@ -0,0 +1,28 @@
+--- appl/bsd/krshd.c~ Thu Jun 29 22:27:05 2000
++++ appl/bsd/krshd.c Sat Jan 6 12:57:23 2001
+@@ -160,6 +160,16 @@
+ Key_schedule v4_schedule;
+ #endif
+
++#ifdef HAVE_PATHS_H
++#include <paths.h>
++#endif
++
++#if defined(_PATH_NOLOGIN)
++#define NOLOGIN _PATH_NOLOGIN
++#else
++#define NOLOGIN "/etc/nologin"
++#endif
++
+ #include "defines.h"
+
+ #if HAVE_ARPA_NAMESER_H
+@@ -1119,7 +1129,7 @@
+ goto signout_please;
+ }
+
+- if (pwd->pw_uid && !access("/etc/nologin", F_OK)) {
++ if (pwd->pw_uid && !access(NOLOGIN, F_OK)) {
+ error("Logins currently disabled.\n");
+ goto signout_please;
+ }
diff --git a/security/krb5-appl/files/patch-bc b/security/krb5-appl/files/patch-bc
new file mode 100644
index 000000000000..c80d9411629b
--- /dev/null
+++ b/security/krb5-appl/files/patch-bc
@@ -0,0 +1,28 @@
+--- appl/bsd/krshd.c~ Thu Jun 29 22:27:05 2000
++++ appl/bsd/krshd.c Sat Jan 6 12:57:23 2001
+@@ -160,6 +160,16 @@
+ Key_schedule v4_schedule;
+ #endif
+
++#ifdef HAVE_PATHS_H
++#include <paths.h>
++#endif
++
++#if defined(_PATH_NOLOGIN)
++#define NOLOGIN _PATH_NOLOGIN
++#else
++#define NOLOGIN "/etc/nologin"
++#endif
++
+ #include "defines.h"
+
+ #if HAVE_ARPA_NAMESER_H
+@@ -1119,7 +1129,7 @@
+ goto signout_please;
+ }
+
+- if (pwd->pw_uid && !access("/etc/nologin", F_OK)) {
++ if (pwd->pw_uid && !access(NOLOGIN, F_OK)) {
+ error("Logins currently disabled.\n");
+ goto signout_please;
+ }
diff --git a/security/krb5/files/patch-bc b/security/krb5/files/patch-bc
new file mode 100644
index 000000000000..c80d9411629b
--- /dev/null
+++ b/security/krb5/files/patch-bc
@@ -0,0 +1,28 @@
+--- appl/bsd/krshd.c~ Thu Jun 29 22:27:05 2000
++++ appl/bsd/krshd.c Sat Jan 6 12:57:23 2001
+@@ -160,6 +160,16 @@
+ Key_schedule v4_schedule;
+ #endif
+
++#ifdef HAVE_PATHS_H
++#include <paths.h>
++#endif
++
++#if defined(_PATH_NOLOGIN)
++#define NOLOGIN _PATH_NOLOGIN
++#else
++#define NOLOGIN "/etc/nologin"
++#endif
++
+ #include "defines.h"
+
+ #if HAVE_ARPA_NAMESER_H
+@@ -1119,7 +1129,7 @@
+ goto signout_please;
+ }
+
+- if (pwd->pw_uid && !access("/etc/nologin", F_OK)) {
++ if (pwd->pw_uid && !access(NOLOGIN, F_OK)) {
+ error("Logins currently disabled.\n");
+ goto signout_please;
+ }