create core package
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/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 setup():
|
||||
pisitools.dosed("Makefile", "CC = .*", "CC = %s" % get.CC())
|
||||
pisitools.dosed("Makefile", "^CFLAGS=", "CFLAGS=%s " % get.CFLAGS())
|
||||
|
||||
def build():
|
||||
autotools.make("BUILD_SHARED=1")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("PREFIX=%s/usr \
|
||||
INSTALL_DIR=%s/sbin \
|
||||
INSTALL_LIB=%s/usr/lib \
|
||||
INSTALL_INC=%s/usr/include \
|
||||
INSTALL_MAN=%s/usr/share/man" % ((get.installDIR(),)*5))
|
||||
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
@@ -0,0 +1,11 @@
|
||||
--- Makefile 2006-10-17 19:56:47.000000000 +0300
|
||||
+++ Makefile 2006-10-17 19:58:33.000000000 +0300
|
||||
@@ -162,8 +162,6 @@
|
||||
install -m 755 -d $(INSTALL_LIB)
|
||||
install -m 755 $(DYNAMIC) $(INSTALL_LIB)
|
||||
ln -sfn $(DYNAMIC) $(INSTALL_LIB)/$(DYNAMIC_LINK)
|
||||
- @echo "*** Don't forget to add $(INSTALL_LIB) to /etc/ld.so.conf, and run ldconfig as root. ***"
|
||||
- @$(LDCONFIG) || echo "*** Could not run ldconfig ! ***"
|
||||
|
||||
# Install the static library
|
||||
install-static:: $(STATIC)
|
||||
@@ -0,0 +1,27 @@
|
||||
--- wireless_tools.29/Makefile.makefile 2007-04-19 19:42:23.000000000 -0400
|
||||
+++ wireless_tools.29/Makefile 2007-05-22 17:31:53.000000000 -0400
|
||||
@@ -101,12 +101,15 @@ ifdef BUILD_WE_ESSENTIAL
|
||||
WEDEF_FLAG= -DWE_ESSENTIAL=y
|
||||
endif
|
||||
|
||||
+ifndef OPT_FLAGS
|
||||
+ OPT_FLAGS=
|
||||
+endif
|
||||
# Other flags
|
||||
CFLAGS=-Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow \
|
||||
-Wpointer-arith -Wcast-qual -Winline -I.
|
||||
#CFLAGS=-O2 -W -Wall -Wstrict-prototypes -I.
|
||||
DEPFLAGS=-MMD
|
||||
-XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG)
|
||||
+XCFLAGS=$(CFLAGS) $(DEPFLAGS) $(WARN) $(HEADERS) $(WELIB_FLAG) $(WEDEF_FLAG) $(OPT_FLAGS)
|
||||
PICFLAG=-fPIC
|
||||
|
||||
# Standard compilation targets
|
||||
@@ -146,6 +149,7 @@ wireless.h:
|
||||
# Compilation of the dynamic library
|
||||
$(DYNAMIC): $(OBJS:.o=.so)
|
||||
$(CC) -shared -o $@ -Wl,-soname,$@ $(STRIPFLAGS) $(LIBS) -lc $^
|
||||
+ ln -s $@ $(DYNAMIC_LINK)
|
||||
|
||||
# Compilation of the static library
|
||||
$(STATIC): $(OBJS:.o=.so)
|
||||
@@ -0,0 +1,34 @@
|
||||
--- wireless.7.tv 2004-04-03 18:39:24.298086920 +0200
|
||||
+++ wireless.7 2004-04-03 18:48:02.487310184 +0200
|
||||
@@ -60,14 +60,17 @@
|
||||
.br
|
||||
.I /usr/share/doc/wireless\-tools/README.Debian
|
||||
.\"
|
||||
-.\" SuSE 8.0 part
|
||||
+.\" Mandrakelinux, Redhat and SuSES part
|
||||
.\"
|
||||
-.SH SuSE 8.0
|
||||
-SuSE 8.0 (and later) has integrated wireless configuration in their
|
||||
+.SH Mandrakelinux, Redhat and SuSE
|
||||
+Mandrakelinux (8.0 and later releases), Redhat (7.3 and later releases) as well as
|
||||
+SuSE (8.0 and later releases) have integrated wireless configuration in their
|
||||
network scripts.
|
||||
.TP
|
||||
.B Tool :
|
||||
-.B Yast2
|
||||
+.B drakconnect (Mandrakelinux)
|
||||
+.br
|
||||
+.B Yast2 (Suse)
|
||||
.TP
|
||||
.B File :
|
||||
.I /etc/sysconfig/network/wireless
|
||||
@@ -82,6 +85,9 @@
|
||||
WIRELESS_MODE=Ad\-Hoc
|
||||
.TP
|
||||
.B See also :
|
||||
+.\" may only be present on mandrakelinux releases:
|
||||
+man ifcfg
|
||||
+.br
|
||||
man ifup
|
||||
.br
|
||||
info scpm
|
||||
@@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>wireless-tools</Name>
|
||||
<Homepage>http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>A collection of tools to configure wireless lan cards</Summary>
|
||||
<Description>The Wireless Tools (WT) is a set of tools allowing to manipulate the Wireless Extensions, a generic application programming interface allowing a driver to expose to the user space configuration and statistics specific to common Wireless LANs. They use a textual interface and are rather crude, but aim to support the full Wireless Extension.</Description>
|
||||
<Archive sha1sum="41db5ced9ed3d8d3cc104ce43c19af1d72f07eec" type="targz">http://svn.mandriva.com/svn/packages/cooker/wireless-tools/current/SOURCES/wireless_tools.30.pre9.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch>no-ldconfig.patch</Patch>
|
||||
<Patch level="0">wireless_tools.27-wireless-man-upd.patch</Patch>
|
||||
<Patch level="1">wireless-tools-29-makefile.patch</Patch>
|
||||
<!-- Fixes #8583, the problems with non-ASCII char included ESSIDS -->
|
||||
<!--<Patch level="1">non-ascii-essid-support.patch</Patch>--> <!--Fixed-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>wireless-tools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>comar</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/sbin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>wireless-tools-devel</Name>
|
||||
<PartOf>system.devel</PartOf>
|
||||
<Summary>Development files for wireless-tools</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">wireless-tools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-05-11</Date>
|
||||
<Version>30</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-10-28</Date>
|
||||
<Version>30</Version>
|
||||
<Comment>Güncellendi.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-02-11</Date>
|
||||
<Version>30</Version>
|
||||
<Comment>Güncellendi.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-06-01</Date>
|
||||
<Version>29</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>wireless-tools</Name>
|
||||
<Summary xml:lang="tr">Kablosuz ağ kartlarını yapılandırmak için kullanılan bir araç seti</Summary>
|
||||
<Description xml:lang="tr">Wireless Extensions, sürücülerin bilinen kablosuz ağların ayarlarını yapmak ve istatistiklerini görüntülemek amacıyla kullandığı bir yazılım programlama arayüzüdür. Wireless Tools ise Wireless Extensions ayarlarını modifiye etmek için kullanılan araçları içeren bir pakettir. Grafik arayüzü bulunmaz, biraz da kabadır; ancak Wireless Extension'u tam olarak desteklemeyi hedefler.</Description>
|
||||
<Description xml:lang="fr">Les outils sans fil (Wireless Tools ou WT) est un ensemble d'outils permettant de manipuler les extensions sans fil, c'est une interface de programmation d'application (API) générique permettant à un pilote d'exposer à l'espace utilisateur la configuration ainsi que des statistiques spécifiques aux LANs sans fil communs. Ils utilisent une interface textuelle assez rugueuse, mais ont pour objectif de couvrir la totalité de l'extension sans fil.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>wireless-tools-devel</Name>
|
||||
<Summary xml:lang="tr">wireless-tools için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user