summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-25 10:08:20 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-09-25 10:09:07 +0200
commit4144fd7afdf2fa02920f9740171553341b608512 (patch)
tree39017d8b18deb4f1846816adf0c69c026ead40db
parent86a323f9479291025065a301eda5b28126084e9c (diff)
transmission: moved to 1.93
also introduced INC_PR and added a few indents Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r--recipes/transmission/transmission.inc12
-rw-r--r--recipes/transmission/transmission_1.91.bb5
-rw-r--r--recipes/transmission/transmission_1.93.bb6
3 files changed, 12 insertions, 11 deletions
diff --git a/recipes/transmission/transmission.inc b/recipes/transmission/transmission.inc
index 9623998bb3..6129ed15ff 100644
--- a/recipes/transmission/transmission.inc
+++ b/recipes/transmission/transmission.inc
@@ -3,7 +3,7 @@ SECTION = "network"
HOMEPAGE = "www.transmissionbt.com/"
DEPENDS = "gtk+ gnutls openssl gettext libtool intltool-native curl glib-2.0-native"
LICENSE = "GPLv2"
-PR = "r4"
+INC_PR = "r4"
SRC_URI = "http://mirrors.m0k.org/transmission/files/transmission-${PV}.tar.bz2;name=archive \
file://init \
file://config"
@@ -30,12 +30,12 @@ CONFFILES_${PN} = "${sysconfdir}/default/transmission-daemon"
# No need for online check, since update-rc.d will prepend it to here
pkg_postinst_${PN}() {
-grep -q transmission ${sysconfdir}/group || addgroup transmission
-grep -q transmission ${sysconfdir}/passwd || adduser -h ${localstatedir}/lib/transmission-daemon -S -D -G transmission -s ${base_bindir}/false transmission
-chown -R transmission:transmission /var/lib/transmission-daemon/
+ grep -q transmission ${sysconfdir}/group || addgroup transmission
+ grep -q transmission ${sysconfdir}/passwd || adduser -h ${localstatedir}/lib/transmission-daemon -S -D -G transmission -s ${base_bindir}/false transmission
+ chown -R transmission:transmission /var/lib/transmission-daemon/
}
pkg_postrm_${PN}() {
-delgroup transmission
-deluser transmission
+ delgroup transmission
+ deluser transmission
}
diff --git a/recipes/transmission/transmission_1.91.bb b/recipes/transmission/transmission_1.91.bb
deleted file mode 100644
index b50c82add9..0000000000
--- a/recipes/transmission/transmission_1.91.bb
+++ /dev/null
@@ -1,5 +0,0 @@
-require transmission.inc
-
-SRC_URI[archive.md5sum] = "2c6993300988d5aa2e3fc24a439d3633"
-SRC_URI[archive.sha256sum] = "716b86eeccb87d955094c341dec8299e4a33b4d3bf37f3969d4638c0a13a9e8b"
-
diff --git a/recipes/transmission/transmission_1.93.bb b/recipes/transmission/transmission_1.93.bb
new file mode 100644
index 0000000000..9b1f20f7aa
--- /dev/null
+++ b/recipes/transmission/transmission_1.93.bb
@@ -0,0 +1,6 @@
+require transmission.inc
+
+PR = ${INC_PR}.0
+
+SRC_URI[archive.md5sum] = "f68358d03e46bec5704bbaa894990152"
+SRC_URI[archive.sha256sum] = "e9b7b1fb9aad2808ee27b163dba8647f738c23513201864fa9944010b8d71670"