blob: a184966bb8fdc200cc06b1ac2fbc84e5c17531be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsync
pkgver=3.1.1
pkgrel=1
pkgdesc="A file transfer program to keep remote files in sync"
url="http://samba.anu.edu.au/rsync/"
arch="all"
license="GPL3"
depends=
makedepends="perl acl-dev popt-dev"
source="http://$pkgname.samba.org/ftp/$pkgname/$pkgname-$pkgver.tar.gz
rsyncd.initd
rsyncd.confd
rsyncd.conf
rsyncd.logrotate
"
subpackages="$pkgname-doc"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
./prepare-source || return 1
update_config_sub || return 1
}
build() {
cd "$_builddir"
# Force IPv6 enabled, upstream bug https://bugzilla.samba.org/show_bug.cgi?id=10715
CFLAGS="$CFLAGS -DINET6" \
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
|| return 1
make || return 1
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install || return 1
install -D -m 755 ../rsyncd.initd ${pkgdir}/etc/init.d/rsyncd
install -D -m 644 ../rsyncd.conf ${pkgdir}/etc/rsyncd.conf
install -D -m 644 ../rsyncd.confd ${pkgdir}/etc/conf.d/rsyncd
install -D -m 644 ../rsyncd.logrotate ${pkgdir}/etc/logrotate.d/rsyncd
}
md5sums="43bd6676f0b404326eee2d63be3cdcfe rsync-3.1.1.tar.gz
8c525f7c4222f90b3f01bb7f6a2684ab rsyncd.initd
e5e62e8cef29e09c22e8ba8152ec1751 rsyncd.confd
a99211a14af1766ba849035241cd5bb2 rsyncd.conf
169cafc6907a4c3787bb0462e9d6a5c2 rsyncd.logrotate"
sha256sums="7de4364fcf5fe42f3bdb514417f1c40d10bbca896abe7e7f2c581c6ea08a2621 rsync-3.1.1.tar.gz
ff93698d46970f05e411a5ca29b5558d0c094c18a6232f20af69d4ac7e36e3a8 rsyncd.initd
de758791b16b89a648c01867af7f51bc9bd44e40cbe868e439b753ff5d9572e5 rsyncd.confd
2c00ca760c26bd7d6e1d8306d48eb9b27d876516c354f6d37c458871d5ac012f rsyncd.conf
eb54100686a253d4d14c9c67fcc20f92d88c0616692bffea899c6a8f8f980c7c rsyncd.logrotate"
sha512sums="ec0e46ff532a09a711282aaa822f5f1c133593ee6c1c474acd67284619236e6a202f0f369d3e67a95ceb3a3b1c39ea7fb609d6d6fb950f3be6e0f6372e903e21 rsync-3.1.1.tar.gz
904d9c941e4e910916d247e9e335a9c0de25d9a1873434ce092737e1e49d7d40b2d8460a5db2dac8b07ec2b10b2a10b76ab6c142803fc487cf7169a5b8ac7722 rsyncd.initd
8ea9a2f1fea508fa132313fa16513eac84a9ed3ce75741c42769b56bbcd3f1bd2eb8bfdfe40a6c7f619e4281e8fc8d95d1bd84096d0b64aaacf606cd614ae5b3 rsyncd.confd
5bcd339bac70d7c2efc2a028852efb9a4a78d8b7b114979763d29d0b378afceb753954c31cca5dfb05dadd88479e5c875626e297ba31a57ee3da5ecad29dbd6d rsyncd.conf
b8d6c0bb467a5c963317dc55478d2c10874564cd264d943d4a42037e2fce134fe001fabc92af5c6b5775e84dc310b1c8da147afaa61c99e5663c36580d8651a5 rsyncd.logrotate"
|