aboutsummaryrefslogtreecommitdiff
path: root/development/xdebug
diff options
context:
space:
mode:
authorFabio Bas <fabio.bas@officineinformatiche.net>2021-05-18 12:40:56 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-18 23:42:07 +0700
commit87b2aeeba3cfa5350cda7461cd2c1bc75d864d97 (patch)
treed2031f972eaa8165d84330177391f7c2719e5e16 /development/xdebug
parent740d182eff859b31ec4e4215593953a4f8029889 (diff)
development/xdebug: Updated for version 3.0.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/xdebug')
-rw-r--r--development/xdebug/xdebug.SlackBuild24
-rw-r--r--development/xdebug/xdebug.info6
-rw-r--r--development/xdebug/xdebug.ini45
3 files changed, 6 insertions, 69 deletions
diff --git a/development/xdebug/xdebug.SlackBuild b/development/xdebug/xdebug.SlackBuild
index 83f7ebabb8a24..d8e1c580cd466 100644
--- a/development/xdebug/xdebug.SlackBuild
+++ b/development/xdebug/xdebug.SlackBuild
@@ -23,7 +23,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xdebug
-VERSION=${VERSION:-2.5.5}
+VERSION=${VERSION:-3.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -97,26 +97,10 @@ mkdir -p $EXTENSION_DIR
# Install xdebug
make install DESTDIR=$PKG EXTENSION_DIR=$EXTENSION_DIR
-# Build and install debugclient
-cd debugclient
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS" \
- ./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION/debugclient \
- --build=$ARCH-slackware-linux \
- --with-libedit
- make
- make install DESTDIR=$PKG
-cd ..
-
mkdir -p $PKG/etc/php.d
install -m 644 $CWD/xdebug.ini $PKG/etc/php.d/xdebug.ini.new
sed -i "s/LIBDIR/lib$LIBDIRSUFFIX/g" $PKG/etc/php.d/xdebug.ini.new
+sed -e "1,2d" xdebug.ini >> $PKG/etc/php.d/xdebug.ini.new
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml
install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/xdebug.xml
@@ -124,11 +108,9 @@ install -m 644 $TMP/package.xml $PKG/usr/lib$LIBDIRSUFFIX/php/.pkgxml/xdebug.xml
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/debugclient
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CREDITS LICENSE README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp -a debugclient/INSTALL debugclient/LICENSE \
- $PKG/usr/doc/$PRGNAM-$VERSION/debugclient
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/xdebug/xdebug.info b/development/xdebug/xdebug.info
index 93dd3f219e98b..e82e596b97b62 100644
--- a/development/xdebug/xdebug.info
+++ b/development/xdebug/xdebug.info
@@ -1,8 +1,8 @@
PRGNAM="xdebug"
-VERSION="2.5.5"
+VERSION="3.0.4"
HOMEPAGE="http://xdebug.org"
-DOWNLOAD="http://xdebug.org/files/xdebug-2.5.5.tgz"
-MD5SUM="81bca42ea6a1f7080f501b00d8122a01"
+DOWNLOAD="https://xdebug.org/files/xdebug-3.0.4.tgz"
+MD5SUM="1ba9e5894b30471bcb64f91a50c79c25"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/development/xdebug/xdebug.ini b/development/xdebug/xdebug.ini
index 0ec0bd6512ae4..0b6e3310f0556 100644
--- a/development/xdebug/xdebug.ini
+++ b/development/xdebug/xdebug.ini
@@ -1,47 +1,2 @@
; Enable xdebug extension module
;zend_extension="/usr/LIBDIR/php/extensions/xdebug.so"
-
-; This config file collects examples for the most commonly used
-; configuration options of xdebug. For a list of all possible
-; options take a look at http://xdebug.org/docs/all_settings
-
-; Enable xdebug
-;xdebug.default_enable=On
-
-; Enable "fancy" output and also a bit of performance drawback.
-; DISABLE on serious profiling
-;xdebug.extended_info=Off
-
-; Enable the remote client
-;xdebug.remote_enable=Off
-
-; Connect to debugclient only on error
-;xdebug.remote_mode="jit"
-
-; Enable the profiler
-;xdebug.profiler_enable=On
-
-; Enable the GET/POST trigger for the Profiler
-;xdebug.profiler_enable_trigger=On
-
-; Define directory for storing profiler output
-;xdebug.profiler_output_dir="/var/log/xdebug"
-
-; Filename of generated profiler files
-;xdebug.profiler_output_name="cachegrind.out.%R"
-
-; collect full variable content for function parameters
-;xdebug.collect_params="3"
-
-; collect return values of functions
-;xdebug.collect_return=On
-
-; Define directory for storing trace output
-;xdebug.trace_output_dir="/var/log/xdebug"
-
-; Filename of generated trace files
-;xdebug.trace_output_name="trace.%R"
-
-; show memory usage differences between function calls
-;xdebug.show_mem_delta=On
-