Lines 3-9
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= mysql |
4 |
PORTNAME= mysql |
5 |
PORTVERSION= 5.7.11 |
5 |
PORTVERSION= 5.7.11 |
6 |
PORTREVISION?= 2 |
6 |
PORTREVISION?= 3 |
7 |
CATEGORIES= databases ipv6 |
7 |
CATEGORIES= databases ipv6 |
8 |
MASTER_SITES= MYSQL/MySQL-5.7 |
8 |
MASTER_SITES= MYSQL/MySQL-5.7 |
9 |
PKGNAMESUFFIX?= 57-server |
9 |
PKGNAMESUFFIX?= 57-server |
Lines 82-89
Link Here
|
82 |
mariadb[0-9][0-9]-server-* \ |
82 |
mariadb[0-9][0-9]-server-* \ |
83 |
percona[0-9][0-9]-server-* |
83 |
percona[0-9][0-9]-server-* |
84 |
|
84 |
|
|
|
85 |
MY_DBDIR= /var/db/mysql |
86 |
MY_SECDIR= /var/db/mysql_secure |
87 |
MY_TMPDIR= /var/db/mysql_tmpdir |
88 |
|
85 |
USE_RC_SUBR= mysql-server |
89 |
USE_RC_SUBR= mysql-server |
86 |
|
90 |
|
|
|
91 |
SUB_FILES= my.cnf.sample |
92 |
SUB_LIST= MY_DBDIR=${MY_DBDIR} \ |
93 |
MY_SECDIR=${MY_SECDIR} \ |
94 |
MY_TMPDIR=${MY_TMPDIR} |
95 |
|
96 |
PLIST_SUB= MY_DBDIR=${MY_DBDIR} \ |
97 |
MY_SECDIR=${MY_SECDIR} \ |
98 |
MY_TMPDIR=${MY_TMPDIR} |
99 |
|
87 |
USERS= mysql |
100 |
USERS= mysql |
88 |
GROUPS= mysql |
101 |
GROUPS= mysql |
89 |
|
102 |
|
Lines 145-148
Link Here
|
145 |
post-patch: |
158 |
post-patch: |
146 |
@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt |
159 |
@${REINPLACE_CMD} 's/*.1/${MMAN1}/' ${WRKSRC}/man/CMakeLists.txt |
147 |
|
160 |
|
|
|
161 |
.if !defined(CLIENT_ONLY) |
162 |
post-install: |
163 |
${MKDIR} ${STAGEDIR}${ETCDIR} |
164 |
${INSTALL_DATA} ${WRKDIR}/my.cnf.sample ${STAGEDIR}${ETCDIR}/my.cnf.sample |
165 |
|
166 |
post-stage: |
167 |
${MKDIR} ${STAGEDIR}${ETCDIR}/keyring |
168 |
${MKDIR} ${STAGEDIR}${MY_SECDIR} |
169 |
${MKDIR} ${STAGEDIR}${MY_TMPDIR} |
170 |
.endif |
171 |
|
148 |
.include <bsd.port.post.mk> |
172 |
.include <bsd.port.post.mk> |