+++ /dev/null
-###############################################################################
-# LFSMake #
-# by Rod Roark <rod@sunsetsystems.com> #
-# #
-# Copyright (C) 2002 Rod Roark #
-# #
-# See http://www.lfsmake.org/ for the most current standard version. #
-# #
-# These Makefiles are made available under the terms of the Artistic License, #
-# found at http://www.opensource.org/licenses/artistic-license.html. #
-###############################################################################
-
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-# URLs that are common sources of downloads. If you're having trouble with
-# a site you should change its URL to that of a suitable mirror site.
-#
-URL_IPFIRE = http://source.ipfire.org/download
-URL_TOOLCHAIN = source.ipfire.org:/pub/source/toolchains
-URL_SOURCE = source.ipfire.org:/pub/source/source-3.x
-URL_TARGET = source.ipfire.org:/srv/anonftp/pub/nightly-builds
-
-# For most packages tarballs are unpacked here and then deleted after
-# installation.
-#
-DIR_SRC = $(LFS)/usr/src
-
-# Files are downloaded into DIR_TMP and then moved to DIR_DL, to avoid
-# messes with partially retrieved files. DIR_DL is where we will
-# save all the files that are downloaded. DIR_INFO contains the
-# file lists of installed packages.
-#
-DIR_DL = $(LFS_BASEDIR)/cache/tarballs
-DIR_CONF = $(LFS_BASEDIR)/config
-DIR_INFO = $(LFS_BASEDIR)/log_$(TARGET)
-DIR_LFS = $(LFS_BASEDIR)/lfs
-DIR_TOOLS = $(LFS_BASEDIR)/tools
-DIR_TMP = /tmp
-DIR_PATCHES = $(DIR_DL)/../patches
-DIR_CONFIG = $(DIR_CONF)
-DIR_SOURCE = $(DIR_SRC)/src
-DIR_PKG = $(LFS_BASEDIR)/lfs
-DIR_TARGET = $(LFS_BASEDIR)/target
-DIR_PACKAGES= /packages
-
-VPATH = $(DIR_DL):$(DIR_PATCHES)
-
-INITSCRIPT = $(PKG_NAME)
-
-CONFIGURE_ARCH = \
- --build=$(IFS_TARGET) \
- --host=$(IFS_TARGET)
-
-DEFAULT_PACKAGE = $(DIR_PACKAGES)/$(LFS_FILE)-$(PKG_VER)-$(SNAME)$(PKG_REL).$(TARGET).ipk
-DEVEL_PACKAGE = $(DIR_PACKAGES)/$(LFS_FILE)-devel-$(PKG_VER)-$(SNAME)$(PKG_REL).$(TARGET).ipk
-#ifeq "$(shell grep ^D $(DO_FIND_ROOTFILE))" ""
-# PACKAGES = $(DEFAULT_PACKAGE)
-#else
-# PACKAGES = $(DEFAULT_PACKAGE) $(DEVEL_PACKAGE)
-#endif
-PACKAGES = $(DEFAULT_PACKAGE)
-
-IMAGE_FILE = $(IMAGES_DIR)/$(SNAME)-$(VERSION).sfs
-
-LFS_FILE = $(firstword $(MAKEFILE_LIST))
-
-###############################################################################
-# Common Macro Definitions
-###############################################################################
-
-DO_LOAD = DIR_TMP=$(DIR_TMP) DIR_DL=$(DIR_DL) DIR_PATCHES=$(DIR_PATCHES) \
- python $(DIR_TOOLS)/downloader $(URL_IPFIRE)/$@
-LOAD = $(DO_LOAD) # To be compatible to the current build system.
-
-EXTRACTOR = bash $(DIR_SOURCE)/scripts/extractor
-
-INSTALL_CONFIG = sed \
- -e "s/@NAME@/$(NAME)/g" \
- -e "s/@SNAME@/$(SNAME)/g" \
- -e "s/@VERSION@/$(VERSION)/g" \
- -e "s/@SLOGAN@/$(SLOGAN)/g" \
- -e "s/@DATE@/$(shell date '+%Y%m%d')/g" \
- -e "s/@IMAGENAME@/$(IMAGENAME)/g"
-
-INSTALL_INITSCRIPT = echo "Installing initscript \"$(INITSCRIPT)\" -> /etc/init"; \
- install -m 644 $(DIR_SOURCE)/initscripts/extras/$(INITSCRIPT).conf /etc/init/
-
-PYTHON_COMPILE = find /usr/lib/python*/ -name *.py | xargs /usr/bin/py-compile
-PYTHON_EXTRACT_EGG = $(DIR_SOURCE)/scripts/py-extract-egg
-
-DO_FIND_ROOTFILE = $$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -type f \
- -maxdepth 1 -name "$(LFS_FILE)" 2>/dev/null | head -n1)
-
-define DO_PKG_INFO
- @## ALPHABETICAL ORDER ##
- @echo "local PKG_BUILD_DEPS=\"$(BUILD_DEPS)\""
- @echo "local PKG_CORE=\"$(CORE)\""
- @echo "local PKG_DEBUG=\"$(DEBUG)\""
- @echo "local PKG_DEPS=\"$(DEPS)\""
- @echo "local PKG_DESC=\"$(value LONG_DESC)\""
- @echo "local PKG_EXTRA=\"$(EXTRA)\""
- @echo "local PKG_FILES=\"$(objects)\""
- @echo "local PKG_GROUP=\"$(GROUP)\""
- @echo "local PKG_LICENSE=\"$(LICENSE)\""
- @echo "local PKG_MAINTAINER=\"$(MAINTAINER)\""
- @echo "local PKG_NAME=\"$$(basename $(LFS_FILE))\""
- @echo "local PKG_PACKAGES=\"$(PACKAGES)\""
- @echo "local PKG_VER=\"$(PKG_VER)\""
- @echo "local PKG_REL=\"$(PKG_REL)\""
- @echo "local PKG_SHORT=\"$(value SHORT_DESC)\""
- @echo "local PKG_URL=\"$(URL)\""
-endef
-
-define DO_PACKAGE
- if [ "$(CORE)" = "yes" -o "$(EXTRA)" = "yes" ]; then \
- if [ -z "$(DO_FIND_ROOTFILE)" ]; then \
- touch $@_no_rootfile; \
- exit 0; \
- fi; \
- NAME=$(NAME) \
- SNAME=$(SNAME) \
- VERSION=$(VERSION) \
- KVER=$(KVER) \
- TARGET=$(TARGET) \
- MACHINE=$(MACHINE) \
- IFS_TARGET=$(IFS_TARGET) \
- \
- PKG_BUILD_DEPS="$(BUILD_DEPS)" \
- PKG_CORE="$(CORE)" \
- PKG_DEBUG="$(DEBUG)" \
- PKG_DEPS="$(DEPS)" \
- PKG_EXTRA="$(EXTRA)" \
- PKG_GROUP="$(GROUP)" \
- PKG_LICENSE="$(LICENSE)" \
- PKG_MAINTAINER="$(MAINTAINER)" \
- PKG_NAME="$(LFS_FILE)" \
- PKG_VER="$(PKG_VER)" \
- PKG_REL="$(PKG_REL)" \
- PKG_SHORT="$(value SHORT_DESC)" \
- PKG_URL="$(URL)" \
- \
- CONTROL_PREIN="$(value CONTROL_PREIN)" \
- CONTROL_PREUN="$(value CONTROL_POSTUN)" \
- CONTROL_POSTIN="$(value CONTROL_POSTIN)" \
- CONTROL_POSTUN="$(value CONTROL_POSTUN)" \
- \
- QUALITY_AGENT_WHITELIST_EXECSTACK="$(value QUALITY_AGENT_WHITELIST_EXECSTACK)" \
- QUALITY_AGENT_WHITELIST_RPATH="$(value QUALITY_AGENT_WHITELIST_RPATH)" \
- QUALITY_AGENT_WHITELIST_SONAME="$(value QUALITY_AGENT_WHITELIST_SONAME)" \
- \
- $(DIR_SOURCE)/pakfire/compressor --rootfile=$(DO_FIND_ROOTFILE) $@; \
- fi
-endef
-
-# For each package we create a list of files that it installed under
-# log/<OBJECT> name. Modified files are not identified
-#
-define FIND_FILES
- cd $(LFS)/ && $(TOOLS_DIR)/bin/find -mount \
- -not -path '.$(TOOLS_DIR)*' -not -path './tmp*' -not -path './usr/src*' \
- -not -path './dev*' -not -path './proc*' -not -path './sys*' \
- -not -path '.$(INSTALLER_DIR)*' -not -path './packages*'
-endef
-
-# This is common starting logic for builds.
-#
-ifneq "$(STAGE)" "toolchain"
-define PREBUILD
- echo "### STARTING INSTALL #################################################"
- echo "# Application: $(THISAPP)"
- echo "# Description: $(SHORT_DESC)"
- echo "######################################################################"
- echo "# Saving file list..."
- # Remove package if exists
- for package in $(PACKAGES); do \
- rm -f $(DIR_PACKAGES)/$$package 2>/dev/null; \
- done
- if [ ! -f $(DIR_SRC)/lsalr ]; then $(FIND_FILES) > $(DIR_SRC)/lsalr; fi
-endef
-else
-define PREBUILD
- echo "### STARTING INSTALL #################################################"
- echo "# Application: $(THISAPP)"
- echo "# Description: $(SHORT_DESC)"
- echo "######################################################################"
-endef
-endif
-
-# Common end-of-installation logic for Stage 2 and beyond.
-#
-ifneq "$(STAGE)" "toolchain"
-define POSTBUILD
- echo "### INSTALL DONE #####################################################"
- echo "# Application: $(THISAPP)"
- echo "# Saving file list to $(OBJECT)..."
- @$(FIND_FILES) > $(DIR_SRC)/lsalrnew
- @diff $(DIR_SRC)/lsalr $(DIR_SRC)/lsalrnew | grep '^> ' | sed 's+^> \./++' | sort > $(OBJECT)_diff
- @mv -f $(DIR_SRC)/lsalrnew $(DIR_SRC)/lsalr
- # compare roofile (same name as lfs script) with the list of installed files
- # special cases
- # - if the corresponding rootfile is not found, touch $(OBJECT)_missing_rootfile
- # - on a partial rebuild without a new file inside TARGET_diff, just touch TARGET
- # $(OBJECT)_diff : result of the diff
- # ROOTFILE : reference of include/exclude files
- # $(OBJECT)_rootfile : ROOTFILE with KVER replacement
- # $(OBJECT) : log result with {commented|include|added} files
- if [ -s "$(OBJECT)_diff" ]; then \
- LFS_SCRIPT="$(firstword $(MAKEFILE_LIST))"; \
- if [ "x$(PASS)" != "x" ]; then LFS_SCRIPT="$$LFS_SCRIPT.p$(PASS)"; fi; \
- ROOTFILE=$$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
- if [ "$$ROOTFILE" = "" ]; then \
- touch $(OBJECT)_missing_rootfile; \
- ROOTFILE=$(OBJECT)_missing_rootfile ; \
- echo "error $$LFS_SCRIPT not found in $(DIR_SOURCE)/rootfiles"; \
- fi; \
- sed -e "s@KVER@$(KVER)@g" \
- -e "s@IFS_TARGET@$(IFS_TARGET)@g" \
- -e "s@^/@@g" -e "s@^#/@#@g" \
- $$ROOTFILE > $(OBJECT)_rootfile; \
- echo 'open (F,"$(OBJECT)_rootfile"); \
- while (<F>) { $$allfile{$$_} = "x" };close (F); \
- while (<>) { \
- if ( defined ($$allfile{"#$$_"}) ) {print "#$$_"} \
- elsif ( defined ($$allfile{$$_}) ) {print $$_} \
- else {print "+$$_"} \
- }; \
- ' > /tmp/perl.pl; \
- perl /tmp/perl.pl < $(OBJECT)_diff \
- | sed -e "s@$(KVER)@KVER@g" -e "s@$(IFS_TARGET)@IFS_TARGET@g" > $(OBJECT); \
- rm -f $(OBJECT)_rootfile; \
- else \
- touch $(OBJECT); \
- fi
- @rm -f $(OBJECT)_diff
- echo "######################################################################"
-endef
-else
-define POSTBUILD
- echo "### INSTALL DONE #####################################################"
- echo "# Application: $(THISAPP)"
- echo "######################################################################"
- touch $(OBJECT)
-endef
-endif
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = adjust-toolchain
-PKG_VER =
-PKG_REL = -1
-
-THISAPP = $(PKG_NAME)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP =
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL =
-LICENSE =
-SHORT_DESC = This script does some tweaks on the build system.
-
-define LONG_DESC
- This script does some tweaks on the build system.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects =
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
-
-ifeq "$(STAGE)" "toolchain"
- $(IFS_TARGET)-gcc -dumpspecs | sed \
- -e 's@$(LINKER)@$(TOOLS_DIR)&@g' \
- > $$(dirname $$($(IFS_TARGET)-gcc -print-libgcc-file-name))/specs
-endif
-
-ifeq "$(STAGE)" "base"
- cp -fv $(TOOLS_DIR)/bin/{ld-new,ld}
-
- gcc -dumpspecs | sed \
- -e "/^\*link:$$/{n;s,$$, -L/usr/lib,}" \
- -e 's@$(TOOLS_DIR)$(LINKER)@$(LINKER)@g' \
- -e '/^\*cpp:$$/{n;s,$$, -isystem /usr/include,}' \
- > $$(dirname $$(gcc --print-libgcc-file-name))/myspecs
-endif
-
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007, 2008 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = db
-PKG_VER = 4.7.25
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = System/Libraries
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.oracle.com/technology/products/berkeley-db/
-LICENSE = Proprietary
-SHORT_DESC = Berkeley DB is a library that provides an embedded database.
-
-define LONG_DESC
- Berkeley DB (BDB) is a computer software library that provides \
- a high-performance embedded database.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-upstream_fixes-1.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-upstream_fixes-1.patch
- cd $(DIR_APP)/build_unix && \
- CC=gcc \
- ../dist/configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --enable-compat185 \
- --enable-cxx \
- --disable-static
- cd $(DIR_APP)/build_unix && make $(PARALLELISMFLAGS)
- cd $(DIR_APP)/build_unix && make docdir=/usr/share/doc/$(THISAPP) install
- chown -Rv root:root /usr/share/doc/$(THISAPP)
-
- rm -vf /usr/lib/libdb{,_cxx}-4.7.la
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = iw
-PKG_VER = 0.9.17
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.bz2
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = System/Base
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = libnl
-
-URL = http://www.linuxwireless.org/en/users/Documentation/iw
-LICENSE = BSD
-SHORT_DESC = A nl80211 based wireless configuration tool.
-
-define LONG_DESC
- iw is a new nl80211 based CLI configuration utility for wireless \
- devices. Currently you can only use this utility to configure devices \
- which use a mac80211 driver as these are the new drivers being written \
- - only because most new wireless devices being sold are now SoftMAC.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-default-install-to-PREFIX-sbin.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
-
- cd $(DIR_APP) $$ patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-default-install-to-PREFIX-sbin.patch
-
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- mv -v /usr/bin/iw /sbin/
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = jwhois
-PKG_VER = 4.0
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Applications/Internet
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.gnu.org/software/jwhois/
-LICENSE = GPLv3
-SHORT_DESC = Internet whois/nicname client.
-
-define LONG_DESC
- A whois client that accepts both traditional and finger-style queries.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-conf.patch \
- $(THISAPP)-conf_update.patch \
- $(THISAPP)-conf_update2.patch \
- $(THISAPP)-conf_update3.patch \
- $(THISAPP)-conf_update4.patch \
- $(THISAPP)-connect.patch \
- $(THISAPP)-dotster.patch \
- $(THISAPP)-enum.patch \
- $(THISAPP)-fclose.patch \
- $(THISAPP)-gi.patch \
- $(THISAPP)-ipv6match.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
-
- # This patch fixes an IPv4 connection problem.
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-connect.patch
-
- # This patch fixes IPv6-matching.
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-ipv6match.patch
-
- # This patch adds support for enum domains to jwhois.
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-enum.patch
-
- # This patch adds a fclose.
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fclose.patch
-
- # These patches are modifying domains or whois servers inside the jwhois config file.
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-conf.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-gi.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-conf_update.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-conf_update2.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-dotster.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-conf_update3.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-conf_update4.patch
-
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --sysconfdir=/etc
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = libnl
-PKG_VER = 1.1
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Development/Libraries
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://people.suug.ch/~tgr/libnl/
-LICENSE = LGPLv2
-SHORT_DESC = Convenience library for kernel netlink sockets.
-
-define LONG_DESC
- This package contains a convenience library to simplify using the \
- Linux kernel's netlink sockets interface for network manipulation.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-permissions.patch \
- $(THISAPP)-include-limits-h.patch \
- $(THISAPP)-no-extern-inline.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
-
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-permissions.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-include-limits-h.patch
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-no-extern-inline.patch
-
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = man-pages
-PKG_VER = 3.23
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Documentation
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.kernel.org/pub/linux/docs/manpages/
-LICENSE = GPLv2+ and GPL+ and BSD and MIT and Copyright only and IEEE
-SHORT_DESC = Man (manual) pages from the Linux Documentation Project.
-
-define LONG_DESC
- A large collection of man pages (documentation) from the Linux \
- Documentation Project (LDP).
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && make install
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = mc
-PKG_VER = 4.6.2
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Applications/System
-CORE = no
-EXTRA = yes
-DEBUG = no
-BUILD_DEPS =
-DEPS = e2fsprogs glib2 slang
-
-URL = http://www.ibiblio.org/mc/
-LICENSE = GPLv2+
-SHORT_DESC = User-friendly text console file manager and visual shell.
-
-define LONG_DESC
- Midnight Commander is a visual shell much like a file manager, only \
- with many more features. It is a text mode application, but it also \
- includes mouse support. Midnight Commander's best features are its \
- ability to FTP, view tar and zip files, and to poke into RPMs for \
- specific files.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-utf8.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-utf8.patch
- cd $(DIR_APP) && AUTOPOINT=true autoreconf -f -v -i
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --enable-charset
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
- chmod 1755 /usr/lib/mc/cons.saver
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = ntp
-PKG_VER = 4.2.4p7
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP =
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = openssl
-
-LICENSE = MIT, BSD and GPLv2
-URL = http://www.ntp.org/
-SHORT_DESC = The NTP daemon and utilities.
-
-define LONG_DESC
- The Network Time Protocol (NTP) is used to synchronize a computer's \
- time with another reference time source. This package includes ntpd \
- and utilities used to query and configure the ntpd daemon.
-endef
-
-CFLAGS += -DMOD_NANO
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --sysconfdir=/etc \
- --with-binsubdir=sbin
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- $(INSTALL_CONFIG) $(DIR_SOURCE)/$(PKG_NAME)/ntp.conf \
- > /etc/ntp.conf
-
- $(INSTALL_INITSCRIPT)
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = openlldp
-PKG_VER = 0.3alpha
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Networking/Tools
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://openlldp.sourceforge.net/
-LICENSE = GPL
-SHORT_DESC = Utilities for the Link Layer Discovery Protocol.
-
-define LONG_DESC
- The OpenLLDP project aims to provide a comprehensive implementation of \
- the IEEE standard 802.1AB Link Layer Discovery Protocol.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- $(INSTALL_INITSCRIPT)
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = openvpn
-PKG_VER = 2.1_rc20
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Networking/VPN
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = iproute2 lzo openssl
-
-URL = http://openvpn.net/
-LICENSE = GPLv2
-SHORT_DESC = A full-featured SSL VPN solution.
-
-define LONG_DESC
- OpenVPN is a robust and highly flexible tunneling application that uses all \
- of the encryption, authentication, and certification features of the \
- OpenSSL library to securely tunnel IP networks over a single UDP or TCP \
- port. It can use the Marcus Franz Xaver Johannes Oberhumer's LZO library \
- for compression.
-endef
-
-PLUGINS = auth-pam down-root
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --enable-pthread \
- --enable-password-save \
- --enable-iproute2
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && for plugin in $(PLUGINS); do \
- make -C plugin/$$plugin; \
- done
- cd $(DIR_APP) && make install
- mkdir -p /usr/lib/$(PKG_NAME)/plugin/lib
- cd $(DIR_APP) && for plugin in $(PLUGINS); do \
- install -m 0755 plugin/$$plugin/openvpn-$$plugin.so \
- /usr/lib/$(PKG_NAME)/plugin/lib/openvpn-$$plugin.so; \
- done
- -mkdir -p /var/run/$(PKG_NAME)
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-cracklib
\ No newline at end of file
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = samba
-PKG_VER = 3.3.5
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER = Christian Schmidt <christian.schmidt@ipfire.org>
-GROUP = Networking/Daemons
-CORE = no
-EXTRA = yes
-DEBUG = no
-BUILD_DEPS =
-DEPS = gawk ncurses libcap2 openldap openssl pam popt readline # cups
-
-URL = http://www.samba.org/
-LICENSE = GPLv3+ and LGPLv3+
-SHORT_DESC = Server and Client software to interoperate with Windows machines.
-
-define LONG_DESC
- Samba is the suite of programs by which a lot of PC-related machines \
- share files, printers, and other information (such as lists of \
- available files and printers). The Windows NT, OS/2, and Linux \
- operating systems support this natively, and add-on packages can \
- enable the same thing for DOS, Windows, VMS, UNIX of all kinds, MVS, \
- and more. This package provides an SMB/CIFS server that can be used to \
- provide network services to SMB/CIFS clients. \
- Samba uses NetBIOS over TCP/IP (NetBT) protocols and does NOT \
- need the NetBEUI (Microsoft Raw NetBIOS frame) protocol.
-endef
-
-CFLAGS += -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE)
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP)/source && sh autogen.sh
- cd $(DIR_APP)/source && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --with-lockdir=/var/lib/samba \
- --with-piddir=/var/run \
- --with-mandir=/usr/share/man \
- --with-privatedir=/var/lib/samba/private \
- --with-logfilebase=/var/log/samba \
- --with-modulesdir=/usr/lib/samba \
- --with-configdir=/etc/samba \
- --with-pammodulesdir=/lib/security \
- --with-swatdir=/usr/share/swat \
- --with-automount \
- --with-libsmbclient \
- --with-libsmbsharemodes \
- --with-pam \
- --with-pam_smbpass \
- --with-quotas \
- --with-sendfile-support \
- --with-syslog \
- --with-utmp \
- --with-winbind \
- --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash
- cd $(DIR_APP)/source && make pch all \
- nsswitch/libnss_wins.so modules $(PARALLELISMFLAGS)
- cd $(DIR_APP)/source && make install
-
- cd $(DIR_APP) && install -m 755 source/nsswitch/libnss_winbind.so /lib/libnss_winbind.so.2
- ln -sf ../../lib/libnss_winbind.so.2 /usr/lib/libnss_winbind.so
- cd $(DIR_APP) && install -m 755 source/nsswitch/libnss_wins.so /lib/libnss_wins.so.2
- ln -sf ../../lib/libnss_wins.so.2 /usr/lib/libnss_wins.so
- -mkdir -pv /etc/samba
- echo "127.0.0.1 localhost" > /etc/samba/lmhosts
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# 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 #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME = wireless_tools
-PKG_VER = 29
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME).$(PKG_VER)
-DL_FILE = $(THISAPP).tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Networking/Wireless
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html
-LICENSE = GPL+
-SHORT_DESC = Wireless ethernet configuration tools.
-
-define LONG_DESC
- This package contain the Wireless tools, used to manipulate \
- the Wireless Extensions. The Wireless Extension is an interface \
- allowing you to set Wireless LAN specific parameters and get the \
- specific stats for wireless networking equipment.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-makefile.patch
-
-download: $(objects)
-
-info:
- $(DO_PKG_INFO)
-
-install: $(OBJECT)
-
-packages: $(PACKAGES)
-
-$(PACKAGES): $(OBJECT)
- @$(DO_PACKAGE)
-
-$(objects):
- @$(LOAD)
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(OBJECT): $(objects)
- @$(PREBUILD)
- @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-makefile.patch
- cd $(DIR_APP) && make $(PARALLELISMFLAGS) BUILD_SHARED=1 FORCE_WEXT_VERSION=16 OPT_FLAGS="$(CFLAGS)"
- cd $(DIR_APP) && make install PREFIX=/usr INSTALL_DIR=/sbin INSTALL_LIB=/lib
- rm -vf /lib/libiw.{a,so}
- ln -svf ../../lib/libiw.so.$(PKG_VER) /usr/lib/libiw.so
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)