Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
65e80461
Commit
65e80461
authored
Feb 17, 2005
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/space/my/mysql-4.1 into mysql.com:/space/my/mysql-5.0
parents
817bf33d
61049dcb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
2 deletions
+93
-2
Build-tools/Do-hpux-depot
Build-tools/Do-hpux-depot
+85
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+8
-2
No files found.
Build-tools/Do-hpux-depot
0 → 100755
View file @
65e80461
#!/usr/bin/perl
#
# By Matt Wagner <matt@mysql.com> 2005
#
# This script generates HP Depot packages for MySQL Server.
# It basically repackages a binary tarball as a depot.
#
# Usage: ./Do-hpux-depot <untarred-binary-tarball>
#
$fullname
=
shift
@ARGV
;
$fullname
or
die
"
No package name was specified
";
-
d
$fullname
or
die
"
That directory is not present!
";
$fullname
=~
s,/+$,,
;
# Remove ending slash if any
chomp
(
$pwd
=
`
pwd
`);
%
title
=
(
"
mysql-standard
"
=>
"
MySQL Community Edition - Standard (GPL)
",
"
mysql-debug
"
=>
"
MySQL Community Edition - Debug (GPL)
",
"
mysql-max
"
=>
"
MySQL Community Edition - Experimental (GPL)
",
"
mysql-pro
"
=>
"
MySQL Pro (Commercial)
",
"
mysql-classic
"
=>
"
MySQL Classic (Commercial)
",
"
mysql-cluster
"
=>
"
MySQL Cluster (Commercial)
",
);
%
architecture
=
(
"
hpux11.23
"
=>
"
HP-UX_B.11.23
",
"
hpux11.11
"
=>
"
HP-UX_B.11.11
",
"
hpux11.00
"
=>
"
HP-UX_B.11.00
",
);
%
os_release
=
(
"
hpux11.23
"
=>
"
?.11.2?
",
"
hpux11.11
"
=>
"
?.11.1?
",
"
hpux11.00
"
=>
"
?.11.0?
",
);
%
machine_type
=
(
"
ia64
"
=>
"
ia64*
",
"
hppa2.0w
"
=>
"
9000/*
",
);
$fullname
=~
m/^(mysql-\w+)-([\d\.]+)-hp-(hpux11\.\d\d)-(hppa2\.0w|(ia64))-?(64bit)?$/
;
# print "title: $1\n";
# print "version: $2\n";
# print "os: $3\n";
# print "cpu: $4\n";
# print "64: $6\n";
$cpu64
=
(
$6
ne
"")
?
"
_64
"
:
"";
open
(
PSF
,"
>
${fullname}
.psf
")
or
die
"
Unable to write PSF file ($!)
\n
";
print
PSF
<<EOF;
product
tag $1
vendor_tag "MySQL_AB"
title "$title{$1}"
description "MySQL Database Server and Clients"
revision $2
architecture $architecture{$3}$cpu64
machine_type $machine_type{$4}
os_name HP-UX
os_release $os_release{$3}
directory /usr/local
fileset
tag all
revision $2
directory $fullname=/usr/local/$fullname
file_permissions -u 222 -g bin -o bin
file *
end
end
EOF
close
(
PSF
);
system
("
/usr/sbin/swpackage -v -d
\"
|gzip -c >
$fullname
.depot.gz
\"
-x target_type=tape -s
${pwd}
/
${fullname}
.psf
");
support-files/mysql.spec.sh
View file @
65e80461
...
@@ -277,7 +277,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -277,7 +277,6 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--includedir=%{_includedir}
\
--includedir=%{_includedir}
\
--mandir=%{_mandir}
\
--mandir=%{_mandir}
\
--enable-thread-safe-client
\
--enable-thread-safe-client
\
--with-comment=
\"
Official MySQL RPM
\"
\
--with-readline ;
--with-readline ;
# Add this for more debugging support
# Add this for more debugging support
# --with-debug
# --with-debug
...
@@ -335,6 +334,7 @@ BuildMySQL "--enable-shared \
...
@@ -335,6 +334,7 @@ BuildMySQL "--enable-shared \
--with-example-storage-engine
\
--with-example-storage-engine
\
--with-federated-storage-engine
\
--with-federated-storage-engine
\
--with-embedded-server
\
--with-embedded-server
\
--with-comment=
\"
MySQL Community Edition - Max (GPL)
\"
\
--with-server-suffix='-Max'"
--with-server-suffix='-Max'"
# Save everything for debug
# Save everything for debug
...
@@ -381,6 +381,7 @@ BuildMySQL "--disable-shared \
...
@@ -381,6 +381,7 @@ BuildMySQL "--disable-shared \
--with-client-ldflags='-all-static'
\
--with-client-ldflags='-all-static'
\
$USE_OTHER_LIBC_DIR
\
$USE_OTHER_LIBC_DIR
\
%endif
%endif
--with-comment=
\"
MySQL Community Edition - Standard (GPL)
\"
\
--with-server-suffix='%{server_suffix}'
\
--with-server-suffix='%{server_suffix}'
\
--without-embedded-server
\
--without-embedded-server
\
--without-berkeley-db
\
--without-berkeley-db
\
...
@@ -689,7 +690,12 @@ fi
...
@@ -689,7 +690,12 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Monday Feb 7 2005 Tomas Ulin <tomas@mysql.com>
*
Mon Feb 14 2005 Tomas Ulin <tomas@mysql.com>
*
Fixed the compilation comments and moved them into the separate build sections
for
Max and Standard
*
Mon Feb 7 2005 Tomas Ulin <tomas@mysql.com>
- enabled the
"Ndbcluster"
storage engine
for
the max binary
- enabled the
"Ndbcluster"
storage engine
for
the max binary
- added extra make
install
in
ndb subdir after Max build to get ndb binaries
- added extra make
install
in
ndb subdir after Max build to get ndb binaries
...
...
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