View | Details | Raw Unified | Return to bug 222067
Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	nginx
4
PORTNAME=	nginx
5
PORTVERSION=	1.12.1
5
PORTVERSION=	1.12.1
6
PORTREVISION?=	1
6
PORTREVISION?=	2
7
PORTEPOCH=	2
7
PORTEPOCH=	2
8
CATEGORIES=	www
8
CATEGORIES=	www
9
MASTER_SITES=	http://nginx.org/download/
9
MASTER_SITES=	http://nginx.org/download/
Lines 481-487 Link Here
481
GH_ACCOUNT+=	happyfish100:fastdfs
481
GH_ACCOUNT+=	happyfish100:fastdfs
482
GH_PROJECT+=	fastdfs-nginx-module:fastdfs
482
GH_PROJECT+=	fastdfs-nginx-module:fastdfs
483
GH_TAGNAME+=	${NGINX_FASTDFS_VERSION}:fastdfs
483
GH_TAGNAME+=	${NGINX_FASTDFS_VERSION}:fastdfs
484
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-fastdfs-src-config
484
EXTRA_PATCHES+=	${PATCHDIR}/extra-patch-fastdfs-src-config \
485
		${PATCHDIR}/extra-patch-fastdfs-src-mod_fastdfs.conf
485
BUILD_DEPENDS+=	${LOCALBASE}/include/fastcommon/logger.h:devel/libfastcommon \
486
BUILD_DEPENDS+=	${LOCALBASE}/include/fastcommon/logger.h:devel/libfastcommon \
486
		${LOCALBASE}/include/fastdfs/fdfs_client.h:ftp/fastdfs
487
		${LOCALBASE}/include/fastdfs/fdfs_client.h:ftp/fastdfs
487
LIB_DEPENDS+=	libfastcommon.so:devel/libfastcommon \
488
LIB_DEPENDS+=	libfastcommon.so:devel/libfastcommon \
(-)files/extra-patch-fastdfs-src-mod_fastdfs.conf (+46 lines)
Line 0 Link Here
1
--- ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf.orig	2017-09-05 14:19:44.560907000 +0200
2
+++ ../fastdfs-nginx-module-5a8110f/src/mod_fastdfs.conf	2017-09-05 14:24:43.475900000 +0200
3
@@ -59,8 +59,8 @@
4
 # store_path#, based 0, if store_path0 not exists, it's value is base_path
5
 # the paths must be exist
6
 # must same as storage.conf
7
-store_path0=/home/yuqing/fastdfs
8
-#store_path1=/home/yuqing/fastdfs1
9
+store_path0=/var/db/fastdfs/storage
10
+#store_path1=/var/db/fastdfs/storage2
11
 
12
 # standard log level as syslog, case insensitive, value list:
13
 ### emerg for emergency
14
@@ -92,6 +92,14 @@
15
 # NOTE: #include is an include directive, do NOT remove the # before include
16
 #include http.conf
17
 
18
+# HTTP default content type
19
+http.default_content_type = application/octet-stream
20
+
21
+# MIME types mapping filename
22
+# MIME types file format: MIME_type  extensions
23
+# such as:  image/jpeg	jpeg jpg jpe
24
+# you can use apache's MIME file: mime.types
25
+http.mime_types_filename=/usr/local/etc/nginx/mime.types
26
 
27
 # if support flv
28
 # default value is false
29
@@ -119,8 +127,8 @@
30
 #group_name=group1
31
 #storage_server_port=23000
32
 #store_path_count=2
33
-#store_path0=/home/yuqing/fastdfs
34
-#store_path1=/home/yuqing/fastdfs1
35
+#store_path0=/var/db/fastdfs/storage
36
+#store_path1=/var/db/fastdfs/storage2
37
 
38
 # group settings for group #2
39
 # since v1.14
40
@@ -129,5 +137,5 @@
41
 #group_name=group2
42
 #storage_server_port=23000
43
 #store_path_count=1
44
-#store_path0=/home/yuqing/fastdfs
45
+#store_path0=/var/db/fastdfs/storage
46
 

Return to bug 222067