summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSparticuz2017-10-05 10:50:45 -0400
committerSparticuz2017-10-05 10:50:45 -0400
commit74d1926d9a52f8f43b5230c8c5addcae12d821e0 (patch)
tree5e996afe88dc3593a17f0d2c39166b991cb7fc2a
parent1acfb64f86c8281cb96b5f593f3e0614804adabb (diff)
downloadaur-74d1926d9a52f8f43b5230c8c5addcae12d821e0.tar.gz
Upstream update 0.10.14, upstream now includes systemd service
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed86a57956da..2e125f209fdf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = greyhole
pkgdesc = Application that uses Samba to create a storage pool of all your available hard drives and allows you to create redundant copies of the files you store, in order to prevent data loss when part of your hardware fails.
- pkgver = 0.10.13
+ pkgver = 0.10.14
pkgrel = 1
url = https://www.greyhole.net/
install = greyhole.install
@@ -13,10 +13,8 @@ pkgbase = greyhole
depends = lsof
depends = sysstat
backup = etc/greyhole.conf
- source = https://greyhole.net/releases/greyhole-0.10.13.tar.gz
- source = greyhole.service
- sha256sums = 73f1510c9f97f5cd94f477cdd773cc3f1cc94ff0bb2e59a9bd0503f65c3882dd
- sha256sums = 04b57cd86a092032e3b323d18b5380bfbc22ea7334832574a2e536887554ffc4
+ source = https://greyhole.net/releases/greyhole-0.10.14.tar.gz
+ sha256sums = 5bea3e3c9679e1df56a8654074419216f4bff863468d08c5fe0d176339af36f7
pkgname = greyhole
diff --git a/PKGBUILD b/PKGBUILD
index 925818c06ee1..6f463065ef80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Christopher Krooß <didi2002@web.de>
pkgname=greyhole
-pkgver=0.10.13
+pkgver=0.10.14
pkgrel=1
pkgdesc='Application that uses Samba to create a storage pool of all your available hard drives and allows you to create redundant copies of the files you store, in order to prevent data loss when part of your hardware fails.'
arch=('x86_64')
@@ -12,10 +12,8 @@ license=('GPL3')
depends=('php-intl>=5' 'samba>3.4.3' 'mysql' 'rsync' 'lsof' 'sysstat')
backup=('etc/greyhole.conf')
install='greyhole.install'
-source=("https://greyhole.net/releases/$pkgname-$pkgver.tar.gz"
- "greyhole.service")
-sha256sums=('73f1510c9f97f5cd94f477cdd773cc3f1cc94ff0bb2e59a9bd0503f65c3882dd'
- '04b57cd86a092032e3b323d18b5380bfbc22ea7334832574a2e536887554ffc4')
+source=("https://greyhole.net/releases/$pkgname-$pkgver.tar.gz")
+sha256sums=('5bea3e3c9679e1df56a8654074419216f4bff863468d08c5fe0d176339af36f7')
package() {
cd "$pkgname-$pkgver"
@@ -36,7 +34,7 @@ package() {
install -m 0644 -D -p greyhole.example.conf "$pkgdir/usr/share/greyhole/greyhole.example.conf"
install -m 0644 -D -p greyhole.example.conf "$pkgdir/etc/greyhole.conf"
- install -m 0644 -D -p "$srcdir/greyhole.service" "$pkgdir/usr/lib/systemd/system/greyhole.service"
+ install -m 0644 -D -p greyhole.systemd "$pkgdir/usr/lib/systemd/system/greyhole.service"
install -m 0644 -D -p logrotate.greyhole "$pkgdir/etc/logrotate.d/greyhole"
install -m 0644 -D -p greyhole.cron.d "$pkgdir/etc/cron.d/greyhole"
install -m 0755 -D -p greyhole.cron.weekly "$pkgdir/etc/cron.weekly/greyhole"
@@ -104,6 +102,10 @@ package() {
install -m 644 "samba-module/bin/4.6/$_vfs_file" "$pkgdir/usr/lib/greyhole/greyhole-samba46.so"
ln -s "/usr/lib/greyhole/greyhole-samba46.so" "$pkgdir/usr/lib/samba/vfs/greyhole.so"
;;
+ 47 )
+ install -m 644 "samba-module/bin/4.7/$_vfs_file" "$pkgdir/usr/lib/greyhole/greyhole-samba47.so"
+ ln -s "/usr/lib/greyhole/greyhole-samba47.so" "$pkgdir/usr/lib/samba/vfs/greyhole.so"
+ ;;
* )
echo 'Incompatible Samba version: Please see https://github.com/gboudreau/Greyhole/blob/master/INSTALL for manual build directions'
echo 'You can still install this package, but it will not work until you add a greyhole-samba.so file to /usr/lib/greyhole/'