Kaydet (Commit) 76105eec authored tarafından Ali Rıza KESKİN's avatar Ali Rıza KESKİN

inary baselayout curl

üst 99c0926b
This diff is collapsed.
adabed8713bce98a0b558ad98714aa48d40bbea3 0f8d648a81ce3d01a492ae12c8563af3ccde52d5
\ No newline at end of file \ No newline at end of file
fff954fec5eaf1cc7dabc756ec6befd34fb412ea bc2425afd903080c6be1822af17fd2f2427ae1d6
\ No newline at end of file \ No newline at end of file
...@@ -75,9 +75,13 @@ def install(): ...@@ -75,9 +75,13 @@ def install():
inarytools.dosym("lib", "/lib64") inarytools.dosym("lib", "/lib64")
inarytools.dosym("lib32", "/libx32") inarytools.dosym("lib32", "/libx32")
inarytools.dosym("lib", "/usr/lib64") inarytools.dosym("lib", "/usr/lib64")
inarytools.dosym("../lib", "/usr/lib/x86_64-linux-gnu")
inarytools.dosym("../lib32", "/usr/lib32/i686-linux-gnu")
inarytools.dosym("lib32", "/usr/libx32") inarytools.dosym("lib32", "/usr/libx32")
inarytools.dosym("lib", "/usr/local/lib64") inarytools.dosym("lib", "/usr/local/lib64")
inarytools.dosym("lib32", "/usr/local/libx32") inarytools.dosym("lib32", "/usr/local/libx32")
inarytools.dosym("../lib", "/usr/local/lib/x86_64-linux-gnu")
inarytools.dosym("../lib32", "/usr/local/lib32/i686-linux-gnu")
# Adjust permissions # Adjust permissions
shelltools.system("chmod 755 -R {}/".format(get.installDIR())) shelltools.system("chmod 755 -R {}/".format(get.installDIR()))
......
...@@ -70,3 +70,19 @@ fs.inotify.max_user_watches = 524288 ...@@ -70,3 +70,19 @@ fs.inotify.max_user_watches = 524288
#be restricted from mmapping. #be restricted from mmapping.
vm.mmap_min_addr=4096 vm.mmap_min_addr=4096
#### Tweaks
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
vm.vfs_cache_pressure = 50
# Sets the time before the kernel considers migrating a proccess to another core
kernel.sched_migration_cost_ns = 5000000
# Group tasks by TTY
#kernel.sched_autogroup_enabled = 0
...@@ -22,13 +22,12 @@ def postInstall(): ...@@ -22,13 +22,12 @@ def postInstall():
copy_file("/usr/share/baselayout/inittab.openrc", "/etc/inittab",0o700) copy_file("/usr/share/baselayout/inittab.openrc", "/etc/inittab",0o700,True)
copy_file("/usr/share/baselayout/bash/bashrc","/etc/bash/bashrc",0o755) copy_file("/usr/share/baselayout/bash/bashrc","/etc/bash/bashrc",0o755,True)
for i in os.listdir("/usr/share/baselayout/bash/bashrc.d"): for i in os.listdir("/usr/share/baselayout/bash/bashrc.d"):
copy_file("/usr/share/baselayout/bash/bashrc.d/"+i, "/etc/bash/bashrc.d/"+i,0o755,True) copy_file("/usr/share/baselayout/bash/bashrc.d/"+i, "/etc/bash/bashrc.d/"+i,0o755,True)
copy_file("/usr/share/baselayout/shadow", "/etc/shadow",0o700) copy_file("/usr/share/baselayout/shadow", "/etc/shadow",0o700)
copy_file("/usr/share/baselayout/index.theme", "/usr/share/icons/hicolor/index.theme",0o755,True) copy_file("/usr/share/baselayout/index.theme", "/usr/share/icons/hicolor/index.theme",0o755,True)
os.chmod("/usr/share/icons/hicolor/index.theme",0o755)
# We should only install empty files if these files don't already exist. # We should only install empty files if these files don't already exist.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<IsA>data</IsA> <IsA>data</IsA>
<Summary>Filesystem baselayout</Summary> <Summary>Filesystem baselayout</Summary>
<Description>baselayout creates the Sulin main filesystem hierarchy.</Description> <Description>baselayout creates the Sulin main filesystem hierarchy.</Description>
<Archive sha1sum="4489e4c991775c2bc9fa2bd381a3c50a109c5862">https://gitlab.com/sulinos/devel/baselayout/-/archive/3.0.8/baselayout-3.0.8.tar.gz</Archive> <Archive sha1sum="c9c044216289cfbe1cfda97710be5c7650486586">https://gitlab.com/sulinos/devel/baselayout/-/archive/3.0.9/baselayout-3.0.9.tar.gz</Archive>
</Source> </Source>
<Package> <Package>
...@@ -49,6 +49,13 @@ ...@@ -49,6 +49,13 @@
</Package> </Package>
<History> <History>
<Update release="14">
<Date>2019-10-10</Date>
<Version>3.0.9</Version>
<Comment>more tweaks</Comment>
<Name>Ali Rıza KESKİN</Name>
<Email>parduscix@yandex.ru</Email>
</Update>
<Update release="13"> <Update release="13">
<Date>2019-10-10</Date> <Date>2019-10-10</Date>
<Version>3.0.8</Version> <Version>3.0.8</Version>
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# #
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt # See the file http://www.gnu.org/licenses/gpl.txt
import os
env=os.environ.copy()
from inary.actionsapi import shelltools from inary.actionsapi import shelltools
from inary.actionsapi import autotools from inary.actionsapi import autotools
from inary.actionsapi import inarytools from inary.actionsapi import inarytools
...@@ -11,9 +12,7 @@ from inary.actionsapi import get ...@@ -11,9 +12,7 @@ from inary.actionsapi import get
def setup(): def setup():
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
shelltools.export("CFLAGS","-m32") set_emul32()
shelltools.export("CXXFLAGS","-m32")
shelltools.export("LDFLAGS","-m32")
autotools.configure("--disable-static \ autotools.configure("--disable-static \
--enable-dependency-tracking \ --enable-dependency-tracking \
--disable-ldap \ --disable-ldap \
...@@ -29,6 +28,8 @@ def setup(): ...@@ -29,6 +28,8 @@ def setup():
--without-librtmp \ --without-librtmp \
--without-zstd \ --without-zstd \
--without-brotli \ --without-brotli \
--with-nghttp2 \
--with-ngtcp2\
--enable-ipv6 \ --enable-ipv6 \
--enable-http \ --enable-http \
--enable-ftp \ --enable-ftp \
...@@ -51,11 +52,19 @@ def setup(): ...@@ -51,11 +52,19 @@ def setup():
def build(): def build():
if get.buildTYPE() == "emul32": if get.buildTYPE() == "emul32":
shelltools.export("CC","gcc -m32") set_emul32()
shelltools.export("CXX","g++ -m32") shelltools.system("make -j$(nproc)")
shelltools.export("LDFLAGS","-m32") return
autotools.make() autotools.make()
def set_emul32():
os.environ.clear()
os.environ.update(env)
shelltools.export("CC", "gcc -m32")
shelltools.export("CXX", "g++ -m32")
shelltools.export("HOST", "x86_64")
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
def check(): def check():
pass pass
#shelltools.export("LD_LIBRARY_PATH", "%s/lib" % get.curDIR()) #shelltools.export("LD_LIBRARY_PATH", "%s/lib" % get.curDIR())
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<INARY> <INARY>
<Source> <Source>
<Name>curl</Name> <Name>curl</Name>
<Homepage>http://curl.haxx.se/</Homepage> <Homepage>http://curl.se/</Homepage>
<Packager> <Packager>
<Name>Süleyman POYRAZ</Name> <Name>Süleyman POYRAZ</Name>
<Email>zaryob.dev@gmail.com</Email> <Email>zaryob.dev@gmail.com</Email>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>A ut ility for getting files from remote servers</Summary> <Summary>A ut ility for getting files from remote servers</Summary>
<Description>curl is a command line tool for transferring data with URL syntax, supporting various protocols.</Description> <Description>curl is a command line tool for transferring data with URL syntax, supporting various protocols.</Description>
<Archive sha1sum="b8c8d8f33e9fa99d7ba6e35036715f8a76356f66">https://curl.haxx.se/download/curl-7.72.0.tar.xz</Archive> <Archive sha1sum="d38ab79ef7a6d92df91ca8dfcf9a5eaf7e25b725">https://curl.se/download/curl-7.76.1.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>glibc-devel</Dependency> <Dependency>glibc-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
...@@ -103,6 +103,13 @@ ...@@ -103,6 +103,13 @@
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="7">
<Date>2019-12-13</Date>
<Version>7.76.1</Version>
<Comment>Release up</Comment>
<Name>Suleyman Poyraz</Name>
<Email>zaryob.dev@gmail.com</Email>
</Update>
<Update release="6"> <Update release="6">
<Date>2019-12-13</Date> <Date>2019-12-13</Date>
<Version>7.72.0</Version> <Version>7.72.0</Version>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>INARY is the package management system of Sulin</Summary> <Summary>INARY is the package management system of Sulin</Summary>
<Description>INARY 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> <Description>INARY 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="28b41bcbe1b2d25cc4b6d631da4b5c7ab06de712">https://gitlab.com/sulinos/devel/inary/-/archive/1.4.3/inary-1.4.3.tar.gz</Archive> <Archive sha1sum="805169d79fd2b447de52679b316168880c8bf82a">https://gitlab.com/sulinos/devel/inary/-/archive/1.5.0/inary-1.5.0.zip</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
<Dependency>gettext</Dependency> <Dependency>gettext</Dependency>
...@@ -46,6 +46,13 @@ ...@@ -46,6 +46,13 @@
</Files> </Files>
</Package> </Package>
<History> <History>
<Update release="14">
<Date>2020-07-12</Date>
<Version>1.5.0</Version>
<Comment>Version bump to 1.5.0</Comment>
<Name>Ali Rıza KESKİN</Name>
<Email>parduscix@yandex.ru</Email>
</Update>
<Update release="13"> <Update release="13">
<Date>2020-07-12</Date> <Date>2020-07-12</Date>
<Version>1.4.3</Version> <Version>1.4.3</Version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment