summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 14:34:45 +0100
committerLukc <lukc@upyum.com>2010-12-12 14:34:45 +0100
commit79a2d3b7b73217152104131320c114deb6a9306b (patch)
tree74ad7f921120fbb83544ba2dc7fe2533759d1f49
parent33487bcc173f593e4310d18b093e785eb919e475 (diff)
downloadopt-79a2d3b7b73217152104131320c114deb6a9306b.tar.gz
opt-79a2d3b7b73217152104131320c114deb6a9306b.tar.bz2
opt-79a2d3b7b73217152104131320c114deb6a9306b.tar.xz
opt-79a2d3b7b73217152104131320c114deb6a9306b.zip
Recette de iputils ajoutée.
NOTE: N’a pas compilé chez moi, et footprint probablement incorrect.
-rw-r--r--iputils/.footprint23
-rw-r--r--iputils/.md5sum2
-rw-r--r--iputils/.sha256sum2
-rw-r--r--iputils/Pkgfile22
-rw-r--r--iputils/Pkgfile.old24
5 files changed, 73 insertions, 0 deletions
diff --git a/iputils/.footprint b/iputils/.footprint
new file mode 100644
index 0000000..4d0785d
--- /dev/null
+++ b/iputils/.footprint
@@ -0,0 +1,23 @@
+drwxr-xr-x root/root bin/
+-rwsr-xr-x root/root bin/ping
+-rwsr-xr-x root/root bin/ping6
+drwxr-xr-x root/root sbin/
+-rwxr-xr-x root/root sbin/arping
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/arping.8.gz
+-rw-r--r-- root/root usr/man/man8/clockdiff.8.gz
+-rw-r--r-- root/root usr/man/man8/ping.8.gz
+lrwxrwxrwx root/root usr/man/man8/ping6.8.gz -> ping.8.gz
+-rw-r--r-- root/root usr/man/man8/rarpd.8.gz
+-rw-r--r-- root/root usr/man/man8/rdisc.8.gz
+-rw-r--r-- root/root usr/man/man8/tracepath.8.gz
+-rw-r--r-- root/root usr/man/man8/traceroute6.8.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/clockdiff
+-rwxr-xr-x root/root usr/sbin/rarpd
+-rwxr-xr-x root/root usr/sbin/rdisc
+-rwxr-xr-x root/root usr/sbin/tracepath
+-rwxr-xr-x root/root usr/sbin/tracepath6
+-rwsr-xr-x root/root usr/sbin/traceroute6
diff --git a/iputils/.md5sum b/iputils/.md5sum
new file mode 100644
index 0000000..58d1dfe
--- /dev/null
+++ b/iputils/.md5sum
@@ -0,0 +1,2 @@
+5ec60e7637bac0a060766fe193c75bf7 iputils-man-s20101006.tar.xz
+a36c25e9ec17e48be514dc0485e7376c iputils-s20101006.tar.bz2
diff --git a/iputils/.sha256sum b/iputils/.sha256sum
new file mode 100644
index 0000000..bc95e54
--- /dev/null
+++ b/iputils/.sha256sum
@@ -0,0 +1,2 @@
+00dc2cc10b442e153518b68fe74ed926c892eef3b7be7a49aac821bb15a58729 iputils-man-s20101006.tar.xz
+fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6ddb6ee7 iputils-s20101006.tar.bz2
diff --git a/iputils/Pkgfile b/iputils/Pkgfile
new file mode 100644
index 0000000..06754e9
--- /dev/null
+++ b/iputils/Pkgfile
@@ -0,0 +1,22 @@
+description="Basic networking applet."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.linux-foundation.org/en/Net:Iputils"
+depends=(sysfsutils)
+
+name=iputils
+version=s20101006
+release=1
+source=(http://www.skbuff.net/$name/$name-$version.tar.bz2 http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
+build ()
+{
+ cd $name-$version;
+ sed -i "/^CCOPT=/s|-O2|$CFLAGS|;s| -g$||" Makefile;
+ make; ## FIXME : Not portable \/
+ install -d $PKG/{{s,}bin,$prefix/{share/man/man8,sbin}};
+ install ping{,6} $PKG/bin/;
+ install arping $PKG/sbin/;
+ install tracepath{,6} traceroute6 clockdiff rarpd rdisc $PKG$prefix/sbin/;
+ cp -d $SRC/$name-man-$version/* $PKG$mandir/man8;
+ chmod u+s $PKG/bin/ping{,6} $PKG$prefix/sbin/traceroute6
+}
diff --git a/iputils/Pkgfile.old b/iputils/Pkgfile.old
new file mode 100644
index 0000000..abab4c5
--- /dev/null
+++ b/iputils/Pkgfile.old
@@ -0,0 +1,24 @@
+# Description: Basic networking applet
+# URL: http://www.linux-foundation.org/en/Net:Iputils
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Depends on: sysfsutils
+
+name=iputils
+version=s20101006
+release=1
+source=(http://www.skbuff.net/iputils/$name-$version.tar.bz2
+ http://crux.nu/files/distfiles/$name-man-$version.tar.xz)
+
+build() {
+ cd $name-$version
+
+ sed -i "/^CCOPT=/s|-O2|$CFLAGS|;s| -g$||" Makefile
+ make
+
+ install -d $PKG/{{s,}bin,usr/{man/man8,sbin}}
+ install ping{,6} $PKG/bin/
+ install arping $PKG/sbin/
+ install tracepath{,6} traceroute6 clockdiff rarpd rdisc $PKG/usr/sbin/
+ cp -d $SRC/$name-man-$version/* $PKG/usr/man/man8
+ chmod u+s $PKG/bin/ping{,6} $PKG/usr/sbin/traceroute6
+}