add lsof in main and fix build plasma-nm
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#!/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
|
||||
|
||||
WorkDir = "lsof_%s_src" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
shelltools.export("LINUX_BASE", "/proc")
|
||||
shelltools.export("LSOF_LDFLAGS", get.LDFLAGS())
|
||||
|
||||
shelltools.touch(".neverInv")
|
||||
shelltools.system("./Configure -n linux")
|
||||
|
||||
def build():
|
||||
autotools.make('CC="%s" DEBUG="%s" all' % (get.CC(), get.CFLAGS()))
|
||||
|
||||
def install():
|
||||
pisitools.dosbin("lsof")
|
||||
|
||||
pisitools.insinto("/usr/share/lsof/scripts", "scripts/*")
|
||||
|
||||
pisitools.doman("lsof.8")
|
||||
pisitools.dodoc("00*")
|
||||
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lsof</Name>
|
||||
<Homepage>http://people.freebsd.org/~abe/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Lists open files for running Unix processes</Summary>
|
||||
<Description>lsof is a Unix-specific diagnostic tool. Its name stands for LiSt Open Files, and it does just that. It lists information about any files that are open by processes currently running on the system. It can also list communications open by each process.</Description>
|
||||
<Archive sha1sum="6e5f875863091db32212324f669f110e2365b617" type="tar">http://source.pisilinux.org/1.0/lsof_4.84_src.tar</Archive>
|
||||
<!-- This got in
|
||||
<Patches>
|
||||
<Patch level="1">lsof_4.81-threads.patch</Patch>
|
||||
</Patches>
|
||||
-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lsof</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/sbin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/lsof</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>4.84</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>4.84</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lsof</Name>
|
||||
<Summary xml:lang="tr">Çalışan UNIX süreçleri tarafından açılan dosyaları listeyen bir araç</Summary>
|
||||
<Description xml:lang="tr">lsof sistemde çalışmakta olan UNIX süreçleri tarafından açılmış dosyaları listeleyen kullanışlı bir araçtır.</Description>
|
||||
<Description xml:lang="es">Lsof es una herramienta de diagnostica específica de Unix. Su nombre quiere decir LiSt Open files (listar archivos abiertos), y hace justamente esto. Genera una lista con información sobre cada archivo abierto por procesos que están activos en el sistema. También puede listar comunicaciones abiertas por cada proceso.</Description>
|
||||
<Summary xml:lang="es">Lista archivos abiertos por procesos unix en ejecución</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user