-MD5 fb6edd095f9b847ae8970e7ad2cf9351 ChangeLog 7194
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 df3112dbcbe0b01f1bdb850cbf766624 ChangeLog 7881
MD5 93dd8a9d0c0f815e8445d9f0c1fc0910 metadata.xml 578
MD5 af384e4b91c105bbdc4837764112e3d7 slmodem-2.9.10-r1.ebuild 3969
-MD5 22e8b789a245c21f1158182d2d9e1ae6 slmodem-2.9.10-r2.ebuild 4098
+MD5 2474f61ea743d5e8a59d8ce672631b0f slmodem-2.9.10-r2.ebuild 3869
MD5 ccc7e1460f0678c4e3e8b8c3747834a5 files/digest-slmodem-2.9.10-r1 66
MD5 67543ad2e41e6dbc2150057340bb82b1 files/slmodem-2.9.conf 752
MD5 c80ecf5c3d5605220e4b0055850260a5 files/slmodem-2.9.devfs 786
MD5 64d03a3c87a5330faa6b8dd9d344b6a3 files/slmodem-2.9.init 2657
MD5 8834a62c67909059cef10887bfbcc853 files/slmodem-2.9.modules 494
MD5 026f2e2fae1fbd999455b36630164a88 files/slmodem-2.9.10-usb_endpoint_halted-gentoo.patch 830
+MD5 a5c2c40e3a6c4665033c97bb9088f03d files/slusb.hotplug 262
MD5 ccc7e1460f0678c4e3e8b8c3747834a5 files/digest-slmodem-2.9.10-r2 66
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBvy8cjtv59x0+BrURAkBdAKDvvZkOojAIZmjixK1iNTm43jrBfACgx3Uw
+VGdjVUFyndwqcfp1vwjZDbA=
+=kC0y
+-----END PGP SIGNATURE-----
+++ /dev/null
-diff -Nru slmodem-2.9.10.orig/Makefile slmodem-2.9.10/Makefile
---- slmodem-2.9.10.orig/Makefile 2004-08-08 16:27:51.000000000 +0300
-+++ slmodem-2.9.10/Makefile 2004-09-29 23:49:21.601948472 +0300
-@@ -13,7 +13,9 @@
- #
- ###########################################################################
-
--KERNEL_DIR:=/lib/modules/$(shell uname -r)/build
-+KERNEL_VER:=$(shell uname -r)
-+KERNEL_DIR:=/lib/modules/$(KERNEL_VER)/build
-+KERNEL_OUTPUT_DIR:=$(KERNEL_DIR)
-
- # tools
- INSTALL:=install
-@@ -29,21 +31,25 @@
- $(RM) -rf ${DESTDIR}/var/lib/slmodem
- $(INSTALL) -d -D -m 755 ${DESTDIR}/var/lib/slmodem
-
-+install-test:
-+ $(INSTALL) -D -m 755 modem/modem_test ${DESTDIR}/usr/sbin/modem_test
-+
- uninstall: uninstall-drivers
- $(RM) ${DESTDIR}/usr/sbin/slmodemd
- $(RM) -rf ${DESTDIR}/var/lib/slmodem
-
- drivers:
-- $(MAKE) -C drivers KERNEL_DIR=$(KERNEL_DIR)
-+ $(MAKE) -C drivers
-
- install-drivers: drivers
-- $(MAKE) install -C drivers KERNEL_DIR=$(KERNEL_DIR)
-+ $(MAKE) install -C drivers
-+
- uninstall-drivers:
-- $(MAKE) uninstall -C drivers KERNEL_DIR=$(KERNEL_DIR)
-+ $(MAKE) uninstall -C drivers
-
- # misc rules
- sub-dirs:= modem drivers
--.PHONY: $(sub-dirs) all old clean dep install
-+.PHONY: $(sub-dirs) all old clean dep install install-drivers install-test uninstall-drivers
- clean dep: %: %-sub-dirs
- %-sub-dirs:
- $(foreach dir,$(sub-dirs),$(MAKE) -C $(dir) $(patsubst %-sub-dirs,%,$@) && ) echo "done."
-diff -Nru slmodem-2.9.10.orig/drivers/Makefile slmodem-2.9.10/drivers/Makefile
---- slmodem-2.9.10.orig/drivers/Makefile 2003-12-21 23:15:54.000000000 +0200
-+++ slmodem-2.9.10/drivers/Makefile 2004-09-29 23:50:09.901605808 +0300
-@@ -16,9 +16,17 @@
- #KBUILD_VERBOSE=1
- #export KBUILD_VERBOSE
-
--KERNEL_DIR:=/lib/modules/$(shell uname -r)/build
-+ifndef KERNEL_VER
-+KERNEL_VER:=$(shell uname -r)
-+endif
-+ifndef KERNEL_DIR
-+KERNEL_DIR:=/lib/modules/$(KERNEL_VER)/build
-+endif
-+ifndef KERNEL_OUTPUT_DIR
-+KERNEL_OUTPUT_DIR:=$(KERNEL_DIR)
-+endif
-
--EXTRA_CFLAGS = -I$(obj) -I$(obj)/../modem
-+EXTRA_CFLAGS+= -I$(obj) -I$(obj)/../modem
-
- obj-m := slamr.o slusb.o
-
-@@ -28,39 +36,35 @@
- ifndef KERNELRELEASE
- ifndef KERNEL_VER
-
--all install uninstall: kernel-ver
-- $(MAKE) $@ KERNEL_VER=$(shell ./kernel-ver)
-+all install uninstall:
-+ $(MAKE) $@
-
- install: install-devices
- uninstall: remove-devices
-
--kernel-ver::
-+kernel-ver:
- $(CC) -I$(KERNEL_DIR)/include -o $@ $@.c
-
--dep:
--clean:
-- $(RM) kernel-ver $(obj-m) $(obj-m:.o=.ko) *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
--
- install-devices:
- mkdir -p ${DESTDIR}/dev
- $(foreach minor,0 1 2 3, \
- mknod -m 600 ${DESTDIR}/dev/slamr$(minor) c 212 $(minor) ; ) echo -n
- $(foreach minor,0 1 2 3, \
- mknod -m 600 ${DESTDIR}/dev/slusb$(minor) c 213 $(minor) ; ) echo -n
-+
- remove-devices:
-- $(foreach minor,0 1 2 3, \
-- $(RM) ${DESTDIR}/dev/slamr$(minor) ; ) echo -n
-- $(foreach minor,0 1 2 3, \
-- $(RM) ${DESTDIR}/dev/slusb$(minor) ; ) echo -n
-+ $(RM) ${DESTDIR}/dev/slamr[0-3] ; ) echo -n
-+ $(RM) ${DESTDIR}/dev/slusb[0-3] ; ) echo -n
-
- else
- ifeq ($(findstring 2.4,$(KERNEL_VER)),2.4)
-+# 2.4 kernel
-
- slusb-objs:= old_st7554.o
- obj:=.
- module-dir:=${DESTDIR}/lib/modules/$(KERNEL_VER)/misc
-
--CFLAGS:= -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include $(KERNEL_DIR)/include/linux/modversions.h -I$(KERNEL_DIR)/include
-+EXTRA_CFLAGS+= -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include $(KERNEL_DIR)/include/linux/modversions.h -I$(KERNEL_DIR)/include
-
- all: $(obj-m)
-
-@@ -69,13 +73,17 @@
- slamr.o slusb.o:
- $(LD) -r -o $@ $^
-
--install: uninstall-old
-+install: install-modules
-+ mkdir -p $(DESTDIR)/etc && \
-+ cp /etc/modules.conf $(DESTDIR)/etc/modules.conf.slamr && \
-+ echo 'alias char-major-212 slamr' >> $(DESTDIR)/etc/modules.conf && \
-+ echo 'alias char-major-213 slusb' >> $(DESTDIR)/etc/modules.conf
-+# /sbin/depmod -a
-+
-+install-modules: uninstall-old
- install -D -m 644 slamr.o $(module-dir)/slamr.o
- install -D -m 644 slusb.o $(module-dir)/slusb.o
-- cp /etc/modules.conf /etc/modules.conf.slamr && \
-- echo 'alias char-major-212 slamr' >> /etc/modules.conf && \
-- echo 'alias char-major-213 slusb' >> /etc/modules.conf
-- /sbin/depmod -a
-+
- uninstall:
- /sbin/modprobe -r slamr slusb
- cp /etc/modules.conf /etc/modules.conf.slamr && \
-@@ -83,6 +91,7 @@
- $(RM) $(module-dir)/slamr.o
- $(RM) $(module-dir)/slusb.o
- /sbin/depmod -a
-+
- uninstall-old:
- $(RM) $(module-dir)/slmdm.o \
- $(module-dir)/slfax.o \
-@@ -94,15 +103,18 @@
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -o $@ -c $<
-
- else
-+# 2.6 Kernel
-+
-+EXTRA_CFLAGS+=-I $(KERNEL_INCLUDE_DIR) -I .
-
- module-dir:=${DESTDIR}/lib/modules/$(KERNEL_VER)/extra
-
- all:
-- $(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd)
-+ $(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) O=$(KERNEL_OUTPUT_DIR)
- install:
- install -D -m 644 slamr.ko $(module-dir)/slamr.ko
- install -D -m 644 slusb.ko $(module-dir)/slusb.ko
-- /sbin/depmod -a
-+# /sbin/depmod -a
- uninstall:
- modprobe -r slamr ; echo -n
- modprobe -r slusb ; echo -n
-@@ -114,6 +126,12 @@
- endif
- endif
-
-+dep:
-+clean:
-+ $(RM) kernel-ver $(obj-m) $(obj-m:.o=.ko) *st7554.o amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
-+
- $(obj)/amrlibs.o:
- echo "$@ done"
-
-+
-+.PHONY: install install-modules uninstall-old install-devices remove-devices all
-diff -Nru slmodem-2.9.10.orig/modem/Makefile slmodem-2.9.10/modem/Makefile
---- slmodem-2.9.10.orig/modem/Makefile 2003-11-20 14:50:47.000000000 +0200
-+++ slmodem-2.9.10/modem/Makefile 2004-09-29 23:49:21.602948320 +0300
-@@ -16,8 +16,7 @@
- CC:= gcc
- RM:= rm -f
-
--CFLAGS:= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM
--
-+EXTRA_CFLAGS+= -I. -DCONFIG_DEBUG_MODEM
-
- modem-objs:= \
- modem.o modem_datafile.o modem_at.o modem_timer.o \
-@@ -32,13 +31,13 @@
- modem_test: modem_test.o modem_cmdline.o $(modem-objs) $(dp-objs) dsplibs.o $(sysdep-objs)
-
- #SUPPORT_ALSA:=1
--ifdef SUPPORT_ALSA
-+ifeq ($(SUPPORT_ALSA),1)
- slmodemd: -lasound
--CFLAGS+= -DSUPPORT_ALSA=1
-+EXTRA_CFLAGS+= -DSUPPORT_ALSA=1
- endif
-
- slmodemd modem_test:
-- $(CC) -o $@ $^
-+ $(CC) $(EXTRA_CFLAGS) -o $@ $^
-
- clean:
- $(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs)