Hello community,

here is the log from the commit of package pcfclock.1648 for 
openSUSE:12.2:Update checked in at 2013-05-27 16:00:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/pcfclock.1648 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.pcfclock.1648.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcfclock.1648"

Changes:
--------
New Changes file:

--- /dev/null   2013-05-23 01:40:31.032032505 +0200
+++ /work/SRC/openSUSE:12.2:Update/.pcfclock.1648.new/pcfclock.changes  
2013-05-27 16:00:59.000000000 +0200
@@ -0,0 +1,55 @@
+-------------------------------------------------------------------
+Mon Mar  9 21:32:41 CET 2009 - [email protected]
+
+- renamed modprobe config to /etc/modprobe.d/50-pcfclock.conf
+  (required by new module-init-tools).
+
+-------------------------------------------------------------------
+Fri Aug 22 01:25:51 CEST 2008 - [email protected]
+
+- fix build with 2.6.27 
+
+-------------------------------------------------------------------
+Wed Oct 24 01:08:45 CEST 2007 - [email protected]
+
+- revert last change, instead
+- add alias char-major-181 pcfclock to /etc/modprobe.d/pcfclock
+- add device nodes to /lib/udev/devices
+
+-------------------------------------------------------------------
+Fri Oct 19 15:31:06 CEST 2007 - [email protected]
+
+- add udev rule to create device nodes (#335108,#276510) 
+
+-------------------------------------------------------------------
+Fri May 11 12:31:58 CEST 2007 - [email protected]
+
+- fix build with current kernel sources
+- use optflags for pcfdate
+
+-------------------------------------------------------------------
+Wed Apr  4 22:10:04 CEST 2007 - [email protected]
+
+- added module-init-tools to BuildRequires
+
+-------------------------------------------------------------------
+Mon Aug 21 16:29:13 CEST 2006 - [email protected]
+
+- devfs has been removed from 2.6.18, make kernel driver compile 
+
+-------------------------------------------------------------------
+Mon Apr 10 18:48:27 CEST 2006 - [email protected]
+
+- Add preamble `Enhances: kernel-$flavor' workaround to KMP
+  sub-packages (156513).
+
+-------------------------------------------------------------------
+Mon Apr  3 00:52:19 CEST 2006 - [email protected]
+
+- change MODULE_PARM to module_param 
+
+-------------------------------------------------------------------
+Thu Feb 23 00:14:10 CET 2006 - [email protected]
+
+- created package with KMP (version 0.44) 
+

New:
----
  Makefile
  pcfclock-0.44.tar.gz
  pcfclock-include.patch
  pcfclock-module_param.patch
  pcfclock-no_devfs.patch
  pcfclock-nomodule.patch
  pcfclock.changes
  pcfclock.spec
  preamble

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcfclock.spec ++++++
#
# spec file for package pcfclock (Version 0.44)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:           pcfclock
BuildRequires:  kernel-source kernel-syms module-init-tools
Version:        0.44
Release:        240
Summary:        Pcfclock kernel driver
License:        GPL-2.0+
Group:          System/Kernel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www-stud.ims.uni-stuttgart.de/~voegelas/pcf.html
Requires:       pcfclock-kmp
AutoReqProv:    on
Source:         pcfclock-%{version}.tar.gz
Source1:        Makefile
Source2:        preamble
Patch:          pcfclock-nomodule.patch
Patch1:         pcfclock-module_param.patch
Patch2:         pcfclock-no_devfs.patch
Patch3:         pcfclock-include.patch
ExcludeArch:    s390 s390x
%suse_kernel_module_package -p %_sourcedir/preamble kdump um xen xenpae 
iseries64

%description
The pcfclock(4) driver for GNU/Linux supports the parallel port radio
clock sold by Conrad Electronic under order number 967602. The radio
clock, which is put between your parallel port and your printer,
receives the legal German time, i.e. CET or CEST, from the DCF77
transmitter and uses it to set its internal quartz clock. The DCF77
transmitter is located near to Frankfurt/Main and covers a radius of
more than 1500 kilometers.



Authors:
--------
    Andreas V�gele  <[email protected]>

%package KMP
License:        GPL-2.0+
Summary:        Pcfclock kernel driver
Group:          System/Kernel

%description KMP
The pcfclock(4) driver for GNU/Linux supports the parallel port radio
clock sold by Conrad Electronic under order number 967602. The radio
clock, which is put between your parallel port and your printer,
receives the legal German time, i.e. CET or CEST, from the DCF77
transmitter and uses it to set its internal quartz clock. The DCF77
transmitter is located near to Frankfurt/Main and covers a radius of
more than 1500 kilometers.



Authors:
--------
    Andreas V�gele  <[email protected]>

%prep
%setup
%patch
%patch1
%patch2
%patch3
mkdir source
mkdir obj
cp -a linux/pcfclock.c %{S:1} \
        source

%build
CFLAGS=$RPM_OPT_FLAGS \
./configure --prefix=/usr --mandir=%{_mandir} --without-linux
make
for flavor in %flavors_to_build; do
    rm -rf obj/$flavor
    cp -r source obj/$flavor
    make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
         M=$PWD/obj/$flavor
done

%install
make install DESTDIR=%{buildroot}
# install manpage
make -C linux install DESTDIR=%{buildroot}
# install kernel modules
export INSTALL_MOD_PATH=$RPM_BUILD_ROOT
export INSTALL_MOD_DIR=updates
for flavor in %flavors_to_build; do
    make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \
         M=$PWD/obj/$flavor
done
mkdir -p $RPM_BUILD_ROOT/etc/modprobe.d
echo "alias char-major-181 pcfclock" > 
$RPM_BUILD_ROOT/etc/modprobe.d/50-pcfclock.conf
mkdir -p $RPM_BUILD_ROOT/lib/udev/devices

%files
%defattr(-,root,root)
%doc README
%{_mandir}/man4/pcfclock.4.gz
%{_mandir}/man8/pcfdate.8.gz
/usr/sbin/pcfdate
/etc/modprobe.d/50-pcfclock.conf
%dir /lib/udev
%dir /lib/udev/devices
%attr(444,root,root) %dev(c,181,0) /lib/udev/devices/pcfclock0
%attr(444,root,root) %dev(c,181,1) /lib/udev/devices/pcfclock1
%attr(444,root,root) %dev(c,181,2) /lib/udev/devices/pcfclock2

%clean
rm -rf %{buildroot}

%changelog
* Mon Mar 09 2009 [email protected]
- renamed modprobe config to /etc/modprobe.d/50-pcfclock.conf
  (required by new module-init-tools).
* Fri Aug 22 2008 [email protected]
- fix build with 2.6.27
* Wed Oct 24 2007 [email protected]
- revert last change, instead
- add alias char-major-181 pcfclock to /etc/modprobe.d/pcfclock
- add device nodes to /lib/udev/devices
* Fri Oct 19 2007 [email protected]
- add udev rule to create device nodes (#335108,#276510)
* Fri May 11 2007 [email protected]
- fix build with current kernel sources
- use optflags for pcfdate
* Wed Apr 04 2007 [email protected]
- added module-init-tools to BuildRequires
* Mon Aug 21 2006 [email protected]
- devfs has been removed from 2.6.18, make kernel driver compile
* Mon Apr 10 2006 [email protected]
- Add preamble `Enhances: kernel-$flavor' workaround to KMP
  sub-packages (156513).
* Sun Apr 02 2006 [email protected]
- change MODULE_PARM to module_param
* Thu Feb 23 2006 [email protected]
- created package with KMP (version 0.44)
++++++ Makefile ++++++
obj-m           := pcfclock.o

# Where to install the modules
MOD_DIR := misc

.PHONY: modules install clean modules_add

install : modules_add
modules modules_add clean:
        $(MAKE) -C $(KERNEL_SOURCE) $@ SUBDIRS=$(CURDIR)
++++++ pcfclock-include.patch ++++++
--- linux/pcfclock.c
+++ linux/pcfclock.c
@@ -60,7 +60,7 @@
 #endif
 
 #include <asm/uaccess.h>
-#include <asm/semaphore.h>
+#include <linux/semaphore.h>
 
 /* Major device number */
 #define PCFCLOCK_MAJOR 181
++++++ pcfclock-module_param.patch ++++++
--- linux/pcfclock.c
+++ linux/pcfclock.c
@@ -400,8 +400,7 @@
 
 static int parport_nr[PCFCLOCK_NO] = {[0 ... PCFCLOCK_NO - 1] = 
PCFCLOCK_PARPORT_UNSPEC };
 static char *parport[PCFCLOCK_NO] = { NULL, };
-
-MODULE_PARM(parport, "1-" __MODULE_STRING(PCFCLOCK_NO) "s");
+module_param_array(parport,charp,NULL,0);
 
 #ifndef MODULE
 static int __init
++++++ pcfclock-no_devfs.patch ++++++
--- linux/pcfclock.c
+++ linux/pcfclock.c
@@ -49,7 +49,9 @@
 #include <linux/major.h>
 #include <linux/fs.h>
 #include <linux/sched.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
 #include <linux/devfs_fs_kernel.h>
+#endif
 #include <linux/string.h>
 #include <linux/delay.h>
 #include <linux/parport.h>
@@ -441,7 +443,9 @@
                return 1;
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
        devfs_mk_cdev(MKDEV(PCFCLOCK_MAJOR, n), S_IFCHR | S_IRUGO, 
"pcfclocks/%d", n);
+#endif
 #else
        sprintf(name, "%d", n);
        devfs_register(devfs_handle, name, DEVFS_FL_DEFAULT, PCFCLOCK_MAJOR, n, 
S_IFCHR | S_IRUGO,
@@ -508,7 +512,9 @@
                printk(KERN_ERR "pcfclock: unable to get major %d\n", 
PCFCLOCK_MAJOR);
                return -EIO;
        }
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
        devfs_mk_dir("pcfclocks");
+#endif
 #else
        if (devfs_register_chrdev(PCFCLOCK_MAJOR, "pcfclock", &pcfclock_fops)) {
                printk(KERN_ERR "pcfclock: unable to get major %d\n", 
PCFCLOCK_MAJOR);
@@ -562,10 +568,14 @@
        for (n = 0; n < PCFCLOCK_NO; n++) {
                if (pcfclock_table[n].dev != NULL) {
                        parport_unregister_device(pcfclock_table[n].dev);
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
                        devfs_remove("pcfclocks/%d", n);
+#endif
                }
        }
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
        devfs_remove("pcfclocks");
+#endif
 #else
        devfs_unregister(devfs_handle);
        devfs_unregister_chrdev(PCFCLOCK_MAJOR, "pcfclock");
++++++ pcfclock-nomodule.patch ++++++
--- linux/Makefile.in
+++ linux/Makefile.in
@@ -22,7 +22,7 @@
 VM1 := k
 endif
 
-all: modules
+all:
 
 modules: pcfclock.$(VM1)o
 
@@ -35,7 +35,7 @@
 
 check:
 
-install: install-exec install-data
+install: install-data
 
 install-exec: pcfclock.$(VM1)o
        $(mkdir_p) $(DESTDIR)$(moddir)
++++++ preamble ++++++
Enhances: kernel-%1
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to