rpms/wl-kmod/devel wl-kmod.spec,1.66,1.67
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv16130
Modified Files:
wl-kmod.spec
Log Message:
* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4.1
- Added patch to build with CFG80211 API as default for F-17
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- wl-kmod.spec 10 Oct 2012 17:47:52 -0000 1.66
+++ wl-kmod.spec 10 Oct 2012 18:00:48 -0000 1.67
@@ -7,7 +7,7 @@
Name: wl-kmod
Version: 5.100.82.112
-Release: 4%{?dist}
+Release: 4%{?dist}.1
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -87,7 +87,7 @@
rm -rf $RPM_BUILD_ROOT
%changelog
-* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
+* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4.1
- Added patch to build with CFG80211 API as default for F-17
* Sun Jun 24 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3.1
12 years, 1 month
rpms/wl-kmod/devel wl-kmod.spec,1.65,1.66
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv15466
Modified Files:
wl-kmod.spec
Log Message:
* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
- Added patch to build with CFG80211 API as default for F-17
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -r1.65 -r1.66
--- wl-kmod.spec 10 Oct 2012 17:09:18 -0000 1.65
+++ wl-kmod.spec 10 Oct 2012 17:47:52 -0000 1.66
@@ -3,7 +3,7 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels current
+%define buildforkernels akmod
Name: wl-kmod
Version: 5.100.82.112
12 years, 1 month
rpms/wl-kmod/F-17 broadcom-wl-5.100.82.112-cfg80211.patch, NONE, 1.1 wl-kmod.spec, 1.89, 1.90
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv14387
Modified Files:
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-cfg80211.patch
Log Message:
* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
- Added patch to build with CFG80211 API as default for F-17
broadcom-wl-5.100.82.112-cfg80211.patch:
Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE broadcom-wl-5.100.82.112-cfg80211.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile hybrid-portsrc_x86_32-v5_100_82_112/Makefile
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile 2011-10-22 18:56:55.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/Makefile 2012-10-10 14:34:17.019295870 +0200
@@ -16,18 +16,18 @@
ifneq ($(KERNELRELEASE),)
LINUXVER_GOODFOR_CFG80211:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "32" ]; then \
- echo TRUE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "32" ]; then \
echo FALSE; \
+ else \
+ echo TRUE; \
fi \
))
LINUXVER_WEXT_ONLY:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "17" ]; then \
- echo FALSE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "17" ]; then \
echo TRUE; \
+ else \
+ echo FALSE; \
fi \
))
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-17/wl-kmod.spec,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- wl-kmod.spec 8 Oct 2012 18:57:27 -0000 1.89
+++ wl-kmod.spec 10 Oct 2012 17:30:28 -0000 1.90
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels newest
+%define buildforkernels current
Name: wl-kmod
Version: 5.100.82.112
-Release: 3%{?dist}.16
+Release: 4%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -18,6 +18,7 @@
Patch0: broadcom-wl-5.100.82.112-license.patch
Patch1: broadcom-wl-5.100.82.112-kernel-3.2.patch
Patch2: broadcom-wl-5.100.82.112-kernel-3.4.patch
+Patch3: broadcom-wl-5.100.82.112-cfg80211.patch
BuildRequires: %{_bindir}/kmodtool
@@ -56,6 +57,7 @@
%patch0 -p1 -b .license
%patch1 -p1 -b .kernel-3.2
%patch2 -p1 -b .kernel-3.4
+%patch3 -p1 -b .cfg80211
popd
for kernel_version in %{?kernel_versions} ; do
@@ -85,6 +87,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
+- Added patch to build with CFG80211 API as default for F-17
+
* Mon Oct 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.100.82.112-3.16
- Rebuilt for updated kernel
12 years, 1 month
rpms/wl-kmod/F-18 broadcom-wl-5.100.82.112-cfg80211.patch, NONE, 1.1 wl-kmod.spec, 1.64, 1.65
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv13745
Modified Files:
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-cfg80211.patch
Log Message:
* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
- Added patch to build with CFG80211 API as default for F-17
broadcom-wl-5.100.82.112-cfg80211.patch:
Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE broadcom-wl-5.100.82.112-cfg80211.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile hybrid-portsrc_x86_32-v5_100_82_112/Makefile
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile 2011-10-22 18:56:55.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/Makefile 2012-10-10 14:34:17.019295870 +0200
@@ -16,18 +16,18 @@
ifneq ($(KERNELRELEASE),)
LINUXVER_GOODFOR_CFG80211:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "32" ]; then \
- echo TRUE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "32" ]; then \
echo FALSE; \
+ else \
+ echo TRUE; \
fi \
))
LINUXVER_WEXT_ONLY:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "17" ]; then \
- echo FALSE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "17" ]; then \
echo TRUE; \
+ else \
+ echo FALSE; \
fi \
))
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-18/wl-kmod.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- wl-kmod.spec 24 Jun 2012 09:55:51 -0000 1.64
+++ wl-kmod.spec 10 Oct 2012 17:13:23 -0000 1.65
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels akmod
+%define buildforkernels current
Name: wl-kmod
Version: 5.100.82.112
-Release: 3%{?dist}.1
+Release: 4%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -18,6 +18,7 @@
Patch0: broadcom-wl-5.100.82.112-license.patch
Patch1: broadcom-wl-5.100.82.112-kernel-3.2.patch
Patch2: broadcom-wl-5.100.82.112-kernel-3.4.patch
+Patch3: broadcom-wl-5.100.82.112-cfg80211.patch
BuildRequires: %{_bindir}/kmodtool
@@ -56,6 +57,7 @@
%patch0 -p1 -b .license
%patch1 -p1 -b .kernel-3.2
%patch2 -p1 -b .kernel-3.4
+%patch3 -p1 -b .cfg80211
popd
for kernel_version in %{?kernel_versions} ; do
@@ -85,6 +87,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
+- Added patch to build with CFG80211 API as default for F-17
+
* Sun Jun 24 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3.1
- spec file cleanup
12 years, 1 month
rpms/wl-kmod/devel broadcom-wl-5.100.82.112-cfg80211.patch, NONE, 1.1 wl-kmod.spec, 1.64, 1.65
by Nicolas Viéville
Author: nvieville
Update of /cvs/nonfree/rpms/wl-kmod/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv13479
Modified Files:
wl-kmod.spec
Added Files:
broadcom-wl-5.100.82.112-cfg80211.patch
Log Message:
* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
- Added patch to build with CFG80211 API as default for F-17
broadcom-wl-5.100.82.112-cfg80211.patch:
Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE broadcom-wl-5.100.82.112-cfg80211.patch ---
diff -Naur hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile hybrid-portsrc_x86_32-v5_100_82_112/Makefile
--- hybrid-portsrc_x86_32-v5_100_82_112.orig/Makefile 2011-10-22 18:56:55.000000000 +0200
+++ hybrid-portsrc_x86_32-v5_100_82_112/Makefile 2012-10-10 14:34:17.019295870 +0200
@@ -16,18 +16,18 @@
ifneq ($(KERNELRELEASE),)
LINUXVER_GOODFOR_CFG80211:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "32" ]; then \
- echo TRUE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "32" ]; then \
echo FALSE; \
+ else \
+ echo TRUE; \
fi \
))
LINUXVER_WEXT_ONLY:=$(strip $(shell \
- if [ "$(VERSION)" -ge "2" -a "$(PATCHLEVEL)" -ge "6" -a "$(SUBLEVEL)" -ge "17" ]; then \
- echo FALSE; \
- else \
+ if [ "$(VERSION)" -le "2" -a "$(PATCHLEVEL)" -le "6" -a "$(SUBLEVEL)" -lt "17" ]; then \
echo TRUE; \
+ else \
+ echo FALSE; \
fi \
))
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/devel/wl-kmod.spec,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- wl-kmod.spec 24 Jun 2012 09:55:51 -0000 1.64
+++ wl-kmod.spec 10 Oct 2012 17:09:18 -0000 1.65
@@ -3,11 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-%define buildforkernels akmod
+%define buildforkernels current
Name: wl-kmod
Version: 5.100.82.112
-Release: 3%{?dist}.1
+Release: 4%{?dist}
Summary: Kernel module for Broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -18,6 +18,7 @@
Patch0: broadcom-wl-5.100.82.112-license.patch
Patch1: broadcom-wl-5.100.82.112-kernel-3.2.patch
Patch2: broadcom-wl-5.100.82.112-kernel-3.4.patch
+Patch3: broadcom-wl-5.100.82.112-cfg80211.patch
BuildRequires: %{_bindir}/kmodtool
@@ -56,6 +57,7 @@
%patch0 -p1 -b .license
%patch1 -p1 -b .kernel-3.2
%patch2 -p1 -b .kernel-3.4
+%patch3 -p1 -b .cfg80211
popd
for kernel_version in %{?kernel_versions} ; do
@@ -85,6 +87,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Oct 10 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-4
+- Added patch to build with CFG80211 API as default for F-17
+
* Sun Jun 24 2012 Nicolas Vieville <nicolas.vieville(a)univ-valenciennes.fr> - 5.100.82.112-3.1
- spec file cleanup
12 years, 1 month
rpms/openafs/F-18 afs.conf.systemd, NONE, 1.1 openafs-1.6.1-systemd-env-vars.patch, NONE, 1.1 openafs-1.6.1-systemd-execpoststart.patch, NONE, 1.1 openafs-1.6.1-systemd-fhs.patch, NONE, 1.1 openafs-1.6.1-systemd-kmod-name.patch, NONE, 1.1 openafs-1.6.1-systemd-no-cellservdb.patch, NONE, 1.1 sysnames, NONE, 1.1 openafs.spec, 1.26, 1.27
by Ken Dreyer
Author: ktdreyer
Update of /cvs/free/rpms/openafs/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv12880
Modified Files:
openafs.spec
Added Files:
afs.conf.systemd openafs-1.6.1-systemd-env-vars.patch
openafs-1.6.1-systemd-execpoststart.patch
openafs-1.6.1-systemd-fhs.patch
openafs-1.6.1-systemd-kmod-name.patch
openafs-1.6.1-systemd-no-cellservdb.patch sysnames
Log Message:
* Mon Oct 8 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-6
- Enable systemd unit files for F18 and above
--- NEW FILE afs.conf.systemd ---
# Use this file to pass additional options to the afsd and bosserver
# executables.
# Systemd will pass $AFSD_ARGS to afsd.
# You may want to add more settings below.
AFSD_ARGS="-nosettime -afsdb -dynroot"
# Memory cache or disk cache?
CACHE="-memcache"
#CACHE="-cachedir /var/cache/openafs"
# Fine-tuned AFS client configuration options:
# Large:
#OPTIONS="-stat 2800 -dcache 2400 -daemons 5 -volumes 128"
# Medium:
#OPTIONS="-stat 2000 -dcache 800 -daemons 3 -volumes 70"
# Small:
#OPTIONS="-stat 300 -dcache 100 -daemons 2 -volumes 50"
# Directory to use for configuration information:
CONFDIR="-confdir /etc/openafs"
# AFS server initialization
#BOSSERVER_ARGS=
openafs-1.6.1-systemd-env-vars.patch:
openafs-client.service | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE openafs-1.6.1-systemd-env-vars.patch ---
>From 1e9b8058d1da1ebde09cd280cf441a4af56e254a Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 20:59:43 -0600
Subject: [PATCH 4/5] systemd: add more environment variables to
openafs-client.service
At the risk of deviating too far from upstream, this permits a few more
user-friendly environment variables in /etc/sysconfig/openafs.
Change-Id: Ib0938b2865005fc1f1b1c49dfda0d4bf92957004
---
src/packaging/RedHat/openafs-client.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
index 89a344f..719aed77 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -6,7 +6,7 @@ After=syslog.target network.target
Type=forking
EnvironmentFile=/etc/sysconfig/openafs
ExecStartPre=/sbin/modprobe openafs
-ExecStart=/usr/sbin/afsd $AFSD_ARGS
+ExecStart=/usr/sbin/afsd $AFSD_ARGS $CACHE $OPTIONS $CONFDIR
ExecStop=/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
--
1.7.11.7
openafs-1.6.1-systemd-execpoststart.patch:
openafs-client.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE openafs-1.6.1-systemd-execpoststart.patch ---
>From a105ddc4136df2b0d8f6b143a5e46d353a5ea128 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 21:01:52 -0600
Subject: [PATCH 5/5] systemd: run "sysnames" script after starting afsd
This helper script will set any custom sysnames on the client.
Change-Id: Ibdb770fac20eb26b137bd02a71a52e0c801b039d
---
src/packaging/RedHat/openafs-client.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
index 719aed77..aac1ca7 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -7,6 +7,7 @@ Type=forking
EnvironmentFile=/etc/sysconfig/openafs
ExecStartPre=/sbin/modprobe openafs
ExecStart=/usr/sbin/afsd $AFSD_ARGS $CACHE $OPTIONS $CONFDIR
+ExecStartPost=/usr/libexec/openafs/sysnames
ExecStop=/bin/umount /afs
ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
--
1.7.11.7
openafs-1.6.1-systemd-fhs.patch:
openafs-client.service | 4 ++--
openafs-server.service | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
--- NEW FILE openafs-1.6.1-systemd-fhs.patch ---
>From 5c440cbf1c57bb22e7ebbeaf164f52e68377252f Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 20:58:13 -0600
Subject: [PATCH 3/5] systemd: use FHS-style paths
The unit files from openafs.org still refer to the old transarc paths.
Replace them with FHS-compliant paths.
Change-Id: Iff326d082a00e3632ff7a8c9983fbf277ce6b4eb
---
src/packaging/RedHat/openafs-client.service | 4 ++--
src/packaging/RedHat/openafs-server.service | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
index a5fb287..89a344f 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -6,9 +6,9 @@ After=syslog.target network.target
Type=forking
EnvironmentFile=/etc/sysconfig/openafs
ExecStartPre=/sbin/modprobe openafs
-ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
+ExecStart=/usr/sbin/afsd $AFSD_ARGS
ExecStop=/bin/umount /afs
-ExecStop=/usr/vice/etc/afsd -shutdown
+ExecStop=/usr/sbin/afsd -shutdown
ExecStop=/sbin/rmmod libafs
KillMode=none
diff --git a/src/packaging/RedHat/openafs-server.service b/src/packaging/RedHat/openafs-server.service
index 2d34bb0..6f6a26f 100644
--- a/src/packaging/RedHat/openafs-server.service
+++ b/src/packaging/RedHat/openafs-server.service
@@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
EnvironmentFile=-/etc/sysconfig/openafs
-ExecStart=/usr/afs/bin/bosserver $BOSSERVER_ARGS
+ExecStart=/usr/bin/bosserver $BOSSERVER_ARGS
ExecStop=/usr/bin/bos shutdown localhost -wait -localauth
[Install]
--
1.7.11.7
openafs-1.6.1-systemd-kmod-name.patch:
openafs-client.service | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- NEW FILE openafs-1.6.1-systemd-kmod-name.patch ---
>From 1c4448380cae1da4302ec8b74bb74945b692aa70 Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 20:55:50 -0600
Subject: [PATCH 2/5] systemd: unload module "libafs"
Load the module as "openafs", but unload it using the name "libafs".
Change-Id: Ib7d3d9b80ff58e9cded9a3171a5b003f1995a5b7
---
src/packaging/RedHat/openafs-client.service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
index 2ee652a..a5fb287 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -9,7 +9,7 @@ ExecStartPre=/sbin/modprobe openafs
ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
ExecStop=/bin/umount /afs
ExecStop=/usr/vice/etc/afsd -shutdown
-ExecStop=/sbin/rmmod openafs
+ExecStop=/sbin/rmmod libafs
KillMode=none
[Install]
--
1.7.11.7
openafs-1.6.1-systemd-no-cellservdb.patch:
openafs-client.service | 3 ---
1 file changed, 3 deletions(-)
--- NEW FILE openafs-1.6.1-systemd-no-cellservdb.patch ---
>From 9ed4e76885f2a315586bf32b3106de86c32c5daa Mon Sep 17 00:00:00 2001
From: Ken Dreyer <ktdreyer(a)ktdreyer.com>
Date: Mon, 8 Oct 2012 20:55:12 -0600
Subject: [PATCH 1/5] systemd: skip CellServDB manipulation
Change-Id: I23544f183c0423b208b6465c8d7184d64b6b4a15
---
src/packaging/RedHat/openafs-client.service | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/packaging/RedHat/openafs-client.service b/src/packaging/RedHat/openafs-client.service
index 936762e..2ee652a 100644
--- a/src/packaging/RedHat/openafs-client.service
+++ b/src/packaging/RedHat/openafs-client.service
@@ -5,8 +5,6 @@ After=syslog.target network.target
[Service]
Type=forking
EnvironmentFile=/etc/sysconfig/openafs
-ExecStartPre=/bin/sed -n 'w/usr/vice/etc/CellServDB' /usr/vice/etc/CellServDB.local /usr/vice/etc/CellServDB.dist
-ExecStartPre=/bin/chmod 0644 /usr/vice/etc/CellServDB
ExecStartPre=/sbin/modprobe openafs
ExecStart=/usr/vice/etc/afsd $AFSD_ARGS
ExecStop=/bin/umount /afs
--
1.7.11.7
--- NEW FILE sysnames ---
#!/bin/bash
# /usr/libexec/openafs/sysnames
# Set custom sysnames after starting the afsd service.
# Runs as "ExecStartPost" in openafs-client.service.
# Figure out what we are
_ARCH=`uname -i | sed 's/x86_64/amd64/'`
_KERN=`uname -r | sed 's/\([0-9]\+\)\.\([0-9]\+\)\..*/\1\2/'`
_DIST=""
for d in fedora centos redhat ; do
if [ -f "/etc/$d-release" ] ; then
_DIST=$d
break
fi
done
# What version of the distribution are we? Cut off the Client|Server
# mess from RHEL
_REL=`/bin/rpm -qf --qf '%{version}\n' /etc/${_DIST}-release | sed 's/\([0-9]\+\)[a-zA-Z]\+/\1/'`
# Sysname list. The order here is from specific to general, with a
# fallback to the compiled-in value from /usr/bin/sys. This will be
# used as the sysname search path.
SYSNAMELIST="${_ARCH}_${_DIST}_${_REL} ${_ARCH}_linux${_KERN} $(/usr/bin/sys)"
# Set the sysname
if [ -n "$SYSNAMELIST" ] ; then
_FLAG=0
_CMD=""
for SYSNAME in $SYSNAMELIST ; do
if [ $_FLAG == "1" ] ; then
_CMD="$_CMD -newsys $SYSNAME"
else
_FLAG=1
_CMD="/usr/bin/fs sysname $SYSNAME"
fi
done
fi
$_CMD > /dev/null
Index: openafs.spec
===================================================================
RCS file: /cvs/free/rpms/openafs/F-18/openafs.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- openafs.spec 24 Aug 2012 16:55:28 -0000 1.26
+++ openafs.spec 10 Oct 2012 17:03:06 -0000 1.27
@@ -13,7 +13,7 @@
Summary: Enterprise Network File System
Name: openafs
Version: 1.6.1
-Release: 5%{?dist}
+Release: 6%{?dist}
License: IBM
Group: System Environment/Daemons
URL: http://www.openafs.org
@@ -23,6 +23,10 @@
Source12: cacheinfo
Source13: openafs.init
Source14: afs.conf
+# Similar to afs.conf, but for systemd.
+Source15: afs.conf.systemd
+# Sysnames helper script
+Source16: sysnames
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: krb5-devel, pam-devel, ncurses-devel, flex, byacc, bison
@@ -34,6 +38,22 @@
# Upstream patch to compile with newer glibc
# (not yet on openafs-stable-1_6_x; cherry-picked from master)
Patch2: openafs-1.6.1-afsd-sys-resource-h.patch
+# systemd: Skip CellServDB manipulation
+Patch3: openafs-1.6.1-systemd-no-cellservdb.patch
+# systemd: unload the proper kernel module
+# (TODO: check if this can be upstreamed)
+Patch4: openafs-1.6.1-systemd-kmod-name.patch
+# systemd: use FHS-style paths instead of transarc paths
+Patch5: openafs-1.6.1-systemd-fhs.patch
+# systemd: add additional user-friendly environment vars
+Patch6: openafs-1.6.1-systemd-env-vars.patch
+# Add ExecPostStart "sysnames" helper script.
+Patch7: openafs-1.6.1-systemd-execpoststart.patch
+
+# Use systemd unit files on Fedora 18 and above.
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+ %global _with_systemd 1
+%endif
%description
@@ -49,7 +69,14 @@
%package client
Summary: OpenAFS Filesystem client
Group: System Environment/Daemons
-Requires(post): bash, coreutils, chkconfig, selinux-policy-targeted
+Requires(post): bash, coreutils, selinux-policy-targeted
+%if 0%{?_with_systemd}
+Requires(preun): systemd
+Requires(postun): systemd
+Requires(post): systemd
+%else
+Requires(post): chkconfig
+%endif
Requires: %{name}-kmod >= %{version}
Requires: openafs = %{version}
Provides: %{name}-kmod-common = %{version}
@@ -86,6 +113,11 @@
Summary: OpenAFS Filesystem Server
Group: System Environment/Daemons
Requires: openafs-client = %{version}, openafs = %{version}
+%if 0%{?_with_systemd}
+Requires(preun): systemd
+Requires(postun): systemd
+Requires(post): systemd
+%endif
%description server
The AFS distributed filesystem. AFS is a distributed filesystem
@@ -109,6 +141,13 @@
# This allows us to build with newer glibc
%patch2 -p1
+# systemd unit file changes for RPM Fusion
+%patch3 -p1 -b .cellservdb
+%patch4 -p1 -b .kmod
+%patch5 -p1 -b .fhs
+%patch6 -p1 -b .envvars
+%patch7 -p1 -b .execpoststart
+
# Convert the licese to UTF-8
mv src/LICENSE src/LICENSE~
iconv -f ISO-8859-1 -t UTF8 src/LICENSE~ > src/LICENSE
@@ -156,13 +195,32 @@
install -p -m 644 %{SOURCE12} ${RPM_BUILD_ROOT}%{_sysconfdir}/openafs
echo %{thiscell} > ${RPM_BUILD_ROOT}%{_sysconfdir}/openafs/ThisCell
-# install the init script
-mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
-install -m 755 %{SOURCE13} ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/openafs
+# install the init file(s)
+%if 0%{?_with_systemd}
+ # install systemd service files
+ mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
+ pushd src/packaging/RedHat
+ install -p -m 644 openafs-client.service \
+ ${RPM_BUILD_ROOT}%{_unitdir}/openafs-client.service
+ install -p -m 644 openafs-server.service \
+ ${RPM_BUILD_ROOT}%{_unitdir}/openafs-server.service
+ popd
+ # install "sysnames" helper script
+ install -p -m 755 %{SOURCE16} \
+ ${RPM_BUILD_ROOT}%{_libexecdir}/openafs/sysnames
+%else
+ # install legacy SysV init script
+ mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
+ install -m 755 %{SOURCE13} ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/openafs
+%endif
# sysconfig file
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig
-install -m 644 %{SOURCE14} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/openafs
+%if 0%{?_with_systemd}
+ install -m 644 %{SOURCE15} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/openafs
+%else
+ install -m 644 %{SOURCE14} ${RPM_BUILD_ROOT}%{_sysconfdir}/sysconfig/openafs
+%endif
# Include the vlclient binary
install -m 755 src/vlserver/vlclient ${RPM_BUILD_ROOT}/usr/sbin/vlclient
@@ -210,11 +268,18 @@
# don't restart in post because kernel modules could well have changed
%post
/sbin/ldconfig
-if [ $1 = 1 ]; then
+%if 0%{?_with_systemd}
+ # systemd unit files are in the -client and -server subpackages.
+%else
+ if [ $1 = 1 ]; then
/sbin/chkconfig --add openafs
-fi
+ fi
+%endif
%post client
+%if !0%{?_with_systemd}
+ %systemd_post openafs-client.service
+%endif
# if this is owned by the package, upgrades with afs running can't work
if [ ! -d /afs ] ; then
mkdir -m 700 /afs
@@ -222,15 +287,44 @@
fi
exit 0
+%post server
+%if !0%{?_with_systemd}
+ %systemd_post openafs-server.service
+%endif
+
%preun
-if [ "$1" = 0 ] ; then
+%if 0%{?_with_systemd}
+ # systemd unit files are in the -client and -server subpackages.
+%else
+ if [ "$1" = 0 ] ; then
/sbin/chkconfig --del openafs
%{_sysconfdir}/rc.d/init.d/openafs stop && rmdir /afs
-fi
-exit 0
+ fi
+ exit 0
+%endif
+
+%preun client
+%if 0%{?_with_systemd}
+ %systemd_preun openafs-client.service
+%endif
+
+%preun server
+%if 0%{?_with_systemd}
+ %systemd_preun openafs-server.service
+%endif
%postun -p /sbin/ldconfig
+%postun client
+%if 0%{?_with_systemd}
+ %systemd_postun openafs-client.service
+%endif
+
+%postun server
+%if 0%{?_with_systemd}
+ %systemd_postun openafs-server.service
+%endif
+
%post devel -p /sbin/ldconfig
%postun devel -p /sbin/ldconfig
@@ -240,10 +334,16 @@
%files
%defattr(-, root, root, -)
+%dir %{_sysconfdir}/openafs
+%dir %{_libexecdir}/openafs
%doc src/LICENSE README NEWS README.DEVEL README.GIT README.PTHREADED_UBIK
%doc README.WARNINGS README-WINDOWS
%config(noreplace) %{_sysconfdir}/sysconfig/*
+%if 0%{?_with_systemd}
+# systemd files are in -client and -server subpackages
+%else
%{_sysconfdir}/rc.d/init.d/*
+%endif
%{_bindir}/aklog
%{_bindir}/bos
%{_bindir}/fs
@@ -281,11 +381,14 @@
%files client
%defattr(-, root, root)
-%dir %{_sysconfdir}/openafs
%dir %{_localstatedir}/cache/openafs
%config(noreplace) %{_sysconfdir}/openafs/CellServDB
%config(noreplace) %{_sysconfdir}/openafs/ThisCell
%config(noreplace) %{_sysconfdir}/openafs/cacheinfo
+%if 0%{?_with_systemd}
+%{_unitdir}/openafs-client.service
+%{_libexecdir}/openafs/sysnames
+%endif
%{_bindir}/afsio
%{_bindir}/cmdebug
%{_bindir}/xstat_cm_test
@@ -293,12 +396,27 @@
%files server
%defattr(-,root,root)
+%if 0%{?_with_systemd}
+%{_unitdir}/openafs-server.service
+%endif
%{_bindir}/afsmonitor
%{_bindir}/asetkey
%{_bindir}/scout
%{_bindir}/udebug
%{_bindir}/xstat_fs_test
-%{_libexecdir}/openafs
+%{_libexecdir}/openafs/buserver
+%{_libexecdir}/openafs/dafileserver
+%{_libexecdir}/openafs/dasalvager
+%{_libexecdir}/openafs/davolserver
+%{_libexecdir}/openafs/fileserver
+%{_libexecdir}/openafs/kaserver
+%{_libexecdir}/openafs/ptserver
+%{_libexecdir}/openafs/salvager
+%{_libexecdir}/openafs/salvageserver
+%{_libexecdir}/openafs/upclient
+%{_libexecdir}/openafs/upserver
+%{_libexecdir}/openafs/vlserver
+%{_libexecdir}/openafs/volserver
%{_sbindir}/dafssync-debug
%{_sbindir}/fssync-debug
%{_sbindir}/salvsync-debug
@@ -337,6 +455,9 @@
%{_datadir}/openafs/C/afszcm.cat
%changelog
+* Mon Oct 8 2012 Ken Dreyer <ktdreyer(a)ktdreyer.com> 0:1.6.1-6
+- Enable systemd unit files for F18 and above
+
* Thu Aug 23 2012 Jack Neely <jjneely(a)ncsu.edu> 0:1.6.1-5
- Update /etc/sysconfig/openafs to have some more current
default settings.
12 years, 1 month
rpms/vdr-mp3/F-18 vdr-mp3.spec,1.10,1.11
by Martin Gansser
Author: martinkg
Update of /cvs/free/rpms/vdr-mp3/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv12077/F-18
Modified Files:
vdr-mp3.spec
Log Message:
Index: vdr-mp3.spec
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-18/vdr-mp3.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- vdr-mp3.spec 10 Oct 2012 16:31:58 -0000 1.10
+++ vdr-mp3.spec 10 Oct 2012 16:42:35 -0000 1.11
@@ -5,7 +5,7 @@
Name: vdr-mp3
Version: 0.10.2
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Sound playback plugin for VDR
Group: Applications/Multimedia
@@ -172,6 +172,10 @@
%changelog
+* Wed Oct 3 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-6
+- spec file cleanup
+- spell checking in %%changelog section
+
* Wed Oct 3 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-5
- Adapt to VDR 1.7.30.
- changed vdr-devel BuildRequires for Fedora 18
12 years, 1 month
rpms/vdr-mp3/F-18 vdr-mp3.spec,1.9,1.10
by Martin Gansser
Author: martinkg
Update of /cvs/free/rpms/vdr-mp3/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv11667/F-18
Modified Files:
vdr-mp3.spec
Log Message:
Index: vdr-mp3.spec
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-18/vdr-mp3.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- vdr-mp3.spec 10 Oct 2012 15:31:02 -0000 1.9
+++ vdr-mp3.spec 10 Oct 2012 16:31:58 -0000 1.10
@@ -25,7 +25,6 @@
Patch4: %{name}-0.10.1-no-debug.patch
Patch5: %{name}-0.10.2-Makefile.patch
Patch6: %{name}-0.10.2-fsf-fix.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: vdr-devel >= 1.7.30
BuildRequires: libsndfile-devel >= 1.0.0
@@ -87,8 +86,6 @@
%install
-rm -rf $RPM_BUILD_ROOT
-
# Common dirs
install -dm 755 $RPM_BUILD_ROOT%{vdr_plugindir}
install -dm 755 $RPM_BUILD_ROOT%{vdr_configdir}/plugins
@@ -177,6 +174,9 @@
%changelog
* Wed Oct 3 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-5
- Adapt to VDR 1.7.30.
+- changed vdr-devel BuildRequires for Fedora 18
+- spec file cleanup
+- rebuild for Fedora 18
* Sat May 19 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-4
- reset the release tag to 1 for release update
12 years, 1 month
rpms/vdr-mp3/F-18 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 vdr-mp3.spec, 1.8, 1.9
by Martin Gansser
Author: martinkg
Update of /cvs/free/rpms/vdr-mp3/F-18
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv9599/F-18
Modified Files:
.cvsignore sources vdr-mp3.spec
Log Message:
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-18/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 10 Oct 2012 11:04:05 -0000 1.4
+++ .cvsignore 10 Oct 2012 15:31:01 -0000 1.5
@@ -1 +1,2 @@
-vdr-mp3.spec
+mplayer.sh-0.8.7.tar.gz
+vdr-mp3-0.10.2.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-18/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources 10 Oct 2012 11:04:05 -0000 1.4
+++ sources 10 Oct 2012 15:31:02 -0000 1.5
@@ -1 +1,2 @@
-fb2984645d01fcbe75b57fca21283cc4 vdr-mp3.spec
+cc2e48d4787b7ee739a0a8bb5b8c9fb2 mplayer.sh-0.8.7.tar.gz
+66fd37827326776c223a0fdd0ad3811e vdr-mp3-0.10.2.tar.gz
Index: vdr-mp3.spec
===================================================================
RCS file: /cvs/free/rpms/vdr-mp3/F-18/vdr-mp3.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vdr-mp3.spec 19 May 2012 18:57:41 -0000 1.8
+++ vdr-mp3.spec 10 Oct 2012 15:31:02 -0000 1.9
@@ -5,7 +5,7 @@
Name: vdr-mp3
Version: 0.10.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Sound playback plugin for VDR
Group: Applications/Multimedia
@@ -27,7 +27,7 @@
Patch6: %{name}-0.10.2-fsf-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: vdr-devel >= 1.6.0-41
+BuildRequires: vdr-devel >= 1.7.30
BuildRequires: libsndfile-devel >= 1.0.0
BuildRequires: libvorbis-devel
BuildRequires: %{__perl}
@@ -71,7 +71,7 @@
's|"/var/cache/images/mp3"|"%{vdr_cachedir}/mp3/images"|' \
data-mp3.c README
%{__perl} -pi -e \
- 's|"/video/plugins/DVD-VCD"|"%{vdr_datadir}/DVD-VCD"| ;
+ 's|"/video/plugins/DVD-VCD"|"%{vdr_resdir}/DVD-VCD"| ;
s|^MPLAYER=.*|MPLAYER="%{_bindir}/mplayer"|' \
mplayer.sh.conf
for f in HISTORY MANUAL README ; do
@@ -83,7 +83,7 @@
%build
make %{?_smp_mflags} LIBDIR=. VDRDIR=%{_libdir}/vdr WITH_OSS_OUTPUT=1 \
libvdr-mp3.so libvdr-mplayer.so
-echo "%{vdr_datadir}/DVD-VCD;DVD or VCD;0" > mplayersources.conf
+echo "%{vdr_resdir}/DVD-VCD;DVD or VCD;0" > mplayersources.conf
%install
@@ -113,9 +113,9 @@
# MPlayer files
install -pm 755 libvdr-mplayer.so.%{vdr_apiversion} $RPM_BUILD_ROOT%{vdr_plugindir}
-install -dm 755 $RPM_BUILD_ROOT%{vdr_datadir}/DVD-VCD
-touch $RPM_BUILD_ROOT%{vdr_datadir}/DVD-VCD/{DVD,VCD}
-chmod 644 $RPM_BUILD_ROOT%{vdr_datadir}/DVD-VCD/*
+install -dm 755 $RPM_BUILD_ROOT%{vdr_resdir}/DVD-VCD
+touch $RPM_BUILD_ROOT%{vdr_resdir}/DVD-VCD/{DVD,VCD}
+chmod 644 $RPM_BUILD_ROOT%{vdr_resdir}/DVD-VCD/*
install -pm 644 mplayersources.conf mplayer.sh.conf \
$RPM_BUILD_ROOT%{vdr_configdir}/plugins
install -pm 755 mplayer.sh $RPM_BUILD_ROOT%{vdr_plugindir}/bin/mplayer.sh
@@ -169,12 +169,15 @@
%{vdr_plugindir}/bin/mediasources.sh
%{vdr_plugindir}/bin/mount.sh
%{vdr_plugindir}/bin/mplayer*.sh
-%{vdr_datadir}/DVD-VCD/
+%{vdr_resdir}/DVD-VCD/
%defattr(-,%{vdr_user},root,-)
%ghost %{vdr_vardir}/global.mplayer.resume
%changelog
+* Wed Oct 3 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-5
+- Adapt to VDR 1.7.30.
+
* Sat May 19 2012 Martin Gansser <linux4martin(a)gmx.de> - 0.10.2-4
- reset the release tag to 1 for release update
12 years, 1 month
rpms/thunderbird-enigmail/F-16 rhbz-855923.patch, NONE, 1.1 xulrunner-16.0-jemalloc-ppc.patch, NONE, 1.1 .cvsignore, 1.21, 1.22 sources, 1.22, 1.23 thunderbird-enigmail.spec, 1.27, 1.28 thunderbird-install-dir.patch, 1.1, 1.2 thunderbird-mozconfig, 1.9, 1.10
by Remi Collet
Author: remi
Update of /cvs/free/rpms/thunderbird-enigmail/F-16
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv5815
Modified Files:
.cvsignore sources thunderbird-enigmail.spec
thunderbird-install-dir.patch thunderbird-mozconfig
Added Files:
rhbz-855923.patch xulrunner-16.0-jemalloc-ppc.patch
Log Message:
update to 1.4.5 for Thunderbird 16
rhbz-855923.patch:
Memory.cpp | 5 +++++
1 file changed, 5 insertions(+)
--- NEW FILE rhbz-855923.patch ---
Index: comm-release/mozilla/js/src/gc/Memory.cpp
===================================================================
--- comm-release.orig/mozilla/js/src/gc/Memory.cpp
+++ comm-release/mozilla/js/src/gc/Memory.cpp
@@ -348,9 +348,14 @@ UnmapPages(void *p, size_t size)
bool
MarkPagesUnused(void *p, size_t size)
{
+// A workaround for Bug 746112 - endless loop on ppc64
+#if !(defined(__powerpc__))
JS_ASSERT(uintptr_t(p) % PageSize == 0);
int result = madvise(p, size, MADV_DONTNEED);
return result != -1;
+#else
+ return true;
+#endif
}
bool
xulrunner-16.0-jemalloc-ppc.patch:
jemalloc.c | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE xulrunner-16.0-jemalloc-ppc.patch ---
Index: xulrunner-11.0/mozilla-release/memory/jemalloc/jemalloc.c
===================================================================
--- a/mozilla/memory/mozjemalloc/jemalloc.c
+++ b/mozilla/memory/mozjemalloc/jemalloc.c
@@ -1089,7 +1089,9 @@ static unsigned ncpus;
* controlling the malloc behavior are defined as compile-time constants
* for best performance and cannot be altered at runtime.
*/
+#if !(defined(__powerpc__))
#define MALLOC_STATIC_SIZES 1
+#endif
#ifdef MALLOC_STATIC_SIZES
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/thunderbird-enigmail/F-16/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- .cvsignore 28 Aug 2012 07:57:18 -0000 1.21
+++ .cvsignore 10 Oct 2012 14:10:44 -0000 1.22
@@ -1,2 +1,2 @@
-enigmail-1.4.4.tar.gz
-thunderbird-15.0.source.tar.bz2
+enigmail-1.4.5.tar.gz
+thunderbird-16.0.source.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/thunderbird-enigmail/F-16/sources,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- sources 28 Aug 2012 07:57:18 -0000 1.22
+++ sources 10 Oct 2012 14:10:44 -0000 1.23
@@ -1,2 +1,2 @@
-1bc36b5077f6b01b6acf0f75565dddc8 enigmail-1.4.4.tar.gz
-e41f88ca2fd0c9bc608aa2c145b3bc2c thunderbird-15.0.source.tar.bz2
+41af9c53181dfd0eaf5499f970e150da enigmail-1.4.5.tar.gz
+f2c4cafff4e17091d59b306b72f7230d thunderbird-16.0.source.tar.bz2
Index: thunderbird-enigmail.spec
===================================================================
RCS file: /cvs/free/rpms/thunderbird-enigmail/F-16/thunderbird-enigmail.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- thunderbird-enigmail.spec 28 Aug 2012 07:57:18 -0000 1.27
+++ thunderbird-enigmail.spec 10 Oct 2012 14:10:44 -0000 1.28
@@ -1,3 +1,6 @@
+# Use system nspr/nss?
+%define system_nss 1
+
%global debug_build 0
# Use system Librairies ?
@@ -7,17 +10,21 @@
%global system_sqlite 1
%endif
-%global nspr_version 4.9
+%if %{?system_nss}
+%global nspr_version 4.9.2
%global nss_version 3.13.3
+%endif
%global cairo_version 1.10.0
%global freetype_version 2.1.9
+%if %{?system_sqlite}
%global sqlite_version 3.7.10
+%endif
%global libnotify_version 0.4
%global libvpx_version 1.0.0
%global _default_patch_fuzz 2
-%global thunver 15.0
-%global thunmax 16.0
+%global thunver 16.0
+%global thunmax 17.0
# The tarball is pretty inconsistent with directory structure.
# Sometimes there is a top level directory. That goes here.
@@ -35,11 +42,11 @@
Summary: Authentication and encryption extension for Mozilla Thunderbird
Name: thunderbird-enigmail
-Version: 1.4.4
+Version: 1.4.5
%if 0%{?prever:1}
Release: 0.1.%{prever}%{?dist}
%else
-Release: 2%{?dist}
+Release: 1%{?dist}
%endif
URL: http://enigmail.mozdev.org/
License: MPLv1.1 or GPLv2+
@@ -71,6 +78,9 @@
# Linux specific
Patch200: thunderbird-8.0-enable-addons.patch
+# PPC fixes
+Patch300: xulrunner-16.0-jemalloc-ppc.patch
+Patch301: rhbz-855923.patch
%if %{official_branding}
# Required by Mozilla Corporation
@@ -80,9 +90,11 @@
%endif
+%if %{?system_nss}
+BuildRequires: nss-static >= %{nss_version}
BuildRequires: nspr-devel >= %{nspr_version}
-BuildRequires: nss-static
BuildRequires: nss-devel >= %{nss_version}
+%endif
BuildRequires: cairo-devel >= %{cairo_version}
BuildRequires: libnotify-devel >= %{libnotify_version}
BuildRequires: libpng-devel
@@ -148,6 +160,8 @@
cd ..
%patch200 -p1 -b .addons
+%patch300 -p1 -b .852698
+%patch301 -p1 -b .855923
%if %{official_branding}
# Required by Mozilla Corporation
@@ -165,6 +179,14 @@
%{__cat} %{SOURCE11} >> .mozconfig
%endif
+%if %{?system_nss}
+echo "ac_add_options --with-system-nspr" >> .mozconfig
+echo "ac_add_options --with-system-nss" >> .mozconfig
+%else
+echo "ac_add_options --without-system-nspr" >> .mozconfig
+echo "ac_add_options --without-system-nss" >> .mozconfig
+%endif
+
# s390(x) fails to start with jemalloc enabled
%ifarch s390 s390x
echo "ac_add_options --disable-jemalloc" >> .mozconfig
@@ -200,7 +222,7 @@
# All tarballs (as well as CVS) will *always* report as 1.4a1pre (or whatever
# the next major version would be). This is because I create builds from trunk
# and simply label the result as 1.3.x.
-# sed -i -e '/em:version/s/1.5a1pre/%{version}/' package/install.rdf
+sed -i -e '/em:version/s/1.5a1pre/%{version}/' package/install.rdf
grep '<em:version>%{version}</em:version>' package/install.rdf || exit 1
# Apply Enigmail patch here
popd
@@ -228,8 +250,19 @@
#
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS -fpermissive" | \
%{__sed} -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g')
+%if %{?debug_build}
+MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
+%endif
+%ifarch s390
+MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-g/-g1')
+%endif
+%ifarch s390 %{arm} ppc
+MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
+%endif
+
export CFLAGS=$MOZ_OPT_FLAGS
export CXXFLAGS=$MOZ_OPT_FLAGS
+export LDFLAGS=$MOZ_LINK_FLAGS
export PREFIX='%{_prefix}'
export LIBDIR='%{_libdir}'
@@ -276,6 +309,9 @@
#===============================================================================
%changelog
+* Tue Oct 9 2012 Remi Collet <remi(a)fedoraproject.org> 1.4.5-1
+- Enigmail 1.4.5 for Thunderbird 16
+
* Mon Aug 27 2012 Remi Collet <remi(a)fedoraproject.org> 1.4.4-2
- Enigmail 1.4.4 for Thunderbird 15.0
thunderbird-install-dir.patch:
config/autoconf.mk.in | 2 +-
mozilla/config/baseconfig.mk | 2 +-
mozilla/js/src/config/baseconfig.mk | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
Index: thunderbird-install-dir.patch
===================================================================
RCS file: /cvs/free/rpms/thunderbird-enigmail/F-16/thunderbird-install-dir.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- thunderbird-install-dir.patch 1 Oct 2011 06:16:00 -0000 1.1
+++ thunderbird-install-dir.patch 10 Oct 2012 14:10:44 -0000 1.2
@@ -1,7 +1,7 @@
-diff -up thunderbird-7.0/comm-beta/config/autoconf.mk.in.old thunderbird-7.0/comm-beta/config/autoconf.mk.in
---- thunderbird-7.0/comm-beta/config/autoconf.mk.in.old 2011-09-05 12:24:29.000000000 +0200
-+++ thunderbird-7.0/comm-beta/config/autoconf.mk.in 2011-09-12 12:21:09.304918326 +0200
-@@ -65,7 +65,7 @@ datadir = @datadir@
+diff -up thunderbird-16.0/comm-release/config/autoconf.mk.in.dir thunderbird-16.0/comm-release/config/autoconf.mk.in
+--- thunderbird-16.0/comm-release/config/autoconf.mk.in.dir 2012-10-05 23:20:26.000000000 +0200
++++ thunderbird-16.0/comm-release/config/autoconf.mk.in 2012-10-09 12:57:24.290767832 +0200
+@@ -36,7 +36,7 @@ datadir = @datadir@
mandir = @mandir@
idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
@@ -10,27 +10,28 @@
sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
MOZDEPTH = $(DEPTH)/mozilla
-diff -up thunderbird-7.0/comm-beta/mozilla/config/autoconf.mk.in.old thunderbird-7.0/comm-beta/mozilla/config/autoconf.mk.in
---- thunderbird-7.0/comm-beta/mozilla/config/autoconf.mk.in.old 2011-09-05 12:38:22.000000000 +0200
-+++ thunderbird-7.0/comm-beta/mozilla/config/autoconf.mk.in 2011-09-12 12:21:24.192991555 +0200
-@@ -68,7 +68,7 @@ datadir = @datadir@
- mandir = @mandir@
- idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-
--installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-+installdir = $(libdir)/$(MOZ_APP_NAME)
- sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
-
- DIST = $(DEPTH)/dist
-diff -up thunderbird-7.0/comm-beta/mozilla/js/src/config/autoconf.mk.in.old thunderbird-7.0/comm-beta/mozilla/js/src/config/autoconf.mk.in
---- thunderbird-7.0/comm-beta/mozilla/js/src/config/autoconf.mk.in.old 2011-09-05 12:38:30.000000000 +0200
-+++ thunderbird-7.0/comm-beta/mozilla/js/src/config/autoconf.mk.in 2011-09-12 12:21:37.409056596 +0200
-@@ -61,7 +61,7 @@ libdir = @libdir@
- datadir = @datadir@
- mandir = @mandir@
-
--installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
-+installdir = $(libdir)/$(MOZ_APP_NAME)
- sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
+diff -up thunderbird-16.0/comm-release/mozilla/config/autoconf.mk.in.dir thunderbird-16.0/comm-release/mozilla/config/autoconf.mk.in
+diff -up thunderbird-16.0/comm-release/mozilla/config/baseconfig.mk.dir thunderbird-16.0/comm-release/mozilla/config/baseconfig.mk
+--- thunderbird-16.0/comm-release/mozilla/config/baseconfig.mk.dir 2012-10-05 23:27:15.000000000 +0200
++++ thunderbird-16.0/comm-release/mozilla/config/baseconfig.mk 2012-10-09 13:01:32.269317094 +0200
+@@ -2,7 +2,7 @@ INCLUDED_AUTOCONF_MK = 1
+
+ includedir := $(includedir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+ idldir = $(datadir)/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
+-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++installdir = $(libdir)/$(MOZ_APP_NAME)
+ sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
+ DIST = $(DEPTH)/dist
+
+diff -up thunderbird-16.0/comm-release/mozilla/js/src/config/autoconf.mk.in.dir thunderbird-16.0/comm-release/mozilla/js/src/config/autoconf.mk.in
+diff -up thunderbird-16.0/comm-release/mozilla/js/src/config/baseconfig.mk.dir thunderbird-16.0/comm-release/mozilla/js/src/config/baseconfig.mk
+--- thunderbird-16.0/comm-release/mozilla/js/src/config/baseconfig.mk.dir 2012-10-05 23:27:30.000000000 +0200
++++ thunderbird-16.0/comm-release/mozilla/js/src/config/baseconfig.mk 2012-10-09 13:02:00.885495014 +0200
+@@ -1,6 +1,6 @@
+ INCLUDED_AUTOCONF_MK = 1
+
+-installdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION)
++installdir = $(libdir)/$(MOZ_APP_NAME)
+ sdkdir = $(libdir)/$(MOZ_APP_NAME)-devel-$(MOZ_APP_VERSION)
- TOP_DIST = @TOP_DIST@
+ ifneq (,$(filter /%,$(TOP_DIST)))
Index: thunderbird-mozconfig
===================================================================
RCS file: /cvs/free/rpms/thunderbird-enigmail/F-16/thunderbird-mozconfig,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- thunderbird-mozconfig 6 Jun 2012 05:53:33 -0000 1.9
+++ thunderbird-mozconfig 10 Oct 2012 14:10:44 -0000 1.10
@@ -7,8 +7,6 @@
ac_add_options --prefix="$PREFIX"
ac_add_options --libdir="$LIBDIR"
-ac_add_options --with-system-nspr
-ac_add_options --with-system-nss
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-system-libvpx
12 years, 1 month