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 7baf897c8416635ffc7123e8e2918459aad310f2..7a4b5a0cf2483333ec687428d1a0ccbd5217823e 100644
(file)
--- a/
inetutils/Pkgfile
+++ b/
inetutils/Pkgfile
@@
-5,17
+5,14
@@
# Depends on: ncurses
name=inetutils
# Depends on: ncurses
name=inetutils
-version=1.9.
1
-release=
4
+version=1.9.
4
+release=
3
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
inetd.conf inetd $name-$version-pathprocnet.patch)
build() {
cd inetutils-$version
source=(http://ftp.gnu.org/gnu/inetutils/inetutils-$version.tar.gz \
inetd.conf inetd $name-$version-pathprocnet.patch)
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
# Fix for PATH_PROC_NET undefined error
patch -p1 -i $SRC/$name-$version-pathprocnet.patch
@@
-23,19
+20,21
@@
build() {
--host=$CTARGET \
--prefix=/usr \
--libexecdir=/usr/sbin \
--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-{ifconfig,inetd,ftp,telnet,traceroute}
+ --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
}
}