Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
21443b33
Commit
21443b33
authored
May 23, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: update msqsql server install for new distros
parent
9269e001
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
mssql-server.sh
play.d/mssql-server.sh
+12
-7
mssql-tools.sh
play.d/mssql-tools.sh
+1
-6
mssql-server.sh
repack.d/mssql-server.sh
+4
-3
No files found.
play.d/mssql-server.sh
View file @
21443b33
...
@@ -5,8 +5,6 @@ SUPPORTEDARCHES="x86_64"
...
@@ -5,8 +5,6 @@ SUPPORTEDARCHES="x86_64"
DESCRIPTION
=
"MS SQL Server 2019 from the official site"
DESCRIPTION
=
"MS SQL Server 2019 from the official site"
URL
=
"https://packages.microsoft.com/"
URL
=
"https://packages.microsoft.com/"
DEBREPO
=
"deb http://ftp.ru.debian.org/debian/ stretch main"
if
[
"
$1
"
=
"--remove"
]
;
then
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
epm remove
$PKGNAME
echo
echo
...
@@ -22,19 +20,26 @@ serv mssql-server stop
...
@@ -22,19 +20,26 @@ serv mssql-server stop
dname
=
"
$(
epm print info
-s
)
"
dname
=
"
$(
epm print info
-s
)
"
dversion
=
"
$(
epm print info
-v
)
"
dversion
=
"
$(
epm print info
-v
)
"
case
"
$(
epm print info
-d
)
"
in
case
"
$(
epm print info
-e
)
"
in
AstraLinux
*
)
AstraLinuxSE/1.7
)
DEBREPO
=
"deb http://ftp.ru.debian.org/debian/ stretch main"
# we have libc++1-9, but this package requires libc++1
# we have libc++1-9, but this package requires libc++1
epm ar
$DEBREPO
;
epm update
epm ar
$DEBREPO
;
epm update
epm
install
libc++1
epm
install
libc++1
epm
install
https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
epm
install
https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
epm rr
$DEBREPO
;
epm update
epm rr
$DEBREPO
;
epm update
;;
;;
ALTLinux
)
AstraLinuxSE/1.8
)
epm
install
https://packages.microsoft.com/debian/12/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
;;
ALTLinux/p10|ALTLinux/c10f2
)
epm
install
--repack
https://packages.microsoft.com/rhel/8/mssql-server-2019/Packages/m/mssql-server-[0-9]
*
.x86_64.rpm
||
fatal
epm
install
--repack
https://packages.microsoft.com/rhel/8/mssql-server-2019/Packages/m/mssql-server-[0-9]
*
.x86_64.rpm
||
fatal
;;
;;
Debian|Ubuntu
)
ALTLinux
*
)
epm
install
https://packages.microsoft.com/
$dname
/
$dversion
/mssql-server-2019/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
epm
install
--repack
https://packages.microsoft.com/rhel/9/mssql-server-2022/Packages/m/mssql-server-[0-9]
*
.x86_64.rpm
||
fatal
;;
Ubuntu
*
)
epm
install
https://packages.microsoft.com/
$dname
/
$dversion
/mssql-server-2022/pool/main/m/mssql-server/mssql-server_1
*
_amd64.deb
;;
;;
*
)
*
)
fatal
"
$(
epm print info
-d
)
is not supported yet."
fatal
"
$(
epm print info
-d
)
is not supported yet."
...
...
play.d/mssql-tools.sh
View file @
21443b33
#!/bin/sh
#!/bin/sh
PKGNAME
=
mssql-tools
PKGNAME
=
"mssql-tools msodbcsql17"
SUPPORTEDARCHES
=
"x86_64"
SUPPORTEDARCHES
=
"x86_64"
DESCRIPTION
=
"MS SQL Server sqlcmd and bcp from the official site"
DESCRIPTION
=
"MS SQL Server sqlcmd and bcp from the official site"
URL
=
"https://packages.microsoft.com/"
URL
=
"https://packages.microsoft.com/"
if
[
"
$1
"
=
"--remove"
]
;
then
epm remove
$PKGNAME
msodbcsql17
exit
fi
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
dname
=
"
$(
epm print info
-s
)
"
dname
=
"
$(
epm print info
-s
)
"
...
...
repack.d/mssql-server.sh
View file @
21443b33
...
@@ -9,14 +9,13 @@ PREINSTALL_PACKAGES="libnuma libsss_nss_idmap bzip2 cyrus-sasl2 libcom_err libkr
...
@@ -9,14 +9,13 @@ PREINSTALL_PACKAGES="libnuma libsss_nss_idmap bzip2 cyrus-sasl2 libcom_err libkr
.
$(
dirname
$0
)
/common.sh
.
$(
dirname
$0
)
/common.sh
# for ALT only
# we need libssl/libcrypto-devel due libssl.so/libcrypto.so using (ALT bug 35559)
# we need libssl/libcrypto-devel due libssl.so/libcrypto.so using (ALT bug 35559)
add_requires
=
"python3 pbzip2 bzip2 gdb libnuma libkrb5 libsss_nss_idmap cyrus-sasl2 libsasl2-plugin-gssapi procps"
add_requires
python3 pbzip2 bzip2 gdb libnuma libkrb5 libsss_nss_idmap cyrus-sasl2 libsasl2-plugin-gssapi procps
# ALT's su does not support -p last 20 years
# ALT's su does not support -p last 20 years
subst
"s|su -p |su |"
$BUILDROOT
/opt/mssql/lib/mssql-conf/invokesqlservr.sh
subst
"s|su -p |su |"
$BUILDROOT
/opt/mssql/lib/mssql-conf/invokesqlservr.sh
set_autoreq
'yes,nopython,nopython3'
# fix typo
# fix typo
subst
"s|Руѝѝкий|Русский|"
$BUILDROOT
/opt/mssql/lib/mssql-conf/mssqlconfhelper.py
subst
"s|Руѝѝкий|Русский|"
$BUILDROOT
/opt/mssql/lib/mssql-conf/mssqlconfhelper.py
...
@@ -29,3 +28,5 @@ for i in $BUILDROOT/opt/mssql/lib/libunwind-x86_64.so.8 ; do
...
@@ -29,3 +28,5 @@ for i in $BUILDROOT/opt/mssql/lib/libunwind-x86_64.so.8 ; do
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
a
=
patchelf
--set-rpath
'$ORIGIN/'
$i
done
done
fi
fi
add_libs_requires
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment