iputils, dosfstools python-lxml in main

This commit is contained in:
Ertuğrul Erata
2015-07-22 14:35:27 +03:00
parent a09024ed71
commit 362c394fc0
35 changed files with 5611 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/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 shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def build():
autotools.make("CCOPT='%s -fpie' CC=%s" % (get.CFLAGS(), get.CC()))
autotools.compile("ifenslave.c -o ifenslave")
def install():
for app in ["ping", "ping6"]:
pisitools.dobin(app)
for app in ["clockdiff", "arping", "rdisc", "tracepath", "tracepath6", "traceroute6", "ifenslave"]:
pisitools.dosbin(app)
# We will not need these if we set cap on postInstall like Fedora
shelltools.chmod("%s/usr/bin/ping" % get.installDIR(), 04711)
shelltools.chmod("%s/usr/bin/ping6" % get.installDIR(), 04711)
pisitools.dodoc("RELNOTES")