[debian-edu-commits] debian-edu/upstream/ 30/71: More restructuring.

Petter Reinholdtsen pere at moszumanska.debian.org
Mon Jun 9 18:25:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository libpam-mklocaluser.

commit 3ea413caa18ad3818d29eb69dd5a8c5caf21aa4e
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Fri May 7 17:05:22 2010 +0000

    More restructuring.
---
 debian/README                      |  2 +-
 debian/changelog                   |  2 +-
 debian/control                     |  8 ++++----
 debian/copyright                   |  2 +-
 debian/libpam-localoffline.install |  4 ++--
 debian/pam-python.py               | 10 +++++-----
 6 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/debian/README b/debian/README
index bb4aa68..1fe935c 100644
--- a/debian/README
+++ b/debian/README
@@ -1,4 +1,4 @@
-libpam-localoffline
+libpam-mklocalusre
 ===================
 
 PAM configuration to enable add users able to log in, presumably using
diff --git a/debian/changelog b/debian/changelog
index 4800205..6a83795 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libpam-localoffline (0.0.1) UNRELEASED; urgency=low
+libpam-mklocaluser (0.0.1) UNRELEASED; urgency=low
 
   * Do not upload to Debian before libpam-python is available (WNPP #578650).
 
diff --git a/debian/control b/debian/control
index 8440259..9113410 100644
--- a/debian/control
+++ b/debian/control
@@ -1,4 +1,4 @@
-Source: libpam-localoffline
+Source: libpam-mklocaluser
 Section: misc
 Priority: optional
 Maintainer: Debian Edu Developers <debian-edu at lists.debian.org>
@@ -6,10 +6,10 @@ Uploaders: Petter Reinholdtsen <pere at debian.org>
 Build-Depends: debhelper (>= 7)
 Standards-Version: 3.8.4
 Homepage: http://www.skolelinux.org/
-Vcs-Browser: http://svn.debian.org/wsvn/debian-edu/trunk/src/libpam-localoffline/?rev=0&sc=0
-Vcs-Svn: svn://svn.debian.org/debian-edu/trunk/src/libpam-localoffline/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-edu/trunk/src/libpam-mklocaluser/?rev=0&sc=0
+Vcs-Svn: svn://svn.debian.org/debian-edu/trunk/src/libpam-mklocaluser/
 
-Package: libpam-localoffline
+Package: libpam-mklocaluser
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, libpam-ccreds, libpam-python
 Description: Configure PAM to create a local user and do offline authentication
diff --git a/debian/copyright b/debian/copyright
index 70b334f..16be591 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -4,7 +4,7 @@ Sat May  1 10:38:44 CEST 2010
 The current Debian maintainer is Petter Reinholdtsen
 
 It was downloaded from:
-  http://svn.debian.org/wsvn/debian-edu/trunk/src/libpam-localoffline/
+  http://svn.debian.org/wsvn/debian-edu/trunk/src/libpam-mklocaluser/
 
 Created by Petter Reinholdtsen, upstream authors are the debian-edu
   team <debian-edu at lists.debian.org>
diff --git a/debian/libpam-localoffline.install b/debian/libpam-localoffline.install
index dd864c0..c915f40 100644
--- a/debian/libpam-localoffline.install
+++ b/debian/libpam-localoffline.install
@@ -1,4 +1,4 @@
 debian/pam-auth-update/lo-ccreds-check	usr/share/pam-configs
 debian/pam-auth-update/lo-ccreds-save	usr/share/pam-configs
-debian/pam-auth-update/localoffline	usr/share/pam-configs
-debian/pam-python.py			usr/lib/libpam-localoffline
+debian/pam-auth-update/mklocaluser	usr/share/pam-configs
+debian/pam-python.py			usr/lib/libpam-mklocaluser
diff --git a/debian/pam-python.py b/debian/pam-python.py
index 7b4703b..43e473e 100755
--- a/debian/pam-python.py
+++ b/debian/pam-python.py
@@ -91,7 +91,7 @@ def check_and_create_localuser(pamh, user):
 
       # Hook for adjusting the freshly created home directory
       # XXX Should be rewritten in python, I guess
-      runcmd(pamh, "if [ -d /etc/localoffline.d ]; then /bin/run-parts /etc/localoffline.d ; fi")
+      runcmd(pamh, "if [ -d /etc/mklocaluser.d ]; then /bin/run-parts /etc/mklocaluser.d ; fi")
 
       # Let the user know what is going on
       msg = pamh.Message(pamh.PAM_TEXT_INFO,
@@ -117,19 +117,19 @@ def pam_sm_acct_mgmt(pamh, flags, argv):
   return pamh.PAM_SUCCESS
 
 def pam_sm_open_session(pamh, flags, argv):
-  syslog.openlog("pam_localoffline", syslog.LOG_PID, syslog.LOG_AUTH)
+  syslog.openlog("pam_mklocaluser", syslog.LOG_PID, syslog.LOG_AUTH)
   try:
     user = pamh.get_user(None)
   except pamh.exception, e:
     return e.pam_result
   if user == None:
-    syslog.syslog("No user, ignoring pam-python for localoffline")
+    syslog.syslog("No user, ignoring pam-python for mklocaluser")
     return pamh.PAM_USER_UNKNOWN
 
   # Only create local users for console logins
   try:
     if pamh.rhost != None and 0 != len(pamh.rhost):
-      syslog.syslog("Remote login, ignoring pam-python for localoffline")
+      syslog.syslog("Remote login, ignoring pam-python for mklocaluser")
       return pamh.PAM_SUCCESS
   except pamh.exception, e:
     return e.pam_result
@@ -151,7 +151,7 @@ def pam_sm_chauthtok(pamh, flags, argv):
 
 # Test if the code work.  Argument is username to simulate login for.
 if __name__ == '__main__':
-  syslog.openlog("pam_localoffline", syslog.LOG_PID, syslog.LOG_AUTH)
+  syslog.openlog("pam_mklocaluser", syslog.LOG_PID, syslog.LOG_AUTH)
   class pam_handler:
     PAM_SUCCESS = 1
     PAM_USER_UNKNOWN = 2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/libpam-mklocaluser.git



More information about the debian-edu-commits mailing list