This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: inetutils-1.5-3


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

cygwin@cwilson.fastmail.fm wrote:
| Building this package requires a patched cygport:
|   http://cygwin.com/ml/cygwin-apps/2008-03/msg00139.html

Are you sure?  AFAICS the attached WFM; I just need to update cygport in
the distro.


Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkgROyAACgkQpiWmPGlmQSPKpACgum+RmxkmWq5l/sYKj1fwa+Z/
P9IAoNyrZcc4tIw9syFYWJrirFS4QRyk
=fa1T
-----END PGP SIGNATURE-----
DESCRIPTION="A collection of clients and servers for internet communication"
HOMEPAGE="http://www.gnu.org/software/inetutils/";
SRC_URI="http://ftp.gnu.org/gnu/inetutils/${PN}-${PV}.tar.gz";

DIFF_EXCLUDES="ftpcmd.c"

CYGPORT_USE_UNSTABLE_API=1
RESTRICT="postinst_info"

src_unpack_hook() {
	mkdir -p headers/arpa headers/protocols
	(cd headers/arpa      && ln -s ${C}/arpa/tftp.h .)
	(cd headers/protocols && ln -s ${C}/protocols/talkd.h .)
	(cd headers/protocols && ln -s ${C}/protocols/osockaddr.h .)
}

src_compile() {
	cd ${S}
	cygautoreconf
	cd ${B}
	cygconf --disable-ipv6
	cygmake
}

src_install() {
	cd ${B}
	cyginstall

	dodoc ${S}/ChangeLog.* ${C}/${PN}.OLD-README ${C}/udp_client.c
	dobin ${C}/iu-config ${C}/syslogd-config
	dodir /usr/include/arpa /usr/include/protocols

	insinto /usr/include/arpa
	doins ${C}/arpa/tftp.h

	insinto /usr/include/protocols
	doins ${C}/protocols/talkd.h
	doins ${C}/protocols/osockaddr.h

	dodir /etc/rc.d/init.d
	insinto /etc/rc.d/init.d
	doins ${C}/inetd

	dodir /etc/inetd.d
	keepdir /etc/inetd.d
	dodir /etc/defaults/etc
	insinto /etc/defaults/etc
	doins ${C}/defaults/ftpusers ${C}/defaults/ftpwelcome
	doins ${C}/defaults/inetd.conf ${C}/defaults/shells
	doins ${C}/defaults/motd ${C}/defaults/syslog.conf

	rm -f ${D}/usr/bin/ifconfig.exe
	rm -f ${D}/usr/bin/logger.exe
	rm -f ${D}/usr/bin/ping.exe
	rm -f ${D}/usr/bin/whois.exe

	rm -f ${D}/usr/share/man/man1/logger.1*
	rm -f ${D}/usr/share/man/man8/ping.8*
}

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]