Marcus Boerger
332d83555c
- Make phar.phar building work for virtualized builds
2008-06-04 16:38:13 +00:00
Marcus Boerger
ad8eb0f672
- Make sure we are not trying to pack directories
2008-06-04 14:36:33 +00:00
Marcus Boerger
376ca12a21
- Update
2008-06-04 09:47:41 +00:00
Marcus Boerger
e8609b5199
- Use -n only for current built PHP
2008-06-04 09:47:17 +00:00
Marcus Boerger
350824478b
- Improve pear usage and PHP_Archive detection
2008-06-04 09:46:34 +00:00
Antony Dovgal
2ac1ba6254
fix tests
2008-06-04 07:38:10 +00:00
Marcus Boerger
c317ce0d67
- Prefer current CLI target to build phar.phar
...
- Use php -n
- Use shared phar, bz2, zlib automatically
2008-06-03 20:18:58 +00:00
Marcus Boerger
4e61f63d3f
- Remove checked-in or older version of phar.phar as we might not be able to open it
2008-06-02 15:50:42 +00:00
Marcus Boerger
159561e9da
- Need to use a proper inheritance check
2008-06-02 15:49:03 +00:00
Marcus Boerger
c60365e9b3
- Fix issue with -y parameter hanlding (fix typo)
2008-06-02 13:39:54 +00:00
Marcus Boerger
4f74e50c1b
- Fix issue with -y parameter hanlding
2008-06-02 13:33:45 +00:00
Marcus Boerger
cb0af1eeb8
- Fix issue with -y parameter hanlding
2008-06-02 13:24:15 +00:00
Marcus Boerger
678a38e9ba
- Make work with new API
2008-06-01 17:16:40 +00:00
Marcus Boerger
147eed53e2
- Fix signature handling (and remaining API change fixes)
2008-06-01 17:16:04 +00:00
Marcus Boerger
aaf6b216ed
- Fix docu
2008-06-01 17:14:48 +00:00
Marcus Boerger
c05c40cea4
- Add Openssl support
2008-06-01 07:39:06 +00:00
Greg Beaver
5fbeb235d2
add openssl signing support. This adds an extra parameter
...
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar. This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]
2008-06-01 04:21:26 +00:00
Marcus Boerger
4c2e05a6e7
- MFH Simplify
2008-05-31 20:30:27 +00:00
Marcus Boerger
28dd1f5f5e
- MFH Add 'help commands' support
2008-05-31 20:24:34 +00:00
Marcus Boerger
631484e2c7
- Add phar command as installable command
2008-05-31 20:02:57 +00:00
Marcus Boerger
aa4e898fe5
- Add version comand
2008-05-31 18:40:05 +00:00
Marcus Boerger
1debfd2a15
- Add version comand
2008-05-31 16:40:55 +00:00
Marcus Boerger
8010892bf0
- MFH Fix function names after they have been refactored
2008-05-31 15:53:16 +00:00
Greg Beaver
83e491b2c3
fix corrupted zips, fix postprocess for compressed zip file
2008-05-30 22:49:33 +00:00
Greg Beaver
8b600a72dc
refactor function names for clarity. No functionality change
2008-05-30 22:38:46 +00:00
Greg Beaver
4cc79b39b4
fix PECL bug #13981 : Third-party zips fail entry interrogation
2008-05-29 17:34:50 +00:00
Stanislav Malyshev
370aafc62b
Fix code path in phar_open_compiled_file() that tries
...
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.
2008-05-28 21:42:21 +00:00
Steph Fox
51967b91d5
"We shouldn't need a full path to the mount"
...
- Fixed under Windows, cleaned up test
2008-05-24 13:13:47 +00:00
Greg Beaver
4b035dae5f
major fixes
...
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
* fixed serious flaws in the setting/resetting of is_data - now it works properly. Assume
all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
* fix broken earlier commit, introduced segfault that broke 20 tests here
2008-05-22 06:33:09 +00:00
Felipe Pena
e1bfc452d3
- Fix build (ZTS)
2008-05-21 22:52:30 +00:00
Greg Beaver
1f661c81c4
fix offset detection in tar files
2008-05-21 22:00:43 +00:00
Greg Beaver
79ae1c7273
fix convertTo\*() for same-named archives with no files
2008-05-21 20:24:40 +00:00
Greg Beaver
07d6758c86
relax conversion, so that if a phar has no files, we can convert it to another format without changing the extension
2008-05-20 03:56:35 +00:00
Greg Beaver
0800b3b159
fix memleak, add test for previous segfault fix
2008-05-18 23:41:08 +00:00
Greg Beaver
b149e8c0fa
fix segfault, test coming shortly
2008-05-18 23:11:24 +00:00
Steph Fox
53fd21de33
- Keep 5_3 stub and creation files in sync with what I have in CVS HEAD
...
(MFB will likely be tomorrow now)
2008-05-18 20:52:34 +00:00
Greg Beaver
4aa4f1fabb
enable by default statically instead of shared
...
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup
2008-05-17 20:07:22 +00:00
Greg Beaver
d35f27b896
fix test (again)
2008-05-17 20:04:06 +00:00
Greg Beaver
57b3bba46e
cosmetics
2008-05-16 00:11:42 +00:00
Greg Beaver
a5ec4d5f2b
as discussed on internals, enable phar by default for testing purposes.
...
Phar is enabled as a shared extension by default in order to allow zlib/bz2 to be built shared. If phar is statically built,
both zlib and bz2 must be statically built in order for phar to use them, so default compile as shared is much more flexible
2008-05-16 00:01:56 +00:00
Greg Beaver
719beb79d4
add full metadata support for tar-based archives and test
2008-05-15 23:46:29 +00:00
Greg Beaver
de5aaaa74c
fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
...
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1. Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output
2008-05-15 16:09:01 +00:00
Greg Beaver
8cc335a0da
make test OS-agnostic
2008-05-15 14:01:30 +00:00
Steph Fox
93183728d2
- Fix test, add a couple of new ones
...
@Greg: it seems we covered it already ;)
2008-05-15 12:37:45 +00:00
Steph Fox
6a0682d986
- MFH
...
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.
2008-05-14 21:29:51 +00:00
Felipe Pena
6552d91743
- Fixed tests (added default_charset=)
2008-05-13 19:17:17 +00:00
Greg Beaver
9b5b694c92
fix test
2008-05-13 18:06:55 +00:00
Felipe Pena
613f2d2afc
- Added SKIPIF
2008-05-13 14:49:06 +00:00
Steph Fox
4d169ebcfc
- Allow broken.dirnames to use phar too
...
- Add test
- Kill MSVC compiler warning
2008-05-13 14:11:24 +00:00
SVN Migration
16b4d8e0e1
This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.
2008-05-12 21:03:49 +00:00