+++ /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 = icecream
-PKG_VER = 0.9.4.9
-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/Compilers
-CORE = no
-EXTRA = no
-DEBUG = no
-BUILD_DEPS = e2fsprogs
-DEPS =
-
-URL = http://git.ipfire.org/?p=thirdparty/icecream.git;a=summary
-LICENSE = GPLv2+
-SHORT_DESC = A distributed C/C++ compiler based on distcc.
-
-define LONG_DESC
- A distributed C/C++ compiler with a central server (called scheduler) \
- that gets out the best server of the pool. Icecc is based on distcc.
-endef
-
-PREFIX = $(TOOLS_DIR)/usr
-CFLAGS := $(subst -fPIC,,$(CFLAGS)) -static
-CXXFLAGS := $(subst -fPIC,,$(CXXFLAGS)) -static
-
-###############################################################################
-# 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) && \
- CFLAGS="$(CFLAGS)" \
- CXXFLAGS="$(CXXFLAGS)" \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=$(PREFIX)
- 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 = libart_lgpl
-PKG_VER = 2.3.19
-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/Graphics
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.gnome.org
-LICENSE = LGPLv2+
-SHORT_DESC = Library of graphics routines used by libgnomecanvas.
-
-define LONG_DESC
- Graphics routines used by the GnomeCanvas widget and some other \
- applications. libart renders vector paths and the like.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-upstream_fix-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_fix-1.patch
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --disable-static
-
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- rm -vf /usr/lib/libart_lgpl_2.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 = libcap
-PKG_VER = 2.16
-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/Libraries
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = attr pam
-
-URL = http://ftp.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.6/
-LICENSE = LGPL2+
-SHORT_DESC = Library for getting and setting POSIX.1e capabilities.
-
-define LONG_DESC
- libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) \
- draft 15 capabilities.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-headerfix.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)-headerfix.patch
- cd $(DIR_APP) && sed -e "s@<stdlib.h>@&\n#include <asm/types.h>@g" \
- -i progs/capsh.c
- cd $(DIR_APP) && sed 's/--static//' -i.orig progs/Makefile
- cd $(DIR_APP) && make $(PARALLELISMFLAGS) COPTFLAG="$(CFLAGS)"
- cd $(DIR_APP) && make install
-
- rm -vf /lib/libcap.a
-
- @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 = libxslt
-PKG_VER = 1.1.24
-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 = libxml2 python
-
-URL = http://xmlsoft.org/XSLT/
-LICENSE = MIT
-SHORT_DESC = Library providing the Gnome XSLT engine.
-
-define LONG_DESC
- This C library allows to transform XML files into other XML files \
- (or HTML, text, ...) using the standard XSLT stylesheet transformation \
- mechanism.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-CVE-2008-2935.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 CVE-2008-2935
- cd $(DIR_APP) && patch -Np0 -i $(DIR_PATCHES)/$(THISAPP)-CVE-2008-2935.patch
-
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --disable-static
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
- $(PYTHON_COMPILE)
-
- rm -vf /usr/lib/lib{,e}xslt.la /usr/lib/python*/site-packages/libxsltmod.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 = lighttpd
-PKG_VER = 1.4.23
-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 = Michael Tremer <michael.tremer@ipfire.org>
-GROUP = Networking/Webservers
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = bzip2 openssl pcre zlib
-
-URL = http://www.lighttpd.net/
-LICENSE = BSD
-SHORT_DESC = Lightning fast webserver with light system requirements.
-
-define LONG_DESC
- Secure, fast, compliant and very flexible web-server which has been optimized \
- for high-performance environments. It has a very low memory footprint compared \
- to other webservers and takes care of cpu-load. Its advanced feature-set \
- (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make \
- it the perfect webserver-software for every server that is suffering load \
- problems.
-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 \
- --libdir=/usr/lib/$(PKG_NAME) \
- --with-ldap \
- --with-openssl=/usr/include
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- rm -vf /usr/lib/lighttpd/*.la
-
- cp -vf $(DIR_SOURCE)/$(PKG_NAME)/$(PKG_NAME).conf \
- /etc/$(PKG_NAME).conf
- -mkdir -p /var/log/$(PKG_NAME)
- touch /var/log/$(PKG_NAME)/{access,error}.log
- chown nobody.nobody -R /var/log/$(PKG_NAME)
- -mkdir -pv /var/cache/lighttpd/compress
- chown nobody.nobody -Rv /var/cache/lighttpd/
-
- $(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 = nmap
-PKG_VER = 5.00
-PKG_REL = 1
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP).tar.bz2
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Networking/Sniffer
-CORE = no
-EXTRA = yes
-DEBUG = no
-BUILD_DEPS =
-DEPS = libdnet libpcap lua openssl pcre
-
-URL = http://nmap.org/
-LICENSE = GPLv2+
-SHORT_DESC = Network exploration tool and security scanner.
-
-define LONG_DESC
- Nmap is a utility for network exploration or security auditing. \
- It supports ping scanning, many port scanning techniques, and \
- TCP/IP fingerprinting. Nmap also offers flexible target and port \
- specification, decoy scanning, determination of TCP sequence \
- predictability characteristics, reverse-identd scanning, and more.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-mktemp.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)-mktemp.patch
- cd $(DIR_APP) && \
- ./configure \
- $(CONFIGURE_ARCH) \
- --prefix=/usr \
- --without-nmapfe \
- --without-zenmap
- 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 = noip
-PKG_VER = 2.1.7
-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/Daemons
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.no-ip.com/
-LICENSE = GPLv2+
-SHORT_DESC = A dynamic DNS update client.
-
-define LONG_DESC
- Keep your current IP address in sync with your No-IP host or domain \
- with this Dynamic Update Client (DUC). The client continually checks \
- for IP address changes in the background and automatically updates \
- the DNS at No-IP whenever it changes.
-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 $(PARALLELISMFLAGS) PREFIX=/usr CONFDIR=/etc
- cd $(DIR_APP) && cp noip2 /usr/bin/noip2
- @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 = nss_ldap
-PKG_VER = 262
-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/Base
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-LICENSE = LGPLv2+
-URL = http://www.padl.com/
-SHORT_DESC = NSS library and PAM module for LDAP.
-
-define LONG_DESC
- This package includes two LDAP access clients: nss_ldap and \
- pam_ldap. Nss_ldap is a set of C library extensions that allow \
- X.500 and LDAP directory servers to be used as a primary source \
- of aliases, ethers, groups, hosts, networks, protocol, users, \
- RPCs, services, and shadow passwords.
-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) \
- --mandir=/usr/share/man \
- --with-ldap=openldap \
- --enable-schema-mapping
- cd $(DIR_APP) && make $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- mv -vf /usr/lib/libnss_ldap.so.* /usr/lib/libnss_ldap.so
-
- @rm -rf $(DIR_APP) /etc/nsswitch.ldap
- @$(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 = pakfire
-PKG_VER = 0.9
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DIR_APP = $(DIR_SOURCE)/$(PKG_NAME)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER = Michael Tremer <michael.tremer@ipfire.org>
-GROUP = System/Packaging
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = cpio xz python python-sqlite2 python-urlgrabber system-release
-
-URL = http://www.ipfire.org/
-LICENSE = GPLv3+
-SHORT_DESC = Package installer/updater.
-
-define LONG_DESC
- Pakfire optains package lists from the mirrors and can install and update \
- packages.
-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)
- cd $(DIR_APP) && make VERSION="$(PKG_VER)" $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
- cd $(DIR_APP) && make clean
- $(PYTHON_COMPILE)
- @$(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 = pam_ldap
-PKG_VER = 184
-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/Base
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS = openldap
-
-LICENSE = GPL and LGPL
-URL = http://www.padl.com/OSS/pam_ldap.html
-SHORT_DESC = A pam/ldap module that supports password changes.
-
-define LONG_DESC
- The pam_ldap module provides the means for Solaris and Linux servers \
- and workstations to authenticate against LDAP directories, and to \
- change their passwords in the directory.
-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) \
- --libdir=/lib \
- --mandir=/usr/share/man
- 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 = portmap
-PKG_VER = 6.0
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)_$(PKG_VER)
-DL_FILE = $(THISAPP).tgz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = Networking/Tools
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://neil.brown.name/portmap/
-LICENSE = BSD 3 - Clause
-SHORT_DESC = DARPA port to RPC program number mapper.
-
-define LONG_DESC
- Portmap is a server that converts RPC program numbers into \
- DARPA protocol port numbers. It must be running in order to \
- make RPC calls. When an RPC server is started, it will tell \
- portmap what port number it is listening to, and what RPC \
- program numbers it is prepared to serve. When a client \
- wishes to make an RPC call to a given program number, it \
- will first contact portmap on the server machine to determine \
- the port number where RPC packets should be sent.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- portmap-6.0-tcpd.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)
-
- # Patch to allow compile without tcp-wrappers
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/portmap-6.0-tcpd.patch
-
- cd $(DIR_APP) && make NO_TCP_WRAPPER=NO $(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 = splashy
-PKG_VER = 0.3.13
-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/Boot
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://splashy.alioth.debian.org/
-LICENSE = GPL
-SHORT_DESC = A program for a nice boot splash.
-
-define LONG_DESC
- Splashy is a boot splash program that doesn't require patching \
- the Linux kernel. It paints graphic images directly to framebuffers \
- using libdirectfb.
-endef
-
-define QUALITY_AGENT_WHITELIST_RPATH
- /sbin/splashy
-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=/ \
- --libdir=/lib \
- --sbindir=/sbin \
- --sysconfdir=/etc \
- --includedir=/usr/include \
- --datarootdir=/usr/share \
- --mandir=/usr/share/man
- cd $(DIR_APP) && sed -e "s/-Werror//g" -i src/Makefile
- cd $(DIR_APP) && echo "#undef ENABLE_NLS" >> config.h
- cd $(DIR_APP) && make #$(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install
-
- # Install our own theme
- -mkdir -pv /usr/share/splashy/themes/$(SNAME)
- cp -vf $(DIR_SOURCE)/bootsplash/* /usr/share/splashy/themes/$(SNAME)/
- splashy_config --set-theme $(SNAME)
-
- rm -rvf /etc/{console-tools,default/splashy,lsb-base-logging.sh} \
- /usr/share/initramfs-tools /lib/libsplashy{,cnf}.la \
- /etc/init.d/splashy
-
- $(INSTALL_INITSCRIPT)
-
- @rm -rf $(DIR_APP)
- @$(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 = webinterface
-PKG_VER = ipfire
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DIR_APP = $(DIR_SOURCE)/web
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER =
-GROUP = System/Webinterface
-CORE = yes
-EXTRA = no
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL =
-LICENSE = Own
-SHORT_DESC = The webinterface of IPFire.
-
-define LONG_DESC
- The webinterface lets the user easily do configuration of the whole \
- system with just a few clicks. Some say it is one of the key features \
- of IPFire.
-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)
- -mkdir -p /srv/www/$(SNAME)
- cd $(DIR_APP) && cp -av * /srv/www/$(SNAME)/
- chown nobody.nobody -R /srv/www/$(SNAME)
- @$(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 = xen
-PKG_VER = 3.4.0
-PKG_REL = 0
-
-THISAPP = $(PKG_NAME)-$(PKG_VER)
-DL_FILE = $(THISAPP)-2.tar.gz
-DIR_APP = $(DIR_SRC)/$(THISAPP)
-
-OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-MAINTAINER = Ben Schweikert <ben.schweikert@ipfire.org>
-GROUP = Applications/Virtualization
-CORE = no
-EXTRA = yes
-DEBUG = no
-BUILD_DEPS =
-DEPS =
-
-URL = http://www.xen.org/
-LICENSE = GPLv2+
-SHORT_DESC = The Xen hypervisor.
-
-define LONG_DESC
- The Xen hypervisor, the powerful open source industry standard \
- for virtualization, offers a powerful, efficient, and secure \
- feature set for virtualization.
-endef
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-objects = $(DL_FILE) \
- $(THISAPP)-co_assignment.patch \
- $(THISAPP)-cpufreq.patch \
- xend-config-3.4.0.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)
-
- # remove this ugly co_assignment error
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-co_assignment.patch
-
- # removes cpu freq bug. cpu stays at lowest freq
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-cpufreq.patch
-
- # adjust config file of the daemon
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/xend-config-3.4.0.patch
-
- cd $(DIR_APP) && make xen $(PARALLELISMFLAGS)
- cd $(DIR_APP) && make install-xen
-
- # sometimes the auto directory is not created
- -mkdir -pv /etc/xen/auto
-
- @rm -rf $(DIR_APP)
- @$(POSTBUILD)
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-EXIT_CODE=0
-
-echo " Searching for world-writeable files..."
-
-f=$(find ${1} -type f -perm -2 2>/dev/null)
-if [ -n "$f" ]; then
- echo " QA Security Notice:"
- echo " - The folloing files will be world writable."
- echo " - This may or may not be a security problem, most of the time it is one."
- echo " - Please double check that these files really need a world writeable bit and file bugs accordingly."
- echo
- echo "$f"
- EXIT_CODE=1
-fi
-
-f=$(find ${1} -type f '(' -perm -2002 -o -perm -4002 ')')
-if [ -n "$f" ]; then
- echo " QA Notice: Unsafe files detected (set*id and world writable)"
- echo
- echo "$f"
- EXIT_CODE=1
-fi
-
-exit $EXIT_CODE
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-echo " Searching for static libs or *.la-files..."
-
-f=$(find ${1} -name *.{a,la} 2>/dev/null)
-if [ -n "$f" ]; then
- echo " QA Notice: Excessive files found:"
- echo "${f}"
- exit 1
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-echo " Searching for executeable stacks..."
-
-# Also, executable stacks only matter on linux...
-
-command="scanelf -qyRF '%e %p' ${1} | awk '{ print $NF }'"
-
-for i in $QUALITY_AGENT_WHITELIST_EXECSTACK; do
- if [ -n "$FILTER" ]; then
- FILTER="$FILTER|$i"
- else
- FILTER="$i"
- fi
-done
-
-if [ -n "$FILTER" ]; then
- command="$command | grep -vE \"$FILTER\""
-fi
-
-files=$($command)
-if [ -n "$files" ]; then
- echo " QA Notice: The following files contain executable stacks"
- echo " Files with executable stacks will not work properly (or at all!)"
- echo " on some architectures/operating systems."
- echo "${files}"
- echo
- exit 1
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-TMP_DIR=$1
-
-echo " Searching for bad RPATH attributes..."
-
-# Make sure we disallow insecure RUNPATH/RPATH's
-# Don't want paths that point to the tree where the package was built
-# (older, broken libtools would do this). Also check for null paths
-# because the loader will search $PWD when it finds null paths.
-
-command="scanelf -qyRF '%r %p' ${TMP_DIR} 2>/dev/null | awk '{ print $NF }'"
-
-for i in $QUALITY_AGENT_WHITELIST_RPATH; do
- if [ -n "$FILTER" ]; then
- FILTER="$FILTER|$i"
- else
- FILTER="$i"
- fi
-done
-
-if [ -n "$FILTER" ]; then
- command="$command | grep -vE \"$FILTER\""
-fi
-
-files=$($command)
-if [ -n "$files" ]; then
- echo " QA Notice: The following files contain insecure RUNPATH's"
- echo "${files}"
- echo
- exit 1
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-# TEXTREL's are baaaaaaaad
-
-echo " Searching for bad TEXTRELs..."
-f=$(scanelf -qyRF '%t %p' ${1} 2>/dev/null | awk '{ print $NF }')
-if [ -n "$f" ]; then
- echo " QA Notice: The following files contain runtime text relocations"
- echo " Text relocations force the dynamic linker to perform extra"
- echo " work at startup, waste system resources, and may pose a security"
- echo " risk. On some architectures, the code may not even function"
- echo " properly, if at all."
- echo "${f}"
-
- exit 1
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-TMP_DIR=$1
-
-check_files=$(find ${TMP_DIR} -name lib*.so*)
-
-command="scanelf -ByF '%S %p' $check_files | awk '$2 == "" { print }'"
-
-for i in $QUALITY_AGENT_WHITELIST_SONAME; do
- if [ -n "$FILTER" ]; then
- FILTER="$FILTER|$i"
- else
- FILTER="$i"
- fi
-done
-
-if [ -n "$FILTER" ]; then
- command="$command | grep -vE \"$FILTER\""
-fi
-
-echo " Searching bad libs that lack a SONAME..."
-if [ -n "$check_files" ]; then
- f=$(command)
- if [ -n "$f" ]; then
- echo " QA Notice: The following shared libraries lack a SONAME"
- echo "${f}"
- exit 1
- fi
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-TMP_DIR=$1
-
-check_files=$(find ${TMP_DIR} -name lib*.so*)
-
-echo " Searching bad libs that lack the NEEDED attribute..."
-if [ -n "$check_files" ]; then
- f=$(scanelf -ByF '%n %p' $check_files | awk '$2 == "" { print }')
- if [ -n "$f" ]; then
- echo " QA Notice: The following shared libraries lack NEEDED entries"
- echo "${f}"
- exit 1
- fi
-fi
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-## If the pyc and pyo files are the same, we can hardlink them
-
-echo " Hard-linking python bytecode files..."
-for pyc in $(find ${1} -type f -name "*.pyc"); do
- pyo=$(echo "$pyc" | sed "s/.pyc$/.pyo/")
- if cmp -s "$pyc" "$pyo"; then
- ln -f "$pyc" "$pyo"
- fi
-done
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-## Strip debugging symbols
-
-echo " Stripping debugging symbols..."
-for f in $(find ${1} -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 \)); do
- if (file $f | grep -q ' shared object,'); then
- strip --strip-debug "$f" || :
- fi
-done
+++ /dev/null
-#!/bin/bash
-###############################################################################
-# #
-# 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/>. #
-# #
-###############################################################################
-
-## Strip unneeded symbols
-
-echo " Stripping unneeded symbols..."
-for f in $(find ${1} -type f); do
- if (file $f | grep -q ' shared object,'); then
- strip --strip-unneeded "$f" || :
- fi
-done