diff options
| author | jvoisin | 2017-10-13 15:40:58 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-13 15:40:58 +0200 |
| commit | a081d0ddea4103c1772378870a005267a7bce332 (patch) | |
| tree | dca68b1e66899239a7528a06e64cab70b9a7620a | |
| parent | 5969073a80b18b2c21e7c2b1c2c3cdedff618b21 (diff) | |
Improve the doc wrt. the Debian package
- Fix two minor warnings
- Improve the documentation
| -rw-r--r-- | debian/source/format | 1 | ||||
| -rw-r--r-- | doc/source/download.rst | 11 | ||||
| -rw-r--r-- | doc/source/installation.rst | 2 | ||||
| -rw-r--r-- | src/sp_disabled_functions.h | 4 | ||||
| -rw-r--r-- | src/sp_utils.h | 4 |
5 files changed, 12 insertions, 10 deletions
diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..9f8e9b6 --- /dev/null +++ b/debian/source/format | |||
| @@ -0,0 +1 @@ | |||
| 1.0 \ No newline at end of file | |||
diff --git a/doc/source/download.rst b/doc/source/download.rst index f9132ac..fa60a99 100644 --- a/doc/source/download.rst +++ b/doc/source/download.rst | |||
| @@ -1,17 +1,18 @@ | |||
| 1 | Download | 1 | Download |
| 2 | ======== | 2 | ======== |
| 3 | 3 | ||
| 4 | Debian | 4 | Debian and Ubuntu |
| 5 | ------ | 5 | ----------------- |
| 6 | 6 | ||
| 7 | 7 | We're currently not providing Debian or Ubuntu packages, | |
| 8 | Ubuntu | 8 | but you can build your own by cloning the source code and typing ``make debian``. |
| 9 | ------ | ||
| 10 | 9 | ||
| 11 | 10 | ||
| 12 | Source code | 11 | Source code |
| 13 | ----------- | 12 | ----------- |
| 14 | 13 | ||
| 14 | We're currently using *github* as public code repository. | ||
| 15 | |||
| 15 | :: | 16 | :: |
| 16 | 17 | ||
| 17 | git clone https://github.com/nbs-system/snuffleupagus | 18 | git clone https://github.com/nbs-system/snuffleupagus |
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index c7fe55b..7f8c8c8 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | Installation | 1 | Installation |
| 2 | ============ | 2 | ============ |
| 3 | 3 | ||
| 4 | Snuffleupagus is tested against various PHP 7+ versions: XXX | 4 | Snuffleupagus is tested against `various PHP 7+ versions <https://travis-ci.org/nbs-system/snuffleupagus/>`_. |
| 5 | 5 | ||
| 6 | Manual installation | 6 | Manual installation |
| 7 | ------------------- | 7 | ------------------- |
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 680eabb..260d430 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | #ifndef __SP_DISABLE_FUNCTIONS_H | 1 | #ifndef __SP_DISABLE_FUNCTIONS_H |
| 2 | #define __SP_DISABLE_FUNCTIONS_H | 2 | #define __SP_DISABLE_FUNCTIONS_H |
| 3 | 3 | ||
| 4 | #include "ext/hash/php_hash.h" | ||
| 5 | #include "ext/hash/php_hash_sha.h" | ||
| 6 | #include "ext/standard/md5.h" | ||
| 7 | |||
| 8 | int hook_disabled_functions(); | 4 | int hook_disabled_functions(); |
| 9 | bool should_disable(zend_execute_data* function_name); | 5 | bool should_disable(zend_execute_data* function_name); |
| 10 | 6 | ||
diff --git a/src/sp_utils.h b/src/sp_utils.h index 61a4c53..751b0b1 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | #ifndef SP_UTILS_H | 1 | #ifndef SP_UTILS_H |
| 2 | #define SP_UTILS_H | 2 | #define SP_UTILS_H |
| 3 | 3 | ||
| 4 | #include "ext/hash/php_hash.h" | ||
| 5 | #include "ext/hash/php_hash_sha.h" | ||
| 6 | #include "ext/standard/md5.h" | ||
| 7 | |||
| 4 | #include "sp_config.h" | 8 | #include "sp_config.h" |
| 5 | #include "sp_list.h" | 9 | #include "sp_list.h" |
| 6 | 10 | ||
