diff --git a/network/share/librsync/actions.py b/network/share/librsync/actions.py index a2e5ef69d3..088718ea08 100644 --- a/network/share/librsync/actions.py +++ b/network/share/librsync/actions.py @@ -1,20 +1,30 @@ #!/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 +# 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 cmaketools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - autotools.configure("--disable-static --enable-shared") + #shelltools.makedirs("build") + #shelltools.cd("build") + cmaketools.configure("-DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib") + def build(): - autotools.make() + #shelltools.cd("build") + cmaketools.make() def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + #shelltools.cd("build") + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + #shelltools.cd("..") + + pisitools.dodoc("README*", "TODO*", "NEWS*", "COPYING") - pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "THANKS" , "TODO") diff --git a/network/share/librsync/pspec.xml b/network/share/librsync/pspec.xml index c21e5e6907..ad5a787806 100644 --- a/network/share/librsync/pspec.xml +++ b/network/share/librsync/pspec.xml @@ -13,13 +13,14 @@ app:console librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy librsync implements the rolling-checksum algorithm of remote file synchronization that was popularized by the rsync utility and is used in rproxy. This algorithm transfers the differences between 2 files without needing both files on the same system. - mirrors://sourceforge/librsync/librsync-0.9.7.tar.gz + https://github.com/librsync/librsync/archive/v2.0.2.tar.gz + cmake popt-devel - librsync-0.9.7-largefiles.patch - librsync-link.patch + + @@ -50,6 +51,13 @@ + + 2018-09-09 + 2.0.2 + Release Bump + Mustafa Cinasal + muscnsl@gmail.com + 2017-05-09 0.9.7 @@ -72,4 +80,4 @@ groni@pisilinux.org - \ No newline at end of file +