aboutsummaryrefslogtreecommitdiff
path: root/lib/libalias/modules/Makefile.inc
diff options
context:
space:
mode:
authorPaolo Pisati <piso@FreeBSD.org>2006-09-26 23:26:53 +0000
committerPaolo Pisati <piso@FreeBSD.org>2006-09-26 23:26:53 +0000
commitbe4f3cd0d9c4f0d7755b1bf24c59ca26c336dccf (patch)
tree5e258090de6b0498a8722ea100fedca736af05b6 /lib/libalias/modules/Makefile.inc
parent31e2a87d4d16b038515e512cc2489f3551963ff4 (diff)
downloadsrc-be4f3cd0d9c4f0d7755b1bf24c59ca26c336dccf.tar.gz
src-be4f3cd0d9c4f0d7755b1bf24c59ca26c336dccf.zip
Summer of Code 2005: improve libalias - part 1 of 2
With the first part of my previous Summer of Code work, we get: -made libalias modular: -support for 'particular' protocols (like ftp/irc/etcetc) is no more hardcoded inside libalias, but it's available through external modules loadable at runtime -modules are available both in kernel (/boot/kernel/alias_*.ko) and user land (/lib/libalias_*) -protocols/applications modularized are: cuseeme, ftp, irc, nbt, pptp, skinny and smedia -added logging support for kernel side -cleanup After a buildworld, do a 'mergemaster -i' to install the file libalias.conf in /etc or manually copy it. During startup (and after every HUP signal) user land applications running the new libalias will try to read a file in /etc called libalias.conf: that file contains the list of modules to load. User land applications affected by this commit are ppp and natd: if libalias.conf is present in /etc you won't notice any difference. The only kernel land bit affected by this commit is ng_nat: if you are using ng_nat, and it doesn't correctly handle ftp/irc/etcetc sessions anymore, remember to kldload the correspondent module (i.e. kldload alias_ftp). General information and details about the inner working are available in the libalias man page under the section 'MODULAR ARCHITECTURE (AND ipfw(4) SUPPORT)'. NOTA BENE: this commit affects _ONLY_ libalias, ipfw in-kernel nat support will be part of the next libalias-related commit. Approved by: glebius Reviewed by: glebius, ru
Notes
Notes: svn path=/head/; revision=162674
Diffstat (limited to 'lib/libalias/modules/Makefile.inc')
-rw-r--r--lib/libalias/modules/Makefile.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libalias/modules/Makefile.inc b/lib/libalias/modules/Makefile.inc
new file mode 100644
index 000000000000..df92be4e5a39
--- /dev/null
+++ b/lib/libalias/modules/Makefile.inc
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../../sys/netinet/libalias
+
+SHLIBDIR?= /lib
+SHLIB_MAJOR= 4
+WARNS?= 1