###############################################################################
name = cryptsetup-luks
-version = 1.1.0
-release = 3
+version = 1.4.2
+release = 1
+
+compat_version = 1.1.0
groups = System/Filesystems
url = http://cryptsetup.googlecode.com/
summary = A utility for setting up encrypted filesystems.
description
- This package contains cryptsetup, a utility for setting up \
+ This package contains cryptsetup, a utility for setting up
encrypted filesystems using Device Mapper and the dm-crypt target.
end
-source_dl =
-sources = cryptsetup-%{version}.tar.bz2
+source_dl = http://cryptsetup.googlecode.com/files/
+
+sources = \
+ cryptsetup-%{version}.tar.bz2 \
+ cryptsetup-%{compat_version}.tar.bz2
build
requires
configure_options += \
--disable-static
+
+ # Build compat version of libcryptsetup.
+ build_cmds
+ cd %{DIR_SRC}/cryptsetup-%{compat_version}
+ ./configure \
+ %{configure_options}
+
+ make %{PARALELLISMFLAGS}
+ end
+
+ install_cmds
+ # Install compat version of libcyptsetup.
+ cd %{DIR_SRC}/cryptsetup-%{compat_version}
+ install -m 644 lib/.libs/libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir}
+ ln -svf libcryptsetup.so.1.0.0 %{BUILDROOT}%{libdir}/libcryptsetup.so.1
+ end
end
packages
package %{name}
+ package %{name}-compat
+ summary = Compat libraries of %{thisapp}.
+
+ files
+ %{libdir}/libcryptsetup.so.1*
+ end
+ end
+
package %{name}-devel
template DEVEL
end
name = dhcp
version = 4.2.2
-release = 2
+release = 3
groups = Networking/Daemons
url = http://isc.org/products/DHCP/
--- /dev/null
+[Unit]
+Description=DHCP client daemon for IPv4 on %I
+BindTo=dev-%I.device
+After=dev-%I.device
+
+[Service]
+Restart=on-failure
+ExecStartPre=/usr/lib/network/dhclient-helper start %I ipv4
+ExecStart=/usr/sbin/dhclient -d %I -4 \
+ -cf /run/network/dhclient/%I/dhclient4.conf \
+ -lf /var/lib/dhclient/dhclient-%I.leases \
+ -pf /run/network/dhclient/%I/dhclient4.pid
+ExecStop=/usr/lib/network/dhclient-helper stop %I ipv4
+
+# This could be used if you want to release a lease.
+#ExecStop=/usr/sbin/dhclient -d -r %I -4 \
+# -cf /run/network/dhclient/%I/dhclient4.conf \
+# -lf /var/lib/dhclient/dhclient-%I.leases \
+# -pf /run/network/dhclient/%I/dhclient4.pid
+
+UtmpIdentifier=%I
+++ /dev/null
-# This file is part of systemd.
-#
-# systemd 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 2 of the License, or
-# (at your option) any later version.
-
-[Unit]
-Description=dhclient on %I
-BindTo=dev-%I.device
-After=dev-%I.device network.service
-Requires=network.service
-
-[Service]
-ExecStart=/usr/sbin/dhclient %I
-UtmpIdentifier=%I
-KillMode=process
name = hostapd
version = 0.7.3
-release = 1
+release = 2
groups = Networking/Tools
url = http://hostap.epitest.fi/hostapd/
packages
package %{name}
- end
package %{name}-debuginfo
template DEBUGINFO
[Unit]
Description=WLAN AP on %I
BindTo=dev-%I.device
-After=dev-%I.device network.service
-Requires=network.service
+After=dev-%I.device
[Service]
ExecStart=/usr/bin/hostapd -dd -P /run/network/hostapd/%I/pid /run/network/hostapd/%I/config
name = udev
version = 182
-release = 4
+release = 5
groups = System/Base
url = ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/
pciutils
shadow-utils
systemd-units
- usbutils-devel >= 1:005
+ usbutils >= 1:005
end
configure_options += \
name = usbutils
epoch = 1
version = 005
-release = 1
+release = 2
groups = System/Tools
url = http://www.linux-usb.org/
end
end
- package %{name}-libs
- template LIBS
- end
-
- package %{name}-devel
- template DEVEL
-
- requires = %{name}-libs = %{epoch}:%{thisver}
- end
-
package %{name}-debuginfo
template DEBUGINFO
end