xMerge branch 'master' of github.com:pisilinux/core

This commit is contained in:
Rmys
2020-01-15 00:12:09 +03:00
13 changed files with 56 additions and 104 deletions
+1 -2
View File
@@ -17,7 +17,6 @@
<IsA>data</IsA>
<Summary>Firmware files used by the Linux kernel</Summary>
<Description>linux-firmware contains different firmware files required for some devices to operate correctly.</Description>
<Archive sha1sum="9313317db68525a3928f64c082eb1a22305b89fb" type="tarxz">https://sourceforge.net/projects/pisilinux/files/source/linux-firmware-20191220.tar.xz</Archive>
<Archive sha1sum="dd685266f7bc0acb0d455462637d23e3e895bc96" type="tarxz" target="linux-firmware/mix">http://source.pisilinux.org/common-fw/common-fw.tar.xz</Archive>
<Archive sha1sum="b2bb7fce3ea67d131f543a48134f7a65f2a8d834" type="tarxz" target="linux-firmware/mix">http://source.pisilinux.org/firmware-ipw/firmware-ipw.tar.xz</Archive>
@@ -49,7 +48,7 @@
</Package>
<History>
<Update release="9">
<Update release="9">
<Date>2019-12-27</Date>
<Version>20191220</Version>
<Comment>Update</Comment>
+22 -8
View File
@@ -28,17 +28,17 @@
<Dependency>zlib-devel</Dependency>
<Dependency>xz-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>rsync</Dependency>
<Dependency>rsync</Dependency>
<Dependency>elfutils-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- Linux patches -->
<Patch level="1" compressionType="xz">patches/linux/patch-5.4.10.xz</Patch>
<!-- Mageia Linux patches-->
<Patch level="1">patches/mageia/fs-aufs-5.4.patch</Patch>
<Patch level="1">patches/mageia/fs-aufs-5.4-modular.patch</Patch>
<Patch level="1">patches/mageia/fs-vboxsf.patch</Patch>
<Patch level="1">patches/mageia/CVE-2019-12379.patch</Patch>
<Patch level="1">patches/mageia/fs-aufs-5.4.patch</Patch>
<Patch level="1">patches/mageia/fs-aufs-5.4-modular.patch</Patch>
<Patch level="1">patches/mageia/fs-vboxsf.patch</Patch>
<Patch level="1">patches/mageia/CVE-2019-12379.patch</Patch>
</Patches>
</Source>
@@ -68,6 +68,9 @@
<Name>kernel-module-headers</Name>
<Summary>Kernel header files for external module building</Summary>
<Description>kernel-module-headers includes the C header files and the necessary Kbuild files for being able to build external kernel modules.</Description>
<RuntimeDependencies>
<Dependency release="current">kernel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/src/linux-headers*</Path>
<Path fileType="header">/tmp-headers*</Path>
@@ -94,8 +97,19 @@
</Package>
<History>
<Update release="29">
<Date>2020-01-12</Date>
<Update release="31">
<Date>2020-01-13</Date>
<Version>5.4.10</Version>
<Comment>Rebuild</Comment>
<Type package="kernel">security</Type>
<Requires>
<Action package="kernel">systemRestart</Action>
</Requires>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
<Update release="30">
<Date>2020-01-10</Date>
<Version>5.4.10</Version>
<Comment>Version Bump.</Comment>
<Type package="kernel">security</Type>
@@ -410,4 +424,4 @@
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
</PISI>
+3
View File
@@ -10,6 +10,7 @@ from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
def setup():
pisitools.flags.add("-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -fPIC")
@@ -19,9 +20,11 @@ def setup():
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
-66
View File
@@ -1,66 +0,0 @@
diff -aur file-5.18/ChangeLog file.git/ChangeLog
--- file-5.18/ChangeLog 2014-03-26 16:27:39.000000000 +0100
+++ file.git/ChangeLog 2014-04-03 18:50:06.066659023 +0200
@@ -1,3 +1,7 @@
+2014-04-01 15:25 Christos Zoulas <christos@zoulas.com>
+
+ * PR/341: Jan Kaluza, fix memory leak
+ * PR/342: Jan Kaluza, fix out of bounds read
2014-03-26 11:25 Christos Zoulas <christos@zoulas.com>
* release 5.18
diff -aur file-5.18/src/apprentice.c file.git/src/apprentice.c
--- file-5.18/src/apprentice.c 2014-03-14 19:48:11.000000000 +0100
+++ file.git/src/apprentice.c 2014-04-03 18:50:06.086659024 +0200
@@ -517,14 +517,18 @@
{
if (map == NULL)
return;
- if (map->p == NULL)
- return;
+ if (map->p != NULL) {
#ifdef QUICK
- if (map->len)
- (void)munmap(map->p, map->len);
- else
+ if (map->len)
+ (void)munmap(map->p, map->len);
+ else
#endif
free(map->p);
+ } else {
+ uint32_t j;
+ for (j = 0; j < MAGIC_SETS; j++)
+ free(map->magic[j]);
+ }
free(map);
}
@@ -1290,11 +1294,7 @@
magic_entry_free(mset[j].me, mset[j].count);
if (errs) {
- for (j = 0; j < MAGIC_SETS; j++) {
- if (map->magic[j])
- free(map->magic[j]);
- }
- free(map);
+ apprentice_unmap(map);
return NULL;
}
return map;
diff -aur file-5.18/python/magic.py file.git/python/magic.py
--- file-5.18/python/magic.py 2014-04-04 20:34:38.086623965 +0200
+++ file.git/python/magic.py 2014-04-04 20:35:42.886623752 +0200
@@ -116,7 +116,10 @@
is set. A call to errno() will return the numeric error code.
"""
try: # attempt python3 approach first
- bi = bytes(filename, 'utf-8')
+ if isinstance(filename, bytes):
+ bi = filename
+ else:
+ bi = bytes(filename, 'utf-8')
return str(_file(self._magic_t, bi), 'utf-8')
except:
return _file(self._magic_t, filename.encode('utf-8'))
+8 -5
View File
@@ -12,17 +12,13 @@
<IsA>app:console</IsA>
<Summary>Program to identify a file's format by scanning binary data for patterns</Summary>
<Description>Program to identify a file's format by scanning binary data for patterns.</Description>
<Archive sha1sum="891176efa3006eff222bd364cd96135aad171941" type="targz">ftp://ftp.astron.com/pub/file/file-5.37.tar.gz</Archive>
<!-- An update to this package can easily break pisi, pay attention! -->
<Archive sha1sum="57cad9341c3f74f8681c2ef931786c420105f35e" type="targz">ftp://ftp.astron.com/pub/file/file-5.38.tar.gz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<!-- remove python dependencies while bootstrap -->
<!--Dependency>python-devel</Dependency-->
<Dependency>python-setuptools</Dependency>
</BuildDependencies>
<!--<Patches>
<Patch level="1">git_fixes.patch</Patch>
</Patches>-->
</Source>
<Package>
@@ -42,6 +38,13 @@
</Package>
<History>
<Update release="8">
<Date>2020-01-13</Date>
<Version>5.38</Version>
<Comment>Version bump</Comment>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
<Update release="7">
<Date>2019-12-11</Date>
<Version>5.37</Version>
+1 -1
View File
@@ -42,7 +42,7 @@
</Package>
<History>
<Update release="5">
<Update release="5">
<Date>2019-12-27</Date>
<Version>1.18</Version>
<Comment>Rebuild</Comment>
+1 -1
View File
@@ -61,7 +61,7 @@
</Package>
<History>
<Update release="6">
<Update release="6">
<Date>2019-12-27</Date>
<Version>1.3.1</Version>
<Comment>Version bump</Comment>
+2
View File
@@ -9,6 +9,8 @@ from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
NoStrip = ["/usr/lib"]
def setup():
# -fno-strict-aliasing workarounds some aliasing violations, see: https://bugzilla.redhat.com/show_bug.cgi?id=487844 -->
shelltools.system('nspr/configure \
@@ -1,14 +0,0 @@
diff --git a/pisi/actionsapi/kerneltools.py b/pisi/actionsapi/kerneltools.py
index df3de3b..2560b47 100644
--- a/pisi/actionsapi/kerneltools.py
+++ b/pisi/actionsapi/kerneltools.py
@@ -253,6 +253,9 @@ def installLibcHeaders(excludes=None):
# Create directories
shelltools.makedirs(headers_tmp)
shelltools.makedirs(headers_dir)
+
+ # Clean up the source directory
+ autotools.make('mrproper')
# install the headers
autotools.rawInstall(make_cmd, "headers_install")
+15 -4
View File
@@ -12,7 +12,7 @@
<IsA>app:console</IsA>
<Summary>PISI is the package management system of Pisi Linux</Summary>
<Description>PISI is a modern package management system implemented in Python. Some of its main features are: package sources are written in XML and python, implements all functions through a simple-to-use API, integrates low-level and high-level package management features.</Description>
<Archive sha1sum="227a4a01f7686892c0ad44bce5c95cc2e634cc50" type="targz">https://github.com/PisiLinuxNew/pisi/archive/v2.7.1.tar.gz</Archive>
<Archive sha1sum="6e014304e8f87c9426808dfbeda6f7ddf44c4a39" type="targz">https://github.com/PisiLinuxNew/pisi/archive/v2.7.2.tar.gz</Archive>
<BuildDependencies>
<Dependency>comar</Dependency>
<Dependency>plyvel</Dependency>
@@ -22,9 +22,6 @@
<Dependency>intltool</Dependency>
<Dependency versionFrom="1.18">leveldb-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>kernel_build_fix.patch</Patch>
</Patches>
</Source>
<Package>
@@ -74,6 +71,20 @@
</Package>
<History>
<Update release="16">
<Date>2020-01-13</Date>
<Version>2.7.2</Version>
<Comment>Version bump.</Comment>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
<Update release="15">
<Date>2020-01-10</Date>
<Version>2.7.1</Version>
<Comment>Rebuild</Comment>
<Name>Safa Arıman</Name>
<Email>safa@ariman.gen.tr</Email>
</Update>
<Update release="14">
<Date>2020-01-10</Date>
<Version>2.7.1</Version>
+1 -1
View File
@@ -31,7 +31,7 @@
</Files>
</Package>
<History>
<Update release="6">
<Update release="6">
<Date>2019-12-27</Date>
<Version>0.9</Version>
<Comment>Rebuild</Comment>
+1 -1
View File
@@ -69,7 +69,7 @@
</Package>
<History>
<Update release="6">
<Update release="6">
<Date>2019-12-11</Date>
<Version>5.2.4</Version>
<Comment>Version bump</Comment>
+1 -1
View File
@@ -93,7 +93,7 @@
<Update release="7">
<Date>2019-12-11</Date>
<Version>1.2.11</Version>
<Comment>Rebuild</Comment>
<Comment>Rebuild.</Comment>
<Name>İdris Kalp</Name>
<Email>idriskalp@gmail.com</Email>
</Update>