1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Firebird-2 relational SQL database
8 HOMEPAGE= https://www.firebirdsql.org/
12 SITES[main]= SF/firebird/firebird/2.5.7-Release
13 DISTFILE[1]= Firebird-2.5.7.27050-0.tar.bz2:main
15 SPKGS[standard]= complete
20 OPTIONS_AVAILABLE= none
21 OPTIONS_STANDARD= none
25 BUILDRUN_DEPENDS= libedit:single:standard
26 EXRUN[server]= firebird25:client:standard
30 USERGROUP_SPKG= server
32 USES= cpe gmake pkgconfig c++:server,client
34 DISTNAME= Firebird-2.5.7.27050-0
36 LICENSE= CUSTOM1:server CUSTOM2:server
37 LICENSE_NAME= CUSTOM1:"Initial Developer's Public License"
38 CUSTOM2:"InterBase Public License"
40 LICENSE_FILE= CUSTOM1:{{WRKSRC}}/builds/install/misc/IDPLicense.txt
41 CUSTOM2:{{WRKSRC}}/builds/install/misc/IPLicense.txt
43 FPC_EQUIVALENT= databases/firebird25-server
46 CONFIGURE_ARGS= --prefix=/var/db/firebird
47 --exec-prefix={{PREFIX}}
48 --with-fbconf={{PREFIX}}/etc/firebird
49 --with-fbglock=/var/db/firebird
50 --with-fbhelp=/var/db/firebird/help
51 --with-fbintl={{PREFIX}}/libexec/firebird/intl
52 --with-fblog=/var/db/firebird
53 --with-fbmsg={{PREFIX}}/share/firebird
54 --with-fbplugins={{PREFIX}}/libexec/firebird/plugins
55 --with-fbsbin={{PREFIX}}/sbin
56 --with-fbsecure-db=/var/db/firebird
57 --with-fbudf={{PREFIX}}/libexec/firebird/UDF
58 --with-system-editline
60 CONFIGURE_ENV= PTHREAD_LIBS="-lpthread"
61 ac_cv_header_atomic_ops_h="no"
62 ac_cv_lib_atomic_ops_main="no"
63 ac_cv_lib_edit_readline="yes"
65 BUILD_TARGET= firebird_basic libfbembed libfbclient embed_isql
66 embed_gpre embed_gdef embed_qli extlib
67 firebird_embedded firebird_server
68 MAKE_ARGS= PREFIX="{{STAGEDIR}}{{PREFIX}}"
69 MAKE_ENV= FIREBIRD_TMP="{{WRKDIR}}"
70 FIREBIRD_LOCK="{{WRKDIR}}"
73 PLIST_SUB= SOVERSION=2.5.7
76 LOCALSTATEDIR=/var/db/firebird
78 RC_SUBR= firebird:server
79 SUB_FILES= pkg-message-server
80 SUB_LIST= DOCDIR={{STD_DOCDIR}}
82 CXXFLAGS= -std=gnu++98
84 VAR_ARCH[x86_64]= CFLAGS=-DAMD64
87 ${FIND} ${WRKSRC} -name "*.sh" -exec ${CHMOD} +x {} \+
90 @${MKDIR} ${STAGEDIR}${PREFIX}/bin \
91 ${STAGEDIR}${PREFIX}/lib \
92 ${STAGEDIR}${PREFIX}/include \
93 ${STAGEDIR}${PREFIX}/sbin \
94 ${STAGEDIR}${PREFIX}/share/firebird \
95 ${STAGEDIR}${PREFIX}/etc/firebird \
96 ${STAGEDIR}${PREFIX}/libexec/firebird/udf \
97 ${STAGEDIR}/var/db/firebird/help \
98 ${STAGEDIR}${PREFIX}/libexec/firebird/intl \
99 ${STAGEDIR}${PREFIX}/libexec/firebird/plugins
100 ${INSTALL_LIB} ${WRKSRC}/gen/firebird/lib/libib_util.so \
101 ${WRKSRC}/gen/firebird/lib/libfbclient.so.2.5.7 \
102 ${WRKSRC}/gen/firebird/lib/libfbembed.so.2.5.7 \
103 ${STAGEDIR}${PREFIX}/lib
104 .for ext in so so.2 so.2.5
105 ${LN} -fs libfbclient.so.2.5.7 ${STAGEDIR}${PREFIX}/lib/libfbclient.${ext}
106 ${LN} -fs libfbembed.so.2.5.7 ${STAGEDIR}${PREFIX}/lib/libfbembed.${ext}
107 ${LN} -fs libfbembed.so.2.5.7 ${STAGEDIR}${PREFIX}/lib/libgds.${ext}
109 ${INSTALL_DATA} ${WRKSRC}/gen/firebird/include/*.h ${STAGEDIR}${PREFIX}/include
110 ${INSTALL_DATA} ${WRKSRC}/gen/firebird/*.msg ${STAGEDIR}${PREFIX}/share/firebird
111 ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" ${WRKSRC}/gen/install/misc/firebird.conf \
112 > ${WRKDIR}/firebird.conf
113 ${INSTALL_DATA} ${WRKDIR}/firebird.conf ${STAGEDIR}${PREFIX}/etc/firebird/firebird.conf.sample
114 ${INSTALL_DATA} ${WRKSRC}/gen/install/misc/aliases.conf \
115 ${STAGEDIR}${PREFIX}/etc/firebird/aliases.conf.sample
116 ${INSTALL_DATA} ${WRKSRC}/gen/install/misc/fbtrace.conf \
117 ${STAGEDIR}${PREFIX}/etc/firebird/fbtrace.conf
118 ${INSTALL_DATA} ${WRKSRC}/gen/install/misc/fbintl.conf \
119 ${STAGEDIR}${PREFIX}/libexec/firebird/intl/fbintl.conf
120 .for bin in gpre isql-fb qli fbguard fbsplit fbstat fbsvcmgr fbtracemgr gbak gdef gfix gsec nbackup
121 ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/bin/${bin} ${STAGEDIR}${PREFIX}/bin
123 .for sbin in fb_inet_server fb_lock_print fb_smp_server fbserver
124 ${INSTALL_PROGRAM} ${WRKSRC}/gen/firebird/bin/${sbin} ${STAGEDIR}${PREFIX}/sbin
126 .for udf_so in ib_udf.so fbudf.so
127 ${INSTALL} ${STRIP} -m 0555 ${WRKSRC}/gen/firebird/UDF/${udf_so} \
128 ${STAGEDIR}${PREFIX}/libexec/firebird/udf
130 .for udf_sql in src/extlib/ib_udf2.sql src/extlib/fbudf/fbudf.sql
131 ${INSTALL} -m 0444 ${WRKSRC}/${udf_sql} ${STAGEDIR}${PREFIX}/libexec/firebird/udf
133 ${INSTALL} ${STRIP} -m 0555 ${WRKSRC}/gen/firebird/plugins/libfbtrace.so \
134 ${STAGEDIR}${PREFIX}/libexec/firebird/plugins
135 ${INSTALL} -m 0660 ${WRKSRC}/gen/firebird/security2.fdb \
136 ${STAGEDIR}/var/db/firebird/security2.fdb.sample
137 ${INSTALL} -m 0440 ${WRKSRC}/gen/firebird/help/help.fdb \
138 ${STAGEDIR}/var/db/firebird/help
139 ${INSTALL} ${STRIP} -m 0555 ${WRKSRC}/gen/firebird/intl/libfbintl.so \
140 ${STAGEDIR}${PREFIX}/libexec/firebird/intl/fbintl.so
142 @${MKDIR} ${STAGEDIR}${STD_DOCDIR}/sql.extensions \
143 ${STAGEDIR}${STD_DOCDIR}/license \
144 ${STAGEDIR}${STD_DOCDIR}/upgrade
145 ${INSTALL_DATA} ${WRKSRC}/doc/sql.extensions/* \
146 ${STAGEDIR}${STD_DOCDIR}/sql.extensions
147 ${INSTALL_DATA} ${WRKSRC}/doc/license/* \
148 ${STAGEDIR}${STD_DOCDIR}/license
149 ${INSTALL_DATA} ${WRKSRC}/src/misc/upgrade/v2/* \
150 ${STAGEDIR}${STD_DOCDIR}/upgrade
151 .for F in WhatsNew README.* Firebird* ReleaseNotes.pdf ambiguity.txt ods11-index-structure.html
152 ${INSTALL_DATA} ${WRKSRC}/doc/${F} ${STAGEDIR}${STD_DOCDIR}
155 [FILE:568:descriptions/desc.server]
156 Firebird is a relational database offering many ANSI SQL-99 features
157 that runs on Linux, Windows, and a variety of Unix platforms. Firebird
158 offers excellent concurrency, high performance, and powerful language
159 support for stored procedures and triggers. It has been used in
160 production systems, under a variety of names since 1981.
162 Firebird is completely free of any registration, licensing or deployment
163 fees. It may be deployed freely for use with any third-party software,
164 whether commercial or not.
166 This package contains the Firebird server and related files.
169 [FILE:193:descriptions/desc.client]
170 Firebird is a relational database offering many ANSI SQL-99 features
171 that runs on Linux, Windows, and a variety of Unix platforms.
173 This package contains the Firebird client and related files.
177 0a3b68c94e9d4eab0e56c98312f0955a0ec69ec4e9e801e0a81be758f032171a 13402538 Firebird-2.5.7.27050-0.tar.bz2
180 [FILE:742:manifests/plist.server]
198 libexec/firebird/udf/
203 libexec/firebird/plugins/libfbtrace.so
204 libexec/firebird/intl/
208 @sample %%CONFDIR%%/aliases.conf.sample
209 %%CONFDIR%%/fbtrace.conf
212 @sample %%LOCALSTATEDIR%%/security2.fdb.sample
213 %%LOCALSTATEDIR%%/help/help.fdb
214 @preunexec [ -s %%LOCALSTATEDIR%%/firebird.log ] || rm -f %%LOCALSTATEDIR%%/firebird.log
215 @rmtry %%LOCALSTATEDIR%%/isc_event1.`hostname`
216 @rmtry %%LOCALSTATEDIR%%/isc_init1.`hostname`
217 @rmtry %%LOCALSTATEDIR%%/isc_lock1.`hostname`
222 [FILE:443:manifests/plist.client]
234 libfbclient.so.%%SOMAJOR%%
235 libfbclient.so.%%SOMINOR%%
236 libfbclient.so.%%SOVERSION%%
238 libfbembed.so.%%SOMAJOR%%
239 libfbembed.so.%%SOMINOR%%
240 libfbembed.so.%%SOVERSION%%
242 libgds.so.%%SOMAJOR%%
243 libgds.so.%%SOMINOR%%
245 @sample %%CONFDIR%%/firebird.conf.sample
252 [FILE:416:patches/patch-builds_install_misc_firebird.conf.in]
253 --- builds/install/misc/firebird.conf.in.orig 2016-06-30 09:34:53 UTC
254 +++ builds/install/misc/firebird.conf.in
260 +#RootDirectory = /var/db/firebird
263 # ----------------------------
266 # Type: string (special format)
268 -#UdfAccess = Restrict UDF
269 +UdfAccess = Restrict %%PREFIX%%/libexec/firebird/udf
272 # ----------------------------
275 [FILE:2233:patches/patch-builds_posix_make.defaults]
276 --- builds/posix/make.defaults.orig 2017-02-14 09:17:14 UTC
277 +++ builds/posix/make.defaults
278 @@ -126,7 +126,7 @@ RM_R= rm -rf
282 -CHMOD_S7= chmod 06777
283 +CHMOD_S7= chmod 04555
287 @@ -152,7 +152,7 @@ EXE_LINK:= @CXX@ $(GLOB_OPTIONS) $(CXXFL
288 STATICEXE_LINK:= @CXX@ $(GLOB_OPTIONS) $(CXXFLAGS)
291 -ICU_LIBS = -licuuc -licudata -licui18n
292 +ICU_LIBS = -lsicuuc -lsicudata -lsicui18n
293 STATICLINK_LIBS = @LIBS@
294 SO_LINK_LIBS = @LIBS@
296 @@ -223,15 +223,14 @@ LIBFBSTATIC_A = $(LIB)/libfbstatic.a
298 ifeq ($(EDITLINE_FLG),Y)
299 ifeq ($(STD_EDITLINE), true)
300 - LIBEDITLINE := -l$(READLINE)
301 + LIBEDITLINE := $(shell pkgconf libedit --libs)
303 LIBEDITLINE := $(LIB)/libedit.a
307 -LIBICU_SO = $(LIB)/$(LIB_PREFIX)icuuc*.$(SHRLIB_FOREIGN_EXT) \
308 - $(LIB)/$(LIB_PREFIX)icudata*.$(SHRLIB_FOREIGN_EXT) \
309 - $(LIB)/$(LIB_PREFIX)icui18n*.$(SHRLIB_FOREIGN_EXT)
310 +LIBICU_SO = $(LIB)/$(LIB_PREFIX)sicuuc*.a $(LIB)/$(LIB_PREFIX)sicudata*.a \
311 + $(LIB)/$(LIB_PREFIX)sicui18n*.a
313 # Shared library name for usage inside of the UDF
314 IbUtilLibraryName = $(LIB_PREFIX)ib_util.$(SHRLIB_EXT)
315 @@ -305,7 +304,7 @@ CREATE_DB = $(BIN)/create_db$(EXEC_EXT)
316 GDS_DROP = $(BIN)/gds_drop$(EXEC_EXT)
317 FBSVCMGR = $(BIN)/fbsvcmgr$(EXEC_EXT)
318 FBTRACEMGR = $(BIN)/fbtracemgr$(EXEC_EXT)
319 -GSTAT = $(BIN)/gstat$(EXEC_EXT)
320 +GSTAT = $(BIN)/fbstat$(EXEC_EXT)
321 NBACKUP = $(BIN)/nbackup$(EXEC_EXT)
322 FBTRACE = $(PLUGINS)/$(LIB_PREFIX)fbtrace.$(SHRLIB_EXT)
323 LOCKPRINT = $(BIN)/fb_lock_print$(EXEC_EXT)
324 @@ -327,14 +326,14 @@ ISC_GBAK = $(BIN)/security.gbak
325 QLI = $(BIN)/qli$(EXEC_EXT)
328 -ISQL = $(BIN)/isql$(EXEC_EXT)
329 -ISQL_STATIC = $(BIN)/isql_static$(EXEC_EXT)
330 -MUISQL = $(BIN)/muisql$(EXEC_EXT)
331 +ISQL = $(BIN)/isql-fb$(EXEC_EXT)
332 +ISQL_STATIC = $(BIN)/isql-fb_static$(EXEC_EXT)
333 +MUISQL = $(BIN)/muisql-fb$(EXEC_EXT)
336 GBAK_STATIC = $(BIN)/gbak_static$(EXEC_EXT)
337 GBAK = $(BIN)/gbak$(EXEC_EXT)
338 -GSPLIT = $(BIN)/gsplit$(EXEC_EXT)
339 +GSPLIT = $(BIN)/fbsplit$(EXEC_EXT)
342 # (gpre current is a link to one of the others)
345 [FILE:358:patches/patch-builds_posix_make.rules]
346 --- builds/posix/make.rules.orig 2016-06-30 09:34:53 UTC
347 +++ builds/posix/make.rules
348 @@ -37,6 +37,8 @@ WFLAGS:=$(CPPFLAGS) -I$(SRC_ROOT)/includ
350 ifeq ($(STD_ICU),false)
351 WFLAGS:= $(WFLAGS) -I$(ROOT)/extern/icu/source/common -I$(ROOT)/extern/icu/source/i18n
353 + WFLAGS:= $(WFLAGS) $(shell icu-config --cppflags)
356 ifeq ($(IsProdTypeBuild),Y)
359 [FILE:2462:patches/patch-configure]
360 --- configure.orig 2017-02-14 09:42:30 UTC
362 @@ -2428,7 +2428,7 @@ _ACEOF
366 - amd64-*-freebsd* | x86_64*-*-freebsd* | x86_64*-*-k*bsd*-gnu)
367 + amd64-*-freebsd* | x86_64*-*-freebsd* | x86_64-*-dragonfly* | x86_64*-*-k*bsd*-gnu)
368 MAKEFILE_PREFIX=freebsd_amd64
370 x86_64*-*-k*bsd-gnu) # Debian/kFreeBSD
371 @@ -2466,7 +2466,7 @@ _ACEOF
375 - *-*-freebsd* | *-*-k*bsd*-gnu)
376 + *-*-freebsd* | *-*-dragonfly* | *-*-k*bsd*-gnu)
377 MAKEFILE_PREFIX=freebsd
379 *-*-k*bsd-gnu) # Debian/kFreeBSD
380 @@ -4502,7 +4502,7 @@ $as_echo "$as_me: WARNING: we do not kno
381 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
383 case "${host_cpu}-${host_os}" in
384 - *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
385 + *-aix* | *-freebsd* | *-dragonfly* | *-darwin*) flag="-D_THREAD_SAFE";;
386 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
388 { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
389 @@ -11582,7 +11582,7 @@ freebsd* | dragonfly*)
390 shlibpath_overrides_runpath=no
391 hardcode_into_libs=yes
393 - freebsd*) # from 4.6 on
394 + freebsd*|dragonfly*) # from 4.6 on
395 shlibpath_overrides_runpath=yes
396 hardcode_into_libs=yes
398 @@ -15574,7 +15574,7 @@ freebsd* | dragonfly*)
399 shlibpath_overrides_runpath=no
400 hardcode_into_libs=yes
402 - freebsd*) # from 4.6 on
403 + freebsd*|dragonfly*) # from 4.6 on
404 shlibpath_overrides_runpath=yes
405 hardcode_into_libs=yes
407 @@ -18202,7 +18202,7 @@ freebsd* | dragonfly*)
408 shlibpath_overrides_runpath=no
409 hardcode_into_libs=yes
411 - freebsd*) # from 4.6 on
412 + freebsd*|dragonfly*) # from 4.6 on
413 shlibpath_overrides_runpath=yes
414 hardcode_into_libs=yes
416 @@ -20837,7 +20837,7 @@ freebsd* | dragonfly*)
417 shlibpath_overrides_runpath=no
418 hardcode_into_libs=yes
420 - freebsd*) # from 4.6 on
421 + freebsd*|dragonfly*) # from 4.6 on
422 shlibpath_overrides_runpath=yes
423 hardcode_into_libs=yes
425 @@ -43305,7 +43305,7 @@ fi
427 (cd extern/icu/source
428 chmod +x runConfigureICU configure install-sh
429 -./runConfigureICU "$ICU_PLATFORM" "$DEBUG_ICU" "$ICU_EXTRAS" --prefix=`pwd`/..)
430 +./runConfigureICU "$ICU_PLATFORM" "$DEBUG_ICU" "$ICU_EXTRAS" --disable-shared --enable-static --prefix=`pwd`/..)
436 [FILE:830:patches/patch-extern_icu_source_config_mh-bsd-gcc]
437 --- extern/icu/source/config/mh-bsd-gcc.orig 2017-02-14 09:17:14 UTC
438 +++ extern/icu/source/config/mh-bsd-gcc
439 @@ -26,14 +26,14 @@ STATIC_O = ao
442 %.$(STATIC_O): $(srcdir)/%.c
443 - $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
444 + $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -fPIC -DPIC -o $@ $<
446 - $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
447 + $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -fPIC -DPIC -o $@ $<
449 %.$(STATIC_O): $(srcdir)/%.cpp
450 - $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $<
451 + $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -fPIC -DPIC -o $@ $<
453 - $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
454 + $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -fPIC -DPIC -o $@ $<
460 [FILE:826:patches/patch-extern_icu_source_config_mh-linux]
461 --- extern/icu/source/config/mh-linux.orig 2017-02-14 09:17:14 UTC
462 +++ extern/icu/source/config/mh-linux
463 @@ -33,14 +33,14 @@ STATIC_O = ao
466 %.$(STATIC_O): $(srcdir)/%.c
467 - $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -o $@ $<
468 + $(COMPILE.c) $(STATICCPPFLAGS) $(STATICCFLAGS) -fPIC -DPIC -o $@ $<
470 - $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -o $@ $<
471 + $(COMPILE.c) $(DYNAMICCPPFLAGS) $(DYNAMICCFLAGS) -fPIC -DPIC -o $@ $<
473 %.$(STATIC_O): $(srcdir)/%.cpp
474 - $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -o $@ $<
475 + $(COMPILE.cc) $(STATICCPPFLAGS) $(STATICCXXFLAGS) -fPIC -DPIC -o $@ $<
477 - $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -o $@ $<
478 + $(COMPILE.cc) $(DYNAMICCPPFLAGS) $(DYNAMICCXXFLAGS) -fPIC -DPIC -o $@ $<
484 [FILE:396:patches/patch-extern_icu_source_configure]
485 --- extern/icu/source/configure.orig 2017-02-14 09:17:14 UTC
486 +++ extern/icu/source/configure
487 @@ -3122,7 +3122,7 @@ alpha*-*-linux-gnu)
488 icu_cv_host_frag=mh-cygwin-msvc
490 *-*-mingw*) icu_cv_host_frag=mh-mingw ;;
491 -*-*-*bsd*) icu_cv_host_frag=mh-bsd-gcc ;;
492 +*-*-*bsd*|*-*-dragonfly*) icu_cv_host_frag=mh-bsd-gcc ;;
494 if test "$GCC" = yes; then
495 icu_cv_host_frag=mh-aix-gcc
498 [FILE:330:patches/patch-extern_icu_source_runConfigureICU]
499 --- extern/icu/source/runConfigureICU.orig 2017-02-14 09:17:15 UTC
500 +++ extern/icu/source/runConfigureICU
501 @@ -299,7 +299,7 @@ case $platform in
503 RELEASE_CXXFLAGS='-O2'
508 THE_COMP="the GNU C++"
512 [FILE:368:patches/patch-extern_icu_source_tools_genrb_Makefile.in]
513 --- extern/icu/source/tools/genrb/Makefile.in.orig 2017-02-14 09:17:16 UTC
514 +++ extern/icu/source/tools/genrb/Makefile.in
515 @@ -81,7 +81,7 @@ $(TARGET) : $(OBJECTS)
516 $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
518 $(DERB) : $(DERB_OBJ)
519 - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
520 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
523 # the 'mv' will always fail if you are building in the source dir
526 [FILE:400:patches/patch-extern_icu_source_tools_pkgdata_Makefile.in]
527 --- extern/icu/source/tools/pkgdata/Makefile.in.orig 2017-02-14 09:17:16 UTC
528 +++ extern/icu/source/tools/pkgdata/Makefile.in
529 @@ -90,7 +90,7 @@ Makefile: $(srcdir)/Makefile.in $(top_b
530 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
532 $(TARGET) : $(OBJECTS)
533 - $(LINK.c) $(OUTOPT)$@ $^ $(LIBS)
534 + $(LINK.cc) $(OUTOPT)$@ $^ $(LIBS)
536 ifeq (,$(MAKECMDGOALS))
540 [FILE:484:patches/patch-src-common-classes-FpeControl.h]
541 --- src/common/classes/FpeControl.h.orig 2016-06-30 09:34:54 UTC
542 +++ src/common/classes/FpeControl.h
543 @@ -223,13 +223,13 @@ inline bool isinf(double x)
544 return (!_finite (x) && !isnan(x));
548 +#if !defined isinf && !defined __FreeBSD__ && !defined __DragonFly__
549 template <typename F>
550 inline bool isinf(F x)
552 return !isnan(x) && isnan(x - x);
555 +#endif // isinf || FreeBSD || DragonFly
558 #endif //CLASSES_FPE_CONTROL_H
561 [FILE:426:patches/patch-src_jrd_isc__sync.cpp]
562 --- src/jrd/isc_sync.cpp.orig 2016-06-30 09:34:54 UTC
563 +++ src/jrd/isc_sync.cpp
564 @@ -677,7 +677,7 @@ namespace {
566 const static int N_FILES = 128;
567 const static int N_SETS = 256;
568 -#if defined(DEV_BUILD)
569 +#if defined(DEV_BUILD) || defined(FREEBSD)
570 const static int SEM_PER_SET = 4; // force multiple sets allocation
572 const static int SEM_PER_SET = 31; // hard limit for some old systems, might set to 32
575 [FILE:1896:files/firebird.in]
582 # Add the following line to /etc/rc.conf to enable Firebird Database:
585 # firebird_enable: Set it to "YES" to enable firebird.
587 # firebird_mode: Set it to "superclassic" or "superserver" to enable firebird.
588 # Default is "superclassic".
589 # firebird_flags: Set options to run fbserver or fb_smp_server.
590 # Default is "-el /var/db/firebird".
591 # firebird_pidfile: Set full path to pid file.
592 # Default is "/var/run/firebird.pid".
598 rcvar=firebird_enable
602 firebird_enable=${firebird_enable:-"NO"}
603 firebird_mode=${firebird_mode:-"superclassic"}
604 firebird_flags=${firebird_flags:-"-el /var/db/firebird"}
605 firebird_pidfile=${firebird_pidfile:-"/var/run/${name}.pid"}
606 firebird_user=firebird
608 command=%%PREFIX%%/sbin/fb_smp_server
609 command_args="${firebird_flags} &"
610 pidfile=${firebird_pidfile}
611 start_precmd="start_precmd"
612 start_postcmd="start_postcmd"
613 stop_postcmd="stop_postcmd"
614 reload_postcmd="reload_postcmd"
618 touch ${firebird_pidfile}
619 chown "${firebird_user}:wheel" ${firebird_pidfile} ||
620 err 1 "Cannot chown ${firebird_pidfile}"
625 pgrep -u ${firebird_user} ${command_app} > ${firebird_pidfile}
626 echo "Current firebird mode is $firebird_mode"
640 case "${firebird_mode}" in
642 command=%%PREFIX%%/sbin/fb_smp_server
643 command_app=fb_smp_server
646 command=%%PREFIX%%/sbin/fbserver
650 warn "$firebird_mode is an invalid value for firebird_mode"
658 [FILE:838:files/pkg-install-server]
661 PATH=/bin:/usr/bin:/usr/sbin
665 ###############################################################################
669 Keep in mind that if you build firebird server as 'root', this may cause
670 conflicts with SysV semaphores of running services.
672 If you want to cancel it, press ctrl-C now if you need check some things
675 ###############################################################################
689 for i in isc_init1 isc_lock1 isc_event1
691 FileName=$i.`hostname`
693 chmod uga=rw $FileName
694 chown firebird:firebird $FileName
698 chown firebird:firebird firebird.log security2.fdb
705 [FILE:1468:files/pkg-message-server.in]
706 ###############################################################################
708 Firebird was installed.
710 1) Support for Super Server has been added
711 2) Before start the server ensure that the following line exists in /etc/services:
713 gds_db 3050/tcp #InterBase Database Remote Protocol
715 3) If you use inetd (Classic Server) then add the following line to /etc/inetd.conf
717 gds_db stream tcp nowait firebird %%PREFIX%%/sbin/fb_inet_server fb_inet_server
719 And finally restart inetd.
721 4) If you want to use SuperClassic Server then you must add the following lines
722 to /etc/rc.conf file.
724 firebird_enable="YES"
725 firebird_mode="superclassic"
727 5) If you want to use Super Server then you must add the following lines to
730 firebird_enable="YES"
731 firebird_mode="superserver"
733 Note: Keep in mind that you only can add one of them but never both modes on
736 6) Bedore doing anything serious with Firebird, it is STRONGLY recommended
737 that you change the SYSDBA password with:
739 # gsec -user SYSDBA -pass masterkey
740 GSEC> modify SYSDBA -pw newpassword
743 7) See documentation in %%DOCDIR%%/ for more information.
744 8) Some firebird tools were renamed for avoid conflicts with some other ports
746 %%PREFIX%%/bin/isql -> %%PREFIX%%/bin/isql-fb
747 %%PREFIX%%/bin/gstat -> %%PREFIX%%/bin/fbstat
748 %%PREFIX%%/bin/gsplit -> %%PREFIX%%/bin/fbsplit
750 ################################################################################
753 [FILE:163:dragonfly/patch-builds_posix_empty.vers]
754 --- builds/posix/empty.vers.orig 2016-06-30 09:34:53 UTC
755 +++ builds/posix/empty.vers
767 [FILE:225:dragonfly/patch-builds_posix_firebird.vers]
768 --- builds/posix/firebird.vers.orig 2016-06-30 09:34:53 UTC
769 +++ builds/posix/firebird.vers
776 # private entrypoint for REMOTE server
781 [FILE:163:freebsd/patch-builds_posix_empty.vers]
782 --- builds/posix/empty.vers.orig 2016-06-30 09:34:53 UTC
783 +++ builds/posix/empty.vers
795 [FILE:225:freebsd/patch-builds_posix_firebird.vers]
796 --- builds/posix/firebird.vers.orig 2016-06-30 09:34:53 UTC
797 +++ builds/posix/firebird.vers
804 # private entrypoint for REMOTE server