blob: c078521dede879d067ac1831751ce473ea5b4dd6 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=rsync
pkgver=3.1.0
pkgrel=0
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"
./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="3be148772a33224771a8d4d2a028b132 rsync-3.1.0.tar.gz
8c525f7c4222f90b3f01bb7f6a2684ab rsyncd.initd
e5e62e8cef29e09c22e8ba8152ec1751 rsyncd.confd
a99211a14af1766ba849035241cd5bb2 rsyncd.conf
169cafc6907a4c3787bb0462e9d6a5c2 rsyncd.logrotate"
sha256sums="81ca23f77fc9b957eb9845a6024f41af0ff0c619b7f38576887c63fa38e2394e rsync-3.1.0.tar.gz
ff93698d46970f05e411a5ca29b5558d0c094c18a6232f20af69d4ac7e36e3a8 rsyncd.initd
de758791b16b89a648c01867af7f51bc9bd44e40cbe868e439b753ff5d9572e5 rsyncd.confd
2c00ca760c26bd7d6e1d8306d48eb9b27d876516c354f6d37c458871d5ac012f rsyncd.conf
eb54100686a253d4d14c9c67fcc20f92d88c0616692bffea899c6a8f8f980c7c rsyncd.logrotate"
sha512sums="bc8dfc90cac1a83cbb34e33cea805bfaa9597694a285fb69d55224fc52987c0199415b380f83a6ac55d17548e6888d1ab0d7bb5951ae4c3a3412c4e3ccf932f3 rsync-3.1.0.tar.gz
904d9c941e4e910916d247e9e335a9c0de25d9a1873434ce092737e1e49d7d40b2d8460a5db2dac8b07ec2b10b2a10b76ab6c142803fc487cf7169a5b8ac7722 rsyncd.initd
8ea9a2f1fea508fa132313fa16513eac84a9ed3ce75741c42769b56bbcd3f1bd2eb8bfdfe40a6c7f619e4281e8fc8d95d1bd84096d0b64aaacf606cd614ae5b3 rsyncd.confd
5bcd339bac70d7c2efc2a028852efb9a4a78d8b7b114979763d29d0b378afceb753954c31cca5dfb05dadd88479e5c875626e297ba31a57ee3da5ecad29dbd6d rsyncd.conf
b8d6c0bb467a5c963317dc55478d2c10874564cd264d943d4a42037e2fce134fe001fabc92af5c6b5775e84dc310b1c8da147afaa61c99e5663c36580d8651a5 rsyncd.logrotate"
|