New package: firebird3-3.0.4.33054
Replaces firebird (v2) Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
63375577f3
commit
6f627c21f3
5 changed files with 111 additions and 5 deletions
|
@ -2392,11 +2392,7 @@ libUTF.so opencollada-0.0.20160223_1
|
|||
libbuffer.so opencollada-0.0.20160223_1
|
||||
libftoa.so opencollada-0.0.20160223_1
|
||||
libzlib.so opencollada-1.6.51_1
|
||||
libfbclient.so.2 libfbclient-2.5.5.26952_1
|
||||
libfbembed.so.2 libfbclient-2.5.5.26952_1
|
||||
libfbembed.so.2.5 libfbclient-2.5.5.26952_1
|
||||
libib_util.so libfbclient-2.5.5.26952_1
|
||||
libgds.so.0 libfbclient-2.5.5.26952_1
|
||||
libfbclient.so.2 libfbclient-3.0.4.33054_1
|
||||
libipmiutil.so.1 ipmiutil-3.0.0_1
|
||||
libqxmpp.so.0 qxmpp-0.9.3_1
|
||||
libunwind.so.1 llvm-libunwind-3.8.0_1
|
||||
|
|
10
srcpkgs/firebird3/patches/musl-os_utils_h.patch
Normal file
10
srcpkgs/firebird3/patches/musl-os_utils_h.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- src/common/os/os_utils.h 2016-04-14 16:07:29.000000000 +0200
|
||||
+++ src/common/os/os_utils.h 2019-02-15 02:22:49.698708718 +0100
|
||||
@@ -40,6 +40,7 @@
|
||||
#define mode_t int
|
||||
#define DEFAULT_OPEN_MODE (_S_IREAD | _S_IWRITE)
|
||||
#else
|
||||
+#include <sys/types.h>
|
||||
#define DEFAULT_OPEN_MODE (0666)
|
||||
#endif
|
||||
|
98
srcpkgs/firebird3/template
Normal file
98
srcpkgs/firebird3/template
Normal file
|
@ -0,0 +1,98 @@
|
|||
# Template file for 'firebird3'
|
||||
pkgname=firebird3
|
||||
version=3.0.4.33054
|
||||
revision=1
|
||||
_build=0
|
||||
_uver=${version//./_}
|
||||
wrksrc="Firebird-${version}-${_build}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--prefix=/usr
|
||||
--with-fbbin=/usr/bin
|
||||
--with-fbconf=/etc/firebird
|
||||
--with-fbdoc=/usr/share/doc/firebird
|
||||
--with-fbhelp=/usr/share/doc/firebird/help
|
||||
--with-fbinclude=/usr/include/firebird
|
||||
--with-fblib=/usr/lib
|
||||
--with-fblog=/var/log
|
||||
--with-fbmsg=/usr/lib/firebird/msg
|
||||
--with-fbplugins=/usr/lib/firebird/plugins
|
||||
--with-fbsbin=/usr/lib/firebird/bin
|
||||
--with-fbudf=/usr/lib/firebird/UDF
|
||||
--with-fbsecure-db=/var/lib/firebird/system
|
||||
--with-fbintl=/usr/lib/firebird/intl
|
||||
--with-fbmisc
|
||||
--without-fbsample
|
||||
--without-fbsample-db
|
||||
--with-system-icu
|
||||
--with-system-editline"
|
||||
nocross=yes
|
||||
hostmakedepends="automake libtool pkg-config icu"
|
||||
makedepends="boost-devel libedit-devel icu-devel ncurses-devel libatomic_ops-devel
|
||||
libtommath-devel zlib-devel"
|
||||
short_desc="Relational database offering many ANSI SQL standard features (V3)"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="custom"
|
||||
homepage="https://www.firebirdsql.org/en/start/"
|
||||
distfiles="https://github.com/FirebirdSQL/firebird/releases/download/R${_uver%_*}/Firebird-${version}-${_build}.tar.bz2"
|
||||
checksum=b208931d309029d05dbcd8f6c1b4fd9d21be1d60cee2ff29c08b5002db83756b
|
||||
replaces="firebird>=0"
|
||||
|
||||
pre_configure() {
|
||||
# Avoid errors telling we are not 'root' and
|
||||
# do not change ownership to root:root and
|
||||
# do not change permissions to read-only
|
||||
find -iname "*.sh.in" -exec sed -i "{}" \
|
||||
-e 's;"`whoami`";"root";' \
|
||||
-e 's;chown root:root;#&;' \
|
||||
-e 's;chown -R;#&;' \
|
||||
-e 's;chmod 0444;chmod 0644;' \
|
||||
-e 's;chmod 0555;chmod 0755;' \;
|
||||
autoreconf -if
|
||||
}
|
||||
|
||||
do_install() {
|
||||
local _lib _v0=${version%.*} _v1=${version%.*.*} _v2=${version%.*.*.*}
|
||||
|
||||
cd ${wrksrc}/gen
|
||||
./install/makeInstallImage.sh
|
||||
|
||||
cd ${wrksrc}
|
||||
|
||||
# Fix permissions
|
||||
find gen/buildroot -type f -perm 0444 -exec chmod 0644 "{}" \;
|
||||
find gen/buildroot -type f -perm 0555 -exec chmod 0755 "{}" \;
|
||||
|
||||
vlicense doc/license/IDPL.txt IDPL
|
||||
vlicense doc/license/README.license.usage.txt LICENSE
|
||||
|
||||
cp -pR gen/buildroot/* ${DESTDIR}/
|
||||
|
||||
# TODO: create superserver?
|
||||
# system account?
|
||||
# runit service?
|
||||
# Example https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=firebird-superserver
|
||||
}
|
||||
|
||||
libfbclient3_package() {
|
||||
short_desc+=" - client libraries"
|
||||
replaces="ilibfbclient>=0"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libfbclient.so.*"
|
||||
vmove usr/lib/firebird/msg/firebird.msg
|
||||
vlicense doc/license/IDPL.txt IDPL
|
||||
vlicense doc/license/README.license.usage.txt LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
libfbclient3-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
replaces="ilibfbclient-devel>=0"
|
||||
depends="libfbclient3>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/firebird/bin/fb_config
|
||||
vmkdir usr/bin
|
||||
ln -s ../lib/firebird/bin/fb_config ${PKGDESTDIR}/usr/bin/fb_config
|
||||
vmove usr/include/firebird
|
||||
vmove usr/lib/libfbclient.so
|
||||
}
|
||||
}
|
1
srcpkgs/libfbclient3
Symbolic link
1
srcpkgs/libfbclient3
Symbolic link
|
@ -0,0 +1 @@
|
|||
firebird3
|
1
srcpkgs/libfbclient3-devel
Symbolic link
1
srcpkgs/libfbclient3-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
firebird3
|
Loading…
Reference in a new issue