chiark / gitweb /
Merge remote-tracking branch 'spwhitton/master'
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Aug 2021 22:36:25 +0000 (23:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 4 Aug 2021 22:36:25 +0000 (23:36 +0100)
debian/changelog
debian/control
debian/copyright
debian/userv-dyndns.postinst
debian/userv-git-daemon.postinst
dyndns/Makefile

index bf344f3a24ec6d24204e04a53e3371ac13584935..d5a33b08f479f61fd4045a6ae70e9b58c82d2e69 100644 (file)
@@ -1,8 +1,8 @@
-userv-utils (0.6.1-1~~iwj) unstable; urgency=medium
+userv-utils (0.6.1-1) unstable; urgency=medium
 
-  * Initial Debian-specific packaging changelog.
+  * Initial release (Closes: #991906).
 
- --
+ -- Sean Whitton <spwhitton@spwhitton.name>  Wed, 04 Aug 2021 15:32:01 -0700
 
 
 # Local variables:
index afd21e7915716b4a2fca41002369d83267bc400a..7272e6c428473807f12ede4cbe8151600b1db1fa 100644 (file)
@@ -4,13 +4,16 @@ Priority: optional
 Maintainer: Sean Whitton <spwhitton@spwhitton.name>
 Uploaders: Ian Jackson <ijackson@chiark.greenend.org.uk>
 Build-Depends: debhelper-compat (= 12), rename
-Standards-Version: 3.7.0.0
+Standards-Version: 4.5.1
 Rules-Requires-Root: binary-targets
+Homepage: https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=summary
+Vcs-Git: https://git.spwhitton.name/userv-utils/
+Vcs-Browser: https://git.spwhitton.name/userv-utils/
 
 Package: userv-utils
 Architecture: any
-Depends: userv
-Recommends: ${perl:Depends}, ${misc:Depends}
+Depends: userv, ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${perl: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
@@ -25,7 +28,7 @@ Description: privsep utilities collection
 
 Package: userv-dyndns
 Architecture: all
-Depends: userv, chiark-utils-bin, ${perl:Depends}, ${misc:Depends}
+Depends: userv, chiark-utils-bin, adduser, ${perl:Depends}, ${misc:Depends}
 Recommends: bind
 Description: dynamic DNS for shell account users
  userv-dyndns is a userv service which allows non-root users to
index ea715a5ae088f0506280282a603e93143e638e01..36f5bacd6421381dadfa002391a570b6a9a71a02 100644 (file)
@@ -1,5 +1,6 @@
 This package contains a number of small utilities and programs for use
-with the `userv' security boundary tool.
+with the `userv' security boundary tool, obtained from
+<https://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=summary>.
 
 This package, containing the moderately portable sources and Debian
 packaging information, and the resulting Debian binary packages, was
index a6779f9c4d1b1900430d122c5fb9a4d169f7845c..6517a45673d9ece95a3385a455929c1058c66dbf 100755 (executable)
@@ -1,3 +1,6 @@
+#!/bin/sh
+set -e
+
 # Copyright 1996-2013 Ian Jackson <ijackson@chiark.greenend.org.uk>
 # Copyright 1998 David Damerell <damerell@chiark.greenend.org.uk>
 # Copyright 1999,2003
 # You should have received a copy of the GNU General Public License
 # along with userv-utils; if not, see http://www.gnu.org/licenses/.
 
-#!/bin/sh
-set -e
-
 #DEBHELPER#
 
 user="$(sed -n '/^[a-z]/{p;q;}' /etc/userv/dyndns-service-users)"
 
 if [ "$user" ]; then
-       adduser --system --quiet --group --gecos 'userv dyndns' \
+       adduser --system --force-badname --quiet --group \
+               --gecos 'userv dyndns' \
                --home /etc/userv --no-create-home --shell /bin/false $user
 fi
index 5ccaa8841cfc3ad192dacfc287b99c53df9ec1cc..f055c84bdc0e4e509c4668186863f3b71a929ca9 100755 (executable)
@@ -22,7 +22,7 @@ set -e
 # You should have received a copy of the GNU General Public License
 # along with userv-utils; if not, see http://www.gnu.org/licenses/.
 
-GITDUSER=userv-git
+GITDUSER=_userv-git
 
 defaults=/etc/default/userv-git-daemon
 if test -f $defaults; then . $defaults; fi
@@ -30,6 +30,7 @@ if test -f $defaults; then . $defaults; fi
 #DEBHELPER#
 
 if [ "$GITDUSER" ]; then
-       adduser --system --quiet --group --gecos 'userv git daemon' \
+       adduser --system --force-badname --quiet --group \
+               --gecos 'userv git daemon' \
                --home /etc/userv --no-create-home --shell /bin/false $GITDUSER
 fi
index e0a769d9f699bd360dafea78b499e5d09d6b6932..b7fc85579b2c5f87fc4f3d071d94018c5eb18994 100644 (file)
@@ -27,7 +27,7 @@ install-examples:
                mkdir -p $(services)
                cp dyndns $(services)/dyndns.distrib
                cp dyndns-domains $(etcuserv)/dyndns-domains.example
-               echo userv-dyndns >$(etcuserv)/dyndns-service-users.example
+               echo _userv-dyndns >$(etcuserv)/dyndns-service-users.example
 
 install-docs:
                mkdir -p $(docdir)/userv-dyndns