[packages/stikked] Up to 0.14.0
arekm
arekm at pld-linux.org
Fri Nov 27 21:50:50 CET 2026
commit 5a8966cefb65e5775be33db1b2a92711fb4dd29f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:37:23 2026 +0100
Up to 0.14.0
config.patch | 32 +++++++++++++++++---------------
stikked.spec | 6 +++---
system-geshi.patch | 5 +++--
system-phpqrcode.patch | 41 +++++++++++++++++++++++++++++++++++++++--
4 files changed, 62 insertions(+), 22 deletions(-)
---
diff --git a/stikked.spec b/stikked.spec
index 0c8bae4..bea6e5a 100644
--- a/stikked.spec
+++ b/stikked.spec
@@ -10,12 +10,12 @@
%define php_min_version 5.2.4
Summary: Stikked is an Open-Source PHP Pastebin
Name: stikked
-Version: 0.11.0
-Release: 2
+Version: 0.14.0
+Release: 1
License: CC0
Group: Applications/WWW
Source0: https://github.com/claudehohl/Stikked/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: fecd7a4d70633e43fde728bfd6226066
+# Source0-md5: 6159caf48295dc19c77edb9e178d2c05
Source1: apache.conf
Source2: lighttpd.conf
Patch0: config.patch
diff --git a/config.patch b/config.patch
index 2149366..222d7ca 100644
--- a/config.patch
+++ b/config.patch
@@ -1,9 +1,10 @@
---- Stikked-0.10.0/config/stikked.php~ 2015-09-30 15:25:59.000000000 +0300
-+++ Stikked-0.10.0/config/stikked.php 2016-08-16 13:07:37.524958709 +0300
-@@ -15,10 +15,10 @@
+diff --git a/config/stikked.php b/config/stikked.php
+--- a/config/stikked.php
++++ b/config/stikked.php
+@@ -25,10 +25,10 @@ $config['base_url'] = 'https://yourpastebin.com/';
* The database structure will be created automatically
*
- */
+ */
-$config['db_hostname'] = '127.0.0.1';
+$config['db_hostname'] = 'localhost';
$config['db_database'] = 'stikked';
@@ -14,22 +15,23 @@
// If you are using sqlite:
// uncomment the configuration lines below.
---- Stikked-0.10.0/htdocs/index.php~ 2016-08-16 13:07:05.000000000 +0300
-+++ Stikked-0.10.0/htdocs/index.php 2016-08-16 13:09:35.977792314 +0300
+diff --git a/htdocs/index.php b/htdocs/index.php
+--- a/htdocs/index.php
++++ b/htdocs/index.php
@@ -53,7 +53,7 @@
*
* NOTE: If you change these, also change the error_reporting() code below
*/
-- define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
-+ define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');
+-define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');
++define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');
/*
*---------------------------------------------------------------
-@@ -72,7 +72,6 @@
+@@ -71,7 +71,6 @@ switch (ENVIRONMENT) {
- case 'testing':
- case 'production':
-- ini_set('display_errors', 0);
- if (version_compare(PHP_VERSION, '5.3', '>='))
- {
- error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
+ case 'testing':
+ case 'production':
+- ini_set('display_errors', 0);
+ if (version_compare(PHP_VERSION, '5.3', '>=')) {
+ error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED);
+ } else {
diff --git a/system-geshi.patch b/system-geshi.patch
index 8d57d93..6c3875f 100644
--- a/system-geshi.patch
+++ b/system-geshi.patch
@@ -1,5 +1,6 @@
---- Stikked-0.10.0/./htdocs/application/libraries/Process.php~ 2016-08-16 13:10:05.000000000 +0300
-+++ Stikked-0.10.0/./htdocs/application/libraries/Process.php 2016-08-16 13:10:32.597406734 +0300
+diff --git a/htdocs/application/libraries/Process.php b/htdocs/application/libraries/Process.php
+--- a/htdocs/application/libraries/Process.php
++++ b/htdocs/application/libraries/Process.php
@@ -9,7 +9,7 @@
*
*/
diff --git a/system-phpqrcode.patch b/system-phpqrcode.patch
index 186b65d..9a3c3f9 100644
--- a/system-phpqrcode.patch
+++ b/system-phpqrcode.patch
@@ -1,5 +1,42 @@
---- Stikked-0.10.0/./htdocs/themes/default/views/view/qr.php~ 2016-08-16 13:10:51.000000000 +0300
-+++ Stikked-0.10.0/./htdocs/themes/default/views/view/qr.php 2016-08-16 13:11:10.406041808 +0300
+diff --git a/htdocs/themes/bootstrap/views/view/qr.php b/htdocs/themes/bootstrap/views/view/qr.php
+--- a/htdocs/themes/bootstrap/views/view/qr.php
++++ b/htdocs/themes/bootstrap/views/view/qr.php
+@@ -4,7 +4,7 @@
+ * Function list:
+ * Classes list:
+ */
+-require_once (APPPATH.'/libraries/phpqrcode/qrlib.php');
++require_once '/usr/share/php/phpqrcode/phpqrcode.php';
+ $qrurl = $url;
+
+ if ($snipurl != false)
+diff --git a/htdocs/themes/default/views/view/qr.php b/htdocs/themes/default/views/view/qr.php
+--- a/htdocs/themes/default/views/view/qr.php
++++ b/htdocs/themes/default/views/view/qr.php
+@@ -4,7 +4,7 @@
+ * Function list:
+ * Classes list:
+ */
+-require_once (APPPATH.'/libraries/phpqrcode/qrlib.php');
++require_once '/usr/share/php/phpqrcode/phpqrcode.php';
+ $qrurl = $url;
+
+ if ($snipurl != false)
+diff --git a/htdocs/themes/i386/views/view/qr.php b/htdocs/themes/i386/views/view/qr.php
+--- a/htdocs/themes/i386/views/view/qr.php
++++ b/htdocs/themes/i386/views/view/qr.php
+@@ -4,7 +4,7 @@
+ * Function list:
+ * Classes list:
+ */
+-require_once (APPPATH.'/libraries/phpqrcode/qrlib.php');
++require_once '/usr/share/php/phpqrcode/phpqrcode.php';
+ $qrurl = $url;
+
+ if ($snipurl != false)
+diff --git a/htdocs/themes/stikkedizr/views/view/qr.php b/htdocs/themes/stikkedizr/views/view/qr.php
+--- a/htdocs/themes/stikkedizr/views/view/qr.php
++++ b/htdocs/themes/stikkedizr/views/view/qr.php
@@ -4,7 +4,7 @@
* Function list:
* Classes list:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/stikked.git/commitdiff/5a8966cefb65e5775be33db1b2a92711fb4dd29f
More information about the pld-cvs-commit
mailing list