------------------------------------------------------------ revno: 5014 committer: Andrius Bentkus <andrius.bentkus@xxxxxxxxxxxxxx> branch nick: hipfw-modules timestamp: Tue 2010-11-09 16:33:34 +0100 message: Add barebone module for pisa. added: modules/pisa/ modules/pisa/Makefile.am modules/pisa/firewall/ modules/pisa/firewall/pisa.c modules/pisa/firewall/pisa.h modules/pisa/module_info.xml modified: Makefile.am -- lp:~toxedvirus/hipl/hipfw-modules https://code.launchpad.net/~toxedvirus/hipl/hipfw-modules Your team HIPL core team is subscribed to branch lp:~toxedvirus/hipl/hipfw-modules. To unsubscribe from this branch go to https://code.launchpad.net/~toxedvirus/hipl/hipfw-modules/+edit-subscription
=== modified file 'Makefile.am' --- Makefile.am 2010-11-09 15:27:55 +0000 +++ Makefile.am 2010-11-09 15:33:34 +0000 @@ -172,6 +172,7 @@ include modules/heartbeat/Makefile.am include modules/heartbeat_update/Makefile.am include modules/midauth/Makefile.am +include modules/pisa/Makefile.am include modules/update/Makefile.am ### library dependencies ### === added directory 'modules/pisa' === added file 'modules/pisa/Makefile.am' --- modules/pisa/Makefile.am 1970-01-01 00:00:00 +0000 +++ modules/pisa/Makefile.am 2010-11-09 15:33:34 +0000 @@ -0,0 +1,5 @@ +lib_LTLIBRARIES += modules/pisa/firewall/libhippisa.la + +modules_pisa_firewall_libhippisa_la_SOURCES = modules/pisa/firewall/pisa.c + +firewall_hipfw_LDADD += modules/pisa/firewall/libhippisa.la === added directory 'modules/pisa/firewall' === added file 'modules/pisa/firewall/pisa.c' --- modules/pisa/firewall/pisa.c 1970-01-01 00:00:00 +0000 +++ modules/pisa/firewall/pisa.c 2010-11-09 15:33:34 +0000 @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2010 Aalto University and RWTH Aachen University. + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/** + * @file + * @author Andrius Bentkus <andrius.bentkus@xxxxxxxxxxxxxx> + */ + +#include "pisa.h" + +int hip_pisa_init(void) +{ + return 0; +} === added file 'modules/pisa/firewall/pisa.h' --- modules/pisa/firewall/pisa.h 1970-01-01 00:00:00 +0000 +++ modules/pisa/firewall/pisa.h 2010-11-09 15:33:34 +0000 @@ -0,0 +1,36 @@ +/* + * Copyright (c) 2010 Aalto University and RWTH Aachen University. + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/** + * @file + * @author Andrius Bentkus <andrius.bentkus@xxxxxxxxxxxxxx> + */ + +#ifndef HIP_MODULES_PISA_FIREWALL_PISA_H +#define HIP_MODULES_PISA_FIREWALL_PISA_H + +int hip_pisa_init(void); + +#endif /* HIP_MODULES_PISA_FIREWALL_PISA_H */ === added file 'modules/pisa/module_info.xml' --- modules/pisa/module_info.xml 1970-01-01 00:00:00 +0000 +++ modules/pisa/module_info.xml 2010-11-09 15:33:34 +0000 @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- Mandatory: name, version --> +<module + name="pisa" + version="0.0.1" + description="Pisa extension for the hip firewall daemon." + developer="Andrius Bentkus" + bugaddress="hipl-users@xxxxxxxxxxxxx" + webpage="http://infrahip.hiit.fi/";> + + <!-- Mandatory: name, header_file, init_function --> + <application + name="firewall" + header_file="modules/pisa/firewall/pisa.h" + init_function="hip_pisa_init" /> +</module>