Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f32df69db5 | ||
|
|
cb7e2b8d21 |
3
CONFIG/etc/udev/udev.conf
Normal file
3
CONFIG/etc/udev/udev.conf
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# see udev.conf(5) for details
|
||||||
|
|
||||||
|
#udev_log="info"
|
||||||
16
Makefile
16
Makefile
@@ -9,14 +9,14 @@
|
|||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
export SRCPKG = eudev
|
export SRCPKG = eudev
|
||||||
export DEPENDS = glibc,kmod,util-linux
|
export DEPENDS = glibc,initscripts,kmod,mkinitramfs,util-linux
|
||||||
export ARCH = x86_64
|
export ARCH = x86_64
|
||||||
export URL = http://www.gentoo.org/proj/en/eudev/
|
export URL = http://www.gentoo.org/proj/en/eudev/
|
||||||
export REPO = core
|
export REPO = core
|
||||||
BRIEF = Fork of udev
|
BRIEF = Fork of udev
|
||||||
DESC = eudev is a fork of system-udev with the goal of obtaining better \
|
DESC = eudev is a fork of system-udev with the goal of obtaining better \
|
||||||
compatibility with existing software
|
compatibility with existing software
|
||||||
SNAPVER = 0
|
SNAPVER = 1
|
||||||
|
|
||||||
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
ARCHIVE := $(PWD)/SRC/$(shell ls SRC|egrep '(bz2|gz|tar|xz)$$'|tail -1)
|
||||||
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
TYPE := $(shell file -ib $(ARCHIVE)|cut -d';' -f1|tr -d '\n')
|
||||||
@@ -80,14 +80,10 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
|
|||||||
|
|
||||||
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
@cd $(SRCDIR) && make install DESTDIR=$(ROOT) && \
|
||||||
install -v -d -m 755 $(ROOT)/etc/init.d && \
|
install -v -d -m 755 $(ROOT)/etc/init.d && \
|
||||||
install -v -d -m 755 $(ROOT)/usr/share/eudev && \
|
|
||||||
mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \
|
|
||||||
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd && \
|
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd && \
|
||||||
install -v -m 644 $(PWD)/SNAP/udev.conf $(ROOT)/etc/udev/udev.conf
|
mv -v $(ROOT)/etc/udev/udev.conf $(CONFIGDIR)/etc/udev && \
|
||||||
|
install -v -d $(DEV)/SNAP $(DEVROOT) && \
|
||||||
@install -v -d $(DEV)/SNAP && \
|
for file in `find $(ROOT)|egrep 'pkgconfig\/|\.(a|h|la)$$'`; do \
|
||||||
install -v -d $(DEVROOT) && \
|
|
||||||
for file in `find $(ROOT)|egrep 'pkgconfig\/|\.a$$|\.h$$'`; do \
|
|
||||||
path=`dirname $$file|sed "s[$(ROOT)[$(DEVROOT)["`; \
|
path=`dirname $$file|sed "s[$(ROOT)[$(DEVROOT)["`; \
|
||||||
mkdir -p $$path; \
|
mkdir -p $$path; \
|
||||||
mv $$file $$path; \
|
mv $$file $$path; \
|
||||||
@@ -95,7 +91,6 @@ $(ROOT): $(SRCDIR)/src/udev/udevd
|
|||||||
find $(ROOT) -type d -empty -delete && \
|
find $(ROOT) -type d -empty -delete && \
|
||||||
cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../
|
cd $(DEV) && make -f ../Makefile.eudev-dev && mv *.snap ../
|
||||||
|
|
||||||
@install -v -d -m 755 $(ROOT)/etc/udev/rules.d
|
|
||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
@cd $(SRCDIR); \
|
@cd $(SRCDIR); \
|
||||||
@@ -104,6 +99,7 @@ test: $(ROOT)
|
|||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
$(DEV) \
|
$(DEV) \
|
||||||
|
$(CONFIG) \
|
||||||
$(SNAPINFO) \
|
$(SNAPINFO) \
|
||||||
$(MANIFEST) \
|
$(MANIFEST) \
|
||||||
$(FILES) \
|
$(FILES) \
|
||||||
|
|||||||
@@ -7,17 +7,10 @@ case $1 in
|
|||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
postinst)
|
postinst)
|
||||||
if [ ! -f /etc/udev/udev.conf ]; then
|
|
||||||
install -m 644 /usr/share/eudev/udev.conf /etc/udev/udev.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i \
|
if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i \
|
||||||
/proc/1/root 2>/dev/null)" ]; then
|
/proc/1/root 2>/dev/null)" ]; then
|
||||||
/etc/init.d/udevd restart
|
/etc/init.d/udevd restart
|
||||||
fi
|
fi
|
||||||
|
|
||||||
update-rc enable udevd
|
|
||||||
mkinitramfs all
|
|
||||||
;;
|
;;
|
||||||
prerm)
|
prerm)
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
BIN
SRC/eudev-3.2.5.tar.gz
Normal file
BIN
SRC/eudev-3.2.5.tar.gz
Normal file
Binary file not shown.
16
SRC/eudev-3.2.5.tar.gz.asc
Normal file
16
SRC/eudev-3.2.5.tar.gz.asc
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEEVKVXV4hOAGiOehcIMhihcsqc8PgFAloUvhMACgkQMhihcsqc
|
||||||
|
8Pgbwg/9EtMrq4YbNZ3jI4Hy6UwBBw5nIbrbSbVi9fKS/VmRFWP3+A3nQz0mmoqK
|
||||||
|
HOiP+qKszIJTDyptPbZeWzKUkkIiu5Id/n+t3CBaU5moKJPzCAN95ZD2t8/YK5GC
|
||||||
|
20PvHS50mTtkJtOvRpix3rBIO+y5UIJiQxZrISmNWE50KF6+6cC/sldAYaHy8VwD
|
||||||
|
19e7Fwa3DFsScs26KPEl1eX2R4vn+dggLFJWbiwTgd8Ymh7yUuEuWTU5+6Vz10wl
|
||||||
|
gvqhm+arVUUqK2jM6SUt3LZ+zqxR0VczBzP0TNbDcDylX8RirQMWekOM8bdCixJ5
|
||||||
|
IWEgp5NQGBtYM2jlKVV+cwxPUZgrKeAvjSE5SoWCnoT/bfKvee8kXTmyk/prISF6
|
||||||
|
ISdePTyDPkeABwfVCREtCmCA7OKkuv7dOg5NpMEodzUAk9fz7a2Ku8Wia2GPghNY
|
||||||
|
YGOK3ood3G5SuMRE7FF6tHiQDReCYGHlD5RIaQ6psm2J0UaehiLUJYXULLqyJBo9
|
||||||
|
993XZrOzMls/P0L+ojbzqHsQJC5u/uCbRhilp3PCwCGHwsXu2SHl+PaPFtWXF2ST
|
||||||
|
YH9j7LDfapKCPMNsSvmQXAONGW1cMG1soMVWlT3cZGjxn8K0GDbps9eZ498FQ5T+
|
||||||
|
pyiJhNkngSjCVpW/xm3jfdcStHig30XjQCXtJ2+Fzwv+Q375YQI=
|
||||||
|
=8B/y
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
Reference in New Issue
Block a user