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
readline: added forgotten patch
[crossrootfs.git]
/
inetutils
/
Pkgfile
diff --git
a/inetutils/Pkgfile
b/inetutils/Pkgfile
index 280bb00a442fc785ebc3445f6e537c3dbbb6b24d..7a4b5a0cf2483333ec687428d1a0ccbd5217823e 100644
(file)
--- a/
inetutils/Pkgfile
+++ b/
inetutils/Pkgfile
@@
-5,33
+5,36
@@
# Depends on: ncurses
name=inetutils
# Depends on: ncurses
name=inetutils
-version=1.9.
1
-release=
2
+version=1.9.
4
+release=
3
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
- #
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.patc
h
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--libexecdir=/usr/sbin \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
--libexecdir=/usr/sbin \
- --mandir=/usr/man \
--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
make
make DESTDIR=$PKG install
- install -d $PKG/etc/rc.d
+ install -d $PKG/{bin,sbin,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
- rm -r $PKG/usr/share
+ rm -r $PKG/usr/share
/info
}
}