Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ea767638d0 | ||
|
|
ef86e5391e | ||
|
|
8603d9ecdf | ||
|
|
f32df69db5 | ||
|
|
cb7e2b8d21 | ||
|
|
cae06ab9b9 | ||
|
|
79c2b8af49 |
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"
|
||||||
27
Makefile
27
Makefile
@@ -9,25 +9,26 @@
|
|||||||
# 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,xz,zlib
|
export DEPENDS = dash,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/
|
||||||
|
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 = 8
|
SLVER = 4
|
||||||
|
|
||||||
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')
|
||||||
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
SRCDIR := $(shell tar -tf $(ARCHIVE)|head -1|sed 's/\/.*//')
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \
|
export VERSION := $(shell echo $(SRCDIR)|egrep -o '\-[0-9].*'| \
|
||||||
sed 's/^-//')-$(SNAPVER)
|
sed 's/^-//')-$(SLVER)
|
||||||
|
|
||||||
DEV := $(PWD)/eudev-dev
|
DEV := $(PWD)/eudev-dev
|
||||||
DEVROOT := $(DEV)/ROOT
|
DEVROOT := $(DEV)/ROOT
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/sl/Makefile.snaplinux
|
||||||
|
|
||||||
$(SRCDIR): $(ARCHIVE)
|
$(SRCDIR): $(ARCHIVE)
|
||||||
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
@if [ '$(TYPE)' == 'application/x-bzip2' ]; then \
|
||||||
@@ -61,7 +62,6 @@ $(SRCDIR)/config.log: $(SRCDIR)/configure
|
|||||||
--with-rootprefix= \
|
--with-rootprefix= \
|
||||||
--with-rootlibdir=/lib \
|
--with-rootlibdir=/lib \
|
||||||
--enable-split-usr \
|
--enable-split-usr \
|
||||||
--disable-static \
|
|
||||||
--enable-manpages \
|
--enable-manpages \
|
||||||
--enable-rule-generator \
|
--enable-rule-generator \
|
||||||
--build=x86_64-snap-linux-gnu \
|
--build=x86_64-snap-linux-gnu \
|
||||||
@@ -80,21 +80,17 @@ $(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 && \
|
install -v -m 755 $(PWD)/SL/udevd.init $(ROOT)/etc/init.d/udevd && \
|
||||||
mv -v $(ROOT)/etc/udev/udev.conf $(ROOT)/usr/share/eudev && \
|
mv -v $(ROOT)/etc/udev/udev.conf $(CONFIGDIR)/etc/udev && \
|
||||||
install -v -m 755 $(PWD)/SNAP/udevd.init $(ROOT)/etc/init.d/udevd
|
install -v -d $(DEV)/SL $(DEVROOT) && \
|
||||||
|
for file in `find $(ROOT)|egrep 'pkgconfig\/|\.(a|h|la)$$'`; do \
|
||||||
@install -v -d $(DEV)/SNAP && \
|
|
||||||
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; \
|
||||||
done && \
|
done && \
|
||||||
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 *.slp ../
|
||||||
|
|
||||||
@install -v -d -m 755 $(ROOT)/etc/udev/rules.d
|
|
||||||
|
|
||||||
test: $(ROOT)
|
test: $(ROOT)
|
||||||
@cd $(SRCDIR); \
|
@cd $(SRCDIR); \
|
||||||
@@ -103,7 +99,8 @@ test: $(ROOT)
|
|||||||
clean:
|
clean:
|
||||||
@rm -rvf $(ROOT) \
|
@rm -rvf $(ROOT) \
|
||||||
$(DEV) \
|
$(DEV) \
|
||||||
$(SNAPINFO) \
|
$(CONFIG) \
|
||||||
|
$(SLINFO) \
|
||||||
$(MANIFEST) \
|
$(MANIFEST) \
|
||||||
$(FILES) \
|
$(FILES) \
|
||||||
$(SRCDIR)
|
$(SRCDIR)
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
DEPENDS = eudev
|
DEPENDS = eudev
|
||||||
|
REPO = dev
|
||||||
BRIEF = Development files for eudev
|
BRIEF = Development files for eudev
|
||||||
DESC = Development files for eudev
|
DESC = Development files for eudev
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/sl/Makefile.snaplinux
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
# Provides: udev $time
|
# Provides: udev $time
|
||||||
# Required-Start:
|
# Required-Start:
|
||||||
# Required-Stop:
|
# Required-Stop:
|
||||||
# Should-Start: modules mountvirtfs
|
# Should-Start: mountvirtfs
|
||||||
# Should-Stop:
|
# Should-Stop:
|
||||||
# Default-Start: S
|
# Default-Start: S
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
21
SL/usher
Executable file
21
SL/usher
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case $1 in
|
||||||
|
preinst)
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
postinst)
|
||||||
|
if [ "$(stat -c %d/%i /)" = "$(stat -Lc %d/%i \
|
||||||
|
/proc/1/root 2>/dev/null)" ]; then
|
||||||
|
/etc/init.d/udevd restart
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
prerm)
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
postrm)
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
28
SNAP/usher
28
SNAP/usher
@@ -1,28 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
case $1 in
|
|
||||||
preinst)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
postinst)
|
|
||||||
if [ ! -f ${TARGET}/etc/udev/udev.conf ]; then
|
|
||||||
install -m 644 ${TARGET}/usr/share/eudev/udev.conf \
|
|
||||||
${TARGET}/etc/udev/udev.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ! ${TARGET} ]]; then
|
|
||||||
/etc/init.d/udevd restart
|
|
||||||
update-rc enable udevd
|
|
||||||
else
|
|
||||||
chroot ${TARGET} update-rc enable udevd
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
prerm)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
postrm)
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
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-----
|
||||||
Binary file not shown.
@@ -1,17 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2
|
|
||||||
|
|
||||||
iQIcBAABCAAGBQJXTy0eAAoJEGYZIgZZJvHWUZEP/1Zla1UrClRO335ClvQZNbcQ
|
|
||||||
GiFAsAue9EbfQc6ljiYwgVZPQ0N9NzbNI7A5By+pALw0w/NQFpYMYt4MqkRoK5SH
|
|
||||||
++/GzGIePIh4/f0+C+7uoTinGYjcoOIR6OMUYIzJD+oRxWRHWVd4ZVT/5mNgwW4z
|
|
||||||
8gEl7Ayj5Zxm0rK0m2EbIoUq80vrcJJmfnYO0mAI2mv1cDKK9H76IiHg2daHy58g
|
|
||||||
Yc3rG3/sxMfEmG8w3TFaJroF8KZVJcClTKs8ijQuosFVZtNvV1H18xhhCUA2FX09
|
|
||||||
3dNvfXhS0g9Hcb/OReCxGM7Ga6sm/KUv54WIWvtO5AMj+H1TFyyxc1IA6s4ttXjs
|
|
||||||
J8VLI8DCBlFfGcid2MvVyR7bkCs350Dt++wWVhdZ3uRgqasANcfq7DuzlNfGc3bW
|
|
||||||
fI04BZhCWGhqroVq/rLmYFm8bx2ZKqqtmvMCHZeXXbgZuyP8xwelM/90zT5c27eR
|
|
||||||
41zxq+CYWLp364RyVoKqxnjcLLlAim83e5jtC5HnTZJ6+YjGUxeU6X+qv+m/nLVv
|
|
||||||
cHvpKCSoOAtLckQSf/2276QKsHA5tgjayAWGzM6Ct8GwNQmqp5vIoZMmcSMAJvQP
|
|
||||||
20kqAEuK+qWq88bT5UYUdSuSQh7JLFM77xG4kHiFs2/PjCJAYFDJsTJ0f3xKyJbJ
|
|
||||||
9pVqWMR9BcAicbtS/Ipk
|
|
||||||
=SOmd
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
Reference in New Issue
Block a user