Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
816
Issues
816
List
Boards
Labels
Milestones
Merge Requests
41
Merge Requests
41
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
393a946d
Commit
393a946d
authored
Jun 19, 2018
by
Leonardo Arena
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/lsyncd: restore lpostcmd patch, add openrc subpkg
parent
c9774dcf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
3 deletions
+32
-3
APKBUILD
main/lsyncd/APKBUILD
+6
-3
lpostcmd.patch
main/lsyncd/lpostcmd.patch
+26
-0
No files found.
main/lsyncd/APKBUILD
View file @
393a946d
...
...
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
lsyncd
pkgver
=
2.2.3
pkgrel
=
0
pkgrel
=
1
_luaver
=
5.3
pkgdesc
=
"Live Syncing (Mirror) Daemon"
url
=
"https://github.com/axkibe/lsyncd"
...
...
@@ -11,11 +11,13 @@ license="GPL-2.0-or-later"
depends
=
"rsync"
makedepends
=
"
$depends_dev
cmake lua
$_luaver
lua
$_luaver
-dev"
options
=
"!check"
# needs passwordless ssh access to localhost
subpackages
=
"
$pkgname
-doc"
subpackages
=
"
$pkgname
-doc
$pkgname
-openrc
"
source
=
"
$pkgname
-
$pkgver
.tar.gz::https://github.com/axkibe/lsyncd/archive/release-
$pkgver
.tar.gz
fix-realpath.patch
fix-mandir.patch
$pkgname
.initd"
lpostcmd.patch
$pkgname
.initd
"
builddir
=
"
$srcdir
"
/lsyncd-release-
$pkgver
build
()
{
...
...
@@ -43,4 +45,5 @@ package() {
sha512sums
=
"2193a342f8aa7d8cfb55378c9c59ca61d2d8e4026263fd6e6560c730c712cef1f189305a3f9bca58f5b9c9ffae5af12e1d75e5355d5bdae86a47ad9595b8169a lsyncd-2.2.3.tar.gz
2cebaf59d960321c2eda4ef1e0d850f62eb7eedb7ba8922a5db33a7f78c769d1a52839fbb597ae06ba576632e2abc7b92a6ba2eaf58b71b93bc877db83e25576 fix-realpath.patch
6283f973768467942a69cb4fd835cfef81ffd1d9acccdea21b1f40730f67d5ff0e8db33772f28be2a6abb352c9596a01dbf215aa228072f7439b69ad8c691c61 fix-mandir.patch
047ee8b2fae169e444c81e9b3ce0ef38713a114877cc38f6aee0594cd64c7b7d99d22ac81fe5e6ac87767956e8757731374a179800ec57fe664f058788ba482b lpostcmd.patch
441b76ec944d9d74100dfca55efe871e9092b37cd49ec79a2a94e281dc0326b4def1645a827f7d3edcddc95d6e74c99621b62991396fb3693b1832c42fd86cdc lsyncd.initd"
main/lsyncd/lpostcmd.patch
0 → 100644
View file @
393a946d
--- a/examples/lpostcmd.lua
+++ b/examples/lpostcmd.lua
@@ -6,7 +6,7 @@
-- after every successfullycompleted rsync operation.
-- for example to restart servlets on the target host or so.
-local rsyncpostcmd = {
+rsyncpostcmd = {
-- based on default rsync.
default.rsync,
@@ -105,14 +105,3 @@
return default.rsync.prepare(config, level, skipTarget)
end
}
-
-
-sync {
- rsyncpostcmd,
- delay = 3,
- source = '/path/to/src',
- host = 'localhost',
- targetdir = '/path/to/trg',
- postcmd = '/usr/local/bin/dopostcmd',
-}
-
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment