[root-system] 09/21: root-system-rootd.postinst: specify --home option for adduser.

Lifeng Sun lifengsun-guest at moszumanska.debian.org
Sat Aug 2 08:35:05 UTC 2014


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

lifengsun-guest pushed a commit to branch master
in repository root-system.

commit 712695653108a862b132effc046d0249690bb370
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Tue Dec 17 13:04:23 2013 +0800

    root-system-rootd.postinst: specify --home option for adduser.
---
 debian/changelog                  | 2 ++
 debian/control                    | 2 +-
 debian/root-system-rootd.postinst | 4 ++--
 debian/skel/control.in            | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2f3dcf9..5f55192 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,8 @@ root-system (5.34.14-1) unstable; urgency=low
   * Fix typos in package description, thanks to Pascal De Vuyst
     <pascal.devuyst at gmail.com>. (Closes: #726104, #726106, #726108,
     #726109)
+  * Bump Standards-Version to 3.9.5:
+    - root-system-rootd.postinst: specify --home option for adduser.
 
  -- Lifeng Sun <lifongsun at gmail.com>  Tue, 17 Dec 2013 12:02:30 +0800
 
diff --git a/debian/control b/debian/control
index 46c5491..8ecfd82 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Lifeng Sun <lifongsun at gmail.com>
 Homepage: http://root.cern.ch
 Build-Depends: debhelper (>= 5.0.37.2), lsb-release, autotools-dev, po-debconf, libssl-dev, comerr-dev, libxpm-dev, libltdl-dev, x11proto-xext-dev, libxext-dev, libfreetype6-dev, libpcre3-dev, zlib1g-dev | libz-dev, liblzma-dev, python-dev (>= 2.1), graphviz, ttf-freefont, libncurses5-dev, libgraphviz-dev, libavahi-core-dev, libsqlite3-dev, libxft-dev, python-support (>= 0.3), ruby, ruby-dev, libglu1-mesa-dev| xlibmesa-glu-dev |  libglu-dev, libglew-dev, libftgl-dev, libgl2ps-dev, libxml [...]
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/root-system.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/root-system.git
 
diff --git a/debian/root-system-rootd.postinst b/debian/root-system-rootd.postinst
index c660510..0deeb43 100644
--- a/debian/root-system-rootd.postinst
+++ b/debian/root-system-rootd.postinst
@@ -37,7 +37,7 @@ case "$1" in
 		--ingroup rootd 		\
 		--gecos "Anonymous rootd" 	\
 		--shell /bin/false		\
-		--no-create-home		\
+		--home /var/spool/rootd		\
 		rootd >/dev/null
 	fi
 
@@ -45,7 +45,7 @@ case "$1" in
 
 	# modifying the user
 	# usermod -c "Anonymous rootd"    rootd > /dev/null
-	usermod -d "/var/spool/rootd"   rootd > /dev/null
+	# usermod -d "/var/spool/rootd"   rootd > /dev/null
 	# usermod -g "rootd"              rootd > /dev/null
 	# usermod -s "/bin/false"         rootd > /dev/null
 
diff --git a/debian/skel/control.in b/debian/skel/control.in
index 8a1e828..658c4b4 100644
--- a/debian/skel/control.in
+++ b/debian/skel/control.in
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Lifeng Sun <lifongsun at gmail.com>
 Homepage: http://root.cern.ch
 Build-Depends: debhelper (>= 5.0.37.2), lsb-release, autotools-dev, po-debconf, libssl-dev, comerr-dev, libxpm-dev, libltdl-dev, x11proto-xext-dev, libxext-dev, libfreetype6-dev, libpcre3-dev, zlib1g-dev | libz-dev, liblzma-dev, python-dev (>= 2.1), graphviz, ttf-freefont, libncurses5-dev, libgraphviz-dev, libavahi-core-dev, libsqlite3-dev, libxft-dev at builddepends@
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/root-system.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/root-system.git
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/root-system.git



More information about the debian-science-commits mailing list