Merge pull request #123 from ertugerata/master
for build kde5 need deps 1
This commit is contained in:
@@ -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/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--with-securedir=/lib/security \
|
||||
--disable-python-bindings \
|
||||
--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ABOUT*", "AUTHORS", "ChangeLog", "COPYING", "README")
|
||||
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libpwquality</Name>
|
||||
<Homepage>https://fedorahosted.org/libpwquality/</Homepage>
|
||||
<Packager>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Password quality checking</Summary>
|
||||
<Description>The libpwquality package contains a library used for password quality checking and generation of random passwords that pass the checks</Description>
|
||||
<Archive sha1sum="ba5d03319ab3e227d7f236d0ecbd0ec09f4be1d6" type="tarbz2">https://fedorahosted.org/releases/l/i/libpwquality/libpwquality-1.2.4.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cracklib-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libpwquality</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>cracklib</Dependency>
|
||||
<Dependency>pam</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="config">/etc/security</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
<Path fileType="man">/usr/share/man/man5</Path>
|
||||
<Path fileType="man">/usr/share/man/man8</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libpwquality</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libpwquality-devel</Name>
|
||||
<Summary>libpwquality için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libpwquality</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2015-01-23</Date>
|
||||
<Version>1.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-06-01</Date>
|
||||
<Version>1.2.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-02-20</Date>
|
||||
<Version>1.2.2</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-12</Date>
|
||||
<Version>1.2.2</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-28</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Move pc files to devel pack, rebuild</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-04</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-01</Date>
|
||||
<Version>1.2.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libpwquality</Name>
|
||||
<Summary xml:lang="en">Password quality checking</Summary>
|
||||
<Description xml:lang="en">The libpwquality package contains a library used for password quality checking and generation of random passwords that pass the checks.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libpwquality-devel</Name>
|
||||
<Summary xml:lang="tr">libpwquality için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import shelltools
|
||||
|
||||
def setup():
|
||||
shelltools.makedirs("build")
|
||||
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DQCA_SUFFIX=qt5 \
|
||||
-DQCA_INSTALL_IN_QT_PREFIX=ON", sourceDir="..")
|
||||
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("README", "TODO", "COPYING")
|
||||
|
||||
pisitools.domove("/usr/share/qt5/man/man1/qcatool-qt5.1", "/usr/share/man/man1/qcatool-qt5.1")
|
||||
pisitools.removeDir("/usr/share/qt5")
|
||||
@@ -0,0 +1,59 @@
|
||||
--- src/botantools/botan/botan/secmem.h.orig 2012/01/14 16:09:19 1273507
|
||||
+++ src/botantools/botan/botan/secmem.h 2012/01/14 17:12:15 1273508
|
||||
@@ -191,15 +191,15 @@
|
||||
{
|
||||
public:
|
||||
MemoryVector<T>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
MemoryVector(u32bit n = 0) { MemoryRegion<T>::init(false, n); }
|
||||
MemoryVector(const T in[], u32bit n)
|
||||
- { MemoryRegion<T>::init(false); set(in, n); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in, n); }
|
||||
MemoryVector(const MemoryRegion<T>& in)
|
||||
- { MemoryRegion<T>::init(false); set(in); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in); }
|
||||
MemoryVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
|
||||
- { MemoryRegion<T>::init(false); set(in1); append(in2); }
|
||||
+ { MemoryRegion<T>::init(false); this->set(in1); append(in2); }
|
||||
};
|
||||
|
||||
/*************************************************
|
||||
@@ -210,15 +210,15 @@
|
||||
{
|
||||
public:
|
||||
SecureVector<T>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
SecureVector(u32bit n = 0) { MemoryRegion<T>::init(true, n); }
|
||||
SecureVector(const T in[], u32bit n)
|
||||
- { MemoryRegion<T>::init(true); set(in, n); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in, n); }
|
||||
SecureVector(const MemoryRegion<T>& in)
|
||||
- { MemoryRegion<T>::init(true); set(in); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in); }
|
||||
SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
|
||||
- { MemoryRegion<T>::init(true); set(in1); append(in2); }
|
||||
+ { MemoryRegion<T>::init(true); this->set(in1); append(in2); }
|
||||
};
|
||||
|
||||
/*************************************************
|
||||
@@ -229,14 +229,14 @@
|
||||
{
|
||||
public:
|
||||
SecureBuffer<T,L>& operator=(const SecureBuffer<T,L>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
|
||||
SecureBuffer() { MemoryRegion<T>::init(true, L); }
|
||||
SecureBuffer(const T in[], u32bit n)
|
||||
{ MemoryRegion<T>::init(true, L); copy(in, n); }
|
||||
private:
|
||||
SecureBuffer<T, L>& operator=(const MemoryRegion<T>& in)
|
||||
- { if(this != &in) set(in); return (*this); }
|
||||
+ { if(this != &in) this->set(in); return (*this); }
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
--- trunk/kdesupport/qca/include/QtCrypto/qca_publickey.h 2008/05/16 20:41:50 808523
|
||||
+++ trunk/kdesupport/qca/include/QtCrypto/qca_publickey.h 2009/07/07 12:24:51 992617
|
||||
@@ -68,7 +68,11 @@
|
||||
EMSA3_MD5, ///< MD5, with EMSA3 (ie PKCS#1 Version 1.5) encoding (this is the usual RSA algorithm)
|
||||
EMSA3_MD2, ///< MD2, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
EMSA3_RIPEMD160, ///< RIPEMD160, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
- EMSA3_Raw ///< EMSA3 without computing a message digest or a DigestInfo encoding (identical to PKCS#11's CKM_RSA_PKCS mechanism)
|
||||
+ EMSA3_Raw, ///< EMSA3 without computing a message digest or a DigestInfo encoding (identical to PKCS#11's CKM_RSA_PKCS mechanism)
|
||||
+ EMSA3_SHA224, ///< SHA224, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA256, ///< SHA256, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA384, ///< SHA384, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
+ EMSA3_SHA512 ///< SHA512, with EMSA3 (ie PKCS#1 Version 1.5) encoding
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -0,0 +1,23 @@
|
||||
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
|
||||
Date: Sat, 17 Jan 2015 19:12:18 +0000
|
||||
Subject: Add missing QIODevice include
|
||||
X-Git-Url: http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=7207e6285e932044cd66d49d0dc484666cfb0092
|
||||
---
|
||||
Add missing QIODevice include
|
||||
|
||||
Fixes build with Qt 5.5
|
||||
---
|
||||
|
||||
|
||||
--- a/include/QtCrypto/qca_basic.h
|
||||
+++ b/include/QtCrypto/qca_basic.h
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
#include "qca_core.h"
|
||||
|
||||
+#include <QIODevice>
|
||||
+
|
||||
// Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
|
||||
// not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
|
||||
// Defining it here as QString::fromUtf8 for convenience.
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qca2-qt5</Name>
|
||||
<Homepage>http://delta.affinix.com/download/qca/2.0/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Cryptographic Architecture for QT4</Summary>
|
||||
<Description>QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. QCA separates the API from the implementation, using plugins known as Providers. QCA2 has been re-written for QT4.</Description>
|
||||
<Archive sha1sum="2b582b3ccc7e6098cd14d6f52a829ae1539e9cc8" type="targz">http://delta.affinix.com/download/qca/2.0/qca-2.1.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>nss-devel</Dependency>
|
||||
<Dependency>doxygen</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch level="3">qca2-sha2-digest-support-kde-svn-992617.diff</Patch>
|
||||
<Patch level="0">qca-2.0.3+gcc-4.7.patch</Patch-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-qt5</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>nss</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/qt/4/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="data">/usr/share/qca</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-qt5-devel</Name>
|
||||
<Summary>Development files for qca2</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">qca2-qt5</Dependency>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/qt5/QtCrypto</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/qca2.pc</Path>
|
||||
<Path fileType="data">/usr/share/qt4/mkspecs/features</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2015-07-23</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>qca2</Name>
|
||||
<Summary xml:lang="tr">QT4 için Kriptografik Mimari</Summary>
|
||||
<Description xml:lang="tr">QCA Qt veri tiplerini kullanarak platform bağımsız bir kripto uygulama programlama arayüzü oluşturmayı amaçlar.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>qca2-devel</Name>
|
||||
<Summary xml:lang="tr">qca2 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user