From c3d983f3af509655951bb659e360c69ba9bf7188 Mon Sep 17 00:00:00 2001 From: ponce Date: Thu, 21 May 2015 13:30:58 +0200 Subject: Make the phar symlink relative or we got a symlink pointing to the build files thanks also to remicollet --- ext/phar/Makefile.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/phar/Makefile.frag b/ext/phar/Makefile.frag index 6516ddfabd..b8b1b42d43 100644 --- a/ext/phar/Makefile.frag +++ b/ext/phar/Makefile.frag @@ -39,7 +39,7 @@ install-pharcmd: pharcmd -@$(mkinstalldirs) $(INSTALL_ROOT)$(bindir) $(INSTALL) $(builddir)/phar.phar $(INSTALL_ROOT)$(bindir) -@rm -f $(INSTALL_ROOT)$(bindir)/phar - $(LN_S) -f $(INSTALL_ROOT)$(bindir)/phar.phar $(INSTALL_ROOT)$(bindir)/phar + $(LN_S) -f phar.phar $(INSTALL_ROOT)$(bindir)/phar @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man1 @$(INSTALL_DATA) $(builddir)/phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.1 @$(INSTALL_DATA) $(builddir)/phar.phar.1 $(INSTALL_ROOT)$(mandir)/man1/phar.phar.1 -- cgit v1.2.1 From a7de68f98ac563b57156c31c3b89653444af68ef Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 21 May 2015 14:05:15 +0200 Subject: Fixed bug #69680 (phar symlink in binary directory broken). Relative symlink are better, as relative to link directory. --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 183e78214e..2cae7404e9 100644 --- a/NEWS +++ b/NEWS @@ -16,6 +16,10 @@ PHP NEWS - MCrypt: . Added file descriptor caching to mcrypt_create_iv() (Leigh) +- Phar: + . Fixed bug #69680 (phar symlink in binary directory broken). + (Matteo Bernardini, Remi) + - Postgres: . Fixed bug #69667 (segfault in php_pgsql_meta_data). (Remi) -- cgit v1.2.1