Index: head/ftp/fastdfs/Makefile =================================================================== --- head/ftp/fastdfs/Makefile (revision 453487) +++ head/ftp/fastdfs/Makefile (revision 453488) @@ -1,37 +1,41 @@ # $FreeBSD$ PORTNAME= fastdfs PORTVERSION= 5.0.11 +PORTREVISION= 1 CATEGORIES= ftp MAINTAINER= daniel@blodan.se COMMENT= High performance distributed file system (DFS) LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING-3_0.txt LIB_DEPENDS= libfastcommon.so:devel/libfastcommon USES= perl5 USE_LDCONFIG= yes USE_RC_SUBR= fdfs_storaged fdfs_trackerd USERS= _fastdfs GROUPS= _fastdfs USE_GITHUB= yes GH_ACCOUNT= happyfish100 GH_TAGNAME= 1e50b4f +SUB_FILES= fdfs_status + MAKE_ENV+= DESTDIR=${STAGEDIR} do-build: cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make.sh do-install: cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} make.sh install @${MKDIR} ${STAGEDIR}/var/db/fastdfs @${MKDIR} ${STAGEDIR}/var/db/fastdfs/tracker @${MKDIR} ${STAGEDIR}/var/db/fastdfs/storage + ${INSTALL_SCRIPT} ${WRKDIR}/fdfs_status ${STAGEDIR}${PREFIX}/bin .include Index: head/ftp/fastdfs/distinfo =================================================================== --- head/ftp/fastdfs/distinfo (revision 453487) +++ head/ftp/fastdfs/distinfo (revision 453488) Property changes on: head/ftp/fastdfs/distinfo ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/fdfs_status.in =================================================================== --- head/ftp/fastdfs/files/fdfs_status.in (nonexistent) +++ head/ftp/fastdfs/files/fdfs_status.in (revision 453488) @@ -0,0 +1,9 @@ +#!/bin/sh + +. /etc/rc.subr + +load_rc_config "fdfs_client" + +: ${fdfs_client_config="%%PREFIX%%/etc/fdfs/client.conf"} + +%%PREFIX%%/bin/fdfs_monitor ${fdfs_client_config}|grep -E 'Group|Storage|id|ip_addr|last_synced_timestamp'|grep -v 'trunk file' Property changes on: head/ftp/fastdfs/files/fdfs_status.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/fdfs_storaged.in =================================================================== --- head/ftp/fastdfs/files/fdfs_storaged.in (revision 453487) +++ head/ftp/fastdfs/files/fdfs_storaged.in (revision 453488) Property changes on: head/ftp/fastdfs/files/fdfs_storaged.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/fdfs_trackerd.in =================================================================== --- head/ftp/fastdfs/files/fdfs_trackerd.in (revision 453487) +++ head/ftp/fastdfs/files/fdfs_trackerd.in (revision 453488) Property changes on: head/ftp/fastdfs/files/fdfs_trackerd.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-client-Makefile.in =================================================================== --- head/ftp/fastdfs/files/patch-client-Makefile.in (revision 453487) +++ head/ftp/fastdfs/files/patch-client-Makefile.in (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-client-Makefile.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-conf-client.conf =================================================================== --- head/ftp/fastdfs/files/patch-conf-client.conf (revision 453487) +++ head/ftp/fastdfs/files/patch-conf-client.conf (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-conf-client.conf ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-conf-storage.conf =================================================================== --- head/ftp/fastdfs/files/patch-conf-storage.conf (revision 453487) +++ head/ftp/fastdfs/files/patch-conf-storage.conf (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-conf-storage.conf ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-conf-tracker.conf =================================================================== --- head/ftp/fastdfs/files/patch-conf-tracker.conf (revision 453487) +++ head/ftp/fastdfs/files/patch-conf-tracker.conf (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-conf-tracker.conf ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-make.sh =================================================================== --- head/ftp/fastdfs/files/patch-make.sh (revision 453487) +++ head/ftp/fastdfs/files/patch-make.sh (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-make.sh ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-storage-Makefile.in =================================================================== --- head/ftp/fastdfs/files/patch-storage-Makefile.in (revision 453487) +++ head/ftp/fastdfs/files/patch-storage-Makefile.in (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-storage-Makefile.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/files/patch-tracker-Makefile.in =================================================================== --- head/ftp/fastdfs/files/patch-tracker-Makefile.in (revision 453487) +++ head/ftp/fastdfs/files/patch-tracker-Makefile.in (revision 453488) Property changes on: head/ftp/fastdfs/files/patch-tracker-Makefile.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/pkg-descr =================================================================== --- head/ftp/fastdfs/pkg-descr (revision 453487) +++ head/ftp/fastdfs/pkg-descr (revision 453488) Property changes on: head/ftp/fastdfs/pkg-descr ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/ftp/fastdfs/pkg-plist =================================================================== --- head/ftp/fastdfs/pkg-plist (revision 453487) +++ head/ftp/fastdfs/pkg-plist (revision 453488) @@ -1,36 +1,37 @@ bin/fdfs_append_file bin/fdfs_appender_test bin/fdfs_appender_test1 bin/fdfs_crc32 bin/fdfs_delete_file bin/fdfs_download_file bin/fdfs_file_info bin/fdfs_monitor +bin/fdfs_status bin/fdfs_storaged bin/fdfs_test bin/fdfs_test1 bin/fdfs_trackerd bin/fdfs_upload_appender bin/fdfs_upload_file @sample etc/fdfs/client.conf.sample @sample etc/fdfs/storage.conf.sample @sample etc/fdfs/storage_ids.conf.sample @sample etc/fdfs/tracker.conf.sample include/fastdfs/client_func.h include/fastdfs/client_global.h include/fastdfs/fdfs_client.h include/fastdfs/fdfs_define.h include/fastdfs/fdfs_global.h include/fastdfs/fdfs_http_shared.h include/fastdfs/fdfs_shared_func.h include/fastdfs/mime_file_parser.h include/fastdfs/storage_client.h include/fastdfs/storage_client1.h include/fastdfs/tracker_client.h include/fastdfs/tracker_proto.h include/fastdfs/tracker_types.h include/fastdfs/trunk_shared.h lib/libfdfsclient.so @dir /var/db/fastdfs/storage @dir /var/db/fastdfs/tracker @dir /var/db/fastdfs Property changes on: head/ftp/fastdfs/pkg-plist ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property