diff --git a/desktop/kde/application/gpgmepp/actions.py b/desktop/kde/application/gpgmepp/actions.py new file mode 100644 index 0000000000..839b64d688 --- /dev/null +++ b/desktop/kde/application/gpgmepp/actions.py @@ -0,0 +1,19 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import kde5 +from pisi.actionsapi import pisitools + +def setup(): + kde5.configure() + +def build(): + kde5.make() + +def install(): + kde5.install() + + pisitools.dodoc("README.*", "COPYING*") \ No newline at end of file diff --git a/desktop/kde/application/gpgmepp/pspec.xml b/desktop/kde/application/gpgmepp/pspec.xml new file mode 100644 index 0000000000..812ffbd663 --- /dev/null +++ b/desktop/kde/application/gpgmepp/pspec.xml @@ -0,0 +1,62 @@ + + + + + gpgmepp + https://projects.kde.org/gpgmepp + + Ertuğrul Erata + ertugrulerata@gmail.com + + LGPLv2 + C++ bindings/wrapper for gpgme + C++ bindings/wrapper for gpgme + http://download.kde.org/stable/applications/15.08.0/src/gpgmepp-15.08.0.tar.xz + + boost-devel + qt5-base-devel + gpgme-devel + extra-cmake-modules + + + + + + + + gpgmepp + + libgcc + qt5-base + gpgme + + + /usr/lib + /usr/share/doc + + + + + gpgmepp-devel + + gpgmepp + + + /usr/include + + + + + + + + 2015-08-21 + 15.08.0 + First release + Ertuğrul Erata + ertugrulerata@gmail.com + + + diff --git a/desktop/kde/application/gpgmepp/translations.xml b/desktop/kde/application/gpgmepp/translations.xml new file mode 100644 index 0000000000..f6bc53e548 --- /dev/null +++ b/desktop/kde/application/gpgmepp/translations.xml @@ -0,0 +1,8 @@ + + + + gpgmepp + gpgme için C++ bağlayıcısı + gpgme için C++ bağlayıcısı + + diff --git a/programming/misc/libassuan/actions.py b/programming/misc/libassuan/actions.py new file mode 100644 index 0000000000..d52c438789 --- /dev/null +++ b/programming/misc/libassuan/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS","%s -fPIC -DPIC" % get.CFLAGS()) + shelltools.export("LDFLAGS","%s -fPIC" % get.LDFLAGS()) + + autotools.configure() + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) diff --git a/programming/misc/libassuan/pspec.xml b/programming/misc/libassuan/pspec.xml new file mode 100644 index 0000000000..3dfa5fa184 --- /dev/null +++ b/programming/misc/libassuan/pspec.xml @@ -0,0 +1,82 @@ + + + + + libassuan + http://www.gnupg.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + library + IPC library for GnuPG related projects + This is the IPC library used by GnuPG 2, GPGME and a few other packages. + ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-2.2.1.tar.bz2 + + libgpg-error-devel + + + + + libassuan + + libgpg-error + + + /usr/bin + /usr/lib + /usr/share/info + + + + + libassuan-devel + Development files for libassuan + + libassuan + + + /usr/include + /usr/share/aclocal + + + + + + 2015-08-21 + 2.2.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-13 + 2.2.0 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-10-31 + 2.1.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2013-10-13 + 2.1.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2012-09-29 + 2.0.3 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/programming/misc/libassuan/translations.xml b/programming/misc/libassuan/translations.xml new file mode 100644 index 0000000000..c177bde7d5 --- /dev/null +++ b/programming/misc/libassuan/translations.xml @@ -0,0 +1,13 @@ + + + + libassuan + GnuPG, GPGME ve newpg tarafından kullanılan IPC kitaplığı + Librairie IPC (communication inter-processus) auto-suffisante utilisée par gpg, gpgme et newpg. + + + + libassuan-devel + libassuan için geliştirme dosyaları + + diff --git a/programming/misc/npth/actions.py b/programming/misc/npth/actions.py new file mode 100644 index 0000000000..8865134937 --- /dev/null +++ b/programming/misc/npth/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--disable-static \ + --prefix=/usr \ + --enable-maintainer-mode") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("-j1 DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README") diff --git a/programming/misc/npth/pspec.xml b/programming/misc/npth/pspec.xml new file mode 100644 index 0000000000..87be13e215 --- /dev/null +++ b/programming/misc/npth/pspec.xml @@ -0,0 +1,49 @@ + + + + + npth + http://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + library + New portable threads library + is a non-preemptive threads implementation using an API very similar to the one known from GNU Pth. It has been designed as a replacement of GNU Pth for non-ancient operating systems. + ftp://ftp.gnupg.org/gcrypt/npth/npth-1.2.tar.bz2 + + + + npth + + /usr/lib + /usr/share/doc + + + + + npth-devel + Development files for pth + + npth + + + /usr/bin/npth-config + /usr/include + /usr/share/aclocal + /usr/share/man + + + + + + 2015-04-12 + 1.2 + First release + Ertuğrul Erata + ertugrulerata@gmail.com + + + diff --git a/programming/misc/npth/translations.xml b/programming/misc/npth/translations.xml new file mode 100644 index 0000000000..9871c15991 --- /dev/null +++ b/programming/misc/npth/translations.xml @@ -0,0 +1,14 @@ + + + + npth + Yeni GNU Taşınabilir iş parçacıkları kitaplığı + Pth Unix platformları için derlenmiş taşınabilir kitaplığıdır. Bir çok iç sunucu uygulamalarının yerine getirilmesi işlerinin öncelikli olmayan planlamasını yapar. + Un librairie de threads portable pour les plateformes Unix. Elle permet la synchronisation non-préemptive pour l'exécution de threads ("multithreading") au sein d'applications serveur. + + + + npth-devel + npth için geliştirme dosyaları + + diff --git a/util/crypt/gnupg/actions.py b/util/crypt/gnupg/actions.py new file mode 100644 index 0000000000..82b97231bc --- /dev/null +++ b/util/crypt/gnupg/actions.py @@ -0,0 +1,40 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + #shelltools.export("CFLAGS","%s -fPIE" % get.CFLAGS()) + #shelltools.export("LDFLAGS", "%s -pie -Wl,-z,relro,-z,now" % get.LDFLAGS()) + + autotools.configure("--enable-symcryptrun \ + --disable-rpath \ + --enable-gpgtar \ + --enable-maintainer-mode") + +def build(): + autotools.make("-j1") + autotools.make("-C doc html") + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall('DESTDIR=%s libexecdir="/usr/libexec"' % get.installDIR()) + + # Compat symlinks + pisitools.dosym("gpg2", "/usr/bin/gpg") + pisitools.dosym("gpgv2", "/usr/bin/gpgv") + pisitools.dosym("gpg2.1", "/usr/share/man/man1/gpg.1") + pisitools.dosym("gpgv2.1", "/usr/share/man/man1/gpgv.1") + + # Lets make doc + pisitools.dohtml("doc/*") + pisitools.dohtml("doc/gnupg.html/*") + pisitools.dodoc("ChangeLog", "NEWS", "README", "THANKS", "TODO") diff --git a/util/crypt/gnupg/comar/package.py b/util/crypt/gnupg/comar/package.py new file mode 100644 index 0000000000..3b081d082d --- /dev/null +++ b/util/crypt/gnupg/comar/package.py @@ -0,0 +1,7 @@ +#!/usr/bin/python + +import os + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("/bin/chmod u+s,go-r /usr/bin/gpg2") + os.system("/bin/chmod u+s,go-r /usr/bin/gpg-agent") diff --git a/util/crypt/gnupg/files/gnupg-1.9.3-use-ImageMagick-for-photo.patch b/util/crypt/gnupg/files/gnupg-1.9.3-use-ImageMagick-for-photo.patch new file mode 100644 index 0000000000..fc014400c3 --- /dev/null +++ b/util/crypt/gnupg/files/gnupg-1.9.3-use-ImageMagick-for-photo.patch @@ -0,0 +1,11 @@ +--- gnupg-1.9.3/g10/photoid.c.display 2004-01-24 15:03:56.745060064 +0800 ++++ gnupg-1.9.3/g10/photoid.c 2004-01-24 15:04:21.560287576 +0800 +@@ -240,7 +240,7 @@ + #elif defined(__riscos__) + return "Filer_Run %I"; + #else +- return "xloadimage -fork -quiet -title 'KeyID 0x%k' stdin"; ++ return "display -title 'KeyID 0x%k'"; + #endif + } + #endif diff --git a/util/crypt/gnupg/files/gnupg-2.0.14-tests-s2kcount.patch b/util/crypt/gnupg/files/gnupg-2.0.14-tests-s2kcount.patch new file mode 100644 index 0000000000..3c43277d0a --- /dev/null +++ b/util/crypt/gnupg/files/gnupg-2.0.14-tests-s2kcount.patch @@ -0,0 +1,67 @@ +We have to use fixed s2k-count number otherwise the gpg2 would +want to consult gpg-agent which is not yet installed in the mock +chroot. +Index: gnupg-2.0.17/tests/openpgp/conventional-mdc.test +=================================================================== +--- gnupg-2.0.17.orig/tests/openpgp/conventional-mdc.test ++++ gnupg-2.0.17/tests/openpgp/conventional-mdc.test +@@ -21,9 +21,9 @@ for ciph in `all_cipher_algos`; do + dd if=data-80000 of=z bs=1 count=$i 2>/dev/null + fi + echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ +- --force-mdc --cipher $ciph -c -o x --yes z ++ --force-mdc --cipher $ciph -c -o x --yes --s2k-count 65536 z + echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ +- -o y --yes x ++ -o y --yes --s2k-count 96 x + cmp z y || error "$ciph/$i: mismatch" + done + done +Index: gnupg-2.0.17/tests/openpgp/conventional.test +=================================================================== +--- gnupg-2.0.17.orig/tests/openpgp/conventional.test ++++ gnupg-2.0.17/tests/openpgp/conventional.test +@@ -12,8 +12,8 @@ + + #info Checking conventional encryption + for i in plain-2 data-32000 ; do +- echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -c -o x --yes $i +- echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes x ++ echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -c -o x --yes --s2k-count 65536 $i ++ echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes --s2k-count 65536 x + cmp $i y || error "$i: mismatch" + done + +@@ -21,8 +21,8 @@ for a in `all_cipher_algos`; do + echo_n "$a " + for i in plain-1 data-80000 ; do + echo "Hier spricht HAL" | $GPG --passphrase-fd 0 \ +- --cipher-algo $a -c -o x --yes $i +- echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes x ++ --cipher-algo $a -c -o x --yes --s2k-count 65536 $i ++ echo "Hier spricht HAL" | $GPG --passphrase-fd 0 -o y --yes --s2k-count 65536 x + cmp $i y || error "$i: ($a) mismatch" + done + done +Index: gnupg-2.0.17/tests/openpgp/genkey1024.test +=================================================================== +--- gnupg-2.0.17.orig/tests/openpgp/genkey1024.test ++++ gnupg-2.0.17/tests/openpgp/genkey1024.test +@@ -10,7 +10,7 @@ + + . $srcdir/defs.inc || exit 3 + +-$GPG --quiet --batch --debug-quick-random --gen-key < + + + + gnupg + http://www.gnupg.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv3+ + app:console + The GNU Privacy Guard, a PGP replacement + GnuPG allows to encrypt and sign your data and communication, features a versatile key managment system as well as access modules for all kinds of public key directories. + ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.1.7.tar.bz2 + + openldap-client + pinentry + npth-devel + libassuan-devel + libksba-devel + zlib-devel + bzip2 + texinfo + gnutls-devel + readline-devel + libgcrypt-devel + libgpg-error-devel + libusb-compat-devel + + + + + + + + + gnupg + + dirmngr + + + dirmngr + + + openldap-client + npth + libassuan + pinentry + libksba + zlib + bzip2 + gnutls + readline + libgcrypt + libgpg-error + + libusb-compat + + + /usr/bin + /usr/sbin + /usr/libexec + /usr/share/doc + /usr/share/doc/html + /usr/share/gnupg + /usr/share/info + /usr/share/locale + /usr/share/man + + + System.Package + + + + + gnupg-docs + Documentation files for GnuPG + + gnupg + + + /usr/share/doc/gnupg/html + /usr/share/gnupg/help.* + /usr/share/doc/gnupg/faq.html + + + + + + 2015-08-21 + 2.1.7 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-26 + 2.1.3 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-08-16 + 2.0.26 + Version Bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-06-30 + 2.0.25 + Version Bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-06-04 + 2.0.23 + Version Bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-04-05 + 2.0.22 + Rebuild for libgcrypt and some other system.base packs. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-02-02 + 2.0.22 + new pcsc-lite and pinentry + Alihan Öztürk + alihan@pisilinux.org + + + 2013-10-27 + 2.0.22 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2012-09-29 + 2.0.19 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/util/crypt/gnupg/translations.xml b/util/crypt/gnupg/translations.xml new file mode 100644 index 0000000000..69214d838b --- /dev/null +++ b/util/crypt/gnupg/translations.xml @@ -0,0 +1,13 @@ + + + + gnupg + GNU Gizlilik Koruması + GnuPG verilerinizin ve iletişimlerinizin şifrelenmesi ve imzalanmmasını sağlar, her tür genel anahtar dizinleri için modullere erişiminde olduğu gibi çok yönlü anahtar yönetim sistemi avantajı vardır. + + + + gnupg-docs + GnuPG paketine ait API dokümantasyonu + + diff --git a/util/crypt/gpgme/actions.py b/util/crypt/gpgme/actions.py new file mode 100644 index 0000000000..9b12722426 --- /dev/null +++ b/util/crypt/gpgme/actions.py @@ -0,0 +1,25 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--disable-fd-passing \ + --disable-static \ + --disable-gpgsm-test") + +def build(): + autotools.make() + +def check(): + autotools.make("check") + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "THANKS", "TODO") diff --git a/util/crypt/gpgme/pspec.xml b/util/crypt/gpgme/pspec.xml new file mode 100644 index 0000000000..8db0787bfe --- /dev/null +++ b/util/crypt/gpgme/pspec.xml @@ -0,0 +1,103 @@ + + + + + gpgme + http://www.gnupg.org/gpgme.html + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + LGPLv2 + library + GnuPG Made Easy is a library for making GnuPG easier to use + GPGME is a library designed to make access to GnuPG easier for applications. It provides a high-Level Crypto application programming interface (API) for encryption, decryption, signing, signature verification and key management. + ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.5.5.tar.bz2 + + gnupg + libgpg-error-devel + libassuan-devel + + + + + gpgme + + gnupg + libgpg-error + libassuan + + + /usr/bin + /usr/lib + /usr/share/common-lisp + /usr/share/doc + /usr/share/info + + + + + gpgme-devel + Development files for gpgme + + gpgme + + + /usr/include + /usr/share/aclocal + + + + + + 2015-08-21 + 1.5.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-14 + 1.5.3 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-12-13 + 1.5.2 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-10-31 + 1.5.1 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + 2014-06-29 + 1.5.0 + Version bump. + Vedat Demir + vedat@pisilinux.org + + + 2014-01-25 + 1.4.3 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-09-30 + 1.3.2 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/util/crypt/gpgme/translations.xml b/util/crypt/gpgme/translations.xml new file mode 100644 index 0000000000..6d8e89d41d --- /dev/null +++ b/util/crypt/gpgme/translations.xml @@ -0,0 +1,15 @@ + + + + gpgme + GnuPG Made Easy, GnuPG kullanmayı kolaylaştıran bir kütüphanedir + GPGME daha kolay uygulanması amacıyla GnuPG ye erişimi sağlamak için tasarlanmış bir kütüphanedir. Şifreleme, şifre çözme, imzalama, imza kontrolü ve anahtar yönetimi için yüksek düzeyde gizli uygulama programlama arayüzü sağlar. + GPGME est une librairie conçue pour donner aux applications un accès plus facile à GnuPG. Elle fournit une interface de programmation d'application (API) de haut niveau pour la cryptographie permettant de crypter, décrypter, signer, vérifier les signatures et la gestion de clefs. + GPGME es una librería diseñada para simplificar el acceso a GnuPG para aplicaciones. Facilita una interfaz de programación de aplicación (API) de alto nivel para encriptación, decriptación, firmas, verificación de firmas y administración de llaves. + + + + gpgme-devel + gpgme için geliştirme dosyaları + + diff --git a/util/crypt/libksba/actions.py b/util/crypt/libksba/actions.py new file mode 100644 index 0000000000..744946c948 --- /dev/null +++ b/util/crypt/libksba/actions.py @@ -0,0 +1,22 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + autotools.configure("--disable-static") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README") + +def check(): + autotools.make("check") diff --git a/util/crypt/libksba/pspec.xml b/util/crypt/libksba/pspec.xml new file mode 100644 index 0000000000..7a9a3481e5 --- /dev/null +++ b/util/crypt/libksba/pspec.xml @@ -0,0 +1,70 @@ + + + + + libksba + http://www.gnupg.org/ + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + library + app:console + Library handling X.509 certificates and CMS data + libksba is a library designed to build software based on the X.509 and CMS protocols. + ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.3.3.tar.bz2 + + libgpg-error-devel + + + + + libksba + + libgpg-error + + + /usr/bin + /usr/lib + /usr/share/info + /usr/share/doc + + + + + libksba-devel + Development files for libksba + + libksba + + + /usr/include + /usr/share/aclocal + + + + + + 2015-04-12 + 1.3.3 + Version Bump + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-01-31 + 1.3.0 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2012-09-29 + 1.3.0 + First release + PisiLinux Community + admins@pisilinux.org + + + diff --git a/util/crypt/libksba/translations.xml b/util/crypt/libksba/translations.xml new file mode 100644 index 0000000000..6e0729ce9b --- /dev/null +++ b/util/crypt/libksba/translations.xml @@ -0,0 +1,14 @@ + + + + libksba + Çeşitli uygulamaların X.509 sertifikaları ve CMS verilerine kolay erişebilmesini sağlayan bir kitaplık + libksba, X.509 ve CMS protokollerini kullanan yazılımlar üretmek için kullanılan bir kitaplıktır. + rends les certificats X.509 et le CMS facilement accessible aux applications. + + + + libksba-devel + libksba için geliştirme dosyaları + + diff --git a/util/crypt/pinentry/actions.py b/util/crypt/pinentry/actions.py new file mode 100644 index 0000000000..42f2e007a5 --- /dev/null +++ b/util/crypt/pinentry/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import pisitools +from pisi.actionsapi import autotools + +def setup(): + #autotools.autoreconf("-vfi") + autotools.configure("--prefix=/usr \ + --enable-pinentry-curses \ + --disable-pinentry-gtk \ + --disable-pinentry-qt \ + --enable-pinentry-gtk2 \ + --disable-pinentry-qt4 \ + --enable-fallback-curses") + +def build(): + autotools.make() + +def install(): + autotools.install() + + # We're using pinentry-wrapper as additional file instead of upstream pinentry symlink. + pisitools.remove("/usr/bin/pinentry") + + pisitools.dosym("pinentry-gtk-2", "/usr/bin/pinentry-gtk") + #pisitools.dosym("pinentry-qt4", "/usr/bin/pinentry-qt") + + pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "THANKS") diff --git a/util/crypt/pinentry/comar/postInstall.py b/util/crypt/pinentry/comar/postInstall.py new file mode 100644 index 0000000000..87abe3eb3d --- /dev/null +++ b/util/crypt/pinentry/comar/postInstall.py @@ -0,0 +1,4 @@ +import os + +def postInstall(fromVersion, fromRelease, toVersion, toRelease): + os.system("/bin/chmod 4755 /usr/kde/3.5/bin/pinentry") diff --git a/util/crypt/pinentry/files/change-default-pinentry.diff b/util/crypt/pinentry/files/change-default-pinentry.diff new file mode 100644 index 0000000000..9b129057ec --- /dev/null +++ b/util/crypt/pinentry/files/change-default-pinentry.diff @@ -0,0 +1,20 @@ +Index: pinentry-0.8.0/configure.ac +=================================================================== +--- pinentry-0.8.0.orig/configure.ac ++++ pinentry-0.8.0/configure.ac +@@ -434,11 +434,11 @@ AM_CONDITIONAL(BUILD_PINENTRY_W32, test + # Please change the order only after verifying that the preferred + # pinentry really is better (more feature-complete and more secure). + +-if test "$pinentry_gtk_2" = "yes"; then +- PINENTRY_DEFAULT=pinentry-gtk-2 ++if test "$pinentry_qt4" = "yes"; then ++ PINENTRY_DEFAULT=pinentry-qt4 + else +- if test "$pinentry_gtk" = "yes"; then +- PINENTRY_DEFAULT=pinentry-gtk ++ if test "$pinentry_gtk2" = "yes"; then ++ PINENTRY_DEFAULT=pinentry-gtk-2 + else + if test "$pinentry_qt" = "yes"; then + PINENTRY_DEFAULT=pinentry-qt diff --git a/util/crypt/pinentry/files/disable-inputmethod-for-passords.patch b/util/crypt/pinentry/files/disable-inputmethod-for-passords.patch new file mode 100644 index 0000000000..d5f63c0507 --- /dev/null +++ b/util/crypt/pinentry/files/disable-inputmethod-for-passords.patch @@ -0,0 +1,11 @@ +diff -ru pinentry-0.7.2/qt/secqlineedit.cpp pinentry-0.7.2.new/qt/secqlineedit.cpp +--- pinentry-0.7.2/qt/secqlineedit.cpp 2004-01-18 19:10:04.000000000 +0100 ++++ pinentry-0.7.2.new/qt/secqlineedit.cpp 2006-06-26 18:49:35.000000000 +0200 +@@ -536,6 +536,7 @@ + { + d->echoMode = mode; + d->updateTextLayout(); ++ setInputMethodEnabled (mode == Normal); + update(); + } + diff --git a/util/crypt/pinentry/files/moreSecureMemoryForPinentry-qt.diff b/util/crypt/pinentry/files/moreSecureMemoryForPinentry-qt.diff new file mode 100644 index 0000000000..8f243187ce --- /dev/null +++ b/util/crypt/pinentry/files/moreSecureMemoryForPinentry-qt.diff @@ -0,0 +1,11 @@ +--- autopatch-dummy/secmem/secmem.c ++++ autopatch-dummy/secmem/secmem.c 2004/07/13 14:34:02 +@@ -85,7 +85,7 @@ + # define MAP_ANONYMOUS MAP_ANON + #endif + +-#define DEFAULT_POOLSIZE 16384 ++#define DEFAULT_POOLSIZE 16384*4 + + typedef struct memblock_struct MEMBLOCK; + struct memblock_struct { diff --git a/util/crypt/pinentry/files/pinentry-0.7.2-curses-utf-8.diff b/util/crypt/pinentry/files/pinentry-0.7.2-curses-utf-8.diff new file mode 100644 index 0000000000..98a5d8c039 --- /dev/null +++ b/util/crypt/pinentry/files/pinentry-0.7.2-curses-utf-8.diff @@ -0,0 +1,41 @@ +--- m4/curses.m4 ++++ m4/curses.m4 +@@ -28,7 +28,7 @@ + AC_ARG_ENABLE(ncurses, [ --disable-ncurses don't prefer -lncurses over -lcurses], + , enable_ncurses=yes) + if test "$enable_ncurses" = yes; then +- AC_CHECK_LIB(ncurses, initscr, LIBNCURSES="-lncurses") ++ AC_CHECK_LIB(ncursesw, initscr, LIBNCURSES="-lncursesw") + if test "$LIBNCURSES"; then + # Use ncurses header files instead of the ordinary ones, if possible; + # is there a better way of doing this, that avoids looking in specific +--- pinentry/pinentry-curses.c ++++ pinentry/pinentry-curses.c +@@ -546,6 +545,14 @@ + SCREEN *screen = 0; + int done = 0; + char *pin_utf8; ++ char *old_ctype = NULL; ++ ++ ++ if (pinentry->lc_ctype) ++ { ++ old_ctype = strdup (setlocale (LC_CTYPE, NULL)); ++ setlocale (LC_CTYPE, pinentry->lc_ctype); ++ } + + /* Open the desired terminal if necessary. */ + if (tty_name) +@@ -684,6 +690,12 @@ + if (screen) + delscreen (screen); + ++ if (old_ctype) ++ { ++ setlocale (LC_CTYPE, old_ctype); ++ free(old_ctype); ++ } ++ + if (ttyfi) + fclose (ttyfi); + if (ttyfo) diff --git a/util/crypt/pinentry/files/pinentry-qt-utf8.diff b/util/crypt/pinentry/files/pinentry-qt-utf8.diff new file mode 100644 index 0000000000..a40ffcd717 --- /dev/null +++ b/util/crypt/pinentry/files/pinentry-qt-utf8.diff @@ -0,0 +1,48 @@ +Index: pinentry-0.7.6/qt/main.cpp +=================================================================== +--- pinentry-0.7.6.orig/qt/main.cpp ++++ pinentry-0.7.6/qt/main.cpp +@@ -71,23 +71,23 @@ qt_cmd_handler (pinentry_t pe) + PinEntryDialog pinentry (parent, NULL, true, !!pe->quality_bar); + + pinentry.setPinentryInfo (pe); +- pinentry.setPrompt (QString::fromUtf8 (pe->prompt)); +- pinentry.setDescription (QString::fromUtf8 (pe->description)); ++ pinentry.setPrompt (QString::fromLocal8Bit (pe->prompt)); ++ pinentry.setDescription (QString::fromLocal8Bit (pe->description)); + /* If we reuse the same dialog window. */ + #if 0 + pinentry.setText (SecQString::null); + #endif + + if (pe->ok) +- pinentry.setOkText (QString::fromUtf8 (pe->ok)); ++ pinentry.setOkText (QString::fromLocal8Bit (pe->ok)); + if (pe->cancel) +- pinentry.setCancelText (QString::fromUtf8 (pe->cancel)); ++ pinentry.setCancelText (QString::fromLocal8Bit (pe->cancel)); + if (pe->error) +- pinentry.setError (QString::fromUtf8 (pe->error)); ++ pinentry.setError (QString::fromLocal8Bit (pe->error)); + if (pe->quality_bar) +- pinentry.setQualityBar (QString::fromUtf8 (pe->quality_bar)); ++ pinentry.setQualityBar (QString::fromLocal8Bit (pe->quality_bar)); + if (pe->quality_bar_tt) +- pinentry.setQualityBarTT (QString::fromUtf8 (pe->quality_bar_tt)); ++ pinentry.setQualityBarTT (QString::fromLocal8Bit (pe->quality_bar_tt)); + + bool ret = pinentry.exec (); + if (!ret) +@@ -113,9 +113,9 @@ qt_cmd_handler (pinentry_t pe) + } + else + { +- QString desc = QString::fromUtf8 (pe->description? pe->description :""); +- QString ok = QString::fromUtf8 (pe->ok ? pe->ok : "OK"); +- QString can = QString::fromUtf8 (pe->cancel ? pe->cancel : "Cancel"); ++ QString desc = QString::fromLocal8Bit (pe->description? pe->description :""); ++ QString ok = QString::fromLocal8Bit (pe->ok ? pe->ok : "OK"); ++ QString can = QString::fromLocal8Bit (pe->cancel ? pe->cancel : "Cancel"); + bool ret; + + ret = QMessageBox::information (parent, "", desc, ok, can ); diff --git a/util/crypt/pinentry/files/pinentry-wrapper b/util/crypt/pinentry/files/pinentry-wrapper new file mode 100644 index 0000000000..6135486075 --- /dev/null +++ b/util/crypt/pinentry/files/pinentry-wrapper @@ -0,0 +1,77 @@ +#!/bin/sh + +# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 Fedora Project +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# +# Anna Bernathova 2006 +# Pavel Nemec 2006 +# Rex Dieter 2009 +# +# use proper binary (pinentry-qt, pinentry-gtk-2 or pinentry-curses) + +if [ -z "$PINENTRY_BINARY" ]; then + +kde_running= +if [ -n "$KDE_FULL_SESSION" ]; then + kde_running=1 +elif [ -n "$DISPLAY" ]; then + xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null + if test $? -eq 0; then + kde_running=1 + fi +else + arg= + display= + for opt in "$@"; do + if [ "$opt" = "--display" ]; then + arg=1 + elif [ -n "$arg" ]; then + display="$opt" + else + arg= + fi + done + if [ -n "$display" ]; then + DISPLAY="$display" xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null + if test $? -eq 0; then + kde_running=1 + fi + fi +fi + +# if KDE is detected and pinentry-qt exists, use pinentry-qt +if [ -n "$kde_running" -a -x /usr/bin/pinentry-qt ] +then + export PINENTRY_BINARY="/usr/bin/pinentry-qt" +# otherwise test if pinentry-gtk-2 is installed +elif [ -x /usr/bin/pinentry-gtk-2 ] +then + export PINENTRY_BINARY="/usr/bin/pinentry-gtk-2" +# otherwise test if pinentry-qt3 is installed +elif [ -x /usr/bin/pinentry-qt3 ] +then + export PINENTRY_BINARY="/usr/bin/pinentry-qt" +# otherwise test if pinentry-qt exists although KDE is not detected +elif [ -x /usr/bin/pinentry-qt ] +then + export PINENTRY_BINARY="/usr/bin/pinentry-qt3" +# pinentry-curses is installed by default +else + #test if gui binary is required + for opt in "$@"; do + if [ "x$opt" = "x--display" ]; then + # should not happen because of package dependencies + echo "Please install pinentry-gui" >&2 + exit 1 + fi + done + export PINENTRY_BINARY="/usr/bin/pinentry-curses" + +fi +fi + +exec $PINENTRY_BINARY "$@" diff --git a/util/crypt/pinentry/pspec.xml b/util/crypt/pinentry/pspec.xml new file mode 100644 index 0000000000..4738cb15d7 --- /dev/null +++ b/util/crypt/pinentry/pspec.xml @@ -0,0 +1,120 @@ + + + + + pinentry + http://www.gnupg.org/aegypten/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2+ + app:console + Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol + Pinentry is a collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol as described by the aegypten project. + ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.9.5.tar.bz2 + + libsecret-devel + libgpg-error-devel + libassuan-devel + gtk2-devel + pango-devel + libcap-devel + ncurses-devel + glib2-devel + + + + + + + + pinentry + + /usr/bin + /usr/share/info + /usr/share/doc + + + glib2 + libassuan + libsecret + libgpg-error + libcap + ncurses + + + pinentry-wrapper + + + + + + + pinentry-gtk + pinentry for GTK toolkit + + pinentry + ncurses + libcap + libassuan + libsecret + libgpg-error + glib2 + gtk2 + pango + + + /usr/bin/pinentry-gtk* + + + + + + 2015-08-21 + 0.9.5 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2015-04-13 + 0.9.1 + Version bump. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-01-04 + 0.8.3 + Rebuid. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-01-04 + 0.8.3 + Version Bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2012-10-04 + 0.8.2 + First release + PisiLinux Community + namso-0"@hotmail.it + + + diff --git a/util/crypt/pinentry/translations.xml b/util/crypt/pinentry/translations.xml new file mode 100644 index 0000000000..458e074fb2 --- /dev/null +++ b/util/crypt/pinentry/translations.xml @@ -0,0 +1,23 @@ + + + + pinentry + Assuan protokolünün kullanımı için basit PIN veya parola-kelimesi girişi arabirimleri + Pinetry Aegypten projesi tarafından tanımlanan Assuan protokolünden faydalanan basit PIN veya şifre girme diaologları derlemesidir. + + + + pinentry-gtk + GTK+ ile yazılmış pinentry arayüzü + + + + pinentry-qt3 + Qt3 ile yazılmış pinentry arayüzü + + + + pinentry-qt + Qt4 ile yazılmış pinentry arayüzü + +