name = curl
version = 7.24.0
-release = 1
+release = 2
groups = Application/Internet
url = http://www.curl.haxx.se/
groff
libidn-devel
libssh2-devel
- libtool
+ libtool-devel
+ net-tools
nss-devel
openldap-devel
- pkg-config
zlib-devel
end
autoreconf -vfi
end
- test
- make check
- end
+ # The testsuite runs services which bind to ports and
+ # sends queries to the internet. This may fail in some
+ # occasions.
+ #test
+ # make check
+ #end
end
packages
--- /dev/null
+ configure | 15 ++++-----------
+ m4/curl-compilers.m4 | 15 ++++-----------
+ 2 files changed, 8 insertions(+), 22 deletions(-)
+
+diff --git a/configure b/configure
+index d3ecf69..6d8f085 100755
+--- a/configure
++++ b/configure
+@@ -15040,18 +15040,11 @@ $as_echo "yes" >&6; }
+ gccvhi=`echo $gccver | cut -d . -f1`
+ gccvlo=`echo $gccver | cut -d . -f2`
+ compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+- flags_dbg_all="-g -g0 -g1 -g2 -g3"
+- flags_dbg_all="$flags_dbg_all -ggdb"
+- flags_dbg_all="$flags_dbg_all -gstabs"
+- flags_dbg_all="$flags_dbg_all -gstabs+"
+- flags_dbg_all="$flags_dbg_all -gcoff"
+- flags_dbg_all="$flags_dbg_all -gxcoff"
+- flags_dbg_all="$flags_dbg_all -gdwarf-2"
+- flags_dbg_all="$flags_dbg_all -gvms"
++ flags_dbg_all=""
+ flags_dbg_yes="-g"
+- flags_dbg_off="-g0"
+- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+- flags_opt_yes="-O2"
++ flags_dbg_off=""
++ flags_opt_all=""
++ flags_opt_yes=""
+ flags_opt_off="-O0"
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+diff --git a/m4/curl-compilers.m4 b/m4/curl-compilers.m4
+index 1ea4d17..868d65a 100644
+--- a/m4/curl-compilers.m4
++++ b/m4/curl-compilers.m4
+@@ -148,18 +148,11 @@ AC_DEFUN([CURL_CHECK_COMPILER_GNU_C], [
+ gccvhi=`echo $gccver | cut -d . -f1`
+ gccvlo=`echo $gccver | cut -d . -f2`
+ compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
+- flags_dbg_all="-g -g0 -g1 -g2 -g3"
+- flags_dbg_all="$flags_dbg_all -ggdb"
+- flags_dbg_all="$flags_dbg_all -gstabs"
+- flags_dbg_all="$flags_dbg_all -gstabs+"
+- flags_dbg_all="$flags_dbg_all -gcoff"
+- flags_dbg_all="$flags_dbg_all -gxcoff"
+- flags_dbg_all="$flags_dbg_all -gdwarf-2"
+- flags_dbg_all="$flags_dbg_all -gvms"
++ flags_dbg_all=""
+ flags_dbg_yes="-g"
+- flags_dbg_off="-g0"
+- flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
+- flags_opt_yes="-O2"
++ flags_dbg_off=""
++ flags_opt_all=""
++ flags_opt_yes=""
+ flags_opt_off="-O0"
+ else
+ AC_MSG_RESULT([no])
name = expect
version = 5.45
-release = 1
+release = 2
thisapp = %{name}%{version}
groups = Development/Languages
requires
autoconf
automake
+ chrpath
tcl-devel
end
end
install_cmds
+ # Install lib to right location.
+ mkdir -pv %{BUILDROOT}%{libdir}
+ mv -v %{BUILDROOT}/%{libdir}/tcl*/expect%{version}/libexpect%{version}.so \
+ %{BUILDROOT}%{libdir}
+ ln -svf libexpect%{version}.so %{BUILDROOT}%{libdir}/libexpect.so
+
+ # Remove rpath.
+ chrpath --delete %{BUILDROOT}%{libdir}/libexpect%{version}.so
+
# remove cryptdir/decryptdir, as Linux has no crypt command
rm -f %{BUILDROOT}/usr/bin/{cryptdir,decryptdir}
rm -f %{BUILDROOT}/usr/share/man1/{cryptdir,decryptdir}.1*
name = gdb
version = 7.3.50.20110722
-release = 1
+release = 2
groups = Development/Debuggers
url = http://gnu.org/software/gdb/
mkdir -pv %{BUILDROOT}/etc/gdbinit.d
cp -vf %{DIR_SOURCE}/gdbinit %{BUILDROOT}/etc/gdbinit
+
+ # Remove locale data which is provided by binutils.
+ rm -rf %{BUILDROOT}%{datadir}/locale/
end
end
###############################################################################
name = gnutls
-version = 3.0.9
+version = 3.0.13
release = 1
groups = System/Libraries
build
requires
libtasn1-devel
- nettle-devel>=2.4
+ nettle-devel >= 2.4
perl
- p11-kit-devel>=0.4
+ p11-kit-devel >= 0.4
zlib-devel
end
configure_options += \
--with-included-libcfg \
- --disable-srp-authentication
+ --disable-srp-authentication \
+ --disable-openssl-compatibility
test
+ export LD_LIBRARY_PATH=$(pwd)/lib/.libs
make check
end
end
packages
package %{name}
requires
- nettle>=2.4
- p11-kit>=0.4
+ nettle >= 2.4
+ p11-kit >= 0.4
end
end
name = libaio
version = 0.3.109
-release = 2
+release = 3
groups = System/Libraries
url = ftp://ftp.kernel.org/pub/linux/libs/aio/
CFLAGS="%{CFLAGS} -I. -fPIC" CC="gcc"
end
- make_install_targets += prefix=/ libdir=%{libdir} usrlibdir=%{libdir}
+ make_install_targets += prefix=%{prefix} libdir=%{libdir} usrlibdir=%{libdir}
install_cmds
# Modify links to be relative
name = open-vm-tools
version = 2011.09.23-491607
-release = 1
+release = 2
+sup_arches = x86_64 i686
groups = Virtualization/Applications
url = http://open-vm-tools.sourceforge.net/
packages
package %{name}
- end
package %{name}-debuginfo
template DEBUGINFO
###############################################################################
name = pakfire
-version = 0.9.19
+version = 0.9.20
release = 2
maintainer = Michael Tremer <michael.tremer@ipfire.org>
end
# libgomp was broken in earlier releases.
- requires += gcc>=4.6.2-4, beecrypt>=4.2.1-2
+ requires += gcc >= 4.6.2-4
+ requires += beecrypt >= 4.2.1-2
CFLAGS += -fno-strict-aliasing
package %{name}
groups += Base
- requires = pakfire-common=%{thisver}
+ requires = pakfire-common = %{thisver}
end
package %{name}-common
groups += Build
requires
- %{name}=%{thisver}
- quality-agent=%{thisver}
-
+ %{name} = %{thisver}
+ quality-agent = %{thisver}
cpio
elfutils
end
- provides = pakfire-build=%{thisver}
- obsoletes = pakfire-build<%{thisver}
+ provides = pakfire-build = %{thisver}
+ obsoletes = pakfire-build < %{thisver}
conflicts = build-essentials
files
end
requires
+ gawk
binutils
+ coreutils
+ findutils
file
grep
+ sed
end
end
--- /dev/null
+From 0f8823593c2c815b3dc2c7c9cb74b4d7a6b218de Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer@ipfire.org>
+Date: Wed, 29 Feb 2012 12:29:07 +0100
+Subject: [PATCH] Change default hub to pakfirehub.ipfire.org.
+
+---
+ examples/client.conf | 2 +-
+ examples/daemon.conf | 2 +-
+ python/pakfire/client/base.py | 2 +-
+ python/pakfire/config.py | 4 ++--
+ python/pakfire/constants.py | 3 +++
+ 5 files changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/examples/client.conf b/examples/client.conf
+index da57d03..6c59de9 100644
+--- a/examples/client.conf
++++ b/examples/client.conf
+@@ -3,7 +3,7 @@
+ [client]
+
+ # The URL of the server to connect to.
+-# server = https://pakfire.ipfire.org/
++# server = https://pakfirehub.ipfire.org/
+
+ # Your credentials to log in on the hub.
+ # username = ipfire
+diff --git a/examples/daemon.conf b/examples/daemon.conf
+index 525cc1f..143a7f6 100644
+--- a/examples/daemon.conf
++++ b/examples/daemon.conf
+@@ -3,7 +3,7 @@
+ [daemon]
+
+ # The URL of the server to connect to.
+-# server = https://pakfire.ipfire.org/
++# server = https://pakfirehub.ipfire.org/
+
+ # The hostname of this machine.
+ # hostname = <automatically detected>
+diff --git a/python/pakfire/client/base.py b/python/pakfire/client/base.py
+index 1886e2b..3ac4bef 100644
+--- a/python/pakfire/client/base.py
++++ b/python/pakfire/client/base.py
+@@ -51,7 +51,7 @@ class PakfireClient(object):
+ ret += "%s:%s@" % (username, password)
+
+ # Add host and path components.
+- ret += "%s/pakfirehub/%s" % (url.netloc, self.type)
++ ret += "/".join((url.netloc, self.type))
+
+ return ret
+
+diff --git a/python/pakfire/config.py b/python/pakfire/config.py
+index c7ab143..0d32784 100644
+--- a/python/pakfire/config.py
++++ b/python/pakfire/config.py
+@@ -237,7 +237,7 @@ class ConfigClient(_Config):
+ "client" : {
+ # The default server is the official Pakfire
+ # server.
+- "server" : "https://pakfire.ipfire.org",
++ "server" : PAKFIRE_HUB,
+ },
+ }
+
+@@ -249,7 +249,7 @@ class ConfigDaemon(_Config):
+ "daemon" : {
+ # The default server is the official Pakfire
+ # server.
+- "server" : "https://pakfire.ipfire.org",
++ "server" : PAKFIRE_HUB,
+
+ # The default hostname is the host name of this
+ # machine.
+diff --git a/python/pakfire/constants.py b/python/pakfire/constants.py
+index 2998ab7..2c091e4 100644
+--- a/python/pakfire/constants.py
++++ b/python/pakfire/constants.py
+@@ -27,6 +27,9 @@ from __version__ import PAKFIRE_VERSION
+
+ PAKFIRE_LEAST_COMPATIBLE_VERSION = PAKFIRE_VERSION
+
++# The default hub to connect to.
++PAKFIRE_HUB = "https://pakfirehub.ipfire.org/"
++
+ SYSCONFDIR = "/etc"
+ SCRIPT_DIR = "/usr/lib/pakfire"
+
+--
+1.7.3.4
+
--- /dev/null
+From 8fe602a7c5b3de4c4531d05c0dc1cf4d6bb9fb06 Mon Sep 17 00:00:00 2001
+From: Michael Tremer <michael.tremer@ipfire.org>
+Date: Wed, 29 Feb 2012 11:10:33 +0100
+Subject: [PATCH] Update repositories only when they are actually enabled.
+
+---
+ python/pakfire/cli.py | 8 +++++++-
+ python/pakfire/repository/__init__.py | 4 ++++
+ python/pakfire/repository/base.py | 3 ++-
+ 3 files changed, 13 insertions(+), 2 deletions(-)
+
+diff --git a/python/pakfire/cli.py b/python/pakfire/cli.py
+index 8bab886..7a94900 100644
+--- a/python/pakfire/cli.py
++++ b/python/pakfire/cli.py
+@@ -768,8 +768,14 @@ class CliBuilderIntern(Cli):
+
+ conf = config.ConfigBuilder()
+
++ if self.args.nodeps:
++ disable_repos = ["*"]
++ else:
++ disable_repos = None
++
+ pakfire._build(pkg, builder_mode=self.args.mode, config=conf,
+- arch=self.args.arch, resultdir=self.args.resultdir)
++ disable_repos=disable_repos, arch=self.args.arch,
++ resultdir=self.args.resultdir)
+
+
+ class CliClient(Cli):
+diff --git a/python/pakfire/repository/__init__.py b/python/pakfire/repository/__init__.py
+index f6b2f6e..39872da 100644
+--- a/python/pakfire/repository/__init__.py
++++ b/python/pakfire/repository/__init__.py
+@@ -68,6 +68,10 @@ class Repositories(object):
+
+ # Disable all repositories here as demanded on commandline
+ if disable_repos:
++ # * is magic to disable all repositories.
++ if "*" in disable_repos:
++ disable_repos = [r.name for r in self]
++
+ for repo in disable_repos:
+ self.disable_repo(repo)
+
+diff --git a/python/pakfire/repository/base.py b/python/pakfire/repository/base.py
+index 7fb8362..59d8615 100644
+--- a/python/pakfire/repository/base.py
++++ b/python/pakfire/repository/base.py
+@@ -115,7 +115,8 @@ class RepositoryFactory(object):
+ """
+ assert self.index
+
+- self.index.update(force, offline=offline)
++ if force or self.enabled:
++ self.index.update(force, offline=offline)
+
+ def clean(self):
+ """
+--
+1.7.3.4
+
###############################################################################
name = pcre
-version = 8.21
-release = 2
+version = 8.30
+release = 1
+
+compat_version = 8.21
groups = System/Libraries
url = http://www.pcre.org/
end
source_dl = ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
+sources += %{name}-%{compat_version}.tar.gz
build
requires
bzip2-devel
gcc-c++
- pkg-config
readline-devel
zlib-devel
end
--disable-static \
--docdir=/usr/share/doc/pcre-%{version} \
--enable-utf8 \
+ --enable-jit \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-unicode-properties
+ build_cmds
+ cd %{DIR_SRC}/%{name}-%{compat_version}
+ ./configure \
+ %{configure_options}
+
+ make %{PARALLELISMFLAGS}
+ end
+
install_cmds
- mkdir -pv %{BUILDROOT}/{,usr/}%{lib}
- mv -v %{BUILDROOT}%{libdir}/libpcre.so.* %{BUILDROOT}/%{lib}
- ln -v -sf ../../%{lib}/libpcre.so.0 %{BUILDROOT}%{libdir}/libpcre.so
+ cd %{DIR_SRC}/%{name}-%{compat_version}
+ install -m 644 .libs/libpcre.so.0.0.1 %{BUILDROOT}%{libdir}
+ ln -svf libpcre.so.0.0.1 %{BUILDROOT}%{libdir}/libprce.so.0
end
end
template DEVEL
end
+ package %{name}-compat
+ summary = Compat libraries of %{thisapp}.
+
+ files
+ %{libdir}/libpcre.so.0*
+ end
+ end
+
package %{name}-debuginfo
template DEBUGINFO
end
name = ppl
version = 0.11.2
-release = 2
+release = 3
maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = Development/Libraries
build
requires
- autoconf
- automake
gcc-c++
gmp-devel
m4
PARALLELISMFLAGS =
- prepare_cmds
- cd %{DIR_APP} && autoreconf -f
- end
-
test
make check
end
name = ppp
version = 2.4.5
-release = 2
+release = 3
groups = System/Daemons
url = ftp://ftp.samba.org/pub/ppp/
pam-devel
end
+ # Explicitely add -fPIC to CFLAGS.
+ CFLAGS += -fPIC
+
prepare_cmds
sed -e "s@^RUNDIR .*@RUNDIR = /var/run/ppp@" \
-e "s@^LOGDIR .*@LOGDIR = /var/log/ppp@" \
packages
package %{name}
- end
package %{name}-devel
template DEVEL
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
-name = pyblock
+name = python-pyblock
version = 0.46
-release = 2
+release = 3
+thisapp = pyblock-%{version}
groups = System/Libraries
url = http://git.fedorahosted.org/git/?p=pyblock.git;a=summary
build
requires
- dmraid-devel>=1.0.0.rc15-2
+ dmraid-devel >= 1.0.0.rc15-2
libdevmapper-devel
libselinux-devel
python-devel
end
packages
- package python-%{name}
+ package %{name}
package %{name}-debuginfo
template DEBUGINFO
name = rsyslog
version = 5.8.6
-release = 2
+release = 3
groups = System/Daemons
url = http://www.rsyslog.com/
-DSYSLOGD_PIDNAME=\"syslogd.pid\"
configure_options += \
- --exec-prefix= \
- --libdir=/lib \
--with-systemdsystemunitdir=/lib/systemd/system \
--disable-static \
--disable-testbench \
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
-name = sg3_utils
+name = sg3-utils
version = 1.32
-release = 1
+release = 2
+thisapp = sg3_utils-%{version}
groups = Applications/System
url = http://sg.danny.cz/sg/sg3_utils.html
name = tar
version = 1.26
-release = 2
+release = 3
groups = System/Packaging
url = http://www.gnu.org/software/tar/
autoconf
automake
gettext
+ gettext-devel
libacl-devel
libattr-devel
libselinux-devel
name = tcpdump
version = 4.1.1
-release = 1
+release = 2
groups = Networking/Sniffer
url = http://www.tcpdump.org/
build
requires
+ chrpath
libpcap-devel
openssl-devel
end
configure_options += \
--with-crypto \
--without-smi
+
+ install_cmds
+ # Remove duplicated binary.
+ rm -vf %{BUILDROOT}%{sbindir}/tcpdump.%{version}
+
+ # Remove RPATH.
+ chrpath --delete %{BUILDROOT}%{sbindir}/tcpdump
+ end
end
packages
package %{name}
- end
package %{name}-debuginfo
template DEBUGINFO
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
-name = ulogd
+name = ulogd2
version = 2.0.0beta3
-release = 2
+release = 3
+thisapp = ulogd-%{version}
groups = Networking/Statistics
url = http://netfilter.org/projects/ulogd/index.html
libnetfilter_conntrack-devel
libnetfilter_log-devel
libpcap-devel
- pkg-config
sqlite-devel
end
packages
package %{name}
- end
package %{name}-debuginfo
template DEBUGINFO
name = ustr
version = 1.0.4
-release = 1
+release = 2
groups = System/Libraries
url = http://www.and.org/ustr/
make check
end
+ make_install_targets += libdir=%{libdir}
+
install_cmds
rm -rf %{BUILDROOT}/usr/share
- rm -rf %{BUILDROOT}/usr/lib/pkgconfig/*debug*
+ rm -rf %{BUILDROOT}/usr/lib*/pkgconfig/*debug*
rm -rf %{BUILDROOT}/lib/*debug*
- rm -rf %{BUILDROOT}/usr/lib/*debug*
+ rm -rf %{BUILDROOT}/usr/lib*/*debug*
end
end
packages
package %{name}
- end
package %{name}-devel
template DEVEL
- files
- /usr/bin/
- /usr/include/
- /usr/lib/pkgconfig/
- */lib/*.so
- end
+ files += %{bindir}
end
package %{name}-debuginfo
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
###############################################################################
-name = xinit
+name = xorg-x11-xinit
version = 1.2.1
release = 1
+thisapp = xinit-%{version}
groups = X/Server
url = http://www.x.org
build
requires
- autoconf
- automake
libX11-devel
- pkg-config
+ xorg-x11-util-macros
end
end