FreeBSD Bugzilla – Attachment 186078 Details for
Bug 222067
[PATCH] www/nginx: fix for fastdfs module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Config fix for fastdfs module
nginx-fastdfs.patch (text/plain), 2.93 KB, created by
Daniel Ylitalo
on 2017-09-05 13:28:08 UTC
(
hide
)
Description:
Config fix for fastdfs module
Filename:
MIME Type:
Creator:
Daniel Ylitalo
Created:
2017-09-05 13:28:08 UTC
Size:
2.93 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 449282) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= nginx > PORTVERSION= 1.12.1 >-PORTREVISION?= 1 >+PORTREVISION?= 2 > PORTEPOCH= 2 > CATEGORIES= www > MASTER_SITES= http://nginx.org/download/ >@@ -481,7 +481,8 @@ > GH_ACCOUNT+= happyfish100:fastdfs > GH_PROJECT+= fastdfs-nginx-module:fastdfs > GH_TAGNAME+= ${NGINX_FASTDFS_VERSION}:fastdfs >-EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-fastdfs-src-config >+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-fastdfs-src-config \ >+ ${PATCHDIR}/extra-patch-fastdfs-src-mod_fastdfs.conf > BUILD_DEPENDS+= ${LOCALBASE}/include/fastcommon/logger.h:devel/libfastcommon \ > ${LOCALBASE}/include/fastdfs/fdfs_client.h:ftp/fastdfs > LIB_DEPENDS+= libfastcommon.so:devel/libfastcommon \ >Index: files/extra-patch-fastdfs-src-mod_fastdfs.conf >=================================================================== >--- files/extra-patch-fastdfs-src-mod_fastdfs.conf (nonexistent) >+++ files/extra-patch-fastdfs-src-mod_fastdfs.conf (working copy) >@@ -0,0 +1,46 @@ >+--- ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf.orig 2017-09-05 14:19:44.560907000 +0200 >++++ ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf 2017-09-05 14:24:43.475900000 +0200 >+@@ -59,8 +59,8 @@ >+ # store_path#, based 0, if store_path0 not exists, it's value is base_path >+ # the paths must be exist >+ # must same as storage.conf >+-store_path0=/home/yuqing/fastdfs >+-#store_path1=/home/yuqing/fastdfs1 >++store_path0=/var/db/fastdfs/storage >++#store_path1=/var/db/fastdfs/storage2 >+ >+ # standard log level as syslog, case insensitive, value list: >+ ### emerg for emergency >+@@ -92,6 +92,14 @@ >+ # NOTE: #include is an include directive, do NOT remove the # before include >+ #include http.conf >+ >++# HTTP default content type >++http.default_content_type = application/octet-stream >++ >++# MIME types mapping filename >++# MIME types file format: MIME_type extensions >++# such as: image/jpeg jpeg jpg jpe >++# you can use apache's MIME file: mime.types >++http.mime_types_filename=/usr/local/etc/nginx/mime.types >+ >+ # if support flv >+ # default value is false >+@@ -119,8 +127,8 @@ >+ #group_name=group1 >+ #storage_server_port=23000 >+ #store_path_count=2 >+-#store_path0=/home/yuqing/fastdfs >+-#store_path1=/home/yuqing/fastdfs1 >++#store_path0=/var/db/fastdfs/storage >++#store_path1=/var/db/fastdfs/storage2 >+ >+ # group settings for group #2 >+ # since v1.14 >+@@ -129,5 +137,5 @@ >+ #group_name=group2 >+ #storage_server_port=23000 >+ #store_path_count=1 >+-#store_path0=/home/yuqing/fastdfs >++#store_path0=/var/db/fastdfs/storage >+ > >Property changes on: files/extra-patch-fastdfs-src-mod_fastdfs.conf >___________________________________________________________________ >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222067
: 186078