create core package
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
|
||||
def setup():
|
||||
autotools.rawConfigure("--enable-elf-shlibs \
|
||||
--enable-nls \
|
||||
--disable-e2initrd-helper \
|
||||
--disable-libblkid \
|
||||
--disable-libuuid \
|
||||
--disable-fsck \
|
||||
--disable-uuidd \
|
||||
--enable-symlink-install \
|
||||
--without-included-gettext")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def check():
|
||||
# remove sandbox violating test
|
||||
for d in ("f_ext_journal", "t_ext_jnl_rm"):
|
||||
shelltools.unlinkDir("%s/e2fsprogs-%s/tests/%s/" % (get.workDIR(), get.srcVERSION(), d))
|
||||
#In chroot env. /dev should be mounted to pass all tests, that's all :)
|
||||
autotools.make("-j1 check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("install install-libs LDCONFIG=/bin/true \
|
||||
DESTDIR=%s root_sbindir=/sbin root_libdir=/lib" % get.installDIR())
|
||||
|
||||
# Unneeded stuff
|
||||
pisitools.remove("/usr/lib/*.a")
|
||||
|
||||
pisitools.dodoc("COPYING", "README", "RELEASE-NOTES")
|
||||
@@ -0,0 +1,133 @@
|
||||
Index: e2fsprogs-1.41.8/lib/ss/Makefile.in
|
||||
===================================================================
|
||||
--- e2fsprogs-1.41.8/lib/ss/Makefile.in
|
||||
+++ e2fsprogs-1.41.8/lib/ss/Makefile.in 2009-07-15 22:26:05.000000000 +0300
|
||||
@@ -124,6 +124,10 @@
|
||||
$(Q) $(SUBSTITUTE) $(srcdir)/mk_cmds.sh.in mk_cmds
|
||||
$(Q) $(CHMOD) +x mk_cmds
|
||||
|
||||
+mk_cmds.install: mk_cmds
|
||||
+ @perl -ne '/^# BUILD start/ ... /^# BUILD end/ or print' $< > $@
|
||||
+ @$(CHMOD) +x $@
|
||||
+
|
||||
ss.pc: $(srcdir)/ss.pc.in $(top_builddir)/config.status
|
||||
$(E) " CONFIG.STATUS $@"
|
||||
$(Q) cd $(top_builddir); CONFIG_FILES=lib/ss/ss.pc ./config.status
|
||||
@@ -134,7 +138,7 @@
|
||||
$(DESTDIR)$(includedir)/ss $(DESTDIR)$(datadir)/ss \
|
||||
$(DESTDIR)$(bindir) $(DESTDIR)$(libdir)/pkgconfig
|
||||
|
||||
-install:: libss.a $(INSTALL_HFILES) installdirs ss_err.h mk_cmds ss.pc
|
||||
+install:: libss.a $(INSTALL_HFILES) installdirs ss_err.h mk_cmds ss.pc mk_cmds.install
|
||||
$(E) " INSTALL_DATA $(DESTDIR)$(libdir)/libss.a"
|
||||
$(Q) $(INSTALL_DATA) libss.a $(DESTDIR)$(libdir)/libss.a
|
||||
-$(Q) $(RANLIB) $(DESTDIR)$(libdir)/libss.a
|
||||
@@ -151,7 +155,7 @@
|
||||
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(datadir)/ss/$$i; \
|
||||
done
|
||||
$(E) " INSTALL $(bindir)/mk_cmds"
|
||||
- $(Q) $(INSTALL) mk_cmds $(DESTDIR)$(bindir)/mk_cmds
|
||||
+ $(Q) $(INSTALL) mk_cmds.install $(DESTDIR)$(bindir)/mk_cmds
|
||||
$(E) " INSTALL_DATA $(man1dir)/mk_cmds.1"
|
||||
$(Q) $(INSTALL_DATA) $(srcdir)/mk_cmds.1 $(DESTDIR)$(man1dir)/mk_cmds.1
|
||||
$(E) " INSTALL_DATA $(libdir)/pkgconfig/ss.pc"
|
||||
Index: e2fsprogs-1.41.8/lib/ss/mk_cmds.sh.in
|
||||
===================================================================
|
||||
--- e2fsprogs-1.41.8/lib/ss/mk_cmds.sh.in
|
||||
+++ e2fsprogs-1.41.8/lib/ss/mk_cmds.sh.in 2009-07-15 22:22:12.000000000 +0300
|
||||
@@ -4,7 +4,9 @@
|
||||
|
||||
datarootdir=@datarootdir@
|
||||
DIR="${DIR-@datadir@/ss}"
|
||||
+# BUILD start
|
||||
SS_DIR="@SS_DIR@"
|
||||
+# BUILD end
|
||||
AWK=@AWK@
|
||||
SED=@SED@
|
||||
|
||||
@@ -30,12 +32,16 @@
|
||||
fi
|
||||
|
||||
if test ! -f $DIR/ct_c.sed || test ! -f $DIR/ct_c.awk ; then
|
||||
+# BUILD start
|
||||
DIR="$SS_DIR"
|
||||
# echo "Falling back to $DIR..."
|
||||
if test ! -f "$DIR/ct_c.sed" || test ! -f "$DIR/ct_c.awk" ; then
|
||||
+# BUILD end
|
||||
echo "mk_cmds: Couldn't find mk_cmds's template files."
|
||||
exit 1
|
||||
+# BUILD start
|
||||
fi
|
||||
+# BUILD end
|
||||
fi
|
||||
|
||||
FILE="$1"
|
||||
Index: e2fsprogs-1.41.8/lib/et/Makefile.in
|
||||
===================================================================
|
||||
--- e2fsprogs-1.41.8/lib/et/Makefile.in
|
||||
+++ e2fsprogs-1.41.8/lib/et/Makefile.in 2009-07-15 22:27:03.000000000 +0300
|
||||
@@ -59,6 +59,10 @@
|
||||
$(Q) $(SUBSTITUTE) $(srcdir)/compile_et.sh.in compile_et
|
||||
$(Q) $(CHMOD) +x compile_et
|
||||
|
||||
+compile_et.install: compile_et
|
||||
+ @perl -ne '/^# BUILD start/ ... /^# BUILD end/ or print' $< > $@
|
||||
+ @$(CHMOD) +x $@
|
||||
+
|
||||
com_err.ps : com_err.dvi
|
||||
com_err.dvi: com_err.texinfo
|
||||
|
||||
@@ -80,7 +84,7 @@
|
||||
$(DESTDIR)$(bindir) $(DESTDIR)$(man1dir) \
|
||||
$(DESTDIR)$(man3dir) $(DESTDIR)$(libdir)/pkgconfig
|
||||
|
||||
-install:: compile_et libcom_err.a $(HFILES) installdirs com_err.pc
|
||||
+install:: compile_et libcom_err.a $(HFILES) installdirs com_err.pc compile_et.install
|
||||
$(E) " INSTALL_DATA $(libdir)/libcom_err.a"
|
||||
$(Q) $(INSTALL_DATA) libcom_err.a $(DESTDIR)$(libdir)/libcom_err.a
|
||||
-$(Q) $(RANLIB) $(DESTDIR)$(libdir)/libcom_err.a
|
||||
@@ -94,7 +98,7 @@
|
||||
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(datadir)/et/$$i; \
|
||||
done
|
||||
$(E) " INSTALL_SCRIPT $(bindir)/compile_et"
|
||||
- $(Q) $(INSTALL_SCRIPT) compile_et $(DESTDIR)$(bindir)/compile_et
|
||||
+ $(Q) $(INSTALL_SCRIPT) compile_et.install $(DESTDIR)$(bindir)/compile_et
|
||||
$(E) " INSTALL_DATA $(man3dir)/com_err.3"
|
||||
$(Q) $(INSTALL_DATA) $(srcdir)/com_err.3 $(DESTDIR)$(man3dir)/com_err.3
|
||||
$(E) " INSTALL_DATA $(man1dir)/compile_et.1"
|
||||
Index: e2fsprogs-1.41.8/lib/et/compile_et.sh.in
|
||||
===================================================================
|
||||
--- e2fsprogs-1.41.8/lib/et/compile_et.sh.in
|
||||
+++ e2fsprogs-1.41.8/lib/et/compile_et.sh.in 2009-07-15 22:22:12.000000000 +0300
|
||||
@@ -5,12 +5,14 @@
|
||||
datarootdir=@datarootdir@
|
||||
AWK=@AWK@
|
||||
DIR="${DIR-@datadir@/et}"
|
||||
+# BUILD start
|
||||
ET_DIR="@ET_DIR@"
|
||||
|
||||
if test "$1" = "--build-tree" ; then
|
||||
shift;
|
||||
DIR="$ET_DIR"
|
||||
fi
|
||||
+# BUILD end
|
||||
|
||||
if test "x$1" = x ; then
|
||||
echo "Usage: compile_et file"
|
||||
@@ -30,12 +32,16 @@
|
||||
done
|
||||
|
||||
if test ! -f "$DIR/et_h.awk" || test ! -f "$DIR/et_c.awk" ; then
|
||||
+# BUILD start
|
||||
DIR="$ET_DIR"
|
||||
# echo "Falling back to $DIR..."
|
||||
if test ! -f "$DIR/et_h.awk" || test ! -f "$DIR/et_c.awk" ; then
|
||||
+# BUILD end
|
||||
echo "compile_et: Couldn't find compile_et's template files."
|
||||
exit 1
|
||||
+# BUILD start
|
||||
fi
|
||||
+# BUILD end
|
||||
fi
|
||||
|
||||
ROOT=`echo $1 | sed -e s/.et$//`
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ur e2fsprogs-1.40.8.orig/lib/blkid/probe.c e2fsprogs-1.40.8/lib/blkid/probe.c
|
||||
--- e2fsprogs-1.40.8.orig/lib/blkid/probe.c 2008-03-14 00:20:46.000000000 +0200
|
||||
+++ e2fsprogs-1.40.8/lib/blkid/probe.c 2008-05-26 14:37:08.000000000 +0300
|
||||
@@ -1105,7 +1105,7 @@
|
||||
static struct blkid_magic type_array[] = {
|
||||
/* type kboff sboff len magic probe */
|
||||
{ "oracleasm", 0, 32, 8, "ORCLDISK", probe_oracleasm },
|
||||
- { "ntfs", 0, 3, 8, "NTFS ", probe_ntfs },
|
||||
+ { "ntfs-3g", 0, 3, 8, "NTFS ", probe_ntfs },
|
||||
{ "jbd", 1, 0x38, 2, "\123\357", probe_jbd },
|
||||
{ "ext4dev", 1, 0x38, 2, "\123\357", probe_ext4dev },
|
||||
{ "ext4", 1, 0x38, 2, "\123\357", probe_ext4 },
|
||||
@@ -0,0 +1,122 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>e2fsprogs</Name>
|
||||
<Homepage>http://e2fsprogs.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Standard ext2/3/4 filesystem utilities</Summary>
|
||||
<Description>e2fsprogs provides the filesystem utilities for use with the ext2 filesystem. It also supports the ext3/4 filesystem with journaling support.</Description>
|
||||
<Archive sha1sum="3d30eb40f3ca69dcef373a505a061b582e1026c2" type="targz">mirrors://sourceforge/e2fsprogs/e2fsprogs-1.42.11.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libblkid-devel</Dependency>
|
||||
<!-- The first release shipped within util-linux -->
|
||||
<Dependency>libuuid</Dependency>
|
||||
|
||||
<Dependency>gettext</Dependency>
|
||||
|
||||
<!-- For libblkid -->
|
||||
<Dependency>util-linux</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">ntfs-3g.patch</Patch>
|
||||
<!-- strip references to workDir() from /usr/bin/mk_cmds and /usr/bin/compile_et -->
|
||||
<Patch level="1">e2fsprogs-1.41.8-strip-me.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>e2fsprogs</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libblkid</Dependency>
|
||||
<!-- The first release shipped within util-linux -->
|
||||
<Dependency>libuuid</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="executable">/bin</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/lib</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="data">/usr/share/et</Path>
|
||||
<Path fileType="data">/usr/share/ss</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>e2fsprogs-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for e2fsprogs</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">e2fsprogs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2014-07-10</Date>
|
||||
<Version>1.42.11</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>1.42.9</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-04-03</Date>
|
||||
<Version>1.42.9</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-10-28</Date>
|
||||
<Version>1.42.8</Version>
|
||||
<Comment>rebuild.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-26</Date>
|
||||
<Version>1.42.8</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-15</Date>
|
||||
<Version>1.42.7</Version>
|
||||
<Comment>New version</Comment>
|
||||
<Name>Ertan Güven</Name>
|
||||
<Email>ertan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-11-25</Date>
|
||||
<Version>1.42.6</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>e2fsprogs</Name>
|
||||
<Summary xml:lang="tr">Standart ext2, ext3, ext4 dosya sistemi uygulamaları</Summary>
|
||||
<Description xml:lang="tr">e2fsprogs ext2 dosya sistemi için standart dosya sistemi uygulamaları sağlar. ext3/4 dosya sistemlerinin günlüğe kaydetme özelliklerini de destekler.</Description>
|
||||
<Description xml:lang="fr">e2frprogs fournit les outils de système de fichier à utiliser avec les systèmes de fichier de type ext2. Il prend également en charge les système de fichier de type ext3/4 avec support de la journalisation.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>e2fsprogs-devel</Name>
|
||||
<Summary xml:lang="tr">e2fsprogs için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user