summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2020-05-04 22:26:01 +0800
committerTing-Wei Lan <lantw44@gmail.com>2020-05-04 22:26:01 +0800
commitb208b148884d8c645976f10fcf11888d938395eb (patch)
tree69331ef352891c03e68e21864b62fa3747b546e9
parent04138432fc5c9a4f0d6e77f965562f93bf5388e4 (diff)
downloadwspkg-data-b208b148884d8c645976f10fcf11888d938395eb.tar.gz
wspkg-data-b208b148884d8c645976f10fcf11888d938395eb.tar.zst
wspkg-data-b208b148884d8c645976f10fcf11888d938395eb.zip
wscommon: Add Python ntlm_auth package for passwd script
Our passwd script has been ported to Python 3 and switched from smbpasswd to ntlm_auth package.
-rw-r--r--wsarch/wsarch.pkg1
-rw-r--r--wsbsd/wsbsd.pkg1
-rw-r--r--wscommon.h2
-rw-r--r--wslinux/wslinux.pkg1
4 files changed, 5 insertions, 0 deletions
diff --git a/wsarch/wsarch.pkg b/wsarch/wsarch.pkg
index 2d99f61..7a3646f 100644
--- a/wsarch/wsarch.pkg
+++ b/wsarch/wsarch.pkg
@@ -339,6 +339,7 @@
#define PYTHON_NLTK python-nltk python2-nltk
#define PYTHON_JIEBA NULL
#define PYTHON_CRYPTO python-crypto python2-crypto
+#define PYTHON_NTLM_AUTH python-ntlm-auth
// Ruby
#define RUBY ruby
diff --git a/wsbsd/wsbsd.pkg b/wsbsd/wsbsd.pkg
index 74eee2e..81d1aeb 100644
--- a/wsbsd/wsbsd.pkg
+++ b/wsbsd/wsbsd.pkg
@@ -328,6 +328,7 @@
#define PYTHON_NLTK PYTHON_2_3_PKG(nltk)
#define PYTHON_JIEBA NULL
#define PYTHON_CRYPTO PYTHON_2_3_PKG(pycrypto)
+#define PYTHON_NTLM_AUTH PYTHON_2_3_PKG(ntlm-auth)
// Ruby
#define RUBY ruby rubygem-irb rubygem-rdoc ruby27
diff --git a/wscommon.h b/wscommon.h
index 107faae..0db5a53 100644
--- a/wscommon.h
+++ b/wscommon.h
@@ -323,6 +323,8 @@ PYTHON_PYQUERY
PYTHON_NLTK PYTHON_JIEBA
// request by d05922014@csie.ntu.edu.tw
PYTHON_CRYPTO
+// passwd script
+PYTHON_NTLM_AUTH
#endif
// Ruby
diff --git a/wslinux/wslinux.pkg b/wslinux/wslinux.pkg
index 8642543..6160178 100644
--- a/wslinux/wslinux.pkg
+++ b/wslinux/wslinux.pkg
@@ -343,6 +343,7 @@
#define PYTHON_NLTK python-nltk python3-nltk
#define PYTHON_JIEBA python-jieba
#define PYTHON_CRYPTO python-crypto
+#define PYTHON_NTLM_AUTH python3-ntlm-auth
// Ruby
#define RUBY ruby ruby-dev