summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Speculatively fix bpf.h include for snoop and dlpilicense-cleanupJoachim Nilsson2019-10-202-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Fix bpf.h include after removal, macOS has this in net/bpf.hJoachim Nilsson2019-10-201-2/+0
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Change from 4-clause to 3-clause BSD license for src/libnet_link_*.cJoachim Nilsson2019-10-209-127/+198
| | | | | | | | | | | | | | | | | This patch adopts the 3-clause BSD license for all src/libnet_link_*.c files previously under the 4-clause BSD license. Effectively this drops the "obnoxious" advertising clause which is usually what is under most contention when BSD licenses are discussed. For a background, the https://en.wikipedia.org/wiki/BSD_licenses page provides an interesting read. Briefly, in 1999 Berkeley rescinded the original 3rd clause (see below) leading to a change in major software projects to, not only adopt this new BSD license, but also renumber the listed provisions. Ref. ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* libnet_ansn1.c: Align header 2-clause BSD license with libnet_asn1.hJoachim Nilsson2019-10-201-17/+19
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Drop include/bpf.h, 4-clause BSD and unused on major platformsJoachim Nilsson2019-10-202-270/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Update local 4-clause BSD getopt.c with FreeBSD 3-clause versionJoachim Nilsson2019-10-202-182/+190
| | | | | | | | | | | | | | | | | | | This patch updates the local getopt.c, used only when building samples on Windows, with a newer version with better license from FreeBSD. For reference, Berkeley recinded the 3rd clause of the original 4-clause license in 1999. This was adopted by the BSD UNIX community, and later the numbering was also updated. https://bsd.slashdot.org/story/99/09/02/189210/berkeley-removes-advertising-clause For some reason, the replacement header file, win32/getopt.h, comes with the 2-clause BSD license. I did no more research on that, but I guess the FreeBSD VCS has the complete story. Related to issue #85. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Remove pre-built binary files from win32/wpdpackJoachim Nilsson2019-10-2028-3278/+12
| | | | | | | | | | | | | Not only is it our policy to not include binaries in GIT, the wpdpack distribution comes under another license, see #85, which means libnet top LICENSE file would otherwise have to be changed. We recommend installing https://nmap.org/npcap/ for using libnet on Windows. For cross-building on a non-windows host, see README.win32. Closes #93 Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Cleanup and style, me vs us, formatting etc.Joachim Nilsson2019-10-191-64/+74
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Adjust path to WINPACP filesJoachim Nilsson2019-10-191-3/+3
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Simplify/Shorten TitleJoachim Nilsson2019-10-191-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Trial run with logoJoachim Nilsson2019-10-192-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Minor, whitespaceJoachim Nilsson2019-10-191-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Use standard int64_t instead of __int64_t for mingw cross buildJoachim Nilsson2019-10-191-3/+3
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Must include Packet32.h first to get struct bpf_program for pcap.hJoachim Nilsson2019-10-191-4/+5
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Remove generated file from GITJoachim Nilsson2019-10-191-176/+0
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Don't run release targetJoachim Nilsson2019-10-191-1/+1
| | | | | Don't run release target in automated build since it checks for tags and waits for human input. Instead we do the distcheck and doc targets, which are the most important ones to check anyway.
* Bump version for v1.3 release cycleJoachim Nilsson2019-10-191-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Update ChangeLog and bump version for v1.2 releasev1.2Joachim Nilsson2019-10-162-4/+4
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Disable silent rules in `make release` passJoachim Nilsson2019-10-161-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Reshuffle build targets, two passes: release and regularJoachim Nilsson2019-10-151-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Fix install directory for generated doxygen HTML contentJoachim Nilsson2019-10-151-1/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Reorder build rules slightlyJoachim Nilsson2019-10-151-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Automate building of doc both from GIT and dist tarballJoachim Nilsson2019-10-153-0/+13
| | | | | | | | | From both GIT and dist tarball: - Build html and man automatically if enabled and doxygen is available - Install html and man if enabled and built successfully, skip otherwise Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Rename and convert Raw socket heads-up to MarkdownJoachim Nilsson2019-10-154-41/+48
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Ignore .zip files as we already do with .tar.gzJoachim Nilsson2019-10-151-0/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Migrate TODO to MarkdownJoachim Nilsson2019-10-152-118/+119
| | | | | | | Slightly easier to read, but most importantly, not included in dist anymore ... Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* debian: Remove old/stale documents from .deb packageJoachim Nilsson2019-10-151-5/+0
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Migrate MIGRATION document to MarkdownJoachim Nilsson2019-10-156-174/+179
| | | | | | | - Move to Markdown, still readable as plain text I hope - Simplify and clarify some minor things Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Replace release checklist with new HACKING.mdJoachim Nilsson2019-10-153-34/+113
| | | | | | | | | Outline: - maintenance duties - release checklist - library versioning Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Minor, fix spelling mistakesJoachim Nilsson2019-10-131-3/+3
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Let release target depend on doc, even if building without doxygenJoachim Nilsson2019-10-111-1/+4
| | | | | | | If we have doxygen installed then configure should find it, and if so we should build man pages and include in tarball. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Try md5sha1sum package instead of coreutils for md5sumJoachim Nilsson2019-10-111-1/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: Attempt to speed up macOS buildsJoachim Nilsson2019-10-111-6/+9
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Travis-CI: macOS needs md5sum, from coreutils, for `make release`Joachim Nilsson2019-10-101-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Clean up generated man pages on distcheck and disable HTMLJoachim Nilsson2019-10-104-2/+11
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Doxyfile: Spellcheck CHM_FILE and fix input file(s) after renameJoachim Nilsson2019-10-101-3/+3
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: man: Clean up built man pages on distcleanJoachim Nilsson2019-10-101-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Only include doc: and dist-hook: target when Doxygen is enabledJoachim Nilsson2019-10-101-4/+4
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Test release target of MakefileSam Roberts2019-10-101-0/+1
|
* doc: Update AUTHOR section in man pages and fix that COPYRIGHT blurbJoachim Nilsson2019-10-103-11/+5
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Follow-up to c9c0de7: Make sure to generate doc/man/man1/MakefileJoachim Nilsson2019-10-101-0/+1
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Update libnet.Pod, used for main man pageJoachim Nilsson2019-10-101-10/+17
| | | | | | | - libnet-config is deprecated and everyone should move to pkg-config - clarify section on copyright, still not happy with wording ... Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Update PORTED section on building libnet for AndroidJoachim Nilsson2019-10-101-22/+12
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Update URLs to point at new official home for libnet projectJoachim Nilsson2019-10-104-8/+8
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* debian: Update references to man pages, libnet-config.1 is upstreamJoachim Nilsson2019-10-101-4/+4
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Restore deprecated libnet-config.1 from debian/Joachim Nilsson2019-10-105-3/+5
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* doc: Restore distribution of generated man pagesJoachim Nilsson2019-10-105-0/+12
| | | | | | | | | - All generated content should be kept out of git - End users should not need to have doxygen installed - Manual pages should be included in dist tar/zip files, for downstream packagers and end-users Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Follow-up to 0cf7642d: missing ; in statement after refactorJoachim Nilsson2019-10-091-2/+2
| | | | Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
* Caveat for the package installation docsSam Roberts2019-10-091-2/+5
|
* Remove unused scriptsSam Roberts2019-10-096-76/+0
| | | | | | Some scripts were out of date, some were specific to my development environment, and some just aren't used anymore. None should be distributed. Remove them.