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
bzip2: synced upstream release
[crossrootfs.git]
/
inetutils
/
Pkgfile
diff --git
a/inetutils/Pkgfile
b/inetutils/Pkgfile
index 22ee644fdf4054dbb43eda9bef30973ab4040647..7baf897c8416635ffc7123e8e2918459aad310f2 100644
(file)
--- a/
inetutils/Pkgfile
+++ b/
inetutils/Pkgfile
@@
-5,13
+5,20
@@
# Depends on: ncurses
name=inetutils
# Depends on: ncurses
name=inetutils
-version=1.
7
-release=
1
+version=1.
9.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
+
+ # 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 \
@@
-20,11
+27,15
@@
build() {
--localstatedir=/var \
--sysconfdir=/etc \
--disable-{servers,clients} \
--localstatedir=/var \
--sysconfdir=/etc \
--disable-{servers,clients} \
- --enable-{inetd,ftp,telnet}
+ --enable-{ifconfig,inetd,ftp,telnet,traceroute}
+
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install
+
install -d $PKG/etc/rc.d
install -d $PKG/etc/rc.d
+
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
}