Import of pkgsrc-2014Q1
This commit is contained in:
1
net/ocsync/DESCR
Normal file
1
net/ocsync/DESCR
Normal file
@@ -0,0 +1 @@
|
||||
OwnCloud edition of csync command. This is a part of owncloud client.
|
||||
38
net/ocsync/Makefile
Normal file
38
net/ocsync/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
# $NetBSD: Makefile,v 1.2 2014/02/12 23:18:24 tron Exp $
|
||||
|
||||
DISTNAME= ocsync-0.90.4
|
||||
PKGREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.owncloud.com/desktop/stable/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= ryoon@NetBSD.org
|
||||
HOMEPAGE= http://owncloud.org/sync-clients/
|
||||
COMMENT= File synchronization program for OwnCloud
|
||||
LICENSE= gnu-gpl-v2
|
||||
|
||||
EXTRACT_USING= bsdtar
|
||||
|
||||
USE_LANGUAGES= c c++
|
||||
|
||||
USE_CMAKE= yes
|
||||
OBJDIR= ../build
|
||||
CONFIGURE_DIRS= ${OBJDIR}
|
||||
CMAKE_ARG_PATH= ../${DISTNAME}
|
||||
|
||||
EGDIR= ${PREFIX}/share/examples/ocsync
|
||||
CONF_FILES+= ${EGDIR}/ocsync.conf.default ${PKG_SYSCONFDIR}/ocsync.conf
|
||||
CONF_FILES+= ${EGDIR}/ocsync_exclude.conf.default \
|
||||
${PKG_SYSCONFDIR}/ocsync_exclude.conf
|
||||
|
||||
pre-configure:
|
||||
cd ${WRKSRC} && mkdir ${OBJDIR}
|
||||
cd ${WRKSRC}/config && ${CP} ocsync.conf ocsync.conf.default
|
||||
cd ${WRKSRC}/config && ${CP} ocsync_exclude.conf \
|
||||
ocsync_exclude.conf.default
|
||||
|
||||
.include "../../databases/sqlite3/buildlink3.mk"
|
||||
.include "../../devel/iniparser/buildlink3.mk"
|
||||
.include "../../security/libssh/buildlink3.mk"
|
||||
.include "../../www/neon/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
45
net/ocsync/PLIST
Normal file
45
net/ocsync/PLIST
Normal file
@@ -0,0 +1,45 @@
|
||||
@comment $NetBSD: PLIST,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
||||
bin/ocsync
|
||||
include/ocsync/csync.h
|
||||
include/ocsync/csync_version.h
|
||||
include/ocsync/csync_vio.h
|
||||
include/ocsync/csync_vio_file_stat.h
|
||||
include/ocsync/csync_vio_handle.h
|
||||
include/ocsync/csync_vio_method.h
|
||||
include/ocsync/csync_vio_module.h
|
||||
lib/libhttpbflib.a
|
||||
lib/libocsync.so
|
||||
lib/libocsync.so.0
|
||||
lib/libocsync.so.0.2.1
|
||||
lib/ocsync-0/ocsync_owncloud.so
|
||||
lib/ocsync-0/ocsync_sftp.so
|
||||
man/man1/ocsync.1
|
||||
share/doc/ocsync/userguide/csync.html
|
||||
share/doc/ocsync/userguide/images/icons/README
|
||||
share/doc/ocsync/userguide/images/icons/callouts/1.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/10.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/11.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/12.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/13.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/14.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/15.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/2.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/3.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/4.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/5.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/6.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/7.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/8.png
|
||||
share/doc/ocsync/userguide/images/icons/callouts/9.png
|
||||
share/doc/ocsync/userguide/images/icons/caution.png
|
||||
share/doc/ocsync/userguide/images/icons/example.png
|
||||
share/doc/ocsync/userguide/images/icons/home.png
|
||||
share/doc/ocsync/userguide/images/icons/important.png
|
||||
share/doc/ocsync/userguide/images/icons/next.png
|
||||
share/doc/ocsync/userguide/images/icons/note.png
|
||||
share/doc/ocsync/userguide/images/icons/prev.png
|
||||
share/doc/ocsync/userguide/images/icons/tip.png
|
||||
share/doc/ocsync/userguide/images/icons/up.png
|
||||
share/doc/ocsync/userguide/images/icons/warning.png
|
||||
share/examples/ocsync/ocsync.conf.default
|
||||
share/examples/ocsync/ocsync_exclude.conf.default
|
||||
18
net/ocsync/buildlink3.mk
Normal file
18
net/ocsync/buildlink3.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
# $NetBSD: buildlink3.mk,v 1.2 2014/02/12 23:18:24 tron Exp $
|
||||
|
||||
BUILDLINK_TREE+= ocsync
|
||||
|
||||
.if !defined(OCSYNC_BUILDLINK3_MK)
|
||||
OCSYNC_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.ocsync+= ocsync>=0.90.4
|
||||
BUILDLINK_ABI_DEPENDS.ocsync?= ocsync>=0.90.4nb1
|
||||
BUILDLINK_PKGSRCDIR.ocsync?= ../../net/ocsync
|
||||
|
||||
.include "../../databases/sqlite3/buildlink3.mk"
|
||||
.include "../../devel/iniparser/buildlink3.mk"
|
||||
.include "../../security/libssh/buildlink3.mk"
|
||||
.include "../../www/neon/buildlink3.mk"
|
||||
.endif # OCSYNC_BUILDLINK3_MK
|
||||
|
||||
BUILDLINK_TREE+= -ocsync
|
||||
8
net/ocsync/distinfo
Normal file
8
net/ocsync/distinfo
Normal file
@@ -0,0 +1,8 @@
|
||||
$NetBSD: distinfo,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
||||
|
||||
SHA1 (ocsync-0.90.4.tar.bz2) = d53a64177addc9fcdd831a0a78786eca25b2588a
|
||||
RMD160 (ocsync-0.90.4.tar.bz2) = b6208a9c0ae452f16f0ced32c1b5635df06d3b99
|
||||
Size (ocsync-0.90.4.tar.bz2) = 4630698 bytes
|
||||
SHA1 (patch-cmake_Modules_DefineInstallationPaths.cmake) = 785dbb9f7c7f7fb6218470985818145f87f0688c
|
||||
SHA1 (patch-config_CMakeLists.txt) = b387f38a79d9f85e3f67060a2cb689bb13dd1c28
|
||||
SHA1 (patch-src_std_c__string.c) = 65927e8f7c222edfde66136a331ae81b0f4fcd4c
|
||||
@@ -0,0 +1,15 @@
|
||||
$NetBSD: patch-cmake_Modules_DefineInstallationPaths.cmake,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
||||
|
||||
* Fix man pages destination
|
||||
|
||||
--- cmake/Modules/DefineInstallationPaths.cmake.orig 2013-10-18 13:11:09.000000000 +0000
|
||||
+++ cmake/Modules/DefineInstallationPaths.cmake
|
||||
@@ -83,7 +83,7 @@ if (UNIX)
|
||||
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
|
||||
)
|
||||
SET(MAN_INSTALL_DIR
|
||||
- "${SHARE_INSTALL_PREFIX}/man"
|
||||
+ "${CMAKE_INSTALL_PREFIX}/man"
|
||||
CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
|
||||
)
|
||||
SET(INFO_INSTALL_DIR
|
||||
18
net/ocsync/patches/patch-config_CMakeLists.txt
Normal file
18
net/ocsync/patches/patch-config_CMakeLists.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
$NetBSD: patch-config_CMakeLists.txt,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
||||
|
||||
* Install config file with pkgsrc way
|
||||
|
||||
--- config/CMakeLists.txt.orig 2013-10-18 13:11:09.000000000 +0000
|
||||
+++ config/CMakeLists.txt
|
||||
@@ -3,8 +3,8 @@ macro_copy_file(${CMAKE_CURRENT_SOURCE_D
|
||||
|
||||
install(
|
||||
FILES
|
||||
- ocsync.conf
|
||||
- ocsync_exclude.conf
|
||||
+ ocsync.conf.default
|
||||
+ ocsync_exclude.conf.default
|
||||
DESTINATION
|
||||
- ${SYSCONF_INSTALL_DIR}/ocsync
|
||||
+ ${SHARE_INSTALL_PREFIX}/examples/ocsync
|
||||
)
|
||||
18
net/ocsync/patches/patch-src_std_c__string.c
Normal file
18
net/ocsync/patches/patch-src_std_c__string.c
Normal file
@@ -0,0 +1,18 @@
|
||||
$NetBSD: patch-src_std_c__string.c,v 1.1 2013/11/22 12:01:13 ryoon Exp $
|
||||
|
||||
* For NetBSD iconv(3), this should be fixed for GNU iconv and NetBSD case.
|
||||
|
||||
--- src/std/c_string.c.orig 2013-10-18 13:11:09.000000000 +0000
|
||||
+++ src/std/c_string.c
|
||||
@@ -83,7 +83,11 @@ enum iconv_direction { iconv_from_native
|
||||
|
||||
static char *c_iconv(const char* str, enum iconv_direction dir)
|
||||
{
|
||||
+#if !defined(__NetBSD__)
|
||||
char *in = (char*)str;
|
||||
+#else
|
||||
+ const char *in = (char*)str;
|
||||
+#endif
|
||||
size_t size;
|
||||
size_t outsize;
|
||||
char *out;
|
||||
Reference in New Issue
Block a user