###############################################################################
name = ccache
-version = 3.1.5
+version = 3.1.6
release = 1
groups = Development/Compilers
end
source_dl = http://samba.org/ftp/ccache/
-sources = %{thisapp}.tar.bz2
+sources = %{thisapp}.tar.xz
# Sets ccache max size up to 2 GB
CFLAGS += -DDEFAULT_MAXSIZE=2097152
packages
package %{name}
- end
end
summary = Berkeley DB is a library that provides an embedded database.
description
- Berkeley DB (BDB) is a computer software library that provides \
+ Berkeley DB (BDB) is a computer software library that provides
a high-performance embedded database.
end
-source_dl =
+source_dl = http://download.oracle.com/berkeley-db/
build
requires
end
end
-# XXX insert descriptions
packages
package db4
- files = /usr/lib*/libdb-%{version_major}.so
- end
package db4-devel
template DEVEL
+
+ files += \
+ !/usr/lib*/libdb-%{version_major}.so
end
package db4-utils
- files = /usr/bin
+ summary = Command line tools for managing Berkeley DB (version 4) databases.
+ description = %{summary}
+
+ files
+ /usr/bin
+ end
end
package db4-cxx
- files = /usr/lib*/libdb_cxx-%{version_major}.so
+ summary = The Berkeley DB database library (version 4) for C++.
+ description = %{summary}
+
+ files
+ /usr/lib*/libdb_cxx-%{version_major}.so
+ end
end
end
name = dhcp
version = 4.2.1-P1
-release = 1
+release = 2
groups = Networking/Daemons
url = http://isc.org/products/DHCP/
--sysconfdir=/etc \
--with-srv-lease-file=/var/lib/dhcpd/dhcpd.leases \
--with-cli-lease-file=/var/lib/dhclient/dhclient.leases \
- --with-srv-pid-file=/var/run/dhcpd.pid \
- --with-cli-pid-file=/var/run/dhclient.pid \
- --with-relay-pid-file=/var/run/dhcrelay.pid
+ --with-srv-pid-file=/run/dhcpd.pid \
+ --with-cli-pid-file=/run/dhclient.pid \
+ --with-relay-pid-file=/run/dhcrelay.pid
install_cmds
rm -vf %{BUILDROOT}/etc/dhclient.conf
install -v -m 755 %{DIR_SOURCE}/dhclient-script \
%{BUILDROOT}/sbin/dhclient-script
+
+ # Create runtime folders.
mkdir -pv %{BUILDROOT}/var/lib/dhclient
+ mkdir -pv %{BUILDROOT}/var/lib/dhcpd
+
+ # Create empty lease files.
+ touch %{BUILDROOT}/var/lib/dhclient/dhclient.leases
+ touch %{BUILDROOT}/var/lib/dhcpd/dhcpd.leases
# Remove header files.
# There is nothing that makes use out of them.
###############################################################################
name = fuse
-version = 2.8.5
+version = 2.8.6
release = 1
groups = System/Filesystems
summary = File System in Userspace (FUSE) utilities.
description
- With FUSE it is possible to implement a fully functional \
- filesystem in a userspace program. This package contains the \
+ With FUSE it is possible to implement a fully functional
+ filesystem in a userspace program. This package contains the
FUSE userspace tools to mount a FUSE filesystem.
end
-source_dl =
+source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
build
requires
libselinux-devel
end
+ CFLAGS += -D_GNU_SOURCE
+
configure_options += \
--disable-static \
--disable-rpath
install_cmds
+ # Remove old sysvinit directory.
rm -vrf %{BUILDROOT}/etc/init.d
# Remove /dev/fuse which cannot be packaged.
###############################################################################
name = gdb
-version = 7.2
+version = 7.3.1
release = 1
groups = Development/Debuggers
and printing their data.
end
-source_dl =
-sources = %{thisapp}.tar.bz2
+source_dl = ftp://ftp.gnu.org/gnu/gdb/
+sources = %{thisapp}.tar.gz
build
requires
###############################################################################
name = gnutls
-version = 3.0.0
+version = 3.0.3
release = 1
groups = System/Libraries
TLS working group.
end
-source_dl =
+source_dl = ftp://ftp.gnu.org/gnu/gnutls/
sources = %{thisapp}.tar.xz
build
requires
libtasn1-devel
nettle-devel
- p11-kit-devel
+ p11-kit-devel>=0.4
zlib-devel
end
packages
package %{name}
+ requires
+ p11-kit>=0.4
+ end
+ end
package %{name}-devel
template DEVEL
name = initscripts
epoch = 1
version = 2.99
-release = 5
+release = 6
groups = Base System/Boot
url =
-PROGS = console_check console_init ipcalc securetty
+PROGS = console_init ipcalc securetty
CC = gcc
CFLAGS += -D_GNU_SOURCE $(shell pkg-config --cflags glib-2.0)
install: $(PROGS)
# Install binaries
-mkdir -pv $(DESTDIR)/lib/udev $(DESTDIR)/{,s}bin
- install -v -m 755 console_check $(DESTDIR)/lib/udev/
install -v -m 755 console_init $(DESTDIR)/lib/udev/
install -v -m 755 ipcalc $(DESTDIR)/bin
install -v -m 755 securetty $(DESTDIR)/sbin
install -v -m 644 ipcalc.1 $(DESTDIR)/usr/share/man/man1
install -v -m 644 securetty.8 $(DESTDIR)/usr/share/man/man8
-console_check: console_check.o
- $(CC) $(LDFLAGS) -o $@ $<
-
console_init: console_init.o shvar.o
$(CC) $(LDFLAGS) $(shell pkg-config --libs glib-2.0) -o $@ $?
+++ /dev/null
-
-#include <fcntl.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <termios.h>
-#include <unistd.h>
-
-#include <sys/ioctl.h>
-
-#include <linux/serial.h>
-#include <linux/serial_core.h>
-
-struct speeds
-{
- speed_t speed;
- unsigned long value;
-};
-
-struct speeds speed_map[] =
-{
- {B50, 50},
- {B75, 75},
- {B110, 110},
- {B134, 134},
- {B150, 150},
- {B200, 200},
- {B300, 300},
- {B600, 600},
- {B1200, 1200},
- {B1800, 1800},
- {B2400, 2400},
- {B4800, 4800},
- {B9600, 9600},
- {B19200, 19200},
- {B38400, 38400},
-#ifdef B57600
- {B57600, 57600},
-#endif
-#ifdef B115200
- {B115200, 115200},
-#endif
-#ifdef B230400
- {B230400, 230400},
-#endif
-#ifdef B460800
- {B460800, 460800},
-#endif
- {0, 0}
-};
-
-int termcmp(struct termios *a, struct termios *b) {
- if (a->c_iflag != b->c_iflag || a->c_oflag != b->c_oflag ||
- a->c_cflag != b->c_cflag || a->c_lflag != b->c_lflag ||
- cfgetispeed(a) != cfgetispeed(b) || cfgetospeed(a) != cfgetospeed(b))
- return 1;
- return memcmp(a->c_cc, b->c_cc, sizeof(a->c_cc));
-}
-
-int get_serial_speed(int fd) {
- struct termios mode;
-
- if (!tcgetattr(fd, &mode)) {
- int i;
- speed_t speed;
-
- speed = cfgetospeed(&mode);
- for (i = 0; speed_map[i].value != 0; i++)
- if (speed_map[i].speed == speed)
- return speed_map[i].value;
- }
- return 0;
-}
-
-int compare_termios_to_console(char *dev, int *speed) {
- struct termios cmode, mode;
- int fd, cfd;
-
- cfd = open ("/dev/console", O_RDONLY);
- tcgetattr(cfd, &cmode);
- close(cfd);
-
- fd = open(dev, O_RDONLY|O_NONBLOCK);
- tcgetattr(fd, &mode);
-
- if (!termcmp(&cmode, &mode)) {
- *speed = get_serial_speed(fd);
- close(fd);
- return 1;
- }
- close(fd);
- return 0;
-}
-
-char *serial_tty_name(int type) {
- switch (type) {
- case PORT_8250...PORT_MAX_8250:
- return "ttyS";
- case PORT_PMAC_ZILOG:
- return "ttyPZ";
- case PORT_MPSC:
- return "ttyMM";
- case PORT_CPM:
- return "ttyCPM";
- case PORT_MPC52xx:
- return "ttyPSC";
- default:
- return NULL;
- }
-}
-
-char *check_serial_console(int *speed) {
- int fd;
- char *ret = NULL, *device;
- char twelve = 12;
- struct serial_struct si, si2;
- char *tty_name;
-
- memset(&si, 0, sizeof(si));
- memset(&si2, 0, sizeof(si));
-
- fd = open("/dev/console", O_RDWR);
- if (ioctl (fd, TIOCLINUX, &twelve) >= 0)
- goto out;
-
- if (ioctl(fd, TIOCGSERIAL, &si) < 0)
- goto out;
- close(fd);
-
- tty_name = serial_tty_name(si.type);
- if (!tty_name)
- goto out;
-
- asprintf(&device, "%s%d", tty_name, si.line);
- fd = open(device, O_RDWR|O_NONBLOCK);
- if (fd == -1)
- goto out;
-
- if (ioctl(fd, TIOCGSERIAL, &si2) < 0)
- goto out;
-
- if (memcmp(&si,&si2, sizeof(si)))
- goto out;
-
- *speed = get_serial_speed(fd);
- ret = device;
-out:
- close(fd);
- return ret;
-}
-
-int emit_console_event(char *dev, int speed) {
- char *args[] = { "initctl", "emit", "--no-wait", "serial-console-available", NULL, NULL, NULL };
-
- asprintf(&args[4],"DEV=%s", dev);
- if (speed)
- asprintf(&args[5],"SPEED=%d", speed);
- execv("/sbin/initctl", args);
- return 1;
-}
-
-int main(int argc, char **argv) {
- char *device;
- int speed;
-
- if (argc < 2) {
- printf("usage: console_check <device>\n");
- exit(1);
- }
- chdir("/dev");
- device = argv[1];
- if (!strcmp(device, "console")) {
- device = check_serial_console(&speed);
- if (device)
- return emit_console_event(device, speed);
- } else if (compare_termios_to_console(device, &speed)) {
- return emit_console_event(device, speed);
- }
- return 0;
-}
###############################################################################
name = libvirt
-version = 0.9.0
-release = 3
+version = 0.9.6
+release = 1
groups = Applications/Virtualization
url = http://www.libvirt.org/
###############################################################################
name = openssl
-version = 1.0.0d
-release = 3
+version = 1.0.0e
+release = 1
maintainer = Michael Tremer <michael.tremer@ipfire.org>
groups = System/Libraries
libraries which provide various cryptographic algorithms and protocols.
end
-source_dl =
+source_dl = http://openssl.org/source/
build
requires
-diff -up openssl-1.0.0d/crypto/opensslv.h.version openssl-1.0.0d/crypto/opensslv.h
---- openssl-1.0.0d/crypto/opensslv.h.version 2011-02-10 14:24:52.000000000 +0100
-+++ openssl-1.0.0d/crypto/opensslv.h 2011-02-10 14:48:00.000000000 +0100
+diff -up openssl-1.0.0e/crypto/opensslv.h.version openssl-1.0.0e/crypto/opensslv.h
+--- openssl-1.0.0e/crypto/opensslv.h.version 2011-09-07 13:55:52.000000000 +0200
++++ openssl-1.0.0e/crypto/opensslv.h 2011-09-07 13:59:28.000000000 +0200
@@ -25,7 +25,8 @@
* (Prior to 0.9.5a beta1, a different scheme was used: MMNNFFRBB for
* major minor fix final patch/beta)
*/
--#define OPENSSL_VERSION_NUMBER 0x1000004fL
+-#define OPENSSL_VERSION_NUMBER 0x1000005fL
+/* we have to keep the version number to not break the abi */
+#define OPENSSL_VERSION_NUMBER 0x10000003
#ifdef OPENSSL_FIPS
- #define OPENSSL_VERSION_TEXT "OpenSSL 1.0.0d-fips 8 Feb 2011"
+ #define OPENSSL_VERSION_TEXT "OpenSSL 1.0.0e-fips 6 Sep 2011"
#else
@@ -83,7 +84,7 @@
* should only keep the versions that are binary compatible with the current.
*/
#define SHLIB_VERSION_HISTORY ""
-#define SHLIB_VERSION_NUMBER "1.0.0"
-+#define SHLIB_VERSION_NUMBER "1.0.0d"
++#define SHLIB_VERSION_NUMBER "1.0.0e"
#endif /* HEADER_OPENSSLV_H */
###############################################################################
name = p11-kit
-version = 0.3
+version = 0.7
release = 1
groups = System/Libraries
components or libraries living in the same process.
end
-source_dl =
+source_dl = http://p11-glue.freedesktop.org/releases/
+
+build
+ configure_options += --sysconfdir=/etc
+end
packages
package %{name}
- end
-
+
package %{name}-devel
template DEVEL
end
name = systemd
version = 33
-release = 1
+release = 2
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
packages
package %{name}
- requires = dbus python-cairo python-dbus udev>=172
+ requires
+ dbus
+ python-cairo
+ python-dbus udev>=172
+ util-linux>=2.19
+ end
end
# Package information for systemd-units