core updated.

This commit is contained in:
Ertuğrul Erata
2015-05-17 16:28:10 +03:00
parent 14d58aa1d0
commit 8e13c775be
558 changed files with 543408 additions and 27657 deletions
-44
View File
@@ -1,44 +0,0 @@
#!/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 get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
def setup():
# /var/run => /run
#pisitools.dosed("configure.ac", "^(\s+CONSOLE_KIT_PID_FILE=)\$\{localstatedir\}(\/run\/ConsoleKit\/pid)", r"\1\2")
#pisitools.dosed("src/Makefile.am", "\$\(localstatedir\)(\/run\/ConsoleKit)", r"\1")
shelltools.system("sed -i -e '/SystemdService/d' data/org.freedesktop.ConsoleKit.service.in")
autotools.autoreconf("-fi")
autotools.configure("\
--libexecdir=/usr/libexec/ConsoleKit \
--localstatedir=/var \
--with-pid-file=/run/ConsoleKit/pid \
--with-systemdsystemunitdir=no \
--disable-static \
--enable-pam-module \
--enable-udev-acl \
--enable-pam-module \
--with-dbus-services=/usr/share/dbus-1/services \
--with-logrotate-dir=/etc/logrotate.d \
--with-xinitrc-dir=/etc/X11/xinit/xinitrc \
--with-pam-module-dir=/lib/security \
--without-systemdsystemunitdir \
XMLTO_FLAGS='--skip-validation' \
")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s/" % get.installDIR())
pisitools.dodir("/run/console")
pisitools.dodoc("AUTHORS", "README", "COPYING", "HACKING", "NEWS", "TODO")
@@ -1,2 +0,0 @@
d /run/ConsoleKit 0755 root root
d /run/console 0755 root root
@@ -1,17 +0,0 @@
#!/bin/sh
TAGDIR=/run/console
[ -n "$CK_SESSION_USER_UID" ] || exit 1
[ "$CK_SESSION_IS_LOCAL" = "true" ] || exit 0
TAGFILE="$TAGDIR/`getent passwd $CK_SESSION_USER_UID | cut -f 1 -d:`"
if [ "$1" = "session_added" ]; then
mkdir -p "$TAGDIR"
echo "$CK_SESSION_ID" >> "$TAGFILE"
fi
if [ "$1" = "session_removed" ] && [ -e "$TAGFILE" ]; then
sed -i "\%^$CK_SESSION_ID\$%d" "$TAGFILE"
[ -s "$TAGFILE" ] || rm -f "$TAGFILE"
fi
-134
View File
@@ -1,134 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ConsoleKit2</Name>
<Homepage>http://freedesktop.org/Software/Hal</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>A framework for defining and tracking users, login sessions, and seats</Summary>
<Description>ConsoleKit is a system daemon for tracking what users are logged into the system and how they interact with the computer (e.g. which keyboard and mouse they use).</Description>
<Archive sha1sum="64163e35e2622dc7666af933557595ce104e32c1" type="zip">https://github.com/ConsoleKit2/ConsoleKit2/archive/master.zip</Archive>
<BuildDependencies>
<Dependency>acl-devel</Dependency>
<Dependency>pam-devel</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>udev-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>polkit-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>ConsoleKit</Name>
<RuntimeDependencies>
<Dependency>acl</Dependency>
<Dependency>pam</Dependency>
<Dependency>dbus</Dependency>
<Dependency>zlib</Dependency>
<Dependency>glib2</Dependency>
<Dependency>libX11</Dependency>
<Dependency>polkit</Dependency>
<Dependency>libudev</Dependency>
<Dependency>dbus-glib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="config">/usr/lib/tmpfiles.d/ConsoleKit.conf</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/libexec</Path>
<Path fileType="library">/lib</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share/dbus-1</Path>
<Path fileType="data">/usr/share/polkit-1/actions</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/var</Path>
<Path fileType="data">/run</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/ConsoleKit.conf">ConsoleKit.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0755" target="/usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck">pam-foreground-compat.ck</AdditionalFile>
</AdditionalFiles>
</Package>
<Package>
<Name>ConsoleKit-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for ConsoleKit</Summary>
<RuntimeDependencies>
<Dependency release="current">ConsoleKit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="8">
<Date>2015-02-05</Date>
<Version>0.9.2</Version>
<Comment>Version bump.</Comment>
<Name>Vedat Demir</Name>
<Email>vedat@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-08-01</Date>
<Version>0.4.6</Version>
<Comment>Rebuild.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Version>0.4.6</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-03-06</Date>
<Version>0.4.6</Version>
<Comment>Dep Fix</Comment>
<Name>Varol Maksutoğlu</Name>
<Email>waroi@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-01-09</Date>
<Version>0.4.6</Version>
<Comment>Add gentoo patches and ConsoleKit.conf</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-09-08</Date>
<Version>0.4.6</Version>
<Comment>/var/run => /run</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-03-04</Date>
<Version>0.4.6</Version>
<Comment>Version bump</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-23</Date>
<Version>0.4.5</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
-13
View File
@@ -1,13 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ConsoleKit</Name>
<Summary xml:lang="tr">Kullanıcıları, giriş oturumlarını ve koltukları takip etmek ve tanımlamak için bir altyapı</Summary>
<Description xml:lang="tr">ConsoleKit, sisteme giriş yapmış kullanıcıları ve bu kullanıcıların bilgisayar ile nasıl etkileştiğini izleyen bir sistem hizmetidir.</Description>
</Source>
<Package>
<Name>ConsoleKit-devel</Name>
<Summary xml:lang="tr">ConsoleKit için geliştirme dosyaları</Summary>
</Package>
</PISI>
+8 -1
View File
@@ -16,7 +16,7 @@
<Description>acl contains the getfacl and setfacl utilities needed for manipulating access control lists along with the needed libraries.</Description>
<Archive sha1sum="537dddc0ee7b6aa67960a3de2d36f1e2ff2059d9" type="targz">http://download.savannah.gnu.org/releases-noredirect/acl/acl-2.2.52.src.tar.gz</Archive>
<BuildDependencies>
<Dependency>attr</Dependency>
<Dependency>attr-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
@@ -46,6 +46,13 @@
</Package>
<History>
<Update release="5">
<Date>2015-03-15</Date>
<Version>2.2.52</Version>
<Comment>fix build deps.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-09-30</Date>
<Version>2.2.52</Version>
+4 -1
View File
@@ -13,6 +13,9 @@
<Summary>Alternative management system</Summary>
<Description>alternatives creates, removes, maintains and displays information about the symbolic links comprising the alternatives system. Alternatives system determines the defaults when several programs fulfilling the same or similar functions to be installed on a single system at the same time.</Description>
<Archive sha1sum="e02a02a0fbc14bcabded474f19bff715b7db8fb1" type="tarxz">https://git.fedorahosted.org/cgit/chkconfig.git/snapshot/chkconfig-1.3.62.tar.xz</Archive>
<BuildDependencies>
<Dependency>popt-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
@@ -29,7 +32,7 @@
<History>
<Update release="4">
<Date>2014-05-11</Date>
<Date>2015-04-01</Date>
<Version>1.3.62</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
+11
View File
@@ -45,7 +45,11 @@
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for attr</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency release="current">attr</Dependency>
</RuntimeDependencies>
<Files>
@@ -54,6 +58,13 @@
</Package>
<History>
<Update release="6">
<Date>2015-03-15</Date>
<Version>2.4.47</Version>
<Comment>fix build emul32.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-09-30</Date>
<Version>2.4.47</Version>
-40
View File
@@ -1,40 +0,0 @@
#!/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 get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--with-libcap-ng=yes \
--enable-gssapi-krb5=no \
--enable-systemd=no \
--with-python=yes \
--disable-static")
def build():
autotools.make()
def check():
autotools.make("-j1 check")
def install():
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
# remove RH specific bits
pisitools.removeDir("/etc/sysconfig")
pisitools.removeDir("/etc/rc.d")
# Create data directories
pisitools.dodir("/var/log/audit")
pisitools.dodir("/var/spool/audit")
# Disable zos-remote plugin to get rid of deps. like cyrus-sasl
pisitools.remove("/usr/share/man/man8/audispd-zos-remote.8")
pisitools.remove("/usr/share/man/man5/zos-remote.conf.5")
pisitools.dodoc("AUTHORS", "ChangeLog", "THANKS", "TODO", "README", "COPYING")
-9
View File
@@ -1,9 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("ln -s /usr/sbin/audispd /sbin/audispd")
os.system("ln -s /usr/sbin/auditd /sbin/auditd")
os.system("/bin/systemctl enable auditd.service")
-24
View File
@@ -1,24 +0,0 @@
# -*- coding: utf-8 -*-
from comar.service import *
serviceType = "server"
serviceDesc = _({"en": "AUDIT Daemon",
"tr": "AUDIT Servisi"})
serviceDefault = "on"
@synchronized
def start():
reply = startService(command="/usr/sbin/auditd",
pidfile="/run/auditd.pid",
donotify=True)
if reply == 0:
run("/usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules")
@synchronized
def stop():
stopService(pidfile="/run/auditd.pid",
donotify=True)
run("/usr/sbin/auditctl -D")
def status():
return isServiceRunning("/run/auditd.pid")
@@ -1,25 +0,0 @@
diff -Nuar audit-2.3.6.orig/audisp/plugins/Makefile.am audit-2.3.6/audisp/plugins/Makefile.am
--- audit-2.3.6.orig/audisp/plugins/Makefile.am 2014-04-11 22:49:23.000000000 +0300
+++ audit-2.3.6/audisp/plugins/Makefile.am 2014-05-17 01:46:10.260461732 +0300
@@ -22,7 +22,7 @@
CONFIG_CLEAN_FILES = *.loT *.rej *.orig
-SUBDIRS = builtins zos-remote remote
+SUBDIRS = builtins remote
#SUBDIRS = builtins zos-remote
if HAVE_PRELUDE
SUBDIRS += prelude
diff -Nuar audit-2.3.6.orig/configure.ac audit-2.3.6/configure.ac
--- audit-2.3.6.orig/configure.ac 2014-04-11 22:49:33.000000000 +0300
+++ audit-2.3.6/configure.ac 2014-05-17 01:44:36.753791021 +0300
@@ -291,7 +291,7 @@
AC_SUBST(LIBPRELUDE_CFLAGS)
AC_SUBST(LIBPRELUDE_LDFLAGS)
-AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile src/libev/Makefile src/test/Makefile swig/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile audisp/plugins/zos-remote/Makefile bindings/Makefile bindings/python/Makefile tools/Makefile tools/aulast/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile tools/auvirt/Makefile)
+AC_OUTPUT(Makefile lib/Makefile lib/test/Makefile auparse/Makefile auparse/test/Makefile src/Makefile src/mt/Makefile src/libev/Makefile src/test/Makefile swig/Makefile docs/Makefile init.d/Makefile audisp/Makefile audisp/plugins/Makefile audisp/plugins/builtins/Makefile audisp/plugins/prelude/Makefile audisp/plugins/remote/Makefile bindings/Makefile bindings/python/Makefile tools/Makefile tools/aulast/Makefile tools/aulastlog/Makefile tools/ausyscall/Makefile tools/auvirt/Makefile)
echo .
echo "
-125
View File
@@ -1,125 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>audit</Name>
<Homepage>http://people.redhat.com/sgrubb/audit/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<IsA>service</IsA>
<Summary>User space tools for kernel auditing</Summary>
<Description>audit contains the user space utilities for storing and searching the audit records generated by the audit subsystem in the Linux 2.6 kernel.</Description>
<Archive sha1sum="423d181dc668d2cdecc66c5b5308ed6c4f301476" type="targz">http://people.redhat.com/sgrubb/audit/audit-2.3.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>kernel-headers</Dependency>
<Dependency>libcap-ng-devel</Dependency>
<Dependency>tcp-wrappers-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">without_openldap.patch</Patch>
</Patches>
</Source>
<Package>
<Name>audit</Name>
<RuntimeDependencies>
<Dependency>libcap-ng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/var/log/audit</Path>
<Path fileType="data">/var/spool/audit</Path>
</Files>
<Provides>
<COMAR script="service.py">System.Service</COMAR>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>python-audit</Name>
<Summary>Python bindings for audit</Summary>
<RuntimeDependencies>
<Dependency release="current">audit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/python*</Path>
</Files>
</Package>
<Package>
<Name>audit-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for audit</Summary>
<RuntimeDependencies>
<Dependency release="current">audit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2014-09-30</Date>
<Version>2.3.7</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2014-06-06</Date>
<Version>2.3.6</Version>
<Comment>Rebuild.</Comment>
<Name>Aydın Demirel</Name>
<Email>aydin.demirel@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-05-16</Date>
<Version>2.3.6</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-05-11</Date>
<Version>2.3.2</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-22</Date>
<Version>2.3.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-14</Date>
<Version>2.2.2</Version>
<Comment>Version bump</Comment>
<Name>Ertan Güven</Name>
<Email>ertan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-12-20</Date>
<Version>2.2.1</Version>
<Comment>First release</Comment>
<Name>Yusuf Aydemir</Name>
<Email>Yusuf Aydemir</Email>
</Update>
</History>
</PISI>
-18
View File
@@ -1,18 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>audit</Name>
<Summary xml:lang="tr">Linux çekirdeğinin 2.6 sürümü için inceleme/denetleme araçları</Summary>
<Description xml:lang="tr">audit Linux çekirdeğinin 2.6 sürümünün inceleme altyapısı tarafından üretilen inceleme kayıtlarını aramak ve saklamak için kullanılan araçları içerir.</Description>
</Source>
<Package>
<Name>python-audit</Name>
<Summary xml:lang="tr">audit için Python bağlayıcısı</Summary>
</Package>
<Package>
<Name>audit-devel</Name>
<Summary xml:lang="tr">audit için geliştirme dosyaları</Summary>
</Package>
</PISI>
@@ -1 +1 @@
Pisi_Linux 1.0
Pisi_Linux 1.2
+7
View File
@@ -67,6 +67,13 @@
</Package>
<History>
<Update release="14">
<Date>2015-03-04</Date>
<Version>3.10.0</Version>
<Comment>Release bump</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="13">
<Date>2014-07-16</Date>
<Version>3.10.0</Version>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -31
View File
@@ -12,42 +12,15 @@
<IsA>app:console</IsA>
<Summary>The standard GNU Bourne again shell</Summary>
<Description>Bash is the GNU Project's Bourne Again SHell, a complete implementation of the IEEE POSIX and Open Group shell specification with interactive command line editing, csh-like features such as history substitution.</Description>
<Archive sha1sum="45ac3c5727e7262334f4dfadecdf601b39434e84" type="targz">mirrors://gnu/bash/bash-4.3.tar.gz</Archive>
<Archive sha1sum="33b1bcc5dca1b72f28b2baeca6efa0d422097964" type="targz">mirrors://gnu/bash/bash-4.3.30.tar.gz</Archive>
<BuildDependencies>
<Dependency>ncurses-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- Official Patches ftp://ftp.cwru.edu/pub/bash/bash-4.3-patches/ -->
<Patch level="0" compressionType="gzip">official/bash43-001.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-002.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-003.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-004.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-005.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-006.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-007.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-008.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-009.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-010.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-011.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-012.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-013.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-014.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-015.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-016.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-017.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-018.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-019.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-020.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-021.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-022.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-023.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-024.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-025.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-026.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-027.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-028.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-029.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-030.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-031.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-032.tar.gz</Patch>
<Patch level="0" compressionType="gzip">official/bash43-033.tar.gz</Patch>
<!-- Fedora patches -->
<Patch level="1">fedora/bash-2.02-security.patch</Patch>
@@ -99,6 +72,13 @@
</Package>
<History>
<Update release="8">
<Date>2015-08-20</Date>
<Version>4.3_p33</Version>
<Comment>Update</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2014-10-13</Date>
<Version>4.3_p30</Version>
@@ -6,11 +6,11 @@
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
autotools.configure("-disable-static")
autotools.configure("--with-readline \
--without-libedit")
def build():
autotools.make()
@@ -18,4 +18,4 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("ChangeLog", "README")
pisitools.dodoc("AUTHORS", "FAQ", "NEWS", "README", "ChangeLog")
@@ -0,0 +1,58 @@
--- bc-1.06/dc/numeric.c.dc_ibase 2007-08-22 08:37:57.000000000 +0200
+++ bc-1.06/dc/numeric.c 2007-08-22 08:37:40.000000000 +0200
@@ -285,6 +285,8 @@ dc_getnum DC_DECLARG((input, ibase, read
int digit;
int decimal;
int c;
+ int c_buff = 0;
+ int multi = 0;
bc_init_num(&tmp);
bc_init_num(&build);
@@ -302,6 +304,9 @@ dc_getnum DC_DECLARG((input, ibase, read
}
while (isspace(c))
c = (*input)();
+ c_buff = (*input)();
+ if (isdigit(c_buff) || ('A' <= c_buff && c_buff <= 'F') || c_buff == '.')
+ multi = 1;
for (;;){
if (isdigit(c))
digit = c - '0';
@@ -309,10 +314,15 @@ dc_getnum DC_DECLARG((input, ibase, read
digit = 10 + c - 'A';
else
break;
- c = (*input)();
+ digit = multi ? (digit >= ibase ? ibase -1 : digit) : digit;
bc_int2num(&tmp, digit);
bc_multiply(result, base, &result, 0);
bc_add(result, tmp, &result, 0);
+ if (c_buff) {
+ c = c_buff;
+ c_buff = 0;
+ } else
+ c = (*input)();
}
if (c == '.'){
bc_free_num(&build);
@@ -321,13 +331,18 @@ dc_getnum DC_DECLARG((input, ibase, read
build = bc_copy_num(_zero_);
decimal = 0;
for (;;){
- c = (*input)();
+ if (c_buff) {
+ c = c_buff;
+ c_buff = 0;
+ } else
+ c = (*input)();
if (isdigit(c))
digit = c - '0';
else if ('A' <= c && c <= 'F')
digit = 10 + c - 'A';
else
break;
+ digit = digit >= ibase ? ibase -1 : digit;
bc_int2num(&tmp, digit);
bc_multiply(build, base, &build, 0);
bc_add(build, tmp, &build, 0);
@@ -0,0 +1,20 @@
diff -urNp bc-1.06.95-orig/bc/storage.c bc-1.06.95/bc/storage.c
--- bc-1.06.95-orig/bc/storage.c 2006-09-05 04:39:31.000000000 +0200
+++ bc-1.06.95/bc/storage.c 2010-12-22 10:26:43.805250912 +0100
@@ -99,6 +99,7 @@ more_functions (VOID)
{
f = &functions[indx];
f->f_defined = FALSE;
+ f->f_void = FALSE;
f->f_body = (char *) bc_malloc (BC_START_SIZE);
f->f_body_size = BC_START_SIZE;
f->f_code_size = 0;
@@ -179,7 +180,7 @@ more_arrays ()
/* Initialize the new elements. */
- for (; indx < v_count; indx++)
+ for (; indx < a_count; indx++)
arrays[indx] = NULL;
/* Free the old elements. */
@@ -0,0 +1,26 @@
diff --git a/bc/bc.y b/bc/bc.y
index 14dc4be..bd91c38 100644
--- a/bc/bc.y
+++ b/bc/bc.y
@@ -569,6 +569,7 @@ expression : named_expression ASSIGN_OP
generate (">");
break;
}
+ free($2);
}
| expression '+' expression
{
diff --git a/bc/util.c b/bc/util.c
index 30beaf9..26e2e85 100644
--- a/bc/util.c
+++ b/bc/util.c
@@ -602,8 +602,7 @@ lookup (name, namekind)
case FUNCTDEF:
if (id->f_name != 0)
{
- if (namekind != FUNCT)
- free(name);
+ free(name);
/* Check to see if we are redefining a math lib function. */
if (use_math && namekind == FUNCTDEF && id->f_name <= 6)
id->f_name = next_func++;
+64
View File
@@ -0,0 +1,64 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>bc</Name>
<Homepage>http://www.gnu.org/software/bc</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Console-based calculator utility</Summary>
<Description>bc is an arbitrary precision numeric processing language and can be used as a calculator. Syntax is similar to C, but differs in many substantial areas. For example, it supports interactive execution of statements.</Description>
<Archive sha1sum="18717e0543b1dda779a71e6a812f11b8261a705a" type="tarbz2">ftp://alpha.gnu.org/gnu/bc/bc-1.06.95.tar.bz2</Archive>
<BuildDependencies>
<Dependency>flex</Dependency>
<Dependency>texinfo</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fedora/bc-1.06.95-memleak.patch</Patch>
<Patch level="1">fedora/bc-1.06-dc_ibase.patch</Patch>
<Patch level="1">fedora/bc-1.06.95-matlib.patch</Patch>
</Patches>
</Source>
<Package>
<Name>bc</Name>
<RuntimeDependencies>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="info">/usr/share/info</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-11</Date>
<Version>1.06.95</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-28</Date>
<Version>1.06.95</Version>
<Comment>rebuild.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-01-02</Date>
<Version>1.06.95</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+9
View File
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>bc</Name>
<Summary xml:lang="tr">Konsol temelli hesap makinesi</Summary>
<Description xml:lang="tr">bc, herhangi bir keskinlikte sayısal işlemler yapmayı sağlayan bir programlama dilidir ve bir hesap makinesi olarak kullanılabilir. Sözdizimi C programlama diline benzer, ancak C'den birçok önemli farkları vardır. Örneğin, ifadelerin etkileşimli bir şekilde çalışmasına olanak tanır.</Description>
<Description xml:lang="fr">bc est un langage de calcul numérique à précision arbitraire qui peut être utilisé comme calculatrice. La syntaxe est similaire au C, avec quelques différences notables. Il supporte par exemple l'exécution interactive de commandes.</Description>
</Source>
</PISI>
+3
View File
@@ -15,5 +15,8 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#remove after usbmove
pisitools.dosym("/usr/sbin/biosdevname", "/sbin/biosdevname")
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING", "TODO", "README")
+10 -2
View File
@@ -13,10 +13,11 @@
<IsA>app:gui</IsA>
<Summary>Biosdevname is a udev helper utility developed</Summary>
<Description>Biosdevname is a udev helper utility developed by Dell and released under the GNU General Public License (GPL). It provides a consistent naming mechanism for network devices based on their physical location as suggested by the system BIOS.</Description>
<Archive sha1sum="a926961d6adb673aed062683ab8b80e6418523ea" type="targz">http://linux.dell.com/biosdevname/biosdevname-0.6.0/biosdevname-0.6.0.tar.gz</Archive>
<Archive sha1sum="372eaee40a8501494bea783bb6552ff457cbd49a" type="targz">http://linux.dell.com/biosdevname/biosdevname-0.6.1/biosdevname-0.6.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>pciutils-devel</Dependency>
<Dependency>glibc-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
@@ -24,9 +25,9 @@
<Name>biosdevname</Name>
<RuntimeDependencies>
<Dependency>pciutils</Dependency>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/sbin</Path>
<Path fileType="library">/lib/udev/rules.d</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="doc">/usr/share/doc</Path>
@@ -35,6 +36,13 @@
</Package>
<History>
<Update release="5">
<Date>2015-03-30</Date>
<Version>0.6.1</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-05-11</Date>
<Version>0.6.0</Version>
+3 -3
View File
@@ -14,8 +14,8 @@
<Description>Pisi Linux programs are packaged with small scripts which configures them to entegrate with system and each other. Çomar is the tool which manages and executes these scripts.</Description>
<Archive sha1sum="a0894a20d3c2bb5843de7e25fc98707baf554df1" type="tarbz2">http://source.pisilinux.org/1.0/comar-3.0.3.tar.bz2</Archive>
<BuildDependencies>
<Dependency>dbus</Dependency>
<Dependency>python</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>python-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">run_dir.patch</Patch>
@@ -47,7 +47,7 @@
<History>
<Update release="4">
<Date>2014-08-19</Date>
<Date>2015-04-01</Date>
<Version>3.0.3</Version>
<Comment>Fix run dir path.</Comment>
<Name>Marcin Bojara</Name>
+2 -1
View File
@@ -20,6 +20,7 @@
<Dependency>shadow</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>texinfo</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1">coreutils-8.22-shuf-segfault.patch</Patch> -->
@@ -53,7 +54,7 @@
<History>
<Update release="7">
<Date>2014-12-12</Date>
<Date>2015-04-01</Date>
<Version>8.23</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+16 -5
View File
@@ -3,7 +3,7 @@
<PISI>
<Source>
<Name>cryptsetup</Name>
<Homepage>https://code.google.com/p/cryptsetup/</Homepage>
<Homepage>https://gitlab.com/cryptsetup/cryptsetup</Homepage>
<Packager>
<Name>Erdem Artan</Name>
<Email>admins@pisilinux.org</Email>
@@ -13,11 +13,15 @@
<IsA>app:cli</IsA>
<Summary>Userspace setup tool for transparent encryption of block devices using dm-crypt</Summary>
<Description>Userspace setup tool for transparent encryption of block devices using dm-crypt</Description>
<Archive sha1sum="cf4c4ea68e50e2756a824fa90645ad38eab7895c" type="tarxz">https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/cryptsetup-1.6.4.tar.xz</Archive>
<Archive sha1sum="7cb02f1e23ee18cd26391fd856f7644195b4544e" type="tarxz">https://www.kernel.org/pub/linux/utils/cryptsetup/v1.6/cryptsetup-1.6.7.tar.xz</Archive>
<BuildDependencies>
<Dependency>device-mapper-devel</Dependency>
<Dependency releaseFrom="7">device-mapper-devel</Dependency>
<Dependency>libgpg-error-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
<Dependency>popt-devel</Dependency>
<Dependency>popt</Dependency>
</BuildDependencies>
</Source>
@@ -42,7 +46,7 @@
<Dependency>device-mapper</Dependency>
<Dependency>libgpg-error</Dependency>
<Dependency>libgcrypt</Dependency>
<Dependency>libuuid</Dependency>
<Dependency>libutil-linux</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/lib/libcryptsetup.so*</Path>
@@ -75,8 +79,15 @@
</Package>
<History>
<Update release="7">
<Date>2015-04-30</Date>
<Version>1.6.7</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Date>2015-04-01</Date>
<Version>1.6.4</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
+14 -6
View File
@@ -14,8 +14,9 @@
<IsA>library</IsA>
<Summary>A utility for getting files from remote servers</Summary>
<Description>curl is a command line tool for transferring data with URL syntax, supporting various protocols.</Description>
<Archive sha1sum="6784591ed7dc3452a8ef6fba050777c50775c4f1" type="tarbz2">http://curl.haxx.se/download/curl-7.41.0.tar.bz2</Archive>
<Archive sha1sum="f65708915875b8cb35edb51d8dd31440dc02fbd3" type="tarbz2">http://curl.haxx.se/download/curl-7.42.1.tar.bz2</Archive>
<BuildDependencies>
<Dependency>glibc-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>libidn-devel</Dependency>
@@ -61,12 +62,19 @@
</Package>
<History>
<Update release="12">
<Date>2015-02-25</Date>
<Version>7.41.0</Version>
<Update release="13">
<Date>2015-05-01</Date>
<Version>7.42.1</Version>
<Comment>Version bump.</Comment>
<Name>Dmitry Patsura</Name>
<Email>talk@dmtry.me</Email>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="12">
<Date>2015-04-27</Date>
<Version>7.42.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="11">
<Date>2015-01-11</Date>
+15 -5
View File
@@ -13,12 +13,13 @@
<IsA>library</IsA>
<Summary>Glib bindings for D-Bus</Summary>
<Description>dbus-glib is an add-on library to integrate the standard D-Bus library with the GLib thread abstraction and main loop.</Description>
<Archive sha1sum="58a8955972f6c221461a49f9c541c22e838a5776" type="targz">http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.102.tar.gz</Archive>
<Archive sha1sum="776a0e843f5c04cb58225962d623e82f283aed68" type="targz">http://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.104.tar.gz</Archive>
<BuildDependencies>
<Dependency>dbus</Dependency>
<Dependency>dbus-devel</Dependency>
<!-- New dbus uses GVariant data structure. We need glib2 >= 2.24 -->
<Dependency>glib2</Dependency>
<Dependency>expat</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpcre-devel</Dependency>
<Dependency>expat-devel</Dependency>
<Dependency>libxml2</Dependency>
</BuildDependencies>
</Source>
@@ -50,6 +51,8 @@
<Summary>Development files for dbus-glib</Summary>
<RuntimeDependencies>
<Dependency release="current">dbus-glib</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/dbus-1.0</Path>
@@ -59,8 +62,15 @@
</Package>
<History>
<Update release="5">
<Date>2015-05-12</Date>
<Version>0.104</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4">
<Date>2014-05-11</Date>
<Date>2015-04-01</Date>
<Version>0.102</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
+4 -2
View File
@@ -15,10 +15,12 @@
<Description>dbus-python provides a Python module which wraps the D-Bus programming API.</Description>
<Archive sha1sum="7a00f7861d26683ab7e3f4418860bd426deed9b5" type="targz">http://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python-devel</Dependency>
<Dependency>python3</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>libpcre-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">suppress-warnings.patch</Patch>
@@ -70,7 +72,7 @@
<History>
<Update release="6">
<Date>2014-05-31</Date>
<Date>2015-04-01</Date>
<Version>1.2.0</Version>
<Comment>Release bump.</Comment>
<Name>Kamil Atlı</Name>
+2 -2
View File
@@ -36,8 +36,8 @@ def setup():
if get.buildTYPE() == "emul32":
options += "\
--enable-xml-docs \
--enable-doxygen-docs"
--disable-xml-docs \
--disable-doxygen-docs"
# Build only libdbus
pisitools.dosed("Makefile.am", "(.*SUBDIRS=dbus) .*", "\\1")
+28 -7
View File
@@ -13,13 +13,13 @@
<IsA>service</IsA>
<Summary>A message bus system, a simple way for applications to talk to each other</Summary>
<Description>D-Bus supplies both a system daemon (for events such as "new hardware device added" or "printer queue changed") and a per-user-login-session daemon (for general IPC needs among user applications). Also, the message bus is built on top of a general one-to-one message passing framework, which can be used by any two apps to communicate directly (without going through the message bus daemon). Currently the communicating applications are on one computer, but TCP/IP option is available and remote support planned.</Description>
<Archive sha1sum="a9741b6d017d6374c20bac2ea41262683b3e2386" type="targz">http://dbus.freedesktop.org/releases/dbus/dbus-1.9.10.tar.gz</Archive>
<Archive sha1sum="9e95dfa2fa05c6028a9bc7d76a151b59411711e9" type="targz">http://dbus.freedesktop.org/releases/dbus/dbus-1.9.14.tar.gz</Archive>
<BuildDependencies>
<Dependency>expat-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>doxygen</Dependency>
<!--<Dependency>doxygen</Dependency>-->
<Dependency>libcap-ng-devel</Dependency>
<Dependency>xmlto</Dependency>
<!--<Dependency>xmlto</Dependency>-->
</BuildDependencies>
</Source>
@@ -27,8 +27,9 @@
<Name>dbus</Name>
<RuntimeDependencies>
<Dependency>expat</Dependency>
<Dependency>libX11</Dependency>
<Dependency>libcap-ng</Dependency>
<!--libX11 dbus-x11 paketi ayrılınca buradan silinecek-->
<Dependency>libX11</Dependency>
<!--<Dependency>systemd-units</Dependency>-->
</RuntimeDependencies>
<Files>
@@ -47,9 +48,21 @@
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/dbus.conf">tmpfiles.conf</AdditionalFile>
</AdditionalFiles>
<Provides>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Provides>
</Package>
<Package>
<Name>dbus-x11</Name>
<PartOf>x11.util</PartOf>
<RuntimeDependencies>
<Dependency>libX11</Dependency>
<Dependency>dbus</Dependency>
<!--<Dependency>systemd-units</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/dbus-launch</Path>
</Files>
</Package>
<Package>
@@ -75,9 +88,10 @@
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>expat-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">dbus</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
@@ -85,6 +99,13 @@
</Package>
<History>
<Update release="12">
<Date>2015-05-11</Date>
<Version>1.9.14</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="11">
<Date>2015-02-15</Date>
<Version>1.9.10</Version>
+8 -4
View File
@@ -12,14 +12,11 @@
<IsA>app:console</IsA>
<Summary>A dhcp client only</Summary>
<Description>An RFC2131 and RFC1541 compliant DHCP client daemon. dhcpcd gets an IP address and other information from a corresponding DHCP server, configures the network interface automatically, and tries to renew the lease time according to RFC2131 or RFC1541 depending on the command line option.</Description>
<Archive sha1sum="571748397e420a95c0679615cbea8e1830bc3f3c" type="tarbz2">http://ftp.osuosl.org/pub/blfs/conglomeration/dhcpcd/dhcpcd-6.7.1.tar.bz2</Archive>
<Archive sha1sum="1369656c67b2a110d5b7844f94159ae45f495c05" type="tarbz2">http://ftp.osuosl.org/pub/blfs/conglomeration/dhcpcd/dhcpcd-6.8.1.tar.bz2</Archive>
</Source>
<Package>
<Name>dhcpcd</Name>
<RuntimeDependencies>
<Dependency>libudev</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="data">/lib/dhcpcd</Path>
@@ -32,6 +29,13 @@
</Package>
<History>
<Update release="8">
<Date>2015-05-03</Date>
<Version>6.8.1</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="7">
<Date>2015-02-03</Date>
<Version>6.7.1</Version>
-19
View File
@@ -1,19 +0,0 @@
#!/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 build():
shelltools.export("CCACHE_DIR", "%s" % get.workDIR())
autotools.make('CFLAGS="%s -fno-stack-protector -fno-strict-aliasing"' % get.CFLAGS())
def install():
pisitools.dobin("disktype")
pisitools.doman("disktype.1")
pisitools.dodoc("README", "HISTORY", "TODO")
-80
View File
@@ -1,80 +0,0 @@
diff -ur disktype-9.orig/linux.c disktype-9/linux.c
--- disktype-9.orig/linux.c 2006-06-04 23:05:06.000000000 +0300
+++ disktype-9/linux.c 2007-02-14 14:34:36.749572288 +0200
@@ -43,11 +43,20 @@
if (get_le_short(buf + 56) == 0xEF53) {
if (get_le_long(buf + 96) & 0x0008) /* JOURNAL_DEV flag */
+ {
print_line(level, "Ext3 external journal");
+ print_line(level, "KERNELMODULE: ext3");
+ }
else if (get_le_long(buf + 92) & 0x0004) /* HAS_JOURNAL flag */
+ {
print_line(level, "Ext3 file system");
+ print_line(level, "KERNELMODULE: ext3");
+ }
else
+ {
print_line(level, "Ext2 file system");
+ print_line(level, "KERNELMODULE: ext2");
+ }
get_string(buf + 120, 16, s);
if (s[0])
@@ -93,19 +102,24 @@
/* check signature */
if (memcmp(buf + 52, "ReIsErFs", 8) == 0) {
print_line(level, "ReiserFS file system (old 3.5 format, standard journal, starts at %d KiB)", at);
+ print_line(level, "KERNELMODULE: reiserfs");
newformat = 0;
} else if (memcmp(buf + 52, "ReIsEr2Fs", 9) == 0) {
print_line(level, "ReiserFS file system (new 3.6 format, standard journal, starts at %d KiB)", at);
+ print_line(level, "KERNELMODULE: reiserfs");
newformat = 1;
} else if (memcmp(buf + 52, "ReIsEr3Fs", 9) == 0) {
newformat = get_le_short(buf + 72);
if (newformat == 0) {
print_line(level, "ReiserFS file system (old 3.5 format, non-standard journal, starts at %d KiB)", at);
+ print_line(level, "KERNELMODULE: reiserfs");
} else if (newformat == 2) {
print_line(level, "ReiserFS file system (new 3.6 format, non-standard journal, starts at %d KiB)", at);
+ print_line(level, "KERNELMODULE: reiserfs");
newformat = 1;
} else {
print_line(level, "ReiserFS file system (v3 magic, but unknown version %d, starts at %d KiB)", newformat, at);
+ print_line(level, "KERNELMODULE: reiserfs");
continue;
}
} else
diff -ur disktype-9.orig/Makefile disktype-9/Makefile
--- disktype-9.orig/Makefile 2006-01-12 19:55:15.000000000 +0200
+++ disktype-9/Makefile 2007-02-14 14:24:30.917995693 +0200
@@ -3,7 +3,7 @@
###
RM = rm -f
-CC = gcc
+CC = klcc
OBJS = main.o lib.o \
buffer.o file.o cdaccess.o cdimage.o vpc.o compressed.o \
diff -ur disktype-9.orig/unix.c disktype-9/unix.c
--- disktype-9.orig/unix.c 2003-12-30 12:10:41.000000000 +0200
+++ disktype-9/unix.c 2007-02-14 14:27:48.529848766 +0200
@@ -49,6 +49,7 @@
/* tell the user */
version = get_le_long(buf + 4);
print_line(level, "JFS file system, version %d", version);
+ print_line(level, "KERNELMODULE: jfs");
get_string(buf + 101, 11, s);
print_line(level + 1, "Volume name \"%s\"", s);
@@ -82,6 +83,7 @@
raw_version = get_be_short(buf + 0x64);
version = raw_version & 0x000f;
print_line(level, "XFS file system, version %d", version);
+ print_line(level, "KERNELMODULE: xfs");
get_string(buf + 0x6c, 12, s);
print_line(level + 1, "Volume name \"%s\"", s);
-112
View File
@@ -1,112 +0,0 @@
We first get some sane ext3 poperties and try to match the invert
of these with the filesystems related supoerblock sections. If we find
something not related to ext3 and have journal, we guess the filesystem
is of ext4 type. Then by checking EXT2_FLAGS_TEST_FILESYS in s_flags
section we distinguish ext4 and ext4dev. There may be a better way but
this is the way current e2fsprogs blkid probe does it. Ext4 sections
and flags are taken from the kernel headers of 2.6.25 where ext4 is
still marked as dev.
Onur Küçük <onur@pardus.org.tr>
diff -Nur disktype-9-old/detect.c disktype-9/detect.c
--- disktype-9-old/detect.c 2009-03-09 12:38:20.000000000 +0200
+++ disktype-9/detect.c 2009-03-09 12:38:33.000000000 +0200
@@ -59,7 +59,7 @@
void detect_udf(SECTION *section, int level);
/* in linux.c */
-void detect_ext23(SECTION *section, int level);
+void detect_ext234(SECTION *section, int level);
void detect_reiser(SECTION *section, int level);
void detect_reiser4(SECTION *section, int level);
void detect_linux_raid(SECTION *section, int level);
@@ -136,7 +136,7 @@
detect_udf,
detect_cdrom_misc,
detect_iso,
- detect_ext23,
+ detect_ext234,
detect_reiser,
detect_reiser4,
detect_linux_raid,
diff -Nur disktype-9-old/linux.c disktype-9/linux.c
--- disktype-9-old/linux.c 2009-03-09 12:38:20.000000000 +0200
+++ disktype-9/linux.c 2009-03-09 12:38:29.000000000 +0200
@@ -28,10 +28,43 @@
#include "global.h"
/*
- * ext2/ext3 file system
+ * ext2/ext3/ext4 file system
*/
-void detect_ext23(SECTION *section, int level)
+/* for s_flags */
+#define EXT2_FLAGS_TEST_FILESYS 0x0004
+
+/* for s_feature_compat */
+#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004
+
+/* for s_feature_ro_compat */
+#define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER 0x0001
+#define EXT2_FEATURE_RO_COMPAT_LARGE_FILE 0x0002
+#define EXT2_FEATURE_RO_COMPAT_BTREE_DIR 0x0004
+#define EXT4_FEATURE_RO_COMPAT_HUGE_FILE 0x0008
+#define EXT4_FEATURE_RO_COMPAT_GDT_CSUM 0x0010
+#define EXT4_FEATURE_RO_COMPAT_DIR_NLINK 0x0020
+#define EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE 0x0040
+
+/* for s_feature_incompat */
+#define EXT2_FEATURE_INCOMPAT_FILETYPE 0x0002
+#define EXT3_FEATURE_INCOMPAT_RECOVER 0x0004
+#define EXT3_FEATURE_INCOMPAT_JOURNAL_DEV 0x0008
+#define EXT2_FEATURE_INCOMPAT_META_BG 0x0010
+#define EXT4_FEATURE_INCOMPAT_EXTENTS 0x0040
+#define EXT4_FEATURE_INCOMPAT_64BIT 0x0080
+#define EXT4_FEATURE_INCOMPAT_MMP 0x0100
+#define EXT4_FEATURE_INCOMPAT_FLEX_BG 0x0200
+
+#define EXT3_FEATURE_RO_COMPAT_UNSUPPORTED ~(EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER | \
+ EXT2_FEATURE_RO_COMPAT_LARGE_FILE | \
+ EXT2_FEATURE_RO_COMPAT_BTREE_DIR)
+
+#define EXT3_FEATURE_INCOMPAT_UNSUPPORTED ~(EXT2_FEATURE_INCOMPAT_FILETYPE | \
+ EXT3_FEATURE_INCOMPAT_RECOVER | \
+ EXT2_FEATURE_INCOMPAT_META_BG)
+
+void detect_ext234(SECTION *section, int level)
{
unsigned char *buf;
char s[256];
@@ -49,8 +82,26 @@
}
else if (get_le_long(buf + 92) & 0x0004) /* HAS_JOURNAL flag */
{
- print_line(level, "Ext3 file system");
- print_line(level, "KERNELMODULE: ext3");
+ /* Try to find if it is ext4 by checking if there are any unsupported features of ext3 */
+ if ((get_le_long(buf + 96) & EXT3_FEATURE_INCOMPAT_UNSUPPORTED) && (get_le_long(buf + 100) & EXT3_FEATURE_RO_COMPAT_UNSUPPORTED))
+ {
+ /* We have ext4 but which version */
+ if (get_le_long(buf + 352) & EXT2_FLAGS_TEST_FILESYS)
+ {
+ print_line(level, "Ext4dev file system");
+ print_line(level, "KERNELMODULE: ext4dev");
+ }
+ else
+ {
+ print_line(level, "Ext4 file system");
+ print_line(level, "KERNELMODULE: ext4");
+ }
+ }
+ else
+ {
+ print_line(level, "Ext3 file system");
+ print_line(level, "KERNELMODULE: ext3");
+ }
}
else
{
-19
View File
@@ -1,19 +0,0 @@
diff -Nur disktype-9-old/dos.c disktype-9/dos.c
--- disktype-9-old/dos.c 2008-07-04 11:06:22.000000000 +0300
+++ disktype-9/dos.c 2008-07-04 11:22:59.000000000 +0300
@@ -485,6 +485,7 @@
strcpy(s, ", ATARI ST bootable");
print_line(level, "%s file system (hints score %d of %d%s)",
fatnames[fattype], score, 5, s);
+ print_line(level, "KERNELMODULE: vfat");
if (sectsize > 512)
print_line(level + 1, "Unusual sector size %lu bytes", sectsize);
@@ -551,6 +552,7 @@
/* tell the user */
print_line(level, "NTFS file system");
+ print_line(level, "KERNELMODULE: ntfs");
format_blocky_size(s, sectcount, sectsize, "sectors", NULL);
print_line(level + 1, "Volume size %s", s);
-56
View File
@@ -1,56 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>disktype</Name>
<Homepage>http://disktype.sourceforge.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>app:console</IsA>
<Summary>Detect the content format of a disk or disk image</Summary>
<Description>The purpose of disktype is to detect the content format of a disk or disk image. It knows about common file systems, partition tables, and boot codes.The program is written in C and is designed to compile on any modern Unix flavour.</Description>
<Archive type="targz" sha1sum="5ccc55d1c47f9a37becce7336c4aa3a7a43cc89c">mirrors://sourceforge/disktype/disktype-9.tar.gz</Archive>
<Patches>
<Patch level="1">disktype.patch</Patch>
<Patch level="1">vfat.patch</Patch>
<Patch level="1">ext4.patch</Patch>
</Patches>
</Source>
<Package>
<Name>disktype</Name>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-11</Date>
<Version>9</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-10-29</Date>
<Version>9</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-23</Date>
<Version>9</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>disktype</Name>
<Summary xml:lang="tr">Disk veya disk görüntüsünün biçimsel içeriğini saptar</Summary>
<Description xml:lang="tr">Disktype'ın amacı disk veya disk görüntüsünün içerik yapısını denetlemektir. Yaygın dosya sistemlerini, bölümleme tablolarını ve önyükleme kodlarını bilir. C dilinde yazılmış, herhangi bir modern Unix derleme tadında tasarlanmıştır.</Description>
</Source>
</PISI>
-32
View File
@@ -1,32 +0,0 @@
#!/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 get
def setup():
pisitools.dosed("src/config.h", "/\* #define HAVE_DBUS \*/", "#define HAVE_DBUS")
for f in ("dnsmasq.conf.example", "man/dnsmasq.8", "man/es/dnsmasq.8", "src/config.h"):
pisitools.dosed(f, "/var/lib/misc", "/var/lib/dnsmasq")
def build():
autotools.make()
def install():
autotools.rawInstall("PREFIX=%s/usr" % get.installDIR())
pisitools.insinto("/etc/dbus-1/system.d", "dbus/dnsmasq.conf", "dnsmasq.conf")
# Install python binding
pisitools.insinto("/usr/lib/%s/site-packages" % get.curPYTHON(), "dnsmasq.py")
pisitools.dodir("/var/lib/dnsmasq")
pisitools.dodoc("CHANGELOG", "COPYING", "COPYING-v3", "FAQ")
pisitools.dohtml("doc.html", "setup.html")
-67
View File
@@ -1,67 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from comar.service import *
serviceType = "local"
serviceDesc = _({"en": "DNS Cache Service",
"tr": "DNS Önbellekleme Servisi"})
DNSMASQMESSAGE = "# This line was added by dnsmasq package"
DNSMASQNAMESERVER = "nameserver 127.0.0.1"
def addLocalNameServerToResolvConf(filename="/etc/resolv.conf"):
dnslist = []
for line in file(filename):
dnslist.append(line)
line = line.strip()
if line.startswith(DNSMASQNAMESERVER):
return
dnslist.insert(0, "%s\n" % DNSMASQMESSAGE)
dnslist.insert(1, "%s\n" % DNSMASQNAMESERVER)
f = file(filename, "w")
try:
for dns in dnslist:
f.write(dns)
finally:
f.close()
def removeLocalNameServerFromResolvConf(filename="/etc/resolv.conf"):
dnslist = []
for line in file(filename):
strippedLine = line.strip()
if strippedLine.startswith(DNSMASQMESSAGE):
continue
if strippedLine.startswith(DNSMASQNAMESERVER):
continue
dnslist.append(line)
f = file(filename, "w")
try:
for dns in dnslist:
f.write(dns)
finally:
f.close()
@synchronized
def start():
addLocalNameServerToResolvConf("/etc/resolv.conf")
addLocalNameServerToResolvConf("/etc/resolv.default.conf")
startService(command="/usr/sbin/dnsmasq",
args="--enable-dbus",
pidfile="/var/run/dnsmasq.pid",
donotify=True)
@synchronized
def stop():
removeLocalNameServerFromResolvConf("/etc/resolv.conf")
removeLocalNameServerFromResolvConf("/etc/resolv.default.conf")
stopService(pidfile="/var/run/dnsmasq.pid",
donotify=True)
def status():
return isServiceRunning("/var/run/dnsmasq.pid")
-108
View File
@@ -1,108 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import os
import string
import subprocess
import dnsmasq
HEADER_DEFAULT = """# Default DNS settings
#
"""
HOST_CHARS = string.ascii_letters + string.digits + '.' + '_' + '-'
NAME_PATH = "/etc/env.d/01hostname"
CMD_ENV = "/sbin/update-environment"
HOSTS_PATH = "/etc/hosts"
RESOLV_USER = "/etc/resolv.default.conf"
MSG_ERR_INVLCHRSHSNM = {"en": "Invalid character(s) '%s' found in hostname.",
"tr": "Bilgisayar adında geçersiz karakter(ler) ('%s') bulundu.",
}
# Network.Stack methods
def getNameServers():
servers = []
if not os.access(RESOLV_USER, os.R_OK):
return servers
for line in file(RESOLV_USER):
line = line.strip()
if line.startswith("nameserver"):
ip = line.split()[1]
if ip not in servers:
servers.append(ip)
return servers
def setNameServers(nameservers, searchdomain):
f = file(RESOLV_USER, "w")
f.write(HEADER_DEFAULT)
for server in nameservers:
f.write("nameserver %s\n" % server)
if searchdomain:
f.write("searchdomain %s\n" % searchdomain)
f.close()
def registerNameServers(ifname, nameservers, searchdomain):
dnsMasq = dnsmasq.DnsMasq()
for server in nameservers:
dnsMasq.registerNameServer(ifname, server)
dnsMasq.clearCache()
def unregisterNameServers(ifname, nameservers, searchdomain):
dnsMasq = dnsmasq.DnsMasq()
dnsMasq.unregisterNameServers(ifname)
dnsMasq.clearCache()
def flushNameCache():
dnsMasq = dnsmasq.DnsMasq()
dnsMasq.clearCache()
def getHostName():
cmd = subprocess.Popen(["/usr/bin/hostname"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
a = cmd.communicate()
if a[1] == "":
return a[0].rstrip("\n")
return ""
def setHostName(hostname):
if not hostname:
return
invalid = filter(lambda x: not x in HOST_CHARS, hostname)
if len(invalid) > 0:
fail(_(MSG_ERR_INVLCHRSHSNM) % ("".join(invalid)))
# hostname
if os.path.exists(NAME_PATH):
import re
f = file(NAME_PATH)
data = f.read()
f.close()
data = re.sub('HOSTNAME="(.*)"', 'HOSTNAME="%s"' % hostname, data)
else:
data = 'HOSTNAME="%s"\n' % hostname
f = file(NAME_PATH, "w")
f.write(data)
f.close()
# hosts
f = file(HOSTS_PATH)
data = f.readlines()
f.close()
f = file(HOSTS_PATH, "w")
flag = 1
for line in data:
if line.startswith("127.0.0.1"):
line = "127.0.0.1 localhost %s\n" % hostname
flag = 0
f.write(line)
if flag:
f.write("127.0.0.1 localhost %s\n" % hostname)
f.close()
# update environment
os.system(CMD_ENV)
-489
View File
@@ -1,489 +0,0 @@
# Configuration file for dnsmasq.
#
# Format is one option per line, legal options are the same
# as the long options legal on the command line. See
# "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
# The following two options make you a better netizen, since they
# tell dnsmasq to filter out queries which the public DNS cannot
# answer, and which load the servers (especially the root servers)
# uneccessarily. If you have a dial-on-demand link they also stop
# these requests from bringing up the link uneccessarily.
# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv
# Uncomment this to filter useless windows-originated DNS requests
# which can trigger dial-on-demand links needlessly.
# Note that (amongst other things) this blocks all SRV requests,
# so don't use it if you use eg Kerberos, SIP, XMMP or Google-talk.
# This option only affects forwarding, SRV records originating for
# dnsmasq (via srv-host= lines) are not suppressed by it.
#filterwin2k
# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
#resolv-file=
# By default, dnsmasq will send queries to any of the upstream
# servers it knows about and tries to favour servers to are known
# to be up. Uncommenting this forces dnsmasq to try each query
# with each server strictly in the order they appear in
# /etc/resolv.conf
#strict-order
# If you don't want dnsmasq to read /etc/resolv.conf or any other
# file, getting its servers from this file instead (see below), then
# uncomment this.
#no-resolv
# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
# files for changes and re-read them then uncomment this.
#no-poll
# Add other name servers here, with domain specs if they are for
# non-public domains.
#server=/localnet/192.168.0.1
# Example of routing PTR queries to nameservers: this will send all
# address->name queries for 192.168.3/24 to nameserver 10.1.2.3
#server=/3.168.192.in-addr.arpa/10.1.2.3
# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
#local=/localnet/
# Add domains which you want to force to an IP address here.
# The example below send any host in doubleclick.net to a local
# webserver.
#address=/doubleclick.net/127.0.0.1
# --address (and --server) work with IPv6 addresses too.
#address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83
# You can control how dnsmasq talks to a server: this forces
# queries to 10.1.2.3 to be routed via eth1
# --server=10.1.2.3@eth1
# and this sets the source (ie local) address used to talk to
# 10.1.2.3 to 192.168.1.1 port 55 (there must be a interface with that
# IP on the machine, obviously).
# --server=10.1.2.3@192.168.1.1#55
# If you want dnsmasq to change uid and gid to something other
# than the default, edit the following lines.
#user=
#group=
# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
#interface=
# Or you can specify which interface _not_ to listen on
#except-interface=
# Or which to listen on by address (remember to include 127.0.0.1 if
# you use this.)
#listen-address=
# If you want dnsmasq to provide only DNS service on an interface,
# configure it as shown above, and then use the following line to
# disable DHCP on it.
#no-dhcp-interface=
# On systems which support it, dnsmasq binds the wildcard address,
# even when it is listening on only some interfaces. It then discards
# requests that it shouldn't reply to. This has the advantage of
# working even when interfaces come and go and change address. If you
# want dnsmasq to really bind only the interfaces it is listening on,
# uncomment this option. About the only time you may need this is when
# running another nameserver on the same machine.
#bind-interfaces
# If you don't want dnsmasq to read /etc/hosts, uncomment the
# following line.
#no-hosts
# or if you want it to read another file, as well as /etc/hosts, use
# this.
#addn-hosts=/etc/banner_add_hosts
# Set this (and domain: see below) if you want to have a domain
# automatically added to simple names in a hosts-file.
#expand-hosts
# Set the domain for dnsmasq. this is optional, but if it is set, it
# does the following things.
# 1) Allows DHCP hosts to have fully qualified domain names, as long
# as the domain part matches this setting.
# 2) Sets the "domain" DHCP option thereby potentially setting the
# domain of all systems configured by DHCP
# 3) Provides the domain part for "expand-hosts"
#domain=thekelleys.org.uk
# Set a different domain for a particular subnet
#domain=wireless.thekelleys.org.uk,192.168.2.0/24
# Same idea, but range rather then subnet
#domain=reserved.thekelleys.org.uk,192.68.3.100,192.168.3.200
# Uncomment this to enable the integrated DHCP server, you need
# to supply the range of addresses available for lease and optionally
# a lease time. If you have more than one network, you will need to
# repeat this for each network on which you want to supply DHCP
# service.
#dhcp-range=192.168.0.50,192.168.0.150,12h
# This is an example of a DHCP range where the netmask is given. This
# is needed for networks we reach the dnsmasq DHCP server via a relay
# agent. If you don't know what a DHCP relay agent is, you probably
# don't need to worry about this.
#dhcp-range=192.168.0.50,192.168.0.150,255.255.255.0,12h
# This is an example of a DHCP range with a network-id, so that
# some DHCP options may be set only for this network.
#dhcp-range=red,192.168.0.50,192.168.0.150
# Supply parameters for specified hosts using DHCP. There are lots
# of valid alternatives, so we will give examples of each. Note that
# IP addresses DO NOT have to be in the range given above, they just
# need to be on the same network. The order of the parameters in these
# do not matter, it's permissble to give name,adddress and MAC in any order
# Always allocate the host with ethernet address 11:22:33:44:55:66
# The IP address 192.168.0.60
#dhcp-host=11:22:33:44:55:66,192.168.0.60
# Always set the name of the host with hardware address
# 11:22:33:44:55:66 to be "fred"
#dhcp-host=11:22:33:44:55:66,fred
# Always give the host with ethernet address 11:22:33:44:55:66
# the name fred and IP address 192.168.0.60 and lease time 45 minutes
#dhcp-host=11:22:33:44:55:66,fred,192.168.0.60,45m
# Give a host with ethernet address 11:22:33:44:55:66 or
# 12:34:56:78:90:12 the IP address 192.168.0.60. Dnsmasq will assume
# that these two ethernet interfaces will never be in use at the same
# time, and give the IP address to the second, even if it is already
# in use by the first. Useful for laptops with wired and wireless
# addresses.
#dhcp-host=11:22:33:44:55:66,12:34:56:78:90:12,192.168.0.60
# Give the machine which says its name is "bert" IP address
# 192.168.0.70 and an infinite lease
#dhcp-host=bert,192.168.0.70,infinite
# Always give the host with client identifier 01:02:02:04
# the IP address 192.168.0.60
#dhcp-host=id:01:02:02:04,192.168.0.60
# Always give the host with client identifier "marjorie"
# the IP address 192.168.0.60
#dhcp-host=id:marjorie,192.168.0.60
# Enable the address given for "judge" in /etc/hosts
# to be given to a machine presenting the name "judge" when
# it asks for a DHCP lease.
#dhcp-host=judge
# Never offer DHCP service to a machine whose ethernet
# address is 11:22:33:44:55:66
#dhcp-host=11:22:33:44:55:66,ignore
# Ignore any client-id presented by the machine with ethernet
# address 11:22:33:44:55:66. This is useful to prevent a machine
# being treated differently when running under different OS's or
# between PXE boot and OS boot.
#dhcp-host=11:22:33:44:55:66,id:*
# Send extra options which are tagged as "red" to
# the machine with ethernet address 11:22:33:44:55:66
#dhcp-host=11:22:33:44:55:66,net:red
# Send extra options which are tagged as "red" to
# any machine with ethernet address starting 11:22:33:
#dhcp-host=11:22:33:*:*:*,net:red
# Ignore any clients which are specified in dhcp-host lines
# or /etc/ethers. Equivalent to ISC "deny unkown-clients".
# This relies on the special "known" tag which is set when
# a host is matched.
#dhcp-ignore=#known
# Send extra options which are tagged as "red" to any machine whose
# DHCP vendorclass string includes the substring "Linux"
#dhcp-vendorclass=red,Linux
# Send extra options which are tagged as "red" to any machine one
# of whose DHCP userclass strings includes the substring "accounts"
#dhcp-userclass=red,accounts
# Send extra options which are tagged as "red" to any machine whose
# MAC address matches the pattern.
#dhcp-mac=red,00:60:8C:*:*:*
# If this line is uncommented, dnsmasq will read /etc/ethers and act
# on the ethernet-address/IP pairs found there just as if they had
# been given as --dhcp-host options. Useful if you keep
# MAC-address/host mappings there for other purposes.
#read-ethers
# Send options to hosts which ask for a DHCP lease.
# See RFC 2132 for details of available options.
# Common options can be given to dnsmasq by name:
# run "dnsmasq --help dhcp" to get a list.
# Note that all the common settings, such as netmask and
# broadcast address, DNS server and default route, are given
# sane defaults by dnsmasq. You very likely will not need
# any dhcp-options. If you use Windows clients and Samba, there
# are some options which are recommended, they are detailed at the
# end of this section.
# Override the default route supplied by dnsmasq, which assumes the
# router is the same machine as the one running dnsmasq.
#dhcp-option=3,1.2.3.4
# Do the same thing, but using the option name
#dhcp-option=option:router,1.2.3.4
# Override the default route supplied by dnsmasq and send no default
# route at all. Note that this only works for the options sent by
# default (1, 3, 6, 12, 28) the same line will send a zero-length option
# for all other option numbers.
#dhcp-option=3
# Set the NTP time server addresses to 192.168.0.4 and 10.10.0.5
#dhcp-option=option:ntp-server,192.168.0.4,10.10.0.5
# Set the NTP time server address to be the same machine as
# is running dnsmasq
#dhcp-option=42,0.0.0.0
# Set the NIS domain name to "welly"
#dhcp-option=40,welly
# Set the default time-to-live to 50
#dhcp-option=23,50
# Set the "all subnets are local" flag
#dhcp-option=27,1
# Send the etherboot magic flag and then etherboot options (a string).
#dhcp-option=128,e4:45:74:68:00:00
#dhcp-option=129,NIC=eepro100
# Specify an option which will only be sent to the "red" network
# (see dhcp-range for the declaration of the "red" network)
# Note that the net: part must precede the option: part.
#dhcp-option = net:red, option:ntp-server, 192.168.1.1
# The following DHCP options set up dnsmasq in the same way as is specified
# for the ISC dhcpcd in
# http://www.samba.org/samba/ftp/docs/textdocs/DHCP-Server-Configuration.txt
# adapted for a typical dnsmasq installation where the host running
# dnsmasq is also the host running samba.
# you may want to uncomment some or all of them if you use
# Windows clients and Samba.
#dhcp-option=19,0 # option ip-forwarding off
#dhcp-option=44,0.0.0.0 # set netbios-over-TCP/IP nameserver(s) aka WINS server(s)
#dhcp-option=45,0.0.0.0 # netbios datagram distribution server
#dhcp-option=46,8 # netbios node type
# Send RFC-3397 DNS domain search DHCP option. WARNING: Your DHCP client
# probably doesn't support this......
#dhcp-option=option:domain-search,eng.apple.com,marketing.apple.com
# Send RFC-3442 classless static routes (note the netmask encoding)
#dhcp-option=121,192.168.1.0/24,1.2.3.4,10.0.0.0/8,5.6.7.8
# Send vendor-class specific options encapsulated in DHCP option 43.
# The meaning of the options is defined by the vendor-class so
# options are sent only when the client supplied vendor class
# matches the class given here. (A substring match is OK, so "MSFT"
# matches "MSFT" and "MSFT 5.0"). This example sets the
# mtftp address to 0.0.0.0 for PXEClients.
#dhcp-option=vendor:PXEClient,1,0.0.0.0
# Send microsoft-specific option to tell windows to release the DHCP lease
# when it shuts down. Note the "i" flag, to tell dnsmasq to send the
# value as a four-byte integer - that's what microsoft wants. See
# http://technet2.microsoft.com/WindowsServer/en/library/a70f1bb7-d2d4-49f0-96d6-4b7414ecfaae1033.mspx?mfr=true
#dhcp-option=vendor:MSFT,2,1i
# Send the Encapsulated-vendor-class ID needed by some configurations of
# Etherboot to allow is to recognise the DHCP server.
#dhcp-option=vendor:Etherboot,60,"Etherboot"
# Send options to PXELinux. Note that we need to send the options even
# though they don't appear in the parameter request list, so we need
# to use dhcp-option-force here.
# See http://syslinux.zytor.com/pxe.php#special for details.
# Magic number - needed before anything else is recognised
#dhcp-option-force=208,f1:00:74:7e
# Configuration file name
#dhcp-option-force=209,configs/common
# Path prefix
#dhcp-option-force=210,/tftpboot/pxelinux/files/
# Reboot time. (Note 'i' to send 32-bit value)
#dhcp-option-force=211,30i
# Set the boot filename for BOOTP. You will only need
# this is you want to boot machines over the network and you will need
# a TFTP server; either dnsmasq's built in TFTP server or an
# external one. (See below for how to enable the TFTP server.)
#dhcp-boot=pxelinux.0
# Boot for Etherboot gPXE. The idea is to send two different
# filenames, the first loads gPXE, and the second tells gPXE what to
# load. The dhcp-match sets the gpxe tag for requests from gPXE.
#dhcp-match=gpxe,175 # gPXE sends a 175 option.
#dhcp-boot=net:#gpxe,undionly.kpxe
#dhcp-boot=mybootimage
# Enable dnsmasq's built-in TFTP server
#enable-tftp
# Set the root directory for files availble via FTP.
#tftp-root=/var/ftpd
# Make the TFTP server more secure: with this set, only files owned by
# the user dnsmasq is running as will be send over the net.
#tftp-secure
# Set the boot file name only when the "red" tag is set.
#dhcp-boot=net:red,pxelinux.red-net
# An example of dhcp-boot with an external server: the name and IP
# address of the server are given after the filename.
#dhcp-boot=/var/ftpd/pxelinux.0,boothost,192.168.0.3
# Set the limit on DHCP leases, the default is 150
#dhcp-lease-max=150
# The DHCP server needs somewhere on disk to keep its lease database.
# This defaults to a sane location, but if you want to change it, use
# the line below.
#dhcp-leasefile=/var/lib/misc/dnsmasq.leases
# Set the DHCP server to authoritative mode. In this mode it will barge in
# and take over the lease for any client which broadcasts on the network,
# whether it has a record of the lease or not. This avoids long timeouts
# when a machine wakes up on a new network. DO NOT enable this if there's
# the slighest chance that you might end up accidentally configuring a DHCP
# server for your campus/company accidentally. The ISC server uses
# the same option, and this URL provides more information:
# http://www.isc.org/index.pl?/sw/dhcp/authoritative.php
#dhcp-authoritative
# Run an executable when a DHCP lease is created or destroyed.
# The arguments sent to the script are "add" or "del",
# then the MAC address, the IP address and finally the hostname
# if there is one.
#dhcp-script=/bin/echo
# Set the cachesize here.
cache-size=50
# If you want to disable negative caching, uncomment this.
#no-negcache
# Normally responses which come form /etc/hosts and the DHCP lease
# file have Time-To-Live set as zero, which conventionally means
# do not cache further. If you are happy to trade lower load on the
# server for potentially stale date, you can set a time-to-live (in
# seconds) here.
#local-ttl=
# If you want dnsmasq to detect attempts by Verisign to send queries
# to unregistered .com and .net hosts to its sitefinder service and
# have dnsmasq instead return the correct NXDOMAIN response, uncomment
# this line. You can add similar lines to do the same for other
# registries which have implemented wildcard A records.
#bogus-nxdomain=64.94.110.11
# If you want to fix up DNS results from upstream servers, use the
# alias option. This only works for IPv4.
# This alias makes a result of 1.2.3.4 appear as 5.6.7.8
#alias=1.2.3.4,5.6.7.8
# and this maps 1.2.3.x to 5.6.7.x
#alias=1.2.3.0,5.6.7.0,255.255.255.0
# Change these lines if you want dnsmasq to serve MX records.
# Return an MX record named "maildomain.com" with target
# servermachine.com and preference 50
#mx-host=maildomain.com,servermachine.com,50
# Set the default target for MX records created using the localmx option.
#mx-target=servermachine.com
# Return an MX record pointing to the mx-target for all local
# machines.
#localmx
# Return an MX record pointing to itself for all local machines.
#selfmx
# Change the following lines if you want dnsmasq to serve SRV
# records. These are useful if you want to serve ldap requests for
# Active Directory and other windows-originated DNS requests.
# See RFC 2782.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>
# If the domain part if missing from the name (so that is just has the
# service and protocol sections) then the domain given by the domain=
# config option is used. (Note that expand-hosts does not need to be
# set for this to work.)
# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389
# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289 (using domain=)
#domain=example.com
#srv-host=_ldap._tcp,ldapserver.example.com,389
# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2
# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com
# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD. (Note that the
# domain-name expansion done for SRV records _does_not
# occur for PTR records.)
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"
# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf. (Note that the
# domain-name expansion done for SRV records _does_not
# occur for TXT records.)
#Example SPF.
#txt-record=example.com,"v=spf1 a -all"
#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4
# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
#cname=bertand,bert
# For debugging purposes, log each DNS query as it passes through
# dnsmasq.
#log-queries
# Log lots of extra information about DHCP transactions.
#log-dhcp
# Include a another lot of configuration options.
#conf-file=/etc/dnsmasq.more.conf
#conf-dir=/etc/dnsmasq.d
-31
View File
@@ -1,31 +0,0 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import dbus
class DnsMasq:
bus = None
obj = None
iface = None
def __init__(self):
self.bus = dbus.SystemBus()
self.obj = self.bus.get_object("uk.org.thekelleys.dnsmasq", "/uk/org/thekelleys/dnsmasq", introspect=False)
self.iface = dbus.Interface(self.obj, "uk.org.thekelleys")
def __iptodecimal(self, ip):
hexn = ''.join(["%02X" % long(i) for i in ip.split('.')])
return long(hexn, 16)
def getVersion(self):
return self.iface.GetVersion(ignore_reply=False)
def registerNameServer(self, iface, server):
decimalIP = dbus.UInt32(self.__iptodecimal(server))
self.iface.RegisterServer(iface, decimalIP, ignore_reply=True)
def unregisterNameServers(self, iface):
self.iface.UnregisterServers(iface, ignore_reply=True)
def clearCache(self):
self.iface.ClearCache(ignore_reply=True)
@@ -1,4 +0,0 @@
[D-BUS Service]
Name=uk.org.thekelleys.dnsmasq
Exec=/bin/service dnsmasq start
User=root
-93
View File
@@ -1,93 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>dnsmasq</Name>
<Homepage>http://www.thekelleys.org.uk/dnsmasq/doc.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<License>GPLv3</License>
<IsA>service</IsA>
<Summary>Lightweight, easy to configure DNS forwarder and DHCP server</Summary>
<Description>dnsmasq is a DNS forwarder and DHCP server that can serve the names of local machines which are not in the global DNS. The DHCP server integrates with the DNS server and allows machines with DHCP-allocated addresses to appear in the DNS with names configured in each host.</Description>
<Archive sha1sum="47685362f616b959ddf097bc1f9a51c60c22c659" type="tarxz">http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.70.tar.xz</Archive>
<AdditionalFiles>
<AdditionalFile target="dnsmasq.py">dnsmasq.py</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>dbus</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>dnsmasq</Name>
<RuntimeDependencies>
<Dependency>dbus</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/var/lib/dnsmasq</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/etc/dnsmasq.conf">dnsmasq.conf</AdditionalFile>
<AdditionalFile owner="root" permission="0644" target="/usr/share/dbus-1/system-services/uk.org.thekelleys.dnsmasq.service">uk.org.thekelleys.dnsmasq.service</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="stack.py">Network.Stack</COMAR>
<COMAR script="service.py">System.Service</COMAR>
</Provides>
</Package>
<History>
<Update release="6">
<Date>2014-05-11</Date>
<Version>2.70</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-04-24</Date>
<Version>2.70</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-04-03</Date>
<Version>2.68</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-10-26</Date>
<Version>2.67</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-14</Date>
<Version>2.65</Version>
<Comment>New release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-23</Date>
<Version>2.63</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>dnsmasq</Name>
<Summary xml:lang="tr">Hafif, kolay yapılandırılabilir DNS yönlendirici ve DHCP sunucu</Summary>
<Description xml:lang="tr">dnsmasq, global DNS'te bulunmayan yerel makine isimlerini sunabilen bir DNS yönlendirici ve DHCP sunucudur.</Description>
</Source>
</PISI>
+12 -8
View File
@@ -12,15 +12,12 @@
<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>
<Archive sha1sum="083c1bb0d1e85672e8038a2fadf70b24e7409db7" type="targz">mirrors://sourceforge/e2fsprogs/e2fsprogs-1.42.12.tar.gz</Archive>
<BuildDependencies>
<Dependency>libblkid-devel</Dependency>
<Dependency>libutil-linux-devel</Dependency>
<!-- The first release shipped within util-linux -->
<Dependency>libuuid</Dependency>
<Dependency>libutil-linux</Dependency>
<Dependency>gettext</Dependency>
<!-- For libblkid -->
<Dependency>util-linux</Dependency>
</BuildDependencies>
<Patches>
@@ -33,9 +30,9 @@
<Package>
<Name>e2fsprogs</Name>
<RuntimeDependencies>
<Dependency>libblkid</Dependency>
<Dependency>libutil-linux</Dependency>
<!-- The first release shipped within util-linux -->
<Dependency>libuuid</Dependency>
<!--<Dependency>libuuid</Dependency>-->
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
@@ -69,6 +66,13 @@
</Package>
<History>
<Update release="8">
<Date>2015-04-30</Date>
<Version>1.42.12</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="7">
<Date>2014-07-10</Date>
<Version>1.42.11</Version>
+73
View File
@@ -0,0 +1,73 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2015 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
suffix = "32" if get.buildTYPE() == "emul32" else ""
def setup():
autotools.autoreconf("-if")
autotools.configure("--prefix=/usr \
--bindir=/sbin \
--sbindir=/sbin \
--libdir=/usr/lib \
--sysconfdir=/etc \
--libexecdir=/lib \
--with-rootprefix= \
--with-rootlibdir=/lib \
--enable-split-usr \
--disable-introspection \
--disable-blkid \
--enable-gudev \
--enable-static \
--disable-manpages \
--disable-gtk-doc \
--disable-gtk-doc-html")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("-j1 DESTDIR=%s%s" % (get.installDIR(), suffix))
#autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# emul32 stop here
if get.buildTYPE() == "emul32":
shelltools.move("%s%s/lib" % (get.installDIR(), suffix), "%s/lib%s" % (get.installDIR(), suffix))
shelltools.move("%s%s/usr/lib" % (get.installDIR(), suffix), "%s/usr/lib%s" % (get.installDIR(), suffix))
#for f in shelltools.ls("%s/usr/lib32/pkgconfig" % get.installDIR()):
# pisitools.dosed("%s/usr/lib32/pkgconfig/%s" % (get.installDIR(), f), "emul32", "usr")
#shelltools.unlinkDir("%s%s" % (get.installDIR(), suffix))
shelltools.unlink("%s/usr/lib%s/libudev.so" % (get.installDIR(), suffix))
pisitools.dosym("/lib%s/libudev.so.1.6.0" % suffix, "/usr/lib%s/libudev.so" % suffix)
shelltools.unlinkDir("%s/usr/lib%s/pkgconfig" % (get.installDIR(), suffix))
shelltools.unlinkDir("%s/lib%s/udev" % (get.installDIR(), suffix))
return
#add link
pisitools.dosym("/sbin/udevadm", "/bin/udevadm")
# Create vol_id and scsi_id symlinks in /sbin probably needed by multipath-tools
pisitools.dosym("/lib/udev/scsi_id", "/sbin/scsi_id")
# Create /sbin/systemd-udevd -> /sbin/udevd sysmlink, we need it for MUDUR, do not touch this sysmlink.
# pisitools.dosym("/lib/systemd/systemd-udevd", "/sbin/systemd-udevd")
# Create /etc/udev/rules.d for backward compatibility
pisitools.dodir("/etc/udev/rules.d")
pisitools.dodir("/run/udev")
# Add man files
pisitools.doman("man/*.5", "man/*.7", "man/*.8")
pisitools.dodoc("README*", "NOTES")
+31
View File
@@ -0,0 +1,31 @@
#!/usr/bin/python
import os
def createNode(mode, uid, gid, minor, major, path):
os.system("/bin/mknod --mode=%d %s c %d %d" % (mode, path, minor, major))
os.system("/bin/chown %s:%s %s" % (uid, gid, path))
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
createNode(600, "root", "root", 1, 11, "/lib/udev/devices/kmsg")
createNode(666, "root", "root", 1, 3, "/lib/udev/devices/null")
createNode(666, "root", "root", 1, 5, "/lib/udev/devices/zero")
createNode(600, "root", "root", 10, 130, "/lib/udev/devices/watchdog")
createNode(666, "root", "root", 10, 229, "/lib/udev/devices/fuse")
createNode(600, "root", "tty", 5, 1, "/lib/udev/devices/console")
createNode(666, "root", "tty", 5, 2, "/lib/udev/devices/ptmx")
createNode(666, "root", "tty", 5, 0, "/lib/udev/devices/tty")
createNode(620, "root", "tty", 4, 1, "/lib/udev/devices/tty1")
createNode(600, "root", "root", 10, 200, "/lib/udev/devices/net/tun")
createNode(600, "root", "root", 36, 0, "/lib/udev/devices/route")
createNode(600, "root", "root", 10, 200, "/lib/udev/devices/skip")
createNode(660, "root", "dialout", 108, 0, "/lib/udev/devices/ppp")
os.system("/sbin/udevadm hwdb --update")
if os.path.exists("/lib/udev/devices/rtc"):
os.unlink("/lib/udev/devices/rtc")
# Migrate UDEV database
if fromVersion and int(fromVersion) < 165:
os.system("/sbin/udevadm info --convert-db &> /dev/null")
+3
View File
@@ -0,0 +1,3 @@
HAVE_BLKID=1
BLKID_LIBS="-lblkid"
BLKID_CFLAGS="-I/tools/include"
+1
View File
@@ -0,0 +1 @@
D /run/udev 0755 root root
+137
View File
@@ -0,0 +1,137 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>eudev</Name>
<Homepage>https://www.gentoo.org/proj/en/eudev/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>console</IsA>
<Summary>eudev is a fork of system-udev</Summary>
<Description>eudev is a fork of system-udev with the goal of obtaining better compatibility with existing software such as OpenRC and Upstart, older kernels, various toolchains and anything else required by users and various distributions.</Description>
<Archive sha1sum="adb2157abc1957a71dd54dc98f7361d78357607a" type="targz">https://github.com/gentoo/eudev/archive/v3.0.tar.gz</Archive>
<AdditionalFiles>
<!-- http://www.linuxfromscratch.org/lfs/view/development/chapter06/eudev.html -->
<AdditionalFile target="config.cache">config.cache</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<Dependency>glibc-devel</Dependency>
<Dependency>libkmod-devel</Dependency>
<!--<Dependency>libutil-linux-devel</Dependency>--><!-- alert circle dep.-->
<Dependency>glib2-devel</Dependency>
<Dependency>libpcre-devel</Dependency>
<!--<Dependency>libxslt</Dependency>--><!--disable manpages-->
<Dependency>gperf</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>eudev</Name>
<RuntimeDependencies>
<Dependency>libkmod</Dependency>
<!--<Dependency>libutil-linux</Dependency>-->
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Conflicts>
<Package releaseTo="16">udev</Package>
<Package releaseTo="16">libudev</Package>
<Package releaseTo="16">libgudev1</Package>
</Conflicts>
<Replaces>
<Package>udev</Package>
<Package>libudev</Package>
<Package>libgudev1</Package>
</Replaces>
<Files>
<Path fileType="executable">/bin</Path>
<Path fileType="executable">/sbin</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="executable">/lib/udev</Path>
<Path fileType="library">/lib</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc</Path>
<Path fileType="config">/usr/lib/tmpfiles.d/udev.conf</Path>
<Path fileType="data">/run/udev</Path>
<Path fileType="data">/lib/systemd</Path>
<Path fileType="data">/etc/udev/rules.d</Path>
<Path fileType="data">/lib/udev/rules.d</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/udev.conf">tmpfiles.conf</AdditionalFile>
</AdditionalFiles>
<Provides>
<COMAR script="package.py">System.Package</COMAR>
</Provides>
</Package>
<Package>
<Name>eudev-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for eudev</Summary>
<RuntimeDependencies>
<Dependency release="current">eudev</Dependency>
<Dependency>glib2-devel</Dependency>
</RuntimeDependencies>
<Conflicts>
<Package releaseTo="16">udev-devel</Package>
<Package releaseTo="16">libudev-devel</Package>
<Package releaseTo="16">libgudev1-devel</Package>
</Conflicts>
<Files>
<Path fileType="header">/usr/include/</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/pkgconfig</Path> <!-- check this path usr/share/pkgconfig -->
</Files>
</Package>
<Package>
<Name>eudev-32bit</Name>
<Replaces>
<Package>libudev-32bit</Package>
<Package>libgudev1-32bit</Package>
</Replaces>
<Conflicts>
<Package releaseTo="16">libudev-32bit</Package>
<Package releaseTo="16">libgudev1-32bit</Package>
</Conflicts>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for eudev</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency>libkmod-32bit</Dependency>
<Dependency>glib2-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency>glib2-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/lib32</Path>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2015-05-11</Date>
<Version>3.0</Version>
<Comment>build emul32 and static too.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="1">
<Date>2015-03-29</Date>
<Version>3.0</Version>
<Comment>First release.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>eudev</Name>
<Summary xml:lang="tr">eudev sistemd-udev uygulamasının çatalı</Summary>
<Description xml:lang="tr">eudev sistem-udev uygulamasının OpenRC, Upstart gibi başlangıç sistemleri ile uyumu için hazırlanmış çatalı</Description>
</Source>
</PISI>
+5 -1
View File
@@ -15,6 +15,7 @@
<Archive sha1sum="b08197d146930a5543a7b99e871cba3da614f6f0" type="targz">mirrors://sourceforge/expat/expat-2.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>gnuconfig</Dependency>
<Dependency>glibc-devel</Dependency>
</BuildDependencies>
<Patches>
</Patches>
@@ -34,6 +35,9 @@
<Name>expat-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for expat</Summary>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">expat</Dependency>
</RuntimeDependencies>
@@ -88,4 +92,4 @@
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
+10 -3
View File
@@ -12,16 +12,16 @@
<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="8753e72097f2cc935608e3b1c57c4c4e31bd8d21" type="targz">ftp://ftp.astron.com/pub/file/file-5.18.tar.gz</Archive>
<Archive sha1sum="20fa06592291555f2b478ea2fb70b53e9e8d1f7c" type="targz">ftp://ftp.astron.com/pub/file/file-5.22.tar.gz</Archive>
<!-- An update to this package can easily break pisi, pay attention! -->
<BuildDependencies>
<Dependency>zlib</Dependency>
<!-- remove python dependencies while bootstrap -->
<Dependency>python-devel</Dependency>
</BuildDependencies>
<Patches>
<!--<Patches>
<Patch level="1">git_fixes.patch</Patch>
</Patches>
</Patches>-->
</Source>
<Package>
@@ -41,6 +41,13 @@
</Package>
<History>
<Update release="7">
<Date>2015-04-02</Date>
<Version>5.22</Version>
<Comment>Release bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Version>5.18</Version>
@@ -1,27 +0,0 @@
From 23367ff97f33ef6a2b7e1fced1157c87a46d9596 Mon Sep 17 00:00:00 2001
From: Werner Lemberg <wl@gnu.org>
Date: Mon, 17 Mar 2014 06:33:14 +0000
Subject: Fix Savannah bug #41869.
This works around a problem with HarfBuzz (<= 0.9.26), which doesn't
validate glyph indices returned by
`hb_ot_layout_lookup_collect_glyphs'.
* src/autofit/hbshim.c (af_get_coverage): Guard `idx'.
* docs/CHANGES: Updated.
--- src/autofit/hbshim.c.orig 2014-03-30 02:39:43.000000000 +0200
+++ src/autofit/hbshim.c 2014-03-30 02:41:04.818770184 +0200
@@ -346,6 +346,12 @@
FT_TRACE4(( " %d", idx ));
count++;
#endif
+
+ /* HarfBuzz 0.9.26 and older doesn't validate glyph indices */
+ /* returned by `hb_ot_layout_lookup_collect_glyphs'... */
+ if ( idx >= (hb_codepoint_t)globals->glyph_count )
+ continue;
+
if ( gstyles[idx] == AF_STYLE_UNASSIGNED )
gstyles[idx] = (FT_Byte)style_class->style;
@@ -1,20 +0,0 @@
--- freetype-2.2.1/modules.cfg.orig 2006-07-07 21:01:09.000000000 -0400
+++ freetype-2.2.1/modules.cfg 2006-07-07 21:01:54.000000000 -0400
@@ -110,7 +110,7 @@
AUX_MODULES += cache
# TrueType GX/AAT table validation. Needs ftgxval.c below.
-# AUX_MODULES += gxvalid
+AUX_MODULES += gxvalid
# Support for streams compressed with gzip (files with suffix .gz).
#
@@ -124,7 +124,7 @@
# OpenType table validation. Needs ftotval.c below.
#
-# AUX_MODULES += otvalid
+AUX_MODULES += otvalid
# Auxiliary PostScript driver component to share common code.
#
@@ -1,13 +0,0 @@
diff --git i/include/config/ftoption.h w/include/config/ftoption.h
index fe2ba15..1ab4226 100644
--- i/include/config/ftoption.h
+++ w/include/config/ftoption.h
@@ -591,7 +591,7 @@ FT_BEGIN_HEADER
/* This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be */
/* defined. */
/* */
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
/*************************************************
@@ -1,13 +0,0 @@
diff --git i/include/config/ftoption.h w/include/config/ftoption.h
index fe2ba15..22ce1a3 100644
--- i/include/config/ftoption.h
+++ w/include/config/ftoption.h
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
/* This is done to allow FreeType clients to run unmodified, forcing */
/* them to display normal gray-level anti-aliased glyphs. */
/* */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
/*****************************
-146
View File
@@ -1,146 +0,0 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>freetype</Name>
<Homepage>http://www.freetype.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>FTL</License>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>A high-quality and portable font engine</Summary>
<Description>FreeType 2 is a software font engine that is designed to be small, efficient, highly customizable, and portable while capable of producing high-quality output. It can be used in graphics libraries, display servers, font conversion tools, text image generation tools, and many other products as well.</Description>
<Archive sha1sum="d3c26cc17ec7fe6c36f4efc02ef92ab6aa3f4b46" type="tarbz2">mirrors://sourceforge/freetype/freetype-2.5.3.tar.bz2</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>bzip2</Dependency>
<Dependency>libpng-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">freetype-2.2.1-enable-valid.patch</Patch>
<Patch level="1">freetype-2.5.1-enable-sph.patch</Patch>
<Patch level="1">freetype-2.5.1-enable-spr.patch</Patch>
<Patch level="0">fix_segfault_with_harfbuzz.diff</Patch>
</Patches>
</Source>
<Package>
<Name>freetype</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>bzip2</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>freetype-devel</Name>
<PartOf>system.devel</PartOf>
<Summary>Development files for freetype</Summary>
<RuntimeDependencies>
<Dependency release="current">freetype</Dependency>
<Dependency>harfbuzz-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>freetype-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for freetype</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>zlib-32bit</Dependency>
<Dependency>libpng-32bit</Dependency>
<Dependency>harfbuzz-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">freetype</Dependency>
<Dependency>zlib-32bit</Dependency>
<Dependency>libpng-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="9">
<Date>2014-05-11</Date>
<Version>2.5.3</Version>
<Comment>Release bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2014-03-29</Date>
<Version>2.5.3</Version>
<Comment>Version bump</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="7">
<Date>2013-12-11</Date>
<Version>2.5.2</Version>
<Comment>Version bump, cleanup.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="6">
<Date>2013-11-26</Date>
<Version>2.5.1</Version>
<Comment>Version bump</Comment>
<Name>Richard de Bruin</Name>
<Email>richdb@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2013-10-28</Date>
<Version>2.5.0.1</Version>
<Comment>rebuild.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2013-07-26</Date>
<Version>2.5.0.1</Version>
<Comment>Fix deps,release bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-06-28</Date>
<Version>2.5.0.1</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-01-14</Date>
<Version>2.4.11</Version>
<Comment>New release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-24</Date>
<Version>2.4.10</Version>
<Comment>First release</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
</History>
</PISI>
-19
View File
@@ -1,19 +0,0 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>freetype</Name>
<Summary xml:lang="tr">Yüksek kaliteli ve taşınabilir yazıtipi düzeneği</Summary>
<Description xml:lang="tr">FreeType 2; küçük, verimli, özelleştirilebilir, taşınabilir ve yüksek kaliteli çıktı oluşturan bir yazıtipi düzeneğidir. Grafik kütüphaneleri, görüntü sunucuları ve yazıtipi değiştirme araçları gibi birçok üründe kullanılabilir.</Description>
<Description xml:lang="fr">FreeType2 est un moteur logiciel de fontes conçu pour être petit, efficace, très flexible et portable tout en étant capable de produire une sortie de très haute qualité. Il peut être utilisé dans les librairies graphiques, les serveurs d'affichage, les outils de conversion, les outils de génération d'images textuelles, ainsi que beaucoup d'autres produits.</Description>
</Source>
<Package>
<Name>freetype-devel</Name>
<Summary xml:lang="tr">freetype için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>freetype-32bit</Name>
<Summary xml:lang="tr">freetype için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+4 -1
View File
@@ -13,6 +13,9 @@
<Summary>An interface for filesystems implemented in userspace</Summary>
<Description>fuse is a backend allowing regular users to (un)mount filesystems for their own use.</Description>
<Archive sha1sum="94bd1974a9f2173ac3c2cf122f9fa3c35996b88e" type="targz">mirrors://sourceforge/project/fuse/fuse-2.X/2.9.3/fuse-2.9.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>gettext-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch>skip_umount_test.patch</Patch>
</Patches>
@@ -21,7 +24,7 @@
<Package>
<Name>fuse</Name>
<RuntimeDependencies>
<Dependency>glibc</Dependency>
<Dependency>glibc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/bin</Path>
+8 -1
View File
@@ -13,7 +13,7 @@
<IsA>library</IsA>
<Summary>GNU libraries and utilities for producing multi-lingual messages</Summary>
<Description>The GNU gettext package provides a set of tools and documentation for producing multi-lingual messages in programs. Tools include a set of conventions about how programs should be written to support message catalogs, a directory and file naming organization for the message catalogs, a runtime library which supports the retrieval of translated messages, and stand-alone programs for handling the translatable and the already translated strings. Gettext provides an easy to use library and tools for creating, using, and modifying natural language catalogs and is a powerful and simple method for internationalizing programs.</Description>
<Archive sha1sum="a2dc46d788edb0078ab20da7bd194bdb6da2f0d9" type="targz">http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.2.tar.gz</Archive>
<Archive sha1sum="c473f4f268501d971b913197fb07767e628644bb" type="targz">http://ftp.gnu.org/pub/gnu/gettext/gettext-0.19.4.tar.gz</Archive>
<BuildDependencies>
<Dependency>acl-devel</Dependency>
<Dependency>glib2-devel</Dependency>
@@ -70,6 +70,13 @@
</Package>
<History>
<Update release="7">
<Date>2015-04-03</Date>
<Version>0.19.4</Version>
<Comment>Version bump.</Comment>
<Name>Hakan Yıldız</Name>
<Email>hknyldz93@gmail.com</Email>
</Update>
<Update release="6">
<Date>2014-05-11</Date>
<Version>0.18.3.2</Version>
+5 -3
View File
@@ -13,9 +13,11 @@ from pisi.actionsapi import shelltools
def setup():
options = "--with-pcre=system \
--disable-fam \
--disable-libelf \
--enable-gtk-doc=no \
--disable-static \
--enable-shared \
--enable-man \
--disable-man \
--enable-systemtap"
@@ -28,7 +30,7 @@ def setup():
shelltools.export("CXX", "%s -m32" % get.CXX())
shelltools.export("PKG_CONFIG_PATH", "/usr/lib32/pkgconfig")
autotools.autoreconf("-vif")
#autotools.autoreconf("-vif")
autotools.configure(options)
pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
@@ -45,4 +47,4 @@ def install():
pisitools.removeDir("/usr/share/gdb")
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS")
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "NEWS")

Some files were not shown because too many files have changed in this diff Show More