Proje Gitea'ya taşındı (Temiz başlangıç)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
# WorkDir = ""
|
||||
# NoStrip = "/"
|
||||
|
||||
def setup():
|
||||
shelltools.system("ar xf arksigner-pub-%s.deb" % get.srcVERSION())
|
||||
shelltools.system("tar xvf %s/data.tar.xz --exclude=./usr/bin/arksigner/libs/libQt5*" % get.workDIR())
|
||||
|
||||
def build():
|
||||
pass
|
||||
|
||||
def install():
|
||||
pisitools.dodir("/etc/init.d")
|
||||
pisitools.insinto("/etc/init.d/", "etc/init.d/arksignerd")
|
||||
pisitools.dodir("/usr/bin/arksigner")
|
||||
pisitools.insinto("/usr/bin/arksigner", "usr/bin/arksigner/*")
|
||||
@@ -0,0 +1,7 @@
|
||||
import os
|
||||
|
||||
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
|
||||
os.system("update-desktop-database")
|
||||
|
||||
def postRemove():
|
||||
os.system("update-desktop-database")
|
||||
@@ -0,0 +1,34 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from comar.service import *
|
||||
import os
|
||||
|
||||
serviceType = "local"
|
||||
serviceDesc = _({"en": "Arksigner Daemon",
|
||||
"tr": "Arksigner Daemon"})
|
||||
serviceDefault = "on"
|
||||
|
||||
PIDFILE="/run/arksignerd.pid"
|
||||
|
||||
@synchronized
|
||||
def start():
|
||||
# path to executable
|
||||
# creates a pid file, sets the working directory and calls the jar file
|
||||
startService(command="/etc/init.d/arksignerd",
|
||||
args="start",
|
||||
donotify=True)
|
||||
|
||||
@synchronized
|
||||
def stop():
|
||||
stopService(pidfile=PIDFILE,
|
||||
donotify=True)
|
||||
|
||||
try:
|
||||
os.unlink(PIDFILE)
|
||||
except:
|
||||
pass
|
||||
|
||||
def ready():
|
||||
start()
|
||||
|
||||
def status():
|
||||
return isServiceRunning(pidfile=PIDFILE)
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>arksigner</Name>
|
||||
<Homepage>https://www.arksigner.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>Bedirhan KURT</Name>
|
||||
<Email>bedirhan.kurt@outlook.com</Email>
|
||||
</Packager>
|
||||
<Summary>ArkSigner e-signature application</Summary>
|
||||
<Description>E-signature app that's digital and practical with everything it has</Description>
|
||||
<License>EULA</License>
|
||||
<Archive type="binary" sha1sum="375606cbfcd108eaf3adba977d8edf797148af65">
|
||||
https://downloads.arksigner.com/files/arksigner-pub-2.3.13.deb
|
||||
</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>arksigner</Name>
|
||||
<Dependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>ccid</Dependency>
|
||||
<Dependency>libusb-compat</Dependency>
|
||||
<Dependency>pcsc-lite</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>qt5-connectivity</Dependency>
|
||||
<Dependency>qt5-websockets</Dependency>
|
||||
</Dependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/etc/init.d/arksignerd</Path>
|
||||
<Path fileType="data">/usr/bin/arksigner</Path>
|
||||
</Files>
|
||||
<Provides>
|
||||
<COMAR script="package.py">System.Package</COMAR>
|
||||
<COMAR script="service.py">System.Service</COMAR>
|
||||
</Provides>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2026-01-29</Date>
|
||||
<Version>2.3.13</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2025-11-06</Date>
|
||||
<Version>2.3.12</Version>
|
||||
<Comment>Version Bump</Comment>
|
||||
<Name>Erkan IŞIK</Name>
|
||||
<Email>erkanisik@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2025-05-13</Date>
|
||||
<Version>2.3.11</Version>
|
||||
<Comment>Update package meta</Comment>
|
||||
<Name>Bedirhan KURT</Name>
|
||||
<Email>bedirhan.kurt@outlook.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2025-02-05</Date>
|
||||
<Version>2.3.11</Version>
|
||||
<Comment>Initial Packaging for PISI</Comment>
|
||||
<Name>Bedirhan KURT</Name>
|
||||
<Email>bedirhan.kurt@outlook.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>arksigner</Name>
|
||||
<Summary>ArkSigner e-imza uygulaması</Summary>
|
||||
<Description>Her şeyiyle dijital, her şeyiyle pratik e-imza uygulaması</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user