CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inetutils: updated to 1.9.1
[crossrootfs.git]
/
inetutils
/
Pkgfile
diff --git
a/inetutils/Pkgfile
b/inetutils/Pkgfile
index 81c140e99c8435a0ad8fc78e5096fdd54cdcb66d..1410f8d728e2221e0a12b4644a48622e5c1298cd 100644
(file)
--- a/
inetutils/Pkgfile
+++ b/
inetutils/Pkgfile
@@
-6,9
+6,9
@@
name=inetutils
version=1.9.1
name=inetutils
version=1.9.1
-release=
1
+release=
4
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
- inetd.conf inetd)
+ inetd.conf inetd
$name-$version-pathprocnet.patch
)
build() {
cd inetutils-$version
build() {
cd inetutils-$version
@@
-16,6
+16,9
@@
build() {
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' lib/stdio.in.h
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' lib/stdio.in.h
+ # Fix for PATH_PROC_NET undefined error
+ patch -p1 -i $SRC/$name-$version-pathprocnet.patch
+
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
@@
-24,12
+27,16
@@
build() {
--localstatedir=/var \
--sysconfdir=/etc \
--disable-{servers,clients} \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-{servers,clients} \
- --enable-{
inetd,ftp,telnet
}
+ --enable-{
hostname,ifconfig,inetd,ftp,telnet,traceroute
}
make
make DESTDIR=$PKG install
install -d $PKG/etc/rc.d
make
make DESTDIR=$PKG install
install -d $PKG/etc/rc.d
+
+ mv $PKG/usr/bin/hostname $PKG/bin
+ mv $PKG/usr/bin/ifconfig $PKG/sbin
+
install -m 644 $SRC/inetd.conf $PKG/etc
install -m 755 $SRC/inetd $PKG/etc/rc.d
install -m 644 $SRC/inetd.conf $PKG/etc
install -m 755 $SRC/inetd $PKG/etc/rc.d