From 6548b9c2fb1e0808e16fc766dcadc34f4d7dd137 Mon Sep 17 00:00:00 2001 From: halityilmaz1982 Date: Tue, 31 Oct 2017 02:47:22 +0200 Subject: [PATCH 1/3] Bleachbit paketi --- talimatname/genel/b/bleachbit/talimat | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 talimatname/genel/b/bleachbit/talimat diff --git a/talimatname/genel/b/bleachbit/talimat b/talimatname/genel/b/bleachbit/talimat new file mode 100644 index 000000000..adf92e37a --- /dev/null +++ b/talimatname/genel/b/bleachbit/talimat @@ -0,0 +1,23 @@ +# Tanım: Gereksiz dosyaları silerek diskte yer açar. +# URL: https://www.bleachbit.org/ +# Paketçi: halityilmaz1982 +# Gerekler: python-gtk desktop-file-utils gtk-update-icon-cache hicolor-icon-theme + +isim=bleachbit +surum=1.12 +devir=1 + +kaynak=(https://downloads.sourceforge.net/$isim/$isim-$surum.tar.bz2) + +derle() { +cd $isim-$surum + +for file in $(find . -name '*.py' -print); do + sed -i -e 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' \ + -e 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "$file" + done + sed -i 's/python/python2/g' Makefile + +make prefix=/usr DESTDIR="$PKG" PYTHON=python2 install + +} From 5061ac0aa6964da4f5a459ecd4da04ff4e479349 Mon Sep 17 00:00:00 2001 From: halityilmaz1982 Date: Tue, 31 Oct 2017 02:52:12 +0200 Subject: [PATCH 2/3] php-apache eklentisi --- talimatname/genel/p/php-apache/talimat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 talimatname/genel/p/php-apache/talimat diff --git a/talimatname/genel/p/php-apache/talimat b/talimatname/genel/p/php-apache/talimat new file mode 100644 index 000000000..e21be6e6f --- /dev/null +++ b/talimatname/genel/p/php-apache/talimat @@ -0,0 +1,21 @@ +# Tanım: php-apache kütüphanesi +# URL: http://www.php.net +# Paketçi: halityilmaz1982 +# Gerekler: php apache + +isim=php-apache +surum=7.1.4 +devir=1 +kaynak=(http://www.php.net/distributions/php-$surum.tar.xz apache.conf) + +derle() { + cd php-$surum + + ./configure --disable-all \ + --with-apxs2 + make DESTDIR=$PKG install + + install -D -m755 ${SRC}/php-${surum}/libs/libphp7.so ${PKG}/usr/lib/httpd/modules/libphp7.so + install -D -m644 ${SRC}/apache.conf ${PKG}/etc/httpd/conf/extra/php7_module.conf + echo "extension=apache.so" > $PKG/etc/php/conf.d/apache.ini +} From fdcca42b21b98cb8b744eed154aab8d17a291647 Mon Sep 17 00:00:00 2001 From: halityilmaz1982 Date: Tue, 31 Oct 2017 03:36:52 +0200 Subject: [PATCH 3/3] =?UTF-8?q?php7-apache=20eklentisi=20ve=20d=C3=BCzeltm?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talimatname/genel/p/php7-apache/apache.conf | 11 +++++++++++ .../genel/p/{php-apache => php7-apache}/talimat | 4 ++-- talimatname/genel/p/php7/talimat | 6 +++--- 3 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 talimatname/genel/p/php7-apache/apache.conf rename talimatname/genel/p/{php-apache => php7-apache}/talimat (93%) diff --git a/talimatname/genel/p/php7-apache/apache.conf b/talimatname/genel/p/php7-apache/apache.conf new file mode 100644 index 000000000..4a0f571f8 --- /dev/null +++ b/talimatname/genel/p/php7-apache/apache.conf @@ -0,0 +1,11 @@ + + + DirectoryIndex index.php index.html + + SetHandler application/x-httpd-php + + + SetHandler application/x-httpd-php-source + + + \ No newline at end of file diff --git a/talimatname/genel/p/php-apache/talimat b/talimatname/genel/p/php7-apache/talimat similarity index 93% rename from talimatname/genel/p/php-apache/talimat rename to talimatname/genel/p/php7-apache/talimat index e21be6e6f..a8e6051d4 100644 --- a/talimatname/genel/p/php-apache/talimat +++ b/talimatname/genel/p/php7-apache/talimat @@ -1,9 +1,9 @@ # Tanım: php-apache kütüphanesi # URL: http://www.php.net # Paketçi: halityilmaz1982 -# Gerekler: php apache +# Gerekler: php7 apache -isim=php-apache +isim=php7-apache surum=7.1.4 devir=1 kaynak=(http://www.php.net/distributions/php-$surum.tar.xz apache.conf) diff --git a/talimatname/genel/p/php7/talimat b/talimatname/genel/p/php7/talimat index 7ca5fa575..efffe05c5 100644 --- a/talimatname/genel/p/php7/talimat +++ b/talimatname/genel/p/php7/talimat @@ -5,14 +5,14 @@ isim=php7 _isim=php -surum=7.1.4 +surum=7.1.11 devir=1 -kaynak=(http://php.net/distributions/${_name}-$surum.tar.xz) +kaynak=(http://php.net/distributions/${_isim}-$surum.tar.xz{,.asc}) derle() { - cd ${_name}-$surum + cd ${_isim}-$surum ./configure --prefix=/usr \ --sysconfdir=/etc \