diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-08 02:02:24 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-08 02:02:24 -0500 |
commit | fd2bb2f751c13b3c0c002b8e012810902b9da364 (patch) | |
tree | 17b2e38c966c9f96cfa568c1f572261a289590e6 /harmony/rsync | |
parent | b0a5136bf3326ba38b360be288d06f9a27f2a4d2 (diff) | |
download | packages-fd2bb2f751c13b3c0c002b8e012810902b9da364.tar.gz packages-fd2bb2f751c13b3c0c002b8e012810902b9da364.tar.bz2 packages-fd2bb2f751c13b3c0c002b8e012810902b9da364.tar.xz packages-fd2bb2f751c13b3c0c002b8e012810902b9da364.zip |
harmony -> system
Diffstat (limited to 'harmony/rsync')
-rw-r--r-- | harmony/rsync/APKBUILD | 65 | ||||
-rw-r--r-- | harmony/rsync/rsyncd.conf | 7 | ||||
-rw-r--r-- | harmony/rsync/rsyncd.confd | 8 | ||||
-rw-r--r-- | harmony/rsync/rsyncd.initd | 16 | ||||
-rw-r--r-- | harmony/rsync/rsyncd.logrotate | 9 |
5 files changed, 0 insertions, 105 deletions
diff --git a/harmony/rsync/APKBUILD b/harmony/rsync/APKBUILD deleted file mode 100644 index af06ccd38..000000000 --- a/harmony/rsync/APKBUILD +++ /dev/null @@ -1,65 +0,0 @@ -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=rsync -pkgver=3.1.2 -pkgrel=7 -pkgdesc="A file transfer program to keep remote files in sync" -url="https://rsync.samba.org/" -arch="all" -license="GPL3" -options="!checkroot" -makedepends="perl acl-dev attr-dev popt-dev" -subpackages="$pkgname-doc $pkgname-openrc rrsync" -source="https://download.samba.org/pub/$pkgname/$pkgname-$pkgver.tar.gz - rsyncd.initd - rsyncd.confd - rsyncd.conf - rsyncd.logrotate - " -builddir="$srcdir/$pkgname-$pkgver" - -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 \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --enable-acl-support \ - --enable-xattr-support - make -} - -check() { - cd "$builddir" - make check -} - -package() { - cd "$builddir" - make DESTDIR="$pkgdir" install - - install -D -m 755 "$srcdir"/rsyncd.initd "$pkgdir"/etc/init.d/rsyncd - install -D -m 644 "$srcdir"/rsyncd.conf "$pkgdir"/etc/rsyncd.conf - install -D -m 644 "$srcdir"/rsyncd.confd "$pkgdir"/etc/conf.d/rsyncd - install -D -m 644 "$srcdir"/rsyncd.logrotate "$pkgdir"/etc/logrotate.d/rsyncd - -} - -rrsync() { - pkgdesc="Restricted rsync, restricts rsync to a subdir declared in .ssh/authorized_keys" - depends="rsync perl" - arch="noarch" - - cd "$builddir" - install -D -m 755 ./support/rrsync "$subpkgdir"/usr/bin/rrsync -} - -sha512sums="4c55fd69f436ead0cb5a0b7c6fdfef9bb28ddb9c63534eb619e756b118d5b08cfc5e696498650932c86e865b37e06633da947e6720ca0c27ed5c034313ae208b rsync-3.1.2.tar.gz -638d87c9a753b35044f6321ccd09d2c0addaab3c52c40863eb6905905576b5268bec67b496df81225528c9e39fbd92e9225d7b3037ab1fda78508d452c78158f rsyncd.initd -c7527e289c81bee5e4c14b890817cdb47d14f0d26dd8dcdcbe85c7199cf27c57a0b679bdd1b115bfe00de77b52709cc5d97522a47f63c1bb5104f4a7220c9961 rsyncd.confd -3db8a2b364fc89132af6143af90513deb6be3a78c8180d47c969e33cb5edde9db88aad27758a6911f93781e3c9846aeadc80fffc761c355d6a28358853156b62 rsyncd.conf -b8d6c0bb467a5c963317dc55478d2c10874564cd264d943d4a42037e2fce134fe001fabc92af5c6b5775e84dc310b1c8da147afaa61c99e5663c36580d8651a5 rsyncd.logrotate" diff --git a/harmony/rsync/rsyncd.conf b/harmony/rsync/rsyncd.conf deleted file mode 100644 index 6318016e9..000000000 --- a/harmony/rsync/rsyncd.conf +++ /dev/null @@ -1,7 +0,0 @@ -# /etc/rsyncd.conf -# Minimal configuration file for rsync daemon. -# See rsync(1) and rsyncd.conf(5) man pages for help. -# Do not set "pid file" here. - -use chroot = yes -read only = yes diff --git a/harmony/rsync/rsyncd.confd b/harmony/rsync/rsyncd.confd deleted file mode 100644 index 7128f97fd..000000000 --- a/harmony/rsync/rsyncd.confd +++ /dev/null @@ -1,8 +0,0 @@ -# Config file for /etc/init.d/rsyncd - -# Path to configuration file. -#cfgfile="/etc/rsyncd.conf" - -# See man pages for rsync or run `rsync --daemon --help` -# for valid cmdline options. -#command_args="" diff --git a/harmony/rsync/rsyncd.initd b/harmony/rsync/rsyncd.initd deleted file mode 100644 index eb05b3b59..000000000 --- a/harmony/rsync/rsyncd.initd +++ /dev/null @@ -1,16 +0,0 @@ -#!/sbin/openrc-run - -: ${cfgfile:="/etc/rsyncd.conf"} - -command="/usr/bin/rsync" -command_args="--daemon --no-detach --config=$cfgfile - $command_args $RSYNC_OPTS" -command_background="yes" - -pidfile="/run/$RC_SVCNAME.pid" -required_files="$cfgfile" - -depend() { - use net - after firewall -} diff --git a/harmony/rsync/rsyncd.logrotate b/harmony/rsync/rsyncd.logrotate deleted file mode 100644 index 34bcf72d2..000000000 --- a/harmony/rsync/rsyncd.logrotate +++ /dev/null @@ -1,9 +0,0 @@ -/var/log/rsync.log { - compress - maxage 365 - rotate 7 - size=+1024k - notifempty - missingok - copytruncate -} |