[arch-commits] Commit in transmission/trunk (3 files)

Tom Gundersen tomegun at archlinux.org
Mon Aug 20 13:13:01 UTC 2012


    Date: Monday, August 20, 2012 @ 09:13:01
  Author: tomegun
Revision: 165466

upgpkg: transmission 2.61-3

create home dir for new transmission user

Modified:
  transmission/trunk/PKGBUILD
  transmission/trunk/transmission-cli.install
  transmission/trunk/transmission.systemd

--------------------------+
 PKGBUILD                 |    4 ++--
 transmission-cli.install |    2 +-
 transmission.systemd     |    3 +++
 3 files changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-08-20 12:35:18 UTC (rev 165465)
+++ PKGBUILD	2012-08-20 13:13:01 UTC (rev 165466)
@@ -4,7 +4,7 @@
 pkgbase=transmission
 pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt')
 pkgver=2.61
-pkgrel=2
+pkgrel=3
 arch=('i686' 'x86_64')
 url="http://www.transmissionbt.com/"
 license=('MIT')
@@ -74,5 +74,5 @@
 md5sums=('2ed5b7815ebda65223bac6bdb09dec42'
          '7d6186ee2a852ae3d44980f05063e194'
          'db72b02fee139e8ab416324e6c044d76'
-         'ecccabbc301d1024c9ef6a7f4aaa530a'
+         '5c289c8901221a94be74665368ab5c2c'
          '23f2320361ad54373c3a4551ef634fe8')

Modified: transmission-cli.install
===================================================================
--- transmission-cli.install	2012-08-20 12:35:18 UTC (rev 165465)
+++ transmission-cli.install	2012-08-20 13:13:01 UTC (rev 165466)
@@ -10,7 +10,7 @@
 post_upgrade() {
        # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files
        getent group transmission >/dev/null || groupadd -g 169 transmission
-       getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -s /bin/false transmission
+       getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -m -s /bin/false transmission
        passwd -l transmission &>/dev/null
        systemd-tmpfiles --create transmission.conf
 }

Modified: transmission.systemd
===================================================================
--- transmission.systemd	2012-08-20 12:35:18 UTC (rev 165465)
+++ transmission.systemd	2012-08-20 13:13:01 UTC (rev 165466)
@@ -1,6 +1,9 @@
 [Unit]
 Description=Transmission Bit Torrent Daemon
 
+# This assumes that a user 'transmission' exists, with a writeable homedirectory,
+# and that /run/transmission exists and is writeable by the transmission user.
+
 [Service]
 User=transmission
 Type=forking




More information about the arch-commits mailing list