Proje Gitea'ya taşındı (Temiz başlangıç)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/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 get, pisitools, shelltools
|
||||
|
||||
#NoStrip = ["/usr"]
|
||||
IgnoreAutodep = True
|
||||
|
||||
Version = get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.system("pwd")
|
||||
shelltools.system("ar xf insync_"+Version+"-resolute_amd64.deb")
|
||||
shelltools.system("tar xf data.tar.gz")
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/", "usr")
|
||||
@@ -0,0 +1,36 @@
|
||||
from comar.service import *
|
||||
import os
|
||||
|
||||
serviceType = "server"
|
||||
serviceDesc = _({"en": "Insync",
|
||||
"tr": "Insync"})
|
||||
|
||||
#serviceConf = "apache2"
|
||||
|
||||
PIDFILE = "/run/insync.pid"
|
||||
DAEMON="/usr/bin/insync start"
|
||||
DAEMON1="/usr/bin/insync quit"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
startService(command=DAEMON,
|
||||
pidfile=PIDFILE,
|
||||
detach=True,
|
||||
donotify=True)
|
||||
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
try:
|
||||
os.unlink(PIDFILE)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
def reload():
|
||||
stopService(command="/usr/sbin/insync reload")
|
||||
|
||||
def status():
|
||||
return isServiceRunning(PIDFILE)
|
||||
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Insync
|
||||
After=local-fs.target network.target
|
||||
|
||||
[Service]
|
||||
Environment=DISPLAY=:0
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/insync start
|
||||
ExecStop=/usr/bin/insync quit
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>insync</Name>
|
||||
<Homepage>https://www.insynchq.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<Summary>An unofficial Google Drive and OneDrive client that runs on Linux, with support for various desktops</Summary>
|
||||
<Description>Sync all your Google Drive - OneDrive accounts to your local filesystem Insync integrates with your file manager so you can use our Google Drive or OneDrive files locally while getting the benefits of the cloud. Sync any local folder, sync multiple accounts and sync across Linux, Windows and Mac. Refine your setup with docs conversion, ignore rules, symlink support and much more.</Description>
|
||||
<License>custom</License>
|
||||
<Archive sha1sum="7c648424892bf1da7e9ab111477ee29d9411dcf6" type="binary">
|
||||
https://cdn.insynchq.com/builds/linux/3.9.8.60034/insync_3.9.8.60034-resolute_amd64.deb
|
||||
</Archive>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>insync</Name>
|
||||
<Icon>insync</Icon>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>glibc</Dependency>
|
||||
<Dependency>icon-theme-hicolor</Dependency>
|
||||
<Dependency>libglvnd</Dependency>
|
||||
<Dependency>nss</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/usr/share/dbus-1/services/insync.service" permission="0644" owner="root">insync.service</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2026-04-05</Date>
|
||||
<Version>3.9.8.60034</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2025-12-11</Date>
|
||||
<Version>3.9.7.60031</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2023-12-15</Date>
|
||||
<Version>3.8.6.50504</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2022-12-13</Date>
|
||||
<Version>3.8.3.50473</Version>
|
||||
<Comment>Version Bump.</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2022-04-25</Date>
|
||||
<Version>3.7.5.50350</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user