Skip to content

Commit 99bad8e

Browse files
committed
PKGBUILD: debian and ARCH-Linux build-files
* debian: subdirectory and config-files * arch: PKGBUILD Signed-off-by: Ralf Zerres <[email protected]>
1 parent f105a52 commit 99bad8e

File tree

5 files changed

+82
-3
lines changed

5 files changed

+82
-3
lines changed

PKGBUILD

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Maintainer: Ralf Zerres <ralf.zerres.de at gmail dot com>
22
pkgname=dsnap-sync
3-
pkgver=0.5.2
3+
pkgver=0.6.0
44
pkgrel=1
55
pkgdesc="Use snapper snapshots to backup to external drive"
66
arch=(any)
77
url="https://github.com/rzerres/dsnap-sync"
88
license=('GPL')
9-
depends=(snapper dash)
9+
depends=('btrfs-progs' 'gawk' 'dash' 'openssh' 'sed' 'snapper' 'systemd')
10+
optdepends=('attr' 'ionice' 'jq: for "MediaPool" functionality' 'libnotify' 'ltfs' 'mtx' 'perl' 'pv' 'util-linux')
1011
source=(${url}/releases/download/$pkgver/$pkgname-$pkgver.tar.gz{,.sig})
1112
#validpgpkeys=('8535CEF3F3C38EE69555BF67E4B5E45AA3B8C5C3')
12-
sha512sums=('bc7dc618874f2acc6e15f80960fa45c5703b0da709e3872febe1579d6965907074aca4704dbcc2545261392c1bff977a2b81d2a15e6850fefa3cd7c231f0290c'
13+
sha512sums=('SKIP')
1314
'SKIP')
1415

1516
package() {

debian/changelog

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
dsnap-sync (0.6.0) stable; urgency=low
2+
3+
[Ralf Zerres]
4+
* branch: wip-d2d
5+
* multi-config: handling of multiple configurations as a group
6+
* btrfs-archive: full and incremental stream files
7+
* tape: handling of LTFS tapes
8+
* ionice: optional use in target streams
9+
10+
-- Ralf Zerres <[email protected]> Sat, 21 Sep 2018 20:00:00 +0200
11+
12+
dsnap-sync (0.5.9) stable; urgency=low
13+
14+
[Ralf Zerres]
15+
* branch: wip-d2d
16+
* initial tape-admin wrapper
17+
* automounter support for target devices
18+
* bugfixes
19+
* btrfs quota to read valid snapshot size / change size
20+
* color handling in verbosity-levels
21+
22+
-- Ralf Zerres <[email protected]> Sat, 25 Aug 2018 20:00:00 +0200
23+
24+
dsnap-sync (0.5.3) stable; urgency=low
25+
26+
[Ralf Zerres]
27+
* initial package
28+
* adapt compilation to support ubuntu bionic
29+
30+
-- Ralf Zerres <[email protected]> Fri, 1 Jun 2018 21:00:01 +0000

debian/compat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
10

debian/control

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Source: dsnap-sync
2+
Section: admin
3+
Priority: optional
4+
Maintainer: Networkx GmbH <[email protected]>
5+
Build-Depends: debhelper (>= 10), dh-exec
6+
Uploaders: Ralf Zerres <[email protected]>
7+
Standards-Version: 4.1.4.1
8+
Homepage: https://github.com/rzerres/dsnap-sync.git
9+
10+
Package: dsnap-sync
11+
Architecture: amd64
12+
Conflicts: snap-sync
13+
Depends: dash, snapper, btrfs-progs, systemd
14+
Suggests: pv, libnotify-bin, mtx, jq, ltfs
15+
Description: Backup and synchronize btrfs filesystems
16+
dsnap-sync is designed to backup btrfs formated filesystems. It takes
17+
advantage of the specific snapshots functionality btrfs offers and i
18+
combines it with managemnet functionality of snapper.
19+
.
20+
dsnap-sync creates backups as btrfs-snapshots on a selectable target
21+
device. Plug in and mount any btrfs-formatted device to your system.
22+
Supported devices may be either local USB drives, but can be as well
23+
remote accessible RAID drives. If possible the backup process will send
24+
incremental snapshots to the target drive. If the snapshot will be
25+
stored on a remote host, it is secured with ssh.

debian/rules

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/make -f
2+
# debian/rules
3+
# -*- mode: makefile; coding: utf-8 -*-
4+
5+
export DH_VERBOSE=1
6+
#export DESTROOT=$(CURDIR)/debian/dsnap-sync
7+
export DESTDIR=$(CURDIR)/debian/dsnap-sync
8+
9+
%:
10+
# dh $@ --sourcedirectory=src
11+
dh $@
12+
13+
#override_dh_auto_configure:
14+
# dh_auto_configure --sourcedirectory=src -- --prefix=/usr
15+
16+
override_dh_auto_install:
17+
dh_auto_install -- prefix=/usr
18+
19+
#override_dh_install:
20+
# dh_install
21+
# dh_missing --fail-missing
22+

0 commit comments

Comments
 (0)