nmap/inet_aton.patch

29 lines
836 B
Diff
Raw Normal View History

auto-import changelog data from nmap-2.54BETA22-2.src.rpm Tue Jul 10 2001 Tim Powers <timp@redhat.com> - fix bugs in desktop file (#48341) Wed May 16 2001 Tim Powers <timp@redhat.com> - updated to 2.54BETA22 Mon Nov 20 2000 Tim Powers <timp@redhat.com> - rebuilt to fix bad dir perms Fri Nov 03 2000 Tim Powers <timp@redhat.com> - fixed nmapdatadir in the install section, forgot lto include $RPM_BUILD_ROOT in the path Thu Nov 02 2000 Tim Powers <timp@redhat.com> - update to nmap-2.54BETA7 to possibly fix bug #20199 - use the desktop file provided by the package instead of using my own - patches in previous version are depreciated. Included in SRPM for reference only Mon Jul 24 2000 Prospector <prospector@redhat.com> - rebuilt Mon Jul 10 2000 Tim Powers <timp@redhat.com> - rebuilt Wed Jun 28 2000 Tim Powers <timp@redhat.com> - rebuilt package Thu Jun 08 2000 Tim Powers <timp@redhat.com> - fixed man pages so that they are in an FHS compliant location - use %makeinstall - use predefined RPM macros wherever possible Tue May 16 2000 Tim Powers <timp@redhat.com> - updated to 2.53 - using applnk now - use CFLAGS="${CFLAGS:--O2 -march=i386 -mcpu=i686}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -march=i386 -mcpu=i686}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -march=i386 -mcpu=i686}" ; export FFLAGS ; [ -f configure.in ] && libtoolize --copy --force ; ./configure i386-redhat-linux \ --prefix=/usr \ --exec-prefix=/usr \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --sysconfdir=/etc \ --datadir=/usr/share \ --includedir=/usr/include \ --libdir=/usr/lib \ --libexecdir=/usr/libexec \ --localstatedir=/var \ --sharedstatedir=/usr/com \ --mandir=/usr/share/man \ --infodir=/usr/share/info, and /usr where possible - removed redundant defines at top of spec file Mon Dec 13 1999 Tim Powers <timp@redhat.com> - based on origional spec file from http://www.insecure.org/nmap/index.html#download - general cleanups, removed lots of commenrts since it madethe spec hard to read - changed group to Applications/System - quiet setup - no need to create dirs in the install section, "make prefix=$RPM_BUILD_ROOT&{prefix} install" does this. - using defined %{prefix}, 2.54BETA22 etc. for easier/quicker maint. - added docs - gzip man pages - strip after files have been installed into buildroot - created separate package for the frontend so that Gtk+ isn't needed for the CLI nmap - not using -f in files section anymore, no need for it since there aren't that many files/dirs - added desktop entry for gnome Sun Jan 10 1999 Fyodor <fyodor@dhp.com> - Merged in spec file sent in by Ian Macdonald <ianmacd@xs4all.nl> Tue Dec 29 1998 Fyodor <fyodor@dhp.com> - Made some changes, and merged in another .spec file sent in by Oren Tirosh <oren@hishome.net> Mon Dec 21 1998 Riku Meskanen <mesrik@cc.jyu.fi> - initial build for RH 5.x
2004-09-09 09:17:24 +00:00
--- nmap-2.53/tcpip.h.orig Tue May 16 18:21:58 2000
+++ nmap-2.53/tcpip.h Tue May 16 18:22:09 2000
@@ -354,9 +354,9 @@
/* Hex dump */
int get_link_offset(char *device);
char *readip_pcap(pcap_t *pd, unsigned int *len, long to_usec);
-#ifndef HAVE_INET_ATON
+/*#ifndef HAVE_INET_ATON
int inet_aton(register const char *, struct in_addr *);
-#endif
+#endif*/
#endif /*TCPIP_H*/
--- nmap-2.53/nmap.h.orig Tue May 16 18:18:00 2000
+++ nmap-2.53/nmap.h Tue May 16 18:18:30 2000
@@ -362,9 +362,9 @@
void skid_output(unsigned char *s);
/* From glibc 2.0.6 because Solaris doesn't seem to have this function */
-#ifndef HAVE_INET_ATON
+/*#ifndef HAVE_INET_ATON
int inet_aton(register const char *, struct in_addr *);
-#endif
+#endif*/
#ifndef HAVE_SNPRINTF
int snprintf ( char *str, size_t n, const char *format, ... );
#endif