[arch-commits] Commit in lastfmsubmitd/repos/community-any (14 files)
Eric Bélanger
eric at nymeria.archlinux.org
Fri May 31 18:55:33 UTC 2013
Date: Friday, May 31, 2013 @ 20:55:33
Author: eric
Revision: 92118
archrelease: copy trunk to community-any
Added:
lastfmsubmitd/repos/community-any/PKGBUILD
(from rev 92117, lastfmsubmitd/trunk/PKGBUILD)
lastfmsubmitd/repos/community-any/lastfmsubmitd.conf
(from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.conf)
lastfmsubmitd/repos/community-any/lastfmsubmitd.service
(from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.service)
lastfmsubmitd/repos/community-any/lastfmsubmitd.tmpfiles
(from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.tmpfiles)
lastfmsubmitd/repos/community-any/lastmp.conf
(from rev 92117, lastfmsubmitd/trunk/lastmp.conf)
lastfmsubmitd/repos/community-any/lastmp.service
(from rev 92117, lastfmsubmitd/trunk/lastmp.service)
Deleted:
lastfmsubmitd/repos/community-any/PKGBUILD
lastfmsubmitd/repos/community-any/lastfmsubmitd
lastfmsubmitd/repos/community-any/lastfmsubmitd.conf
lastfmsubmitd/repos/community-any/lastfmsubmitd.service
lastfmsubmitd/repos/community-any/lastfmsubmitd.tmpfiles
lastfmsubmitd/repos/community-any/lastmp
lastfmsubmitd/repos/community-any/lastmp.conf
lastfmsubmitd/repos/community-any/lastmp.service
------------------------+
PKGBUILD | 110 +++++++++++++++++++++++------------------------
lastfmsubmitd | 60 -------------------------
lastfmsubmitd.conf | 24 +++++-----
lastfmsubmitd.service | 22 ++++-----
lastfmsubmitd.tmpfiles | 2
lastmp | 60 -------------------------
lastmp.conf | 12 ++---
lastmp.service | 22 ++++-----
8 files changed, 95 insertions(+), 217 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-31 18:54:57 UTC (rev 92117)
+++ PKGBUILD 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Daenyth <Daenyth [at] aur [dot] archlinux [dot] org>
-# Contributor: Jeff Mickey <jeff at archlinux.org>
-
-pkgname=lastfmsubmitd
-pkgver=1.0.6
-pkgrel=7
-pkgdesc="A Last.fm 'plugin' client for MPD, implemented in Python."
-arch=('any')
-url="http://www.red-bean.com/decklin/software/lastfmsubmitd/"
-license=('MIT')
-depends=('python2-mpdclient2')
-makedepends=('python2')
-optdepends=('mpd: For local audio playback')
-backup=('etc/lastfmsubmitd.conf')
-source=(http://www.red-bean.com/decklin/software/$pkgname/$pkgname-$pkgver.tar.gz
- lastmp
- lastfmsubmitd
- lastmp.conf
- lastfmsubmitd.conf
- lastmp.service
- lastfmsubmitd.service
- lastfmsubmitd.tmpfiles)
-md5sums=('eadf6f8a7c3a5f8b6311a6fae5c117f6'
- '6ddbe79e137cb25188919a963e7eb22f'
- '611147857b3df72446cbeafd8691afc6'
- 'f331cb1fca46eb0b91be269babe49224'
- 'c1ed7a40539e67998513968a9d8c6007'
- '8e492a01fb1a1be422f1f393b593a02b'
- 'f9c73787c53201287bc4b0a80c58e6f5'
- '0439ad3cb820dabf9b2e4f4f453e88cf')
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver
- sed -i 's#/usr/bin/python#/usr/bin/python2#' contrib/lastmp lastfmsubmit lastfmsubmitd
- python2 setup.py install --prefix="$pkgdir"/usr --optimize=1
-
- install -D -m 600 "$srcdir"/lastfmsubmitd.conf "$pkgdir"/etc/lastfmsubmitd.conf
- install -D -m 600 "$srcdir"/lastmp.conf "$pkgdir"/etc/lastmp.conf
- install -D -m 755 "$srcdir"/lastfmsubmitd "$pkgdir"/etc/rc.d/lastfmsubmitd
- install -D -m 755 "$srcdir"/lastmp "$pkgdir"/etc/rc.d/lastmp
- install -D -m 644 "$srcdir"/lastmp.service "$pkgdir"/usr/lib/systemd/system/lastmp.service
- install -D -m 644 "$srcdir"/lastfmsubmitd.service "$pkgdir"/usr/lib/systemd/system/lastfmsubmitd.service
- install -D -m 644 "$srcdir"/lastfmsubmitd.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/lastfmsubmitd.conf
-
- install -D -m 755 contrib/lastmp "$pkgdir"/usr/bin/lastmp
- install -D -m 644 doc/lastmp.1 "$pkgdir"/usr/share/man/man1/lastmp.1
-
- install -d "$pkgdir"/var/log/lastfm
- install -d "$pkgdir"/var/spool/lastfm
- install -d "$pkgdir"/var/cache/lastfm
- install -D -m644 README "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: lastfmsubmitd/repos/community-any/PKGBUILD (from rev 92117, lastfmsubmitd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Daenyth <Daenyth [at] aur [dot] archlinux [dot] org>
+# Contributor: Jeff Mickey <jeff at archlinux.org>
+
+pkgname=lastfmsubmitd
+pkgver=1.0.6
+pkgrel=8
+pkgdesc="A Last.fm 'plugin' client for MPD, implemented in Python."
+arch=('any')
+url="http://www.red-bean.com/decklin/lastfmsubmitd/"
+license=('MIT')
+depends=('python2-mpdclient2')
+makedepends=('python2')
+optdepends=('mpd: For local audio playback')
+backup=('etc/lastfmsubmitd.conf')
+source=(http://www.red-bean.com/decklin/$pkgname/$pkgname-$pkgver.tar.gz
+ lastmp.conf
+ lastfmsubmitd.conf
+ lastmp.service
+ lastfmsubmitd.service
+ lastfmsubmitd.tmpfiles)
+md5sums=('eadf6f8a7c3a5f8b6311a6fae5c117f6'
+ 'f331cb1fca46eb0b91be269babe49224'
+ 'c1ed7a40539e67998513968a9d8c6007'
+ '8e492a01fb1a1be422f1f393b593a02b'
+ 'f9c73787c53201287bc4b0a80c58e6f5'
+ '0439ad3cb820dabf9b2e4f4f453e88cf')
+
+prepare() {
+ cd $pkgname-$pkgver
+ sed -i 's#/usr/bin/python#/usr/bin/python2#' contrib/lastmp lastfmsubmit lastfmsubmitd
+}
+
+package() {
+ cd $pkgname-$pkgver
+ python2 setup.py install --prefix="$pkgdir"/usr --optimize=1
+
+ install -D -m 600 "$srcdir"/lastfmsubmitd.conf "$pkgdir"/etc/lastfmsubmitd.conf
+ install -D -m 600 "$srcdir"/lastmp.conf "$pkgdir"/etc/lastmp.conf
+ install -D -m 644 "$srcdir"/lastmp.service "$pkgdir"/usr/lib/systemd/system/lastmp.service
+ install -D -m 644 "$srcdir"/lastfmsubmitd.service "$pkgdir"/usr/lib/systemd/system/lastfmsubmitd.service
+ install -D -m 644 "$srcdir"/lastfmsubmitd.tmpfiles "$pkgdir"/usr/lib/tmpfiles.d/lastfmsubmitd.conf
+
+ install -D -m 755 contrib/lastmp "$pkgdir"/usr/bin/lastmp
+ install -D -m 644 doc/lastmp.1 "$pkgdir"/usr/share/man/man1/lastmp.1
+
+ install -d "$pkgdir"/var/log/lastfm
+ install -d "$pkgdir"/var/spool/lastfm
+ install -d "$pkgdir"/var/cache/lastfm
+ install -D -m644 README "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: lastfmsubmitd
===================================================================
--- lastfmsubmitd 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastfmsubmitd 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-daemon_name=lastfmsubmitd
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- pidof -x -o %PPID -o $$ -o $PPID $daemon_name
-}
-
-case "$1" in
- start)
- stat_busy "Starting LastFMSubmitd"
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- /usr/bin/$daemon_name
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- [ -d /var/run/lastfm ] || mkdir -p var/run/lastfm
- echo $(get_pid) >/var/run/lastfm/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- fi
- ;;
-
- stop)
- stat_busy "Stopping LastFMSubmitd"
- PID=$(get_pid)
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
-exit 0
Deleted: lastfmsubmitd.conf
===================================================================
--- lastfmsubmitd.conf 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastfmsubmitd.conf 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,12 +0,0 @@
-# lastfmsubmitd.conf
-#
-# To have lastfmsubmitd properly submit your songs, you must tell
-# lastfmsubmitd your Last.fm username and password.
-
-# This file's permissions should be 0600
-
-# Uncomment these lines and fill in the appropriate information.
-
-#[account]
-#user: user
-#password: password
Copied: lastfmsubmitd/repos/community-any/lastfmsubmitd.conf (from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.conf)
===================================================================
--- lastfmsubmitd.conf (rev 0)
+++ lastfmsubmitd.conf 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1,12 @@
+# lastfmsubmitd.conf
+#
+# To have lastfmsubmitd properly submit your songs, you must tell
+# lastfmsubmitd your Last.fm username and password.
+
+# This file's permissions should be 0600
+
+# Uncomment these lines and fill in the appropriate information.
+
+#[account]
+#user: user
+#password: password
Deleted: lastfmsubmitd.service
===================================================================
--- lastfmsubmitd.service 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastfmsubmitd.service 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,11 +0,0 @@
-[Unit]
-Description=LastFM Submit daemon
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/lastfmsubmitd
-PIDFile=/run/lastfm/lastfmsubmitd.pid
-Type=forking
-
-[Install]
-WantedBy=multi-user.target
Copied: lastfmsubmitd/repos/community-any/lastfmsubmitd.service (from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.service)
===================================================================
--- lastfmsubmitd.service (rev 0)
+++ lastfmsubmitd.service 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1,11 @@
+[Unit]
+Description=LastFM Submit daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/lastfmsubmitd
+PIDFile=/run/lastfm/lastfmsubmitd.pid
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
Deleted: lastfmsubmitd.tmpfiles
===================================================================
--- lastfmsubmitd.tmpfiles 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastfmsubmitd.tmpfiles 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1 +0,0 @@
-d /run/lastfm 0755 root root -
Copied: lastfmsubmitd/repos/community-any/lastfmsubmitd.tmpfiles (from rev 92117, lastfmsubmitd/trunk/lastfmsubmitd.tmpfiles)
===================================================================
--- lastfmsubmitd.tmpfiles (rev 0)
+++ lastfmsubmitd.tmpfiles 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1 @@
+d /run/lastfm 0755 root root -
Deleted: lastmp
===================================================================
--- lastmp 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastmp 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-daemon_name=lastmp
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-get_pid() {
- pidof -x -o %PPID -o $$ -o $PPID $daemon_name
-}
-
-case "$1" in
- start)
- stat_busy "Starting LastMP"
- PID=$(get_pid)
- if [ -z "$PID" ]; then
- [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid
- /usr/bin/$daemon_name
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- [ -d /var/run/lastfm ] || mkdir -p var/run/lastfm
- echo $(get_pid) >/var/run/lastfm/$daemon_name.pid
- add_daemon $daemon_name
- stat_done
- fi
- fi
- ;;
-
- stop)
- stat_busy "Stopping LastMP"
- PID=$(get_pid)
- [ ! -z "$PID" ] && kill $PID &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- exit 1
- else
- rm -f /var/run/$daemon_name.pid &> /dev/null
- rm_daemon $daemon_name
- stat_done
- fi
- ;;
-
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
-
- status)
- stat_busy "Checking $daemon_name status";
- ck_status $daemon_name
- ;;
-
- *)
- echo "usage: $0 {start|stop|restart|status}"
-esac
-
-exit 0
Deleted: lastmp.conf
===================================================================
--- lastmp.conf 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastmp.conf 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,6 +0,0 @@
-# Uncomment and fill the password in if needed.
-
-[mpd]
-host: localhost
-port: 6600
-#password: *****
Copied: lastfmsubmitd/repos/community-any/lastmp.conf (from rev 92117, lastfmsubmitd/trunk/lastmp.conf)
===================================================================
--- lastmp.conf (rev 0)
+++ lastmp.conf 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1,6 @@
+# Uncomment and fill the password in if needed.
+
+[mpd]
+host: localhost
+port: 6600
+#password: *****
Deleted: lastmp.service
===================================================================
--- lastmp.service 2013-05-31 18:54:57 UTC (rev 92117)
+++ lastmp.service 2013-05-31 18:55:33 UTC (rev 92118)
@@ -1,11 +0,0 @@
-[Unit]
-Description=LastMP
-After=mpd.service
-
-[Service]
-ExecStart=/usr/bin/lastmp
-PIDFile=/run/lastfm/lastmp.pid
-Type=forking
-
-[Install]
-WantedBy=multi-user.target
Copied: lastfmsubmitd/repos/community-any/lastmp.service (from rev 92117, lastfmsubmitd/trunk/lastmp.service)
===================================================================
--- lastmp.service (rev 0)
+++ lastmp.service 2013-05-31 18:55:33 UTC (rev 92118)
@@ -0,0 +1,11 @@
+[Unit]
+Description=LastMP
+After=mpd.service
+
+[Service]
+ExecStart=/usr/bin/lastmp
+PIDFile=/run/lastfm/lastmp.pid
+Type=forking
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list