mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-15 18:52:31 +03:00
Added PostgreSQL 9.0 shared object for Linux 64-bit
This commit is contained in:
parent
d3b44a5f58
commit
1698630bc0
|
@ -1,5 +1,10 @@
|
||||||
LIBDIR=/tmp
|
LIBDIR=/tmp
|
||||||
|
|
||||||
|
9.0:
|
||||||
|
gcc -Wall -I/usr/include/postgresql/9.0/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
||||||
|
strip -sx lib_postgresqludf_sys.so
|
||||||
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
||||||
|
|
||||||
8.4:
|
8.4:
|
||||||
gcc-4.3 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
gcc-4.3 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -o lib_postgresqludf_sys.so
|
||||||
strip -sx lib_postgresqludf_sys.so
|
strip -sx lib_postgresqludf_sys.so
|
||||||
|
|
|
@ -3,23 +3,25 @@
|
||||||
# Copyright (C) 2009-2010 Bernardo Damele A. G.
|
# Copyright (C) 2009-2010 Bernardo Damele A. G.
|
||||||
# web: http://bernardodamele.blogspot.com/
|
# web: http://bernardodamele.blogspot.com/
|
||||||
# email: bernardo.damele@gmail.com
|
# email: bernardo.damele@gmail.com
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2.1 of the License, or (at your option) any later version.
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This library is distributed in the hope that it will be useful,
|
# This library is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# Lesser General Public License for more details.
|
# Lesser General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
# Adapt the following settings to your environment
|
# Adapt the following settings to your environment
|
||||||
USER="postgres"
|
USER="postgres"
|
||||||
|
#PORT="5435"
|
||||||
|
#VERSION="9.0"
|
||||||
PORT="5434"
|
PORT="5434"
|
||||||
VERSION="8.4"
|
VERSION="8.4"
|
||||||
#PORT="5433"
|
#PORT="5433"
|
||||||
|
@ -40,6 +42,8 @@ if test $? -ne 0; then
|
||||||
echo "apt-get install postgresql-server-dev-8.3"
|
echo "apt-get install postgresql-server-dev-8.3"
|
||||||
elif test "${VERSION}" == "8.4"; then
|
elif test "${VERSION}" == "8.4"; then
|
||||||
echo "apt-get install postgresql-server-dev-8.4"
|
echo "apt-get install postgresql-server-dev-8.4"
|
||||||
|
elif test "${VERSION}" == "9.0"; then
|
||||||
|
echo "apt-get install postgresql-server-dev-9.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
LIBDIR=/tmp
|
LIBDIR=/tmp
|
||||||
|
|
||||||
|
9.0:
|
||||||
|
gcc -Wall -I/usr/include/postgresql/9.0/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
||||||
|
strip -sx lib_postgresqludf_sys.so
|
||||||
|
cp -f lib_postgresqludf_sys.so $(LIBDIR)/lib_postgresqludf_sys.so
|
||||||
|
|
||||||
8.4:
|
8.4:
|
||||||
gcc-4.2 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
gcc-4.2 -Wall -I/usr/include/postgresql/8.4/server -Os -shared lib_postgresqludf_sys.c -fPIC -o lib_postgresqludf_sys.so
|
||||||
strip -sx lib_postgresqludf_sys.so
|
strip -sx lib_postgresqludf_sys.so
|
||||||
|
|
|
@ -3,23 +3,25 @@
|
||||||
# Copyright (C) 2009-2010 Bernardo Damele A. G.
|
# Copyright (C) 2009-2010 Bernardo Damele A. G.
|
||||||
# web: http://bernardodamele.blogspot.com/
|
# web: http://bernardodamele.blogspot.com/
|
||||||
# email: bernardo.damele@gmail.com
|
# email: bernardo.damele@gmail.com
|
||||||
#
|
#
|
||||||
# This library is free software; you can redistribute it and/or
|
# This library is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU Lesser General Public
|
# modify it under the terms of the GNU Lesser General Public
|
||||||
# License as published by the Free Software Foundation; either
|
# License as published by the Free Software Foundation; either
|
||||||
# version 2.1 of the License, or (at your option) any later version.
|
# version 2.1 of the License, or (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This library is distributed in the hope that it will be useful,
|
# This library is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# Lesser General Public License for more details.
|
# Lesser General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU Lesser General Public
|
# You should have received a copy of the GNU Lesser General Public
|
||||||
# License along with this library; if not, write to the Free Software
|
# License along with this library; if not, write to the Free Software
|
||||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
# Adapt the following settings to your environment
|
# Adapt the following settings to your environment
|
||||||
USER="postgres"
|
USER="postgres"
|
||||||
|
#PORT="5435"
|
||||||
|
#VERSION="9.0"
|
||||||
PORT="5434"
|
PORT="5434"
|
||||||
VERSION="8.4"
|
VERSION="8.4"
|
||||||
#PORT="5433"
|
#PORT="5433"
|
||||||
|
@ -40,6 +42,8 @@ if test $? -ne 0; then
|
||||||
echo "apt-get install postgresql-server-dev-8.3"
|
echo "apt-get install postgresql-server-dev-8.3"
|
||||||
elif test "${VERSION}" == "8.4"; then
|
elif test "${VERSION}" == "8.4"; then
|
||||||
echo "apt-get install postgresql-server-dev-8.4"
|
echo "apt-get install postgresql-server-dev-8.4"
|
||||||
|
elif test "${VERSION}" == "9.0"; then
|
||||||
|
echo "apt-get install postgresql-server-dev-9.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
BIN
udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so
Executable file
BIN
udf/postgresql/linux/64/9.0/lib_postgresqludf_sys.so
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user