Merge pull request #8949 from 4fury-c3440d8/newapp
gparted with additional dependencies.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--sbindir=/usr/sbin --without-selinux --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
pisitools.remove("/usr/sbin/sg_write_buffer")
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>f2fs-tools</Name>
|
||||
<Homepage>https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/about/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>Userland tools for the f2fs filesystem.</Summary>
|
||||
<Description>Tools for Flash-Friendly File System (F2FS).</Description>
|
||||
<Archive sha1sum="33cab82da464a393a1f91d7871fa4a0b828d9fb1" type="targz">
|
||||
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/f2fs-tools-1.14.0.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>f2fs-tools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man/man8</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>1.14.0</Version>
|
||||
<Comment>First Beta build.</Comment>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
<Name>fury</Name>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
shelltools.system("./autogen.sh")
|
||||
autotools.configure("--prefix=/usr")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("Changes", "COPYING", "README.md")
|
||||
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gpart</Name>
|
||||
<Homepage>https://github.com/baruch/gpart</Homepage>
|
||||
<Packager>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>Partition table rescue/guessing tool.</Summary>
|
||||
<Description>Gpart is a small tool which tries to guess what partitions are on a PC type harddisk in case the primary partition table was damaged.</Description>
|
||||
<Archive sha1sum="16eb8bcee2598e89fb62816aa625e61394dd73bc" type="targz">https://github.com/baruch/gpart/archive/0.3.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gpart</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>0.3</Version>
|
||||
<Comment>First Beta release.</Comment>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gpart</Name>
|
||||
<Summary xml:lang="en">Partition table rescue/guessing tool</Summary>
|
||||
<Description xml:lang="en">Gpart is a small tool which tries to guess what partitions are on a PC type harddisk in case the primary partition table was damaged.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--enable-xhost-root --enable-libparted-dmraid --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gparted</Name>
|
||||
<Homepage>https://gparted.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>Gnome Partition tool based on GNU-Parted.</Summary>
|
||||
<Description>GParted is the Gnome Partition Editor application. GParted is an industrial-strength package for creating, destroying, resizing, moving, checking and copying partitions, and the filesystems on them. This is useful for creating space for new operating systems, reorganizing disk usage, copying data residing on hard disks and mirroring one partition with another (disk imaging).</Description>
|
||||
<Archive sha1sum="af44456f16bfc53f4f72ddc9b15e097bdfdaeab7" type="targz">
|
||||
mirrors://sourceforge/project/gparted/gparted/gparted-1.1.0/gparted-1.1.0.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>itstool</Dependency>
|
||||
<Dependency>atkmm-devel</Dependency>
|
||||
<Dependency>polkit-devel</Dependency>
|
||||
<Dependency>parted-devel</Dependency>
|
||||
<Dependency>gtkmm3-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gparted</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>xterm</Dependency>
|
||||
<Dependency>gpart</Dependency>
|
||||
<Dependency>atkmm</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>gtkmm3</Dependency>
|
||||
<Dependency>parted</Dependency>
|
||||
<Dependency>glibmm</Dependency>
|
||||
<Dependency>mtools</Dependency>
|
||||
<Dependency>ntfs-3g</Dependency>
|
||||
<Dependency>cairomm</Dependency>
|
||||
<Dependency>pangomm</Dependency>
|
||||
<Dependency>xfsdump</Dependency>
|
||||
<Dependency>xfsprogs</Dependency>
|
||||
<Dependency>jfsutils</Dependency>
|
||||
<Dependency>xdg-utils</Dependency>
|
||||
<Dependency>libsigc++</Dependency>
|
||||
<Dependency>f2fs-tools</Dependency>
|
||||
<Dependency>dosfstools</Dependency>
|
||||
<Dependency>nilfs-utils</Dependency>
|
||||
<Dependency>exfat-utils</Dependency>
|
||||
<Dependency>btrfs-progs</Dependency>
|
||||
<Dependency>reiserfsprogs</Dependency>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="data">/usr/share/appdata/</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/polkit-1</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/help</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>1.1.0</Version>
|
||||
<Comment>First Beta release.</Comment>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gparted</Name>
|
||||
<Summary xml:lang="tr">GNU Parted tabanlı Gnome disk bölümleme aracı</Summary>
|
||||
<Description xml:lang="tr">GParted Gnome masaüstü ortamının disk bölümleme uygulamasıdır. Bu program, disk bölümleme, dosya sistemleri oluşturma, silme, boyutlandırma, taşıma, kontrol ve kopyalama işlemlerini yapabilir. Yeni bir işletim sistemi için yer açmak, disk kullanımını yeniden düzenlemek, verileri diskin bir başka bölümüne aynalamak ve yerleştirmek için faydalıdır.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--sbindir=/usr/sbin")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
for bin in "mkfs", "fsck":
|
||||
pisitools.remove("/usr/sbin/%s.jfs" % bin)
|
||||
pisitools.dosym("jfs_%s" % bin, "/usr/sbin/%s.jfs" % bin)
|
||||
|
||||
manfile = "/%s/man8/%s.jfs.8" % (get.manDIR(), bin)
|
||||
|
||||
pisitools.remove(manfile)
|
||||
pisitools.dosym("jfs_%s.8" % bin, manfile)
|
||||
|
||||
pisitools.dodoc("ChangeLog", "AUTHORS", "NEWS", "README*", "COPYING")
|
||||
@@ -0,0 +1,72 @@
|
||||
Fix building with GCC 10
|
||||
|
||||
Origin: https://sources.debian.org/patches/jfsutils/1.1.15-5/gcc10_fix-1.patch/
|
||||
|
||||
--- a/fscklog/display.c
|
||||
+++ b/fscklog/display.c
|
||||
@@ -54,7 +54,7 @@
|
||||
* output: fsck extracted service log I/O buffer
|
||||
*
|
||||
*/
|
||||
-char xchklog_buffer[XCHKLOG_BUFSIZE];
|
||||
+static char xchklog_buffer[XCHKLOG_BUFSIZE];
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
|
||||
*
|
||||
--- a/libfs/logredo.c
|
||||
+++ b/libfs/logredo.c
|
||||
@@ -87,9 +87,9 @@
|
||||
* S T U F F F O R T H E L O G
|
||||
*
|
||||
*/
|
||||
-struct logsuper logsup; /* log super block */
|
||||
-int32_t numdoblk; /* number of do blocks used */
|
||||
-int32_t numnodofile; /* number of nodo file blocks used */
|
||||
+static struct logsuper logsup; /* log super block */
|
||||
+static int32_t numdoblk; /* number of do blocks used */
|
||||
+static int32_t numnodofile; /* number of nodo file blocks used */
|
||||
int32_t numExtDtPg = 0; /* number of extended dtpage blocks used */
|
||||
|
||||
/*
|
||||
@@ -129,7 +129,7 @@
|
||||
*/
|
||||
|
||||
/* buffer header table */
|
||||
-struct bufhdr {
|
||||
+static struct bufhdr {
|
||||
int16_t next; /* 2: next on free/lru list */
|
||||
int16_t prev; /* 2: previous on free/lru list */
|
||||
int16_t hnext; /* 2: next on hash chain */
|
||||
@@ -142,7 +142,7 @@
|
||||
} bufhdr[NBUFPOOL]; /* (24) */
|
||||
|
||||
/* buffer table */
|
||||
-struct bufpool {
|
||||
+static struct bufpool {
|
||||
char bytes[PSIZE];
|
||||
} buffer[NBUFPOOL - 1];
|
||||
|
||||
@@ -151,15 +151,16 @@
|
||||
*
|
||||
* log has its own 4 page buffer pool.
|
||||
*/
|
||||
-uint8_t afterdata[LOGPSIZE * 2]; /* buffer to read in redopage data */
|
||||
+static uint8_t afterdata[LOGPSIZE * 2]; /* buffer to read in redopage data */
|
||||
|
||||
/*
|
||||
* Miscellaneous
|
||||
*/
|
||||
-caddr_t prog; /* Program name */
|
||||
-int32_t mntcnt, bufsize;
|
||||
-char *mntinfo;
|
||||
-int32_t retcode; /* return code from logredo */
|
||||
+static caddr_t prog; /* Program name */
|
||||
+extern int32_t mntcnt;
|
||||
+static int32_t bufsize;
|
||||
+static char *mntinfo;
|
||||
+static int32_t retcode; /* return code from logredo */
|
||||
int end_of_transaction = 0;
|
||||
|
||||
/*
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/libfs/devices.h 2013-03-18 21:35:10.000000000 +0100
|
||||
+++ b/libfs/devices.h 2013-03-18 21:35:34.000000000 +0100
|
||||
@@ -40,6 +40,8 @@
|
||||
#define ERROR_INVALID_PARAMETER 87
|
||||
#define ERROR_DISK_FULL 112
|
||||
|
||||
+#include <inttypes.h>
|
||||
+
|
||||
struct stat;
|
||||
|
||||
int ujfs_get_dev_size(FILE *, int64_t * size);
|
||||
@@ -0,0 +1,11 @@
|
||||
--- a/fscklog/extract.c
|
||||
+++ b/fscklog/extract.c
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
+#include <stdint.h>
|
||||
|
||||
#include "devices.h"
|
||||
#include "diskmap.h"
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
https://bugs.gentoo.org/580056
|
||||
|
||||
--- a/libfs/devices.c
|
||||
+++ b/libfs/devices.c
|
||||
@@ -30,6 +30,10 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
+#if HAVE_SYS_SYSMACROS_H
|
||||
+#include <sys/sysmacros.h>
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_SYS_MOUNT_H
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jfsutils</Name>
|
||||
<Homepage>http://jfs.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>IBM's Journaling Filesystem (JFS) Utilities.</Summary>
|
||||
<Description>Contains tools to work with JFS (Journaling Filesystem) developed by IBM.</Description>
|
||||
<Archive sha1sum="291e8bd9d615cf3d27e4000117c81a3602484a50" type="targz">http://jfs.sourceforge.net/project/pub/jfsutils-1.1.15.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">gcc10.patch</Patch>
|
||||
<Patch level="1">missing_stdint_header.patch</Patch>
|
||||
<Patch level="1">inttypes.patch</Patch>
|
||||
<Patch level="1">sysmacros.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>jfsutils</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>1.1.15</Version>
|
||||
<Comment>First Beta rebuild.</Comment>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>jfsutils</Name>
|
||||
<Summary xml:lang="tr">IBM'in günlüklü dosya sistemi JFS için araçlar</Summary>
|
||||
<Description xml:lang="tr">IBM'in geliştirdiği günlüklü dosya sistemi (JFS - Journalling File System) araçlarını içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--sbindir=/usr/sbin --with-libmount --without-selinux --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s sbindir=/usr/sbin" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>nilfs-utils</Name>
|
||||
<Homepage>https://nilfs.sourceforge.io/en/</Homepage>
|
||||
<Packager>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>A log-structured file system supporting continuous snapshotting (userspace utils).</Summary>
|
||||
<Description>NILFS is a log-structured file system supporting versioning of the entire file system and continuous snapshotting which allows users to even restore files mistakenly overwritten or destroyed just a few seconds ago.</Description>
|
||||
<Archive sha1sum="d95c82a95790f136b157757695df6b5359e4b025" type="tarbz2">https://nilfs.sourceforge.io/download/nilfs-utils-2.2.8.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>nilfs-utils</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>nilfs-utils-devel</Name>
|
||||
<Summary>nilfs-utils için geliştirm edosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">nilfs-utils</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>2.2.8</Version>
|
||||
<Comment>First Beta release.</Comment>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>nilfs-utils</Name>
|
||||
<Summary xml:lang="en">A log-structured file system supporting continuous snapshotting (userspace utils)</Summary>
|
||||
<Description xml:lang="en">NILFS is a log-structured file system supporting versioning of the entire file system and continuous snapshotting which allows users to even restore files mistakenly overwritten or destroyed just a few seconds ago.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>nilfs-utils-devel</Name>
|
||||
<Summary xml:lang="tr">nilfs-utils için geliştirm edosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = "-Wno-unused-but-set-variable \
|
||||
-Wno-unused-result \
|
||||
-Wno-deprecated-declarations \
|
||||
-Wno-stringop-truncation \
|
||||
"
|
||||
|
||||
def setup():
|
||||
# suppress compiler warnings
|
||||
pisitools.cflags.add(j)
|
||||
shelltools.export("OPTIMIZER", get.CFLAGS())
|
||||
shelltools.export("DEBUG", "-DNDEBUG")
|
||||
|
||||
autotools.configure("--sbindir=/usr/sbin --disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DIST_ROOT="%s"' % get.installDIR())
|
||||
@@ -0,0 +1,22 @@
|
||||
Do not compress changelog during build.
|
||||
|
||||
--- a/doc/Makefile
|
||||
+++ b/doc/Makefile
|
||||
@@ -12,7 +12,7 @@ LSRCFILES = INSTALL CHANGES COPYING $(README) \
|
||||
|
||||
LDIRT = *.gz
|
||||
|
||||
-default: CHANGES.gz
|
||||
+default:
|
||||
|
||||
include $(BUILDRULES)
|
||||
|
||||
@@ -22,7 +22,7 @@ CHANGES.gz:
|
||||
|
||||
install: default
|
||||
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
|
||||
- $(INSTALL) -m 644 CHANGES.gz $(README) $(PKG_DOC_DIR)
|
||||
+ $(INSTALL) -m 644 CHANGES $(README) $(PKG_DOC_DIR)
|
||||
ifeq ($(PKG_DISTRIBUTION), debian)
|
||||
$(INSTALL) -S CHANGES.gz $(PKG_DOC_DIR)/changelog.gz
|
||||
else
|
||||
@@ -0,0 +1,26 @@
|
||||
http://bugs.gentoo.org/311881
|
||||
|
||||
--- a/dump/Makefile
|
||||
+++ b/dump/Makefile
|
||||
@@ -100,9 +100,6 @@ install: default
|
||||
$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
|
||||
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
|
||||
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
|
||||
- # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora
|
||||
- test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \
|
||||
- $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
|
||||
install-dev:
|
||||
|
||||
.dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
|
||||
--- a/restore/Makefile
|
||||
+++ b/restore/Makefile
|
||||
@@ -114,9 +114,6 @@ install: default
|
||||
$(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR)
|
||||
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR)
|
||||
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
|
||||
- # skip symlink when /sbin is alread symlinked to /usr/sbin, like on Fedora
|
||||
- test $(PKG_ROOT_SBIN_DIR) -ef $(PKG_SBIN_DIR) || \
|
||||
- $(INSTALL) -S $(PKG_ROOT_SBIN_DIR)/$(LTCOMMAND) $(PKG_SBIN_DIR)/$(LTCOMMAND)
|
||||
install-dev:
|
||||
|
||||
.dep: $(COMMINCL) $(COMMON) $(INVINCL) $(INVCOMMON)
|
||||
@@ -0,0 +1,18 @@
|
||||
Do not build inventory/ subdirectory.
|
||||
Bug: https://bugs.gentoo.org/692972
|
||||
Upstream report: https://www.spinics.net/lists/linux-xfs/msg36884.html
|
||||
|
||||
|
||||
Do not build debian/ subdirectory.
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -42,7 +42,7 @@ LDIRT += $(SRCTAR)
|
||||
endif
|
||||
|
||||
LIB_SUBDIRS = librmt
|
||||
-TOOL_SUBDIRS = common inventory invutil dump restore m4 man doc po debian
|
||||
+TOOL_SUBDIRS = common invutil dump restore m4 man doc po
|
||||
|
||||
SUBDIRS = include $(LIB_SUBDIRS) $(TOOL_SUBDIRS)
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xfsdump</Name>
|
||||
<Homepage>https://git.kernel.org/pub/scm/fs/xfs/xfsdump-dev.git/</Homepage>
|
||||
<Packager>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<PartOf>hardware.disk</PartOf>
|
||||
<Summary>XFS dump/restore utilities.</Summary>
|
||||
<Description>xfsdump contains XFS filesystem dump and restore utilities.</Description>
|
||||
<Archive sha1sum="5701bc32ca23327ce69412a43966f19b1dad64f3" type="tarxz">http://ftp.ntu.edu.tw/pub/linux/utils/fs/xfs/xfsdump/xfsdump-3.1.9.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>attr-devel</Dependency>
|
||||
<Dependency>dmapi-devel</Dependency>
|
||||
<Dependency>ncurses-devel</Dependency>
|
||||
<Dependency>xfsprogs-devel</Dependency>
|
||||
<Dependency>libutil-linux-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">no_symlink.patch</Patch>
|
||||
<Patch level="1">skip_inventory_debian_subfolder.patch</Patch>
|
||||
<Patch level="1">no_changes_compress.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>xfsdump</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gcc</Dependency>
|
||||
<Dependency>attr</Dependency>
|
||||
<Dependency>gawk</Dependency>
|
||||
<Dependency>dmapi</Dependency>
|
||||
<Dependency>uuidd</Dependency>
|
||||
<Dependency>ncurses</Dependency>
|
||||
<Dependency>libtool</Dependency>
|
||||
<Dependency>gettext</Dependency>
|
||||
<Dependency>xfsprogs</Dependency>
|
||||
<Dependency>libutil-linux</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2021-01-12</Date>
|
||||
<Version>3.1.9</Version>
|
||||
<Comment>First Beta release.</Comment>
|
||||
<Name>AYDIN ATMACA</Name>
|
||||
<Email>aydinatmaca@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>xfsdump</Name>
|
||||
<Summary xml:lang="tr">XFS döküm ve geri yükleme araçları</Summary>
|
||||
<Description xml:lang="tr">xfsdump, XFS dosya sistemi döküm (dump) ve geri yükleme (restore) araçlarını içerir.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user