@ -0,0 +1,95 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: package/.../hotplug2/destdir.patch |
||||
|
# Copyright (C) 2007 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# This patch file is dual-licensed. It is available under the license the |
||||
|
# patched project is licensed under, as long as it is an OpenSource license |
||||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or 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. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
--- ./docs/Makefile.orig 2007-06-10 12:42:15.000000000 -0400
|
||||
|
+++ ./docs/Makefile 2007-06-10 12:43:57.000000000 -0400
|
||||
|
@@ -2,12 +2,13 @@
|
||||
|
|
||||
|
BINS= |
||||
|
SUBDIRS= |
||||
|
-
|
||||
|
+DESTDIR=
|
||||
|
+MANDIR=/usr/share/man
|
||||
|
|
||||
|
all: |
||||
|
|
||||
|
install: |
||||
|
- $(INSTALL) $(wildcard *.8) /usr/share/man/man8/
|
||||
|
+ $(INSTALL) $(wildcard *.8) $(DESTDIR)$(MANDIR)/man8/
|
||||
|
|
||||
|
|
||||
|
include ../common.mak |
||||
|
--- ./Makefile.orig 2007-06-10 12:41:27.000000000 -0400
|
||||
|
+++ ./Makefile 2007-06-10 12:41:57.000000000 -0400
|
||||
|
@@ -2,12 +2,13 @@
|
||||
|
|
||||
|
BINS=hotplug2 hotplug2-dnode |
||||
|
SUBDIRS=linux24_compat docs examples |
||||
|
+DESTDIR=
|
||||
|
|
||||
|
|
||||
|
all: $(BINS) |
||||
|
|
||||
|
install: |
||||
|
- $(INSTALL_BIN) $(BINS) /sbin/
|
||||
|
+ $(INSTALL_BIN) $(BINS) $(DESTDIR)/sbin/
|
||||
|
|
||||
|
|
||||
|
hotplug2: hotplug2.o childlist.o mem_utils.o rules.o |
||||
|
--- ./linux24_compat/Makefile.orig 2007-06-10 12:45:14.000000000 -0400
|
||||
|
+++ ./linux24_compat/Makefile 2007-06-10 12:45:38.000000000 -0400
|
||||
|
@@ -2,13 +2,14 @@
|
||||
|
|
||||
|
BINS=generate_alias hotplug2-coldplug-2.4 hotplug2-modwrap |
||||
|
SUBDIRS= |
||||
|
+DESTDIR=
|
||||
|
|
||||
|
|
||||
|
all: $(BINS) |
||||
|
|
||||
|
install: |
||||
|
- $(INSTALL_BIN) hotplug2-coldplug-2.4 hotplug2-modwrap /sbin/
|
||||
|
- $(INSTALL_BIN) generate_alias /usr/sbin/
|
||||
|
+ $(INSTALL_BIN) hotplug2-coldplug-2.4 hotplug2-modwrap $(DESTDIR)/sbin/
|
||||
|
+ $(INSTALL_BIN) generate_alias $(DESTDIR)/usr/sbin/
|
||||
|
|
||||
|
|
||||
|
hotplug2-coldplug-2.4: hotplug2-coldplug-2.4.o ../parser_utils.o ../filemap_utils.o ../mem_utils.o |
||||
|
--- ./examples/Makefile.orig 2007-06-10 12:44:09.000000000 -0400
|
||||
|
+++ ./examples/Makefile 2007-06-10 12:47:48.000000000 -0400
|
||||
|
@@ -2,17 +2,19 @@
|
||||
|
|
||||
|
BINS= |
||||
|
SUBDIRS= |
||||
|
+DESTDIR=
|
||||
|
+KERNELVER=`uname -r`
|
||||
|
|
||||
|
|
||||
|
all: |
||||
|
|
||||
|
install: |
||||
|
- case "`uname -r`" in \
|
||||
|
+ case "$(KERNELVER)" in \
|
||||
|
2.6.*) \ |
||||
|
- $(INSTALL) hotplug2.rules-2.6kernel /etc/hotplug2.rules \
|
||||
|
+ $(INSTALL) hotplug2.rules-2.6kernel $(DESTDIR)/etc/hotplug2.rules \
|
||||
|
;; \ |
||||
|
*) \ |
||||
|
- $(INSTALL) hotplug2.rules-2.4kernel /etc/hotplug2.rules \
|
||||
|
+ $(INSTALL) hotplug2.rules-2.4kernel $(DESTDIR)/etc/hotplug2.rules \
|
||||
|
;; \ |
||||
|
esac |
||||
|
|
@ -0,0 +1,17 @@ |
|||||
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
# |
||||
|
# Filename: package/.../hotplug2/hotplug2.conf |
||||
|
# Copyright (C) 2007 The OpenSDE Project |
||||
|
# |
||||
|
# More information can be found in the files COPYING and README. |
||||
|
# |
||||
|
# This program 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; version 2 of the License. A copy of the |
||||
|
# GNU General Public License can be found in the file COPYING. |
||||
|
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
pkgprefix -t linux-header |
||||
|
|
||||
|
var_append makeinstopt ' ' "KERNELVER=$( pkgprefix ver linux-header )" |
@ -0,0 +1,35 @@ |
|||||
|
[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
|
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
|
[COPY] |
||||
|
[COPY] Filename: package/.../hotplug2/hotplug2.desc |
||||
|
[COPY] Copyright (C) 2007 The OpenSDE Project |
||||
|
[COPY] |
||||
|
[COPY] More information can be found in the files COPYING and README. |
||||
|
[COPY] |
||||
|
[COPY] This program is free software; you can redistribute it and/or modify |
||||
|
[COPY] it under the terms of the GNU General Public License as published by |
||||
|
[COPY] the Free Software Foundation; version 2 of the License. A copy of the |
||||
|
[COPY] GNU General Public License can be found in the file COPYING. |
||||
|
[COPY] --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
|
||||
|
[I] A tiny udev/hotplug replacement for early userspace and weak boxes |
||||
|
|
||||
|
[T] Hotplug2 is aimed at early Linux user space, i. E. Initramfs or initrd, |
||||
|
[T] and possibly also at embedded devices (such as WRT-like routers) or |
||||
|
[T] very weak machines, such as 386/486. It connects to the uevent netlink |
||||
|
[T] socket and reads events. The application generally operates in two modes: |
||||
|
[T] dumb and smart. |
||||
|
|
||||
|
[U] http://isteve.bofh.cz/~isteve/hotplug2/ |
||||
|
|
||||
|
[A] iSteve <deadcd@bofh.cz> |
||||
|
[M] Alejandro Mery <amery@opensde.org> |
||||
|
|
||||
|
[C] extra/tool |
||||
|
|
||||
|
[L] GPL |
||||
|
[S] Beta |
||||
|
[V] 0.9 |
||||
|
[P] X -1---5---9 800.000 |
||||
|
|
||||
|
[D] 2614571654 hotplug2-0.9.tar.gz http://isteve.bofh.cz/~isteve/hotplug2/ |