Merge pull request #9419 from friberk/master

gnome-online-accounts, grilo, totem-pl-parser, liboauth packaged
This commit is contained in:
Kamil ATLI
2021-05-28 16:41:30 +03:00
committed by GitHub
15 changed files with 893 additions and 3 deletions
@@ -0,0 +1,37 @@
#!/usr/bin/env python3
# -*- 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():
autotools.configure("--enable-documentation \
--enable-backend \
--enable-google \
--enable-kerberos \
--enable-flickr \
--enable-facebook \
--disable-static \
--enable-exchange \
--enable-imap-smtp \
--enable-owncloud \
--enable-windows-live \
--enable-pocket \
--enable-lastfm \
--enable-media-server \
--enable-foursquare \
--enable-twitter \
--enable-yahoo")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "NEWS", "README")
@@ -0,0 +1,97 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gnome-online-accounts</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-online-accounts</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<Summary>Single sign-on framework for GNOME</Summary>
<Description>The GNOME Online Accounts package contains a framework used to access the user's online accounts.</Description>
<Archive sha1sum="547da191a47b8f35ced486fa94145b85ad45c864">https://download.gnome.org/sources/gnome-online-accounts/3.40/gnome-online-accounts-3.40.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>docbook-xsl</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>vala</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>gcr-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>libsecret-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>e2fsprogs-devel</Dependency>
<Dependency>librest-devel</Dependency>
<Dependency>telepathy-glib-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>gnome-online-accounts</Name>
<RuntimeDependencies>
<Dependency>gcr</Dependency>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>p11-kit</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>librest</Dependency>
<Dependency>libsecret</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>webkit2gtk</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>harfbuzz</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/gnome-online-accounts</Path>
<Path fileType="library">/usr/lib/goa-1.0</Path>
<Path fileType="library">/usr/lib/libgoa*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/gnome-online-accounts</Path>
</Files>
</Package>
<Package>
<Name>gnome-online-accounts-devel</Name>
<RuntimeDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency release="current">gnome-online-accounts</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="library">/usr/share/vala</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>3.40.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env 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 shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Denable-gtk-doc=false")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("COPYING", "NEWS", "README*", "AUTHORS")
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>grilo</Name>
<Homepage>https://gitlab.gnome.org/GNOME/grilo</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Grilo is a framework for browsing and searching media content from various sources using a single API.</Summary>
<Description>Grilo is a framework for browsing and searching media content from various sources using a single API.</Description>
<Archive sha1sum="aa5f1fd521727c4aeb02b7c6af46930b12183083">https://download.gnome.org/sources/grilo/0.3/grilo-0.3.13.tar.xz</Archive>
<BuildDependencies>
<Dependency>gettext-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>liboauth-devel</Dependency>
<Dependency>totem-pl-parser-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>vala</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>grilo</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>grilo-devel</Name>
<Summary>Development files for grilo</Summary>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/share/vala</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>0.3.13</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+282 -1
View File
@@ -3480,6 +3480,100 @@ components such as the Settings and gnome-shell.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gnome-online-accounts</Name>
<Homepage>https://gitlab.gnome.org/GNOME/gnome-online-accounts</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2</License>
<PartOf>desktop.gnome.base</PartOf>
<Summary xml:lang="en">Single sign-on framework for GNOME</Summary>
<Description xml:lang="en">The GNOME Online Accounts package contains a framework used to access the user&apos;s online accounts.</Description>
<Archive sha1sum="547da191a47b8f35ced486fa94145b85ad45c864" name="gnome-online-accounts-3.40.0.tar.xz">https://download.gnome.org/sources/gnome-online-accounts/3.40/gnome-online-accounts-3.40.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>docbook-xsl</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxslt-devel</Dependency>
<Dependency>vala</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>gcr-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>json-glib-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>libsecret-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>e2fsprogs-devel</Dependency>
<Dependency>librest-devel</Dependency>
<Dependency>telepathy-glib-devel</Dependency>
<Dependency>webkit2gtk-devel</Dependency>
</BuildDependencies>
<SourceURI>desktop/gnome/base/gnome-online-accounts/pspec.xml</SourceURI>
</Source>
<Package>
<Name>gnome-online-accounts</Name>
<RuntimeDependencies>
<Dependency>gcr</Dependency>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>cairo</Dependency>
<Dependency>glib2</Dependency>
<Dependency>pango</Dependency>
<Dependency>p11-kit</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>librest</Dependency>
<Dependency>libsecret</Dependency>
<Dependency>json-glib</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>webkit2gtk</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>harfbuzz</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/libexec</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/gnome-online-accounts</Path>
<Path fileType="library">/usr/lib/goa-1.0</Path>
<Path fileType="library">/usr/lib/libgoa*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/icons</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/glib-2.0</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="data">/usr/share/gnome-online-accounts</Path>
</Files>
</Package>
<Package>
<Name>gnome-online-accounts-devel</Name>
<RuntimeDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency release="1">gnome-online-accounts</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
<Path fileType="library">/usr/share/vala</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>3.40.0</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gnome-session</Name>
@@ -3672,6 +3766,66 @@ GNOME Session and the applications that run under it.</Summary>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>grilo</Name>
<Homepage>https://gitlab.gnome.org/GNOME/grilo</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<PartOf>desktop.gnome.base</PartOf>
<Summary xml:lang="en">Grilo is a framework for browsing and searching media content from various sources using a single API.</Summary>
<Description xml:lang="en">Grilo is a framework for browsing and searching media content from various sources using a single API.</Description>
<Archive sha1sum="aa5f1fd521727c4aeb02b7c6af46930b12183083" name="grilo-0.3.13.tar.xz">https://download.gnome.org/sources/grilo/0.3/grilo-0.3.13.tar.xz</Archive>
<BuildDependencies>
<Dependency>gettext-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>liboauth-devel</Dependency>
<Dependency>totem-pl-parser-devel</Dependency>
<Dependency>meson</Dependency>
<Dependency>vala</Dependency>
</BuildDependencies>
<SourceURI>desktop/gnome/base/grilo/pspec.xml</SourceURI>
</Source>
<Package>
<Name>grilo</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib/girepository-1.0</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>grilo-devel</Name>
<Summary xml:lang="en">Development files for grilo</Summary>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="library">/usr/share/vala</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>0.3.13</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>gsettings-desktop-schemas</Name>
@@ -147607,7 +147761,7 @@ It supports email, address books, calendars, tasks, news feeds and much more.</D
<Update release="3">
<Date>2021-05-04</Date>
<Version>1.3.0</Version>
<Comment>Version bump.</Comment>
<Comment>Version bump</Comment>
<Name>AYDIN ATMACA</Name>
<Email>aydinatmaca@gmail.com</Email>
</Update>
@@ -252607,6 +252761,70 @@ to create header files and sources from protocol files.</Description>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>totem-pl-parser</Name>
<Homepage>https://gitlab.gnome.org/GNOME/totem-pl-parser</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<PartOf>programming.library</PartOf>
<Summary xml:lang="en">Totem playlist parser</Summary>
<Description xml:lang="en">totem-pl-parser is a simple GObject-based library to parse a host of playlist formats, as well as save those</Description>
<Archive type="tarxz" sha1sum="d115b509fd6dc3874eef2300717aa6be241a08c3" name="totem-pl-parser-3.26.5.tar.xz">https://download.gnome.org/sources/totem-pl-parser/3.26/totem-pl-parser-3.26.5.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
<SourceURI>programming/library/totem-pl-parser/pspec.xml</SourceURI>
</Source>
<Package>
<Name>totem-pl-parser</Name>
<RuntimeDependencies>
<Dependency>libarchive</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libgcrypt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/girepository-1.0/</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>totem-pl-parser-devel</Name>
<Summary xml:lang="en">Development files for totem-pl-aprser</Summary>
<RuntimeDependencies>
<Dependency release="1">totem-pl-parser</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>3.26.5</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>tpm2-tss</Name>
@@ -256877,6 +257095,69 @@ contacts, tasks, and calendar information.</Summary>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>liboauth</Name>
<Homepage>http://liboauth.sourceforge.net</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>MIT</License>
<IsA>library</IsA>
<PartOf>programming.misc</PartOf>
<Summary xml:lang="en">C library implementing the OAuth secure authentication protocol</Summary>
<Description xml:lang="en">liboauth is a collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard.</Description>
<Archive type="targz" sha1sum="791dbb4166b5d2c843c8ff48ac17284cc0884af2" name="liboauth-1.0.3.tar.gz">mirrors://sourceforge/liboauth/liboauth-1.0.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>curl-devel</Dependency>
<Dependency>nss-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>liboauth-1.0.1-doxygen-out-of-tree.patch</Patch>
<Patch>liboauth-1.0.3-openssl-1.1.patch</Patch>
<Patch>liboauth-1.0.3-openssl-1.1_2.patch</Patch>
</Patches>
<SourceURI>programming/misc/liboauth/pspec.xml</SourceURI>
</Source>
<Package>
<Name>liboauth</Name>
<RuntimeDependencies>
<Dependency>nss</Dependency>
<Dependency>curl</Dependency>
<Dependency>nspr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="localedata">/usr/share/licenses</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>liboauth-devel</Name>
<Summary xml:lang="en">Development files for liboauth</Summary>
<RuntimeDependencies>
<Dependency release="1">liboauth</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>curl-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>1.0.3</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libofa</Name>
+1 -1
View File
@@ -1 +1 @@
632a3805cfdaf8b3722e5c72caf06d14e87601d0
dc22ec9d91d4d7c69db498ccb0cec9dee4d1237c
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
b14daa737ea34dbf34f8d53240d2ccda5640fd08
a55c404388521ff367ce5e64e3e630409de272ea
@@ -0,0 +1,22 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
mesontools.configure("-Denable-gtk-doc=false")
def build():
mesontools.build()
def install():
mesontools.install()
pisitools.dodoc("AUTHORS", "MAINTAINERS", "COPYING*", "NEWS", "README")
@@ -0,0 +1,67 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>totem-pl-parser</Name>
<Homepage>https://gitlab.gnome.org/GNOME/totem-pl-parser</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<Summary>Totem playlist parser</Summary>
<Description>totem-pl-parser is a simple GObject-based library to parse a host of playlist formats, as well as save those</Description>
<Archive sha1sum="d115b509fd6dc3874eef2300717aa6be241a08c3" type="tarxz">https://download.gnome.org/sources/totem-pl-parser/3.26/totem-pl-parser-3.26.5.tar.xz</Archive>
<BuildDependencies>
<Dependency>glib2-devel</Dependency>
<Dependency>intltool</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>gobject-introspection-devel</Dependency>
<Dependency>meson</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>totem-pl-parser</Name>
<RuntimeDependencies>
<Dependency>libarchive</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libgcrypt</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/girepository-1.0/</Path>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="localedata">/usr/share/locale</Path>
</Files>
</Package>
<Package>
<Name>totem-pl-parser-devel</Name>
<Summary>Development files for totem-pl-aprser</Summary>
<RuntimeDependencies>
<Dependency release="current">totem-pl-parser</Dependency>
<Dependency>libarchive-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/gir-1.0</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>3.26.5</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>
+23
View File
@@ -0,0 +1,23 @@
#!/usr/bin/env python3
# -*- 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():
autotools.configure("--disable-static \
--enable-nss \
--enable-curl")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "LICENSE.OpenSSL", "README")
@@ -0,0 +1,50 @@
diff -urp liboauth-1.0.1-orig/Doxyfile.in liboauth-1.0.1/Doxyfile.in
--- liboauth-1.0.1-orig/Doxyfile.in 2012-11-01 04:34:49.000000000 +0000
+++ liboauth-1.0.1/Doxyfile.in 2013-03-14 14:25:11.000000000 +0000
@@ -45,7 +45,7 @@ PROJECT_BRIEF =
# exceed 55 pixels and the maximum width should not exceed 200 pixels.
# Doxygen will copy the logo to the output directory.
-PROJECT_LOGO = doc/libOAuth.png
+PROJECT_LOGO = @top_srcdir@/doc/libOAuth.png
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
@@ -130,7 +130,7 @@ FULL_PATH_NAMES = YES
# relative paths, which will be relative from the directory where doxygen is
# started.
-STRIP_FROM_PATH = src/
+STRIP_FROM_PATH = @top_srcdir@/src/
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of
# the path mentioned in the documentation of a class, which tells
@@ -661,8 +661,8 @@ WARN_LOGFILE =
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
-INPUT = src/oauth.h \
- doc/mainpage.dox
+INPUT = @top_srcdir@/src/oauth.h \
+ @top_srcdir@/doc/mainpage.dox
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
@@ -722,7 +722,7 @@ EXCLUDE_SYMBOLS =
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH = tests/
+EXAMPLE_PATH = @top_srcdir@/tests/
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
@@ -742,7 +742,7 @@ EXAMPLE_RECURSIVE = NO
# directories that contain image that are included in the documentation (see
# the \image command).
-IMAGE_PATH = doc/
+IMAGE_PATH = @top_srcdir@/doc/
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
@@ -0,0 +1,142 @@
From bf51f1f17bdfcdbf09b7edad9995ccbf17c41109 Mon Sep 17 00:00:00 2001
From: Lars Wendler <polynomial-c@gentoo.org>
Date: Thu, 15 Nov 2018 12:11:11 +0100
Subject: [PATCH] Fixed build with openssl-1.1
https://github.com/x42/liboauth/issues/9
---
src/hash.c | 60 +++++++++++++++++++++++++++++++++++-------------------
1 file changed, 39 insertions(+), 21 deletions(-)
diff --git a/src/hash.c b/src/hash.c
index 17ff5c8..551991f 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -362,6 +362,11 @@ looser:
#include "oauth.h" // base64 encode fn's.
#include <openssl/hmac.h>
+#if OPENSSL_VERSION_NUMBER < 0x10100000
+#define EVP_MD_CTX_new EVP_MD_CTX_create
+#define EVP_MD_CTX_free EVP_MD_CTX_destroy
+#endif
+
char *oauth_sign_hmac_sha1 (const char *m, const char *k) {
return(oauth_sign_hmac_sha1_raw (m, strlen(m), k, strlen(k)));
}
@@ -386,7 +391,7 @@ char *oauth_sign_rsa_sha1 (const char *m, const char *k) {
unsigned char *sig = NULL;
unsigned char *passphrase = NULL;
unsigned int len=0;
- EVP_MD_CTX md_ctx;
+ EVP_MD_CTX *md_ctx;
EVP_PKEY *pkey;
BIO *in;
@@ -399,24 +404,31 @@ char *oauth_sign_rsa_sha1 (const char *m, const char *k) {
return xstrdup("liboauth/OpenSSL: can not read private key");
}
+ md_ctx = EVP_MD_CTX_new();
+ if (md_ctx == NULL) {
+ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
+ }
+
len = EVP_PKEY_size(pkey);
sig = (unsigned char*)xmalloc((len+1)*sizeof(char));
- EVP_SignInit(&md_ctx, EVP_sha1());
- EVP_SignUpdate(&md_ctx, m, strlen(m));
- if (EVP_SignFinal (&md_ctx, sig, &len, pkey)) {
+ EVP_SignInit(md_ctx, EVP_sha1());
+ EVP_SignUpdate(md_ctx, m, strlen(m));
+ if (EVP_SignFinal (md_ctx, sig, &len, pkey)) {
char *tmp;
sig[len] = '\0';
tmp = oauth_encode_base64(len,sig);
OPENSSL_free(sig);
EVP_PKEY_free(pkey);
+ EVP_MD_CTX_free(md_ctx);
return tmp;
}
+ EVP_MD_CTX_free(md_ctx);
return xstrdup("liboauth/OpenSSL: rsa-sha1 signing failed");
}
int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
- EVP_MD_CTX md_ctx;
+ EVP_MD_CTX *md_ctx;
EVP_PKEY *pkey;
BIO *in;
X509 *cert = NULL;
@@ -440,10 +452,10 @@ int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
b64d= (unsigned char*) xmalloc(sizeof(char)*strlen(s));
slen = oauth_decode_base64(b64d, s);
- EVP_VerifyInit(&md_ctx, EVP_sha1());
- EVP_VerifyUpdate(&md_ctx, m, strlen(m));
- err = EVP_VerifyFinal(&md_ctx, b64d, slen, pkey);
- EVP_MD_CTX_cleanup(&md_ctx);
+ EVP_VerifyInit(md_ctx, EVP_sha1());
+ EVP_VerifyUpdate(md_ctx, m, strlen(m));
+ err = EVP_VerifyFinal(md_ctx, b64d, slen, pkey);
+ EVP_MD_CTX_cleanup(md_ctx);
EVP_PKEY_free(pkey);
xfree(b64d);
return (err);
@@ -455,35 +467,41 @@ int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
*/
char *oauth_body_hash_file(char *filename) {
unsigned char fb[BUFSIZ];
- EVP_MD_CTX ctx;
+ EVP_MD_CTX *ctx;
size_t len=0;
unsigned char *md;
FILE *F= fopen(filename, "r");
if (!F) return NULL;
- EVP_MD_CTX_init(&ctx);
- EVP_DigestInit(&ctx,EVP_sha1());
+ ctx = EVP_MD_CTX_new();
+ if (ctx == NULL) {
+ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
+ }
+ EVP_DigestInit(ctx,EVP_sha1());
while (!feof(F) && (len=fread(fb,sizeof(char),BUFSIZ, F))>0) {
- EVP_DigestUpdate(&ctx, fb, len);
+ EVP_DigestUpdate(ctx, fb, len);
}
fclose(F);
len=0;
md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
- EVP_DigestFinal(&ctx, md,(unsigned int*) &len);
- EVP_MD_CTX_cleanup(&ctx);
+ EVP_DigestFinal(ctx, md,(unsigned int*) &len);
+ EVP_MD_CTX_cleanup(ctx);
return oauth_body_hash_encode(len, md);
}
char *oauth_body_hash_data(size_t length, const char *data) {
- EVP_MD_CTX ctx;
+ EVP_MD_CTX *ctx;
size_t len=0;
unsigned char *md;
md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
- EVP_MD_CTX_init(&ctx);
- EVP_DigestInit(&ctx,EVP_sha1());
- EVP_DigestUpdate(&ctx, data, length);
- EVP_DigestFinal(&ctx, md,(unsigned int*) &len);
- EVP_MD_CTX_cleanup(&ctx);
+ ctx = EVP_MD_CTX_new();
+ if (ctx == NULL) {
+ return xstrdup("liboauth/OpenSSL: failed to allocate EVP_MD_CTX");
+ }
+ EVP_DigestInit(ctx,EVP_sha1());
+ EVP_DigestUpdate(ctx, data, length);
+ EVP_DigestFinal(ctx, md,(unsigned int*) &len);
+ EVP_MD_CTX_free(ctx);
return oauth_body_hash_encode(len, md);
}
--
2.19.1
@@ -0,0 +1,21 @@
diff --git a/src/hash.c b/src/hash.c
index 551991f..a0bc8b6 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -455,7 +455,7 @@ int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
EVP_VerifyInit(md_ctx, EVP_sha1());
EVP_VerifyUpdate(md_ctx, m, strlen(m));
err = EVP_VerifyFinal(md_ctx, b64d, slen, pkey);
- EVP_MD_CTX_cleanup(md_ctx);
+ EVP_MD_CTX_free(md_ctx);
EVP_PKEY_free(pkey);
xfree(b64d);
return (err);
@@ -485,7 +485,7 @@ char *oauth_body_hash_file(char *filename) {
len=0;
md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
EVP_DigestFinal(ctx, md,(unsigned int*) &len);
- EVP_MD_CTX_cleanup(ctx);
+ EVP_MD_CTX_free(ctx);
return oauth_body_hash_encode(len, md);
}
+66
View File
@@ -0,0 +1,66 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>liboauth</Name>
<Homepage>http://liboauth.sourceforge.net</Homepage>
<Packager>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>MIT</License>
<IsA>library</IsA>
<Summary>C library implementing the OAuth secure authentication protocol</Summary>
<Description>liboauth is a collection of POSIX-c functions implementing the OAuth Core RFC 5849 standard.</Description>
<Archive sha1sum="791dbb4166b5d2c843c8ff48ac17284cc0884af2" type="targz">mirrors://sourceforge/liboauth/liboauth-1.0.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>curl-devel</Dependency>
<Dependency>nss-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>liboauth-1.0.1-doxygen-out-of-tree.patch</Patch>
<Patch>liboauth-1.0.3-openssl-1.1.patch</Patch>
<Patch>liboauth-1.0.3-openssl-1.1_2.patch</Patch>
</Patches>
</Source>
<Package>
<Name>liboauth</Name>
<RuntimeDependencies>
<Dependency>nss</Dependency>
<Dependency>curl</Dependency>
<Dependency>nspr</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/lib*.so*</Path>
<Path fileType="localedata">/usr/share/licenses</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>liboauth-devel</Name>
<Summary>Development files for liboauth</Summary>
<RuntimeDependencies>
<Dependency release="current">liboauth</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>curl-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2021-05-28</Date>
<Version>1.0.3</Version>
<Comment>First release for Pisi Linux</Comment>
<Name>Berk Çakar</Name>
<Email>berk2238@hotmail.com</Email>
</Update>
</History>
</PISI>