chiark / gitweb /
debian/: Working on new packaging arrangements
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 14 Apr 2017 14:59:32 +0000 (15:59 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 14 Apr 2017 15:15:58 +0000 (16:15 +0100)
Rename userv-misc to userv-utils.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
.gitignore
debian/changelog
debian/control
debian/rules

index 13c30c2..bc5340b 100644 (file)
@@ -7,12 +7,12 @@ debian/*.debhelper.log
 debian/tmp
 debian/files
 
+debian/userv-utils
 debian/userv-cgi
 debian/userv-dyndns
 debian/userv-git-daemon
 debian/userv-groupmanage
 debian/userv-ipif
-debian/userv-misc
 
 dist_tmp
 userv-utils-*.tar.gz
index fe74583..3bb0840 100644 (file)
@@ -1,3 +1,9 @@
+userv-utils (0.6.0~~iwj4) unstable; urgency=medium
+
+  * wip package reorganisation
+
+ --
+
 userv-utils (0.6.0~~iwj3) unstable; urgency=low
 
   * Correct binary package dependencies by referencing substvars in
@@ -20,7 +26,7 @@ userv-utils (0.6.0~~iwj3) unstable; urgency=low
   * Make deprecated things not built by default by Makefile (and remove
     code in debian/rules for achieving this).
 
- --
+ -- Ian Jackson <ijackson@chiark.greenend.org.uk>  Fri, 14 Apr 2017 15:58:46 +0100
 
 userv-utils (0.6.0~~iwj2) unstable; urgency=low
 
index 1cfde2f..d25819d 100644 (file)
@@ -5,6 +5,19 @@ Maintainer: Ian Jackson <ijackson@chiark.greenend.org.uk>
 Standards-Version: 3.7.0.0
 Build-Depends: debhelper (>= 8)
 
+Package: userv-utils
+Architecture: all
+Depends: userv
+Recommends: ${perl:Depends}, ${misc:Depends}
+Description: privsep utilities collection
+ Several small userv services, which allow certain system configuration
+ actions to be delegated.  In each case the service is disabled unless
+ enabled by symlink /etc/userv/services.d/* -> ../services-available/*.
+ .
+ mailq - allow users to view the mail queue
+ ndc-reload  - allow certain users to reload the nameserver
+ checkpasswd-* - allow users to run a UNIX password check
+
 Package: userv-ipif
 Architecture: any
 Depends: userv, ${shlibs:Depends}, ${misc:Depends}
@@ -73,16 +86,3 @@ Description: per-user git daemon service
  the line from /usr/share/doc/examples/userv-git-daemon.inetd into
  /etc/inetd.conf and (b) specifically list hostnames and target
  directories in /etc/userv/git-urlmap.
-
-Package: userv-misc
-Architecture: all
-Depends: userv
-Recommends: ${perl:Depends}, ${misc:Depends}
-Description: miscellaneous small userv scripts
- This package a few small userv services.  Since you must choose
- whether to install this package or not as one lump, the default
- configuration for each script does not give users any new abilities.
- .
- mailq - allow users to view the mail queue
- ndc-reload  - allow certain users to reload the nameserver
- checkpasswd-* - allow users to run a UNIX password check
index a06ad57..499179b 100755 (executable)
@@ -22,7 +22,7 @@
 subdirs_build= ipif www-cgi git-daemon
 subdirs_nobuild=dyndns groupmanage misc
 package=       userv-utils
-packages_indep=        userv-dyndns userv-groupmanage userv-misc userv-git-daemon
+packages_indep=        userv-dyndns userv-groupmanage userv-utils userv-git-daemon
 packages_arch= userv-ipif userv-cgi
 packages=      $(packages_indep) $(packages_arch)
 
@@ -57,6 +57,7 @@ override_dh_auto_install:
                ; \
        done
        -
+       mv debian/userv-misc debian/userv-utils
        mv debian/userv-www-cgi debian/userv-cgi
        mv debian/userv-groupmanage/usr/share/doc/groupmanage \
           debian/userv-groupmanage/usr/share/doc/userv-groupmanage
@@ -65,9 +66,12 @@ override_dh_auto_install:
                $d/userv-dyndns/etc/userv/dyndns-service-users.example \
                $d/userv-groupmanage/etc/groupmanage.conf.example
        rename 's/\.distrib$$//' $d/*/etc/userv/services.d/*.distrib
-       rename 's/$$/\.disabled/' $d/userv-misc/etc/userv/services.d/mailq
        -
-       mv $d/userv-misc/usr/bin/mailq $d/userv-misc/usr/bin/mailq.userv
+       mv $d/userv-utils/usr/bin/mailq $d/userv-utils/usr/bin/mailq.userv
+       -
+       set -e; cd $d/userv-utils/etc/userv;                    \
+               mkdir services-available;                       \
+               mv services.d/* services-available/
 
 override_dh_install: