r10284 - in /desktop/unstable/sabayon/debian: changelog control control.in rules sabayon.lintian-override sabayon.postinst sabayon.postrm

alanbach-guest at users.alioth.debian.org alanbach-guest at users.alioth.debian.org
Mon Apr 23 10:12:43 UTC 2007


Author: alanbach-guest
Date: Mon Apr 23 10:12:43 2007
New Revision: 10284

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10284
Log:
updated post* scripts to use useradd, updated debian/rules, updated deps

Modified:
    desktop/unstable/sabayon/debian/changelog
    desktop/unstable/sabayon/debian/control
    desktop/unstable/sabayon/debian/control.in
    desktop/unstable/sabayon/debian/rules
    desktop/unstable/sabayon/debian/sabayon.lintian-override
    desktop/unstable/sabayon/debian/sabayon.postinst
    desktop/unstable/sabayon/debian/sabayon.postrm

Modified: desktop/unstable/sabayon/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/changelog?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/changelog (original)
+++ desktop/unstable/sabayon/debian/changelog Mon Apr 23 10:12:43 2007
@@ -1,4 +1,4 @@
-sabayon (2.18.1-1) UNRELEASED; urgency=low
+sabayon (2.18.1-1) unstable; urgency=low
 
   * New upstream release (Closes: #416719).
      - Many installation and build system fixes, including fixes
@@ -14,10 +14,15 @@
   * Updated debian/control   
      - Added myself as co- maintainer
      - Added home page URL
+     - Dropped adduser from deps
   * Updated debian/copyright
      - Minor clean-ups
   * Updated debian/watch
      - Only catch stable releases
+  * Updated debian/post* scripts
+     - Used useradd, groupadd and userdel
+  * Updated debian/rules
+     - Dropped dh_python call
 
  -- Alan Baghumian <alan at technotux.org>  Mon, 23 Apr 2007 09:53:51 +0330
 

Modified: desktop/unstable/sabayon/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/control?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/control (original)
+++ desktop/unstable/sabayon/debian/control Mon Apr 23 10:12:43 2007
@@ -9,7 +9,7 @@
 
 Package: sabayon
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-gtk2 (>= 2.5.3), python-gnome2 (>= 2.6.0), python-gamin, python-libxml2, xnest, gconf2 (>=  2.10.0-0ubuntu2), python-ldap, gksu, adduser, gdm
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-gtk2 (>= 2.5.3), python-gnome2 (>= 2.6.0), python-gamin, python-libxml2, xnest, gconf2 (>=  2.10.0-0ubuntu2), python-ldap, gksu, gdm
 XB-Python-Version: ${python:Versions}
 Description: system administration tool to manage GNOME desktop settings
  Sabayon provides a sane way to edit GConf defaults and GConf mandatory keys:

Modified: desktop/unstable/sabayon/debian/control.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/control.in?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/control.in (original)
+++ desktop/unstable/sabayon/debian/control.in Mon Apr 23 10:12:43 2007
@@ -9,7 +9,7 @@
 
 Package: sabayon
 Architecture: any
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-gtk2 (>= 2.5.3), python-gnome2 (>= 2.6.0), python-gamin, python-libxml2, xnest, gconf2 (>=  2.10.0-0ubuntu2), python-ldap, gksu, adduser, gdm
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, python-gtk2 (>= 2.5.3), python-gnome2 (>= 2.6.0), python-gamin, python-libxml2, xnest, gconf2 (>=  2.10.0-0ubuntu2), python-ldap, gksu, gdm
 XB-Python-Version: ${python:Versions}
 Description: system administration tool to manage GNOME desktop settings
  Sabayon provides a sane way to edit GConf defaults and GConf mandatory keys:

Modified: desktop/unstable/sabayon/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/rules?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/rules (original)
+++ desktop/unstable/sabayon/debian/rules Mon Apr 23 10:12:43 2007
@@ -17,5 +17,4 @@
 	find debian/sabayon -name '*.a' -exec rm -f '{}' \;
 	find debian/sabayon -name '*.la' -exec rm -f '{}' \;	
 	dh_pysupport
-	dh_python
 

Modified: desktop/unstable/sabayon/debian/sabayon.lintian-override
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/sabayon.lintian-override?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/sabayon.lintian-override (original)
+++ desktop/unstable/sabayon/debian/sabayon.lintian-override Mon Apr 23 10:12:43 2007
@@ -1,2 +1,2 @@
-# manpage in sabayon-common package
-sabayon: binary-without-manpage
+# lool: ignore it!
+sabayon: arch-dep-package-has-big-usr-share

Modified: desktop/unstable/sabayon/debian/sabayon.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/sabayon.postinst?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/sabayon.postinst (original)
+++ desktop/unstable/sabayon/debian/sabayon.postinst Mon Apr 23 10:12:43 2007
@@ -3,10 +3,15 @@
 set -e
 
 if [ "$1" = "configure" ] ; then
-    if ! getent passwd sabayon-admin >/dev/null; then
-        adduser --disabled-password --quiet --system \
-            --home /var/run/sabayon-admin \
-            --gecos "Sabayon user" --group sabayon-admin
+    if ! getent group sabayon-admin >/dev/null; then	
+	groupadd sabayon-admin	
+    fi
+
+    if ! getent passwd sabayon-admin >/dev/null; then	
+        useradd --home /var/run/sabayon-admin \
+            -c "Sabayon user" --gid sabayon-admin sabayon-admin >/dev/null
+	# stupid usradd!
+	mkdir -p /var/run/sabayon-admin && chown sabayon-admin.sabayon-admin /var/run/sabayon-admin > /dev/null
     fi
 fi
 

Modified: desktop/unstable/sabayon/debian/sabayon.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/sabayon/debian/sabayon.postrm?rev=10284&op=diff
==============================================================================
--- desktop/unstable/sabayon/debian/sabayon.postrm (original)
+++ desktop/unstable/sabayon/debian/sabayon.postrm Mon Apr 23 10:12:43 2007
@@ -3,8 +3,7 @@
 set -e
 
 if [ "$1" = "purge" ] ; then
-    deluser --quiet --system sabayon-admin > /dev/null || true
-    delgroup --quiet --system sabayon-admin > /dev/null || true
+    userdel -r sabayon-admin > /dev/null || true
 fi
 
 #DEBHELPER#




More information about the pkg-gnome-commits mailing list