Lines 5-11
Link Here
|
5 |
EAPI="3" |
5 |
EAPI="3" |
6 |
|
6 |
|
7 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
7 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git" |
8 |
inherit eutils toolchain-funcs libtool flag-o-matic |
8 |
inherit eutils toolchain-funcs libtool flag-o-matic systemd user |
9 |
if [[ ${PV} == "9999" ]] ; then |
9 |
if [[ ${PV} == "9999" ]] ; then |
10 |
inherit git-2 autotools |
10 |
inherit git-2 autotools |
11 |
#KEYWORDS="" |
11 |
#KEYWORDS="" |
Lines 27-33
Link Here
|
27 |
|
27 |
|
28 |
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" |
28 |
LICENSE="GPL-2 GPL-3 LGPL-2.1 BSD-4 MIT public-domain" |
29 |
SLOT="0" |
29 |
SLOT="0" |
30 |
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs +suid test udev unicode" |
30 |
IUSE="+cramfs crypt ddate ncurses nls old-linux perl selinux slang static-libs +suid test udev unicode uuidd" |
31 |
|
31 |
|
32 |
RDEPEND="!sys-process/schedutils |
32 |
RDEPEND="!sys-process/schedutils |
33 |
!sys-apps/setarch |
33 |
!sys-apps/setarch |
Lines 96-101
Link Here
|
96 |
$(use_with slang) \ |
96 |
$(use_with slang) \ |
97 |
$(use_enable static-libs static) \ |
97 |
$(use_enable static-libs static) \ |
98 |
$(use_with udev) \ |
98 |
$(use_with udev) \ |
|
|
99 |
$(use_enable uuidd) \ |
100 |
--enable-socket-activation \ |
101 |
$(systemd_with_unitdir) \ |
99 |
$(tc-has-tls || echo --disable-tls) |
102 |
$(tc-has-tls || echo --disable-tls) |
100 |
} |
103 |
} |
101 |
|
104 |
|
Lines 112-120
Link Here
|
112 |
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
115 |
newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop || die |
113 |
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die |
116 |
newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop || die |
114 |
fi |
117 |
fi |
|
|
118 |
|
119 |
if use uuidd; then |
120 |
keepdir /var/lib/uuidd |
121 |
newinitd "${FILESDIR}"/uuidd.initd uuidd || die |
122 |
fi |
115 |
} |
123 |
} |
116 |
|
124 |
|
117 |
pkg_postinst() { |
125 |
pkg_postinst() { |
118 |
elog "The agetty util now clears the terminal by default. You" |
126 |
elog "The agetty util now clears the terminal by default. You" |
119 |
elog "might want to add --noclear to your /etc/inittab lines." |
127 |
elog "might want to add --noclear to your /etc/inittab lines." |
|
|
128 |
|
129 |
if use uuidd; then |
130 |
enewgroup uuidd |
131 |
enewuser uuidd -1 -1 /var/lib/uuidd uuidd |
132 |
elog "Forcing proper permissions on" |
133 |
elog "${ROOT}var/lib/uuidd" |
134 |
chown uuidd:uuidd "${ROOT}var/lib/uuidd" || die "chown failed" |
135 |
fi |
120 |
} |
136 |
} |