Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
652
Issues
652
List
Boards
Labels
Service Desk
Milestones
Merge Requests
194
Merge Requests
194
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
6fc7aa2d
Commit
6fc7aa2d
authored
Dec 12, 2012
by
Pablo Castorino
Committed by
Natanael Copa
Dec 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/csync2: upgrade to 2.0_rc1_git20121210
parent
70da3b60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
9 deletions
+51
-9
testing/csync2/03-strlcpy_disable.patch
testing/csync2/03-strlcpy_disable.patch
+21
-0
testing/csync2/APKBUILD
testing/csync2/APKBUILD
+30
-9
No files found.
testing/csync2/03-strlcpy_disable.patch
0 → 100644
View file @
6fc7aa2d
--- old/rsync.c
+++ new/rsync.c
@@ -49,6 +49,9 @@
*
* @return index of the terminating byte.
**/
+
+/* disabled **
+
static size_t strlcpy(char *d, const char *s, size_t bufsize)
{
size_t len = strlen(s);
@@ -61,7 +64,7 @@
}
return ret;
}
-
+*/
/* This has been taken from rsync sources: receiver.c */
testing/csync2/APKBUILD
View file @
6fc7aa2d
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
csync2
pkgname
=
csync2
pkgver
=
1.34
pkgver
=
2.0_rc1_git20121210
pkgrel
=
0
pkgrel
=
0
pkgdesc
=
"
a c
luster synchronization tool"
pkgdesc
=
"
C
luster synchronization tool"
url
=
"http://oss.linbit.com/csync2/"
url
=
"http://oss.linbit.com/csync2/"
arch
=
"all"
arch
=
"all"
license
=
"GPL-2+"
license
=
"GPL-2+"
...
@@ -10,12 +10,34 @@ depends=
...
@@ -10,12 +10,34 @@ depends=
makedepends
=
"librsync-dev gnutls-dev sqlite-dev autoconf automake bison flex"
makedepends
=
"librsync-dev gnutls-dev sqlite-dev autoconf automake bison flex"
install
=
install
=
subpackages
=
"
$pkgname
-doc"
subpackages
=
"
$pkgname
-doc"
source
=
"
http://oss.linbit.com/csync2/csync2
-
$pkgver
.tar.gz
source
=
"
$pkgname
-
$pkgver
.tar.gz
0
1-csync2-sqlite3.patch
0
3-strlcpy_disable.patch"
02-csync2-1.34-gnutls_pkgconfig
.patch
# 01-csync2-sqlite3
.patch
"
# 02-csync2-1.34-gnutls_pkgconfig.patch
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
_builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
_giturl
=
"http://git.linbit.com/csync2.git"
snapshot
()
{
local
_pkg
=
$pkgname
-
$pkgver
.tar.gz
mkdir
-p
"
$srcdir
"
cd
"
$srcdir
"
msg
"Creating snapshot:
$_pkg
"
rm
-rf
${
_giturl
##*/
}
git clone
--bare
$_giturl
||
return
1
git
--git-dir
${
_giturl
##*/
}
archive
-o
$_pkg
\
--prefix
=
$pkgname
-
$pkgver
/ HEAD
\
||
return
1
msg
"New snapshot:
$_pkg
"
if
[
-n
"
$_upload
"
]
;
then
msg
"Uploading to
$_upload
"
scp
$_pkg
$_upload
||
return
1
abump
$pkgname
-
$_tag
fi
#abuild checksum
}
prepare
()
{
prepare
()
{
cd
"
$_builddir
"
cd
"
$_builddir
"
...
@@ -40,6 +62,5 @@ package() {
...
@@ -40,6 +62,5 @@ package() {
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
}
}
md5sums
=
"efc8a3548996b79cef2ad76af5e93cd8 csync2-1.34.tar.gz
md5sums
=
"9c835a405db0ab3496239ef185bc43f2 csync2-2.0_rc1_git20121210.tar.gz
35ba1bb1aafd87741c7ef55bdfb2e212 01-csync2-sqlite3.patch
e6d8aaff70cf847b11873cd1cfaaa8f6 03-strlcpy_disable.patch"
31b2ed6a7bb424ccdbf1486223eca323 02-csync2-1.34-gnutls_pkgconfig.patch"
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