From 462da152d2d0f22be3ff98e01309596dbcca4606 Mon Sep 17 00:00:00 2001
From: Dmitrij Tejblum
Date: Tue, 21 Sep 1999 17:52:05 +0000
Subject: [PATCH] Someone changed major numbers of the libraries from 2 to 3
for 0 (zero) reasons. Revert the major number back to 2.
libcrypt only export one function, before the recent changes and now:
char *crypt(const char *key, const char *salt);
The prototype didn't changed. Internal representation of `char' and `char *'
didn't changed. Therefore, there is no reason to change the version number.
---
lib/libcrypt/Makefile | 2 +-
secure/lib/libcrypt/Makefile | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile
index 25d2549c2beb..37429135a082 100644
--- a/lib/libcrypt/Makefile
+++ b/lib/libcrypt/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
#
-SHLIB_MAJOR= 3
+SHLIB_MAJOR= 2
LIB= scrypt
LCRYPTBASE= libcrypt
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index 91507911c01c..8cd4eea64742 100644
--- a/secure/lib/libcrypt/Makefile
+++ b/secure/lib/libcrypt/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
#
-SHLIB_MAJOR= 3
+SHLIB_MAJOR= 2
LIB= descrypt
LCRYPTBASE= libcrypt