Also includes some reformatting, but no changes to configuration.
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/automake-1.15_perl_warning.patch
- cd $(DIR_APP) && ./configure --prefix=$(PREFIX) --disable-nls \
- --docdir=/usr/share/doc/automake-1.15
+ cd $(DIR_APP) && ./configure \
+ --prefix=$(PREFIX) \
+ --docdir=/usr/share/doc/automake-1.15
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --with-service-path=/usr/lib/cyrus \
- --with-cyrus-prefix=/usr/lib/cyrus --sysconfdir=/var/ipfire/cyrusimap \
- --with-auth=unix --with-perl --with-sasl --with-idle=idled \
- --with-syslogfacility=MAIL --enable-listext --without-snmp \
- --enable-autocreate --enable-idled
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --with-service-path=/usr/lib/cyrus \
+ --with-cyrus-prefix=/usr/lib/cyrus \
+ --sysconfdir=/var/ipfire/cyrusimap \
+ --with-perl \
+ --with-sasl \
+ --with-syslogfacility=MAIL \
+ --without-snmp \
+ --enable-autocreate \
+ --enable-idled
+
cd $(DIR_APP) && make $(EXTRA_MAKE)
cd $(DIR_APP) && make install
-mkdir /var/imap
--prefix=/usr \
--sysconfdir=/etc/dhcp \
--with-srv-lease-file=/var/state/dhcp/dhcpd.leases \
- --disable-static \
--enable-paranoia \
--enable-early-chroot \
--disable-dhcpv6
--prefix=/usr \
--with-root-prefix="" \
--enable-elf-shlibs \
- --disable-evms \
--disable-nls
+
cd $(DIR_APP)/build && make $(MAKETUNING)
cd $(DIR_APP)/build && make install
cd $(DIR_APP)/build && make install-libs
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
cd $(DIR_APP) && install -v -m755 -d /usr/share/doc/$(THISAPP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --enable-shared
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure \
- --prefix=/usr \
- --disable-nls \
- --without-sendmail \
- --with-spooldir=/var/spool/cron \
- --with-fifodir=/var/run \
- --with-piddir=/var/run \
- --sysconfdir=/etc \
- --with-username=cron \
- --with-groupname=cron \
- --with-run-non-privileged=no \
- --with-fcrondyn=no \
- --with-sysfcrontab=no \
- --with-boot-install=no \
- --with-pam=no \
- --with-selinux=no
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --without-sendmail \
+ --with-spooldir=/var/spool/cron \
+ --with-fifodir=/var/run \
+ --with-piddir=/var/run \
+ --sysconfdir=/etc \
+ --with-username=cron \
+ --with-groupname=cron \
+ --with-run-non-privileged=no \
+ --with-fcrondyn=no \
+ --with-sysfcrontab=no \
+ --with-boot-install=no \
+ --with-pam=no \
+ --with-selinux=no
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
echo "root" > /etc/fcron.allow
--enable-version3 \
--enable-avfilter \
--enable-avresample
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
md5 : $(subst %,%_MD5,$(objects))
-dist:
+dist:
@$(PAK)
###############################################################################
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/fuse-2.9.2-namespace-conflict-fix.patch
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-kernel-module
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
cd $(DIR_APP) && \
./configure \
--prefix=/usr \
- --with-system-libtiff \
- --with-install-cups
+ --with-system-libtiff
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
CONFIGURE_OPTIONS = \
--prefix=/usr \
- --enable-cxx \
- --enable-mpbsd \
- --disable-nls
+ --enable-cxx
###############################################################################
# Top-level Rules
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && PAGE=A4 ./configure --prefix=/usr --enable-multibyte --disable-nls
+ cd $(DIR_APP) && PAGE=A4 ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make
cd $(DIR_APP) && make install
ln -svf eqn /usr/bin/geqn
#
ifeq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)
- EXTRA_CONFIG = --prefix=/usr --disable-nls --bindir=/bin
+ EXTRA_CONFIG = --prefix=/usr --bindir=/bin
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools
- EXTRA_CONFIG = --prefix=$(TOOLS_DIR) --disable-nls
+ EXTRA_CONFIG = --prefix=$(TOOLS_DIR)
endif
###############################################################################
--prefix=/usr \
--bindir=/bin \
--sysconfdir=/etc \
- --enable-zlib \
--disable-manpages
# --libdir=/lib \
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-static --enable-shared
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --enable-static \
+ --enable-shared
+
cd $(DIR_APP) && [ -e "libtool" ] || ln -svf /usr/bin/libtool libtool
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && mv -vf .libs/{libjpeg.so.62.1.0,libjpeg.so.62,libturbojpeg.so.0.0.0} /usr/lib/
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared \
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --enable-shared \
--disable-accel-detect
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-build-docs --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
echo "# Set group ownership for raw USB devices" > /etc/udev/rules.d/23-usb.rules
#
ifeq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)
- EXTRA_CONFIG = --prefix=/usr --disable-nls
+ EXTRA_CONFIG = --prefix=/usr
EXTRA_MAKE =
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools
- EXTRA_CONFIG = --prefix=$(TOOLS_DIR) --disable-nls
- EXTRA_MAKE =
+ EXTRA_CONFIG = --prefix=$(TOOLS_DIR)
+ EXTRA_MAKE =
endif
###############################################################################
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && $(CONFIGURE_ARGS) ./configure --prefix=/usr \
- --enable-thread-safe --disable-nls
+ --enable-thread-safe
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -i "s/lkrb5 -ldes/lkrb5/" configure
- cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc/ssh \
- --libexecdir=/usr/lib/openssh --with-md5-passwords \
- --with-privsep-path=/var/empty --disable-nls \
- --with-superuser-path=/sbin:/usr/sbin:/bin:/usr/bin
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/ssh \
+ --libexecdir=/usr/lib/openssh \
+ --with-md5-passwords \
+ --with-privsep-path=/var/empty \
+ --with-superuser-path=/sbin:/usr/sbin:/bin:/usr/bin
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
sed -i -e 's/^#\?Port .*$$/Port 222/' \
- -e 's/^#\?Protocol .*$$/Protocol 2/' \
- -e 's/^#\?LoginGraceTime .*$$/LoginGraceTime 30s/' \
- -e 's/^#\?PubkeyAuthentication .*$$/PubkeyAuthentication yes/' \
- -e 's/^#\?PasswordAuthentication .*$$/PasswordAuthentication yes/' \
- -e 's/^#\?MaxStartups .*$$/MaxStartups 5/' \
- -e 's/^#\?IgnoreUserKnownHosts .*$$/IgnoreUserKnownHosts yes/' \
- -e 's/^#\?UsePAM .*$$//' \
- -e 's/^#\?X11Forwarding .*$$/X11Forwarding no/' \
- -e 's/^#\?SyslogFacility AUTH .*$$/SyslogFacility AUTH/' \
- -e 's/^#\?LogLevel INFO .*$$/LogLevel INFO/' \
- -e 's/^#\?AllowTcpForwarding .*$$/AllowTcpForwarding no/' \
- -e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/' \
- -e 's|^#\?HostKey /etc/ssh/ssh_host_dsa_key$$||' \
- -e 's|^#\?HostKey /etc/ssh/ssh_host_ecdsa_key$$||' \
- -e 's|^#\?HostKey /etc/ssh/ssh_host_ed25519_key$$||' \
- -e 's|^#\?HostKey /etc/ssh/ssh_host_rsa_key$$|HostKey /etc/ssh/ssh_host_ecdsa_key\nHostKey /etc/ssh/ssh_host_ed25519_key\nHostKey /etc/ssh/ssh_host_rsa_key|' \
- /etc/ssh/sshd_config
+ -e 's/^#\?Protocol .*$$/Protocol 2/' \
+ -e 's/^#\?LoginGraceTime .*$$/LoginGraceTime 30s/' \
+ -e 's/^#\?PubkeyAuthentication .*$$/PubkeyAuthentication yes/' \
+ -e 's/^#\?PasswordAuthentication .*$$/PasswordAuthentication yes/' \
+ -e 's/^#\?MaxStartups .*$$/MaxStartups 5/' \
+ -e 's/^#\?IgnoreUserKnownHosts .*$$/IgnoreUserKnownHosts yes/' \
+ -e 's/^#\?UsePAM .*$$//' \
+ -e 's/^#\?X11Forwarding .*$$/X11Forwarding no/' \
+ -e 's/^#\?SyslogFacility AUTH .*$$/SyslogFacility AUTH/' \
+ -e 's/^#\?LogLevel INFO .*$$/LogLevel INFO/' \
+ -e 's/^#\?AllowTcpForwarding .*$$/AllowTcpForwarding no/' \
+ -e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/' \
+ -e 's|^#\?HostKey /etc/ssh/ssh_host_dsa_key$$||' \
+ -e 's|^#\?HostKey /etc/ssh/ssh_host_ecdsa_key$$||' \
+ -e 's|^#\?HostKey /etc/ssh/ssh_host_ed25519_key$$||' \
+ -e 's|^#\?HostKey /etc/ssh/ssh_host_rsa_key$$|HostKey /etc/ssh/ssh_host_ecdsa_key\nHostKey /etc/ssh/ssh_host_ed25519_key\nHostKey /etc/ssh/ssh_host_rsa_key|' \
+ /etc/ssh/sshd_config
@rm -rf $(DIR_APP)
@$(POSTBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -e "s/-Werror//g" -i configure.ac
cd $(DIR_APP) && autoreconf -vfi
- cd $(DIR_APP) && ./configure --prefix=/usr \
- --with-kernel-release=$(KVER)-ipfire --without-pam \
- --disable-unity --without-gtk2 --without-gtkmm \
- --without-procps --without-icu \
- --without-x --with-linuxdir=/usr/src/linux \
- --without-kernel-modules --disable-deploypkg \
- --without-xerces-c --without-xerces
+
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --with-kernel-release=$(KVER)-ipfire \
+ --without-pam \
+ --without-gtk2 \
+ --without-gtkmm \
+ --without-procps \
+ --without-icu \
+ --without-x \
+ --with-linuxdir=/usr/src/linux \
+ --without-kernel-modules \
+ --disable-deploypkg \
+ --without-xerces
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
#install initscripts
#
ifeq "$(ROOT)" ""
TARGET = $(DIR_INFO)/$(THISAPP)
- EXTRA_CONFIG = --prefix=/usr --disable-nls
+ EXTRA_CONFIG = --prefix=/usr
EXTRA_MAKE =
EXTRA_INSTALL =
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools
- EXTRA_CONFIG = --prefix=$(TOOLS_DIR) --disable-nls
+ EXTRA_CONFIG = --prefix=$(TOOLS_DIR)
EXTRA_MAKE =
- EXTRA_INSTALL =
+ EXTRA_INSTALL =
endif
###############################################################################
rm -rf $(DIR_APP)/Modules/_ctypes/{darwin,libffi,libffi_arm_wince,libffi_msvc,libffi_osx}
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/python-2.7.13-getentropy.patch
cd $(DIR_APP) && OPT="$(CFLAGS)" ./configure \
- --prefix=/usr --enable-shared --with-system-ffi
+ --prefix=/usr \
+ --enable-shared \
+ --with-system-ffi
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE)
rm -rf $(DIR_APP)/Modules/_ctypes/{darwin,libffi,libffi_arm_wince,libffi_msvc,libffi_osx}
cd $(DIR_APP) && OPT="$(CFLAGS)" ./configure \
- --prefix=/usr --enable-shared --with-system-ffi
+ --prefix=/usr \
+ --enable-shared \
+ --with-system-ffi
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/rpcbind/rpcbind-0.2.3-tirpc_fix-1.patch
- cd $(DIR_APP) && ./configure --prefix=/usr --bindir=/sbin --with-rpcuser=root --without-systemdsystemunitdir --disable-ipv6
+ cd $(DIR_APP) && ./configure \
+ --prefix=/usr \
+ --bindir=/sbin \
+ --with-rpcuser=root \
+ --without-systemdsystemunitdir
+
cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE)
cd $(DIR_APP) && make install
#install initscripts
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/shadow-4.2.1-suppress_installation_of_groups.patch
- cd $(DIR_APP) && ./configure --libdir=/lib \
- --sysconfdir=/etc \
- --enable-shared \
- --without-selinux \
- --disable-nls \
- --with-group-name-max-length=32
+ cd $(DIR_APP) && ./configure \
+ --libdir=/lib \
+ --sysconfdir=/etc \
+ --enable-shared \
+ --without-selinux \
+ --disable-nls \
+ --with-group-name-max-length=32
+
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
md5 : $(subst %,%_MD5,$(objects))
-dist:
+dist:
@$(PAK)
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
- cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared
+ cd $(DIR_APP) && ./configure --prefix=/usr --enable-shared
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
ifneq "$(ROOT)" ""
- cd $(DIR_APP)/unix && ./configure --prefix=$(TOOLS_DIR) --disable-nls
+ cd $(DIR_APP)/unix && ./configure --prefix=$(TOOLS_DIR)
else
- cd $(DIR_APP)/unix && ./configure --prefix=/usr --disable-nls
+ cd $(DIR_APP)/unix && ./configure --prefix=/usr
endif
cd $(DIR_APP)/unix && make $(MAKETUNING)
cd $(DIR_APP)/unix && make install