From: Michael Tremer Date: Wed, 25 Feb 2009 03:41:48 +0000 (+0000) Subject: Converted lfs/l7-protocols to new LFS format. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b7396ed7b2d079f38f2b12250f606e3203f3425;p=ipfire-3.x.git Converted lfs/l7-protocols to new LFS format. --- diff --git a/lfs/l7-protocols b/lfs/l7-protocols index 26b49532f..c4ec8c463 100644 --- a/lfs/l7-protocols +++ b/lfs/l7-protocols @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -26,6 +26,7 @@ include Config PKG_NAME = l7-protocols PKG_VER = 2007-11-22 +PKG_REL = 0 THISAPP = $(PKG_NAME)-$(PKG_VER) DL_FILE = $(THISAPP).tar.gz @@ -33,26 +34,49 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP) +MAINTAINER = +GROUP = Networking/Firewall +EXTRA = no +DEBUG = no +DEPS = + +URL = http://l7-filter.sourceforge.net/ +LICENSE = GPLv2+ +SHORT_DESC = Application Layer Packet Classifier for Linux. + +define LONG_DESC + L7-filter is a classifier for Linux's Netfilter that identifies packets \ + based on application layer data. It can classify packets as Kazaa, HTTP, \ + Jabber, Citrix, Bittorrent, FTP, Gnucleus, eDonkey2000, etc., regardless \ + of port. +endef + ############################################################################### # Top-level Rules ############################################################################### objects = $(DL_FILE) -install : $(OBJECT) +download: $(objects) + +info: + $(DO_PKG_INFO) + +install: $(OBJECT) -download : $(objects) +package: + @$(DO_PACKAGE) -$(objects) : +$(objects): @$(LOAD) ############################################################################### # Installation Details ############################################################################### -$(OBJECT) : +$(OBJECT): $(objects) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) -mkdir -p /etc/l7-protocols cp -Rfv $(DIR_APP)/* /etc/l7-protocols @rm -rf $(DIR_APP)