aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsyc://psyced.org/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:07 +0000
committerpsyc://psyced.org/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:07 +0000
commit20d99972e3b7dcf1b704112a01d01d7efe3beb6d (patch)
treeaf8f8f653ce09f24d6fa72e1ed380fadb18535c9
parentf3fdba9c9b9fd6420872abb44e61b4af035f3e84 (diff)
downloadyoubroketheinternet-overlay-master.tar.gz
youbroketheinternet-overlay-master.zip
-rm guixHEADmaster
-rw-r--r--sys-apps/guix-bin/Manifest4
-rwxr-xr-xsys-apps/guix-bin/files/guix83
-rw-r--r--sys-apps/guix-bin/guix-bin-0.10.0.ebuild133
-rw-r--r--sys-apps/guix/Manifest2
-rwxr-xr-xsys-apps/guix/files/guix82
-rw-r--r--sys-apps/guix/guix-0.11.0.ebuild101
6 files changed, 0 insertions, 405 deletions
diff --git a/sys-apps/guix-bin/Manifest b/sys-apps/guix-bin/Manifest
deleted file mode 100644
index b198899..0000000
--- a/sys-apps/guix-bin/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
1DIST guix-binary-0.10.0.armhf-linux.tar.xz 41723688 SHA256 80f4897a4edc57995fd96e64af62a940699b5e1d75599d98c3842cfe1c1c836e SHA512 b13c18706323be41161c0cdf61310057c57727232e3f0277c77fb892f25c31231bef5308ce41a96ccd5ed1bc9953af7383fb2afd7a15acadcf2959f96bb9778c WHIRLPOOL 307a4bc5f3e3b7ad17bae4f4abb3f0206f4d7b1064d617cf0f034d31337d54abf4c1be04624f4502f06d63d502a19ee78324679e3ecc0d61b32ba3a3c14c92c0
2DIST guix-binary-0.10.0.i686-linux.tar.xz 45237448 SHA256 045b78e3caddac15d6fa66fbc46f8e4c69d15a433c47c6447d8fa87a351925a8 SHA512 5923440d914177bbc02f7171ba3b3edb7b39e2c7a03e04028e6640ce38d793579f7cec39803001ac2cdd3f972b4b0b316213f672614449cd7b746a44627c1f8f WHIRLPOOL a02f4b508399401a75a9671158dbdca5cb6ddc1dac08369c7410d884d32b9340359ec1fdc303f8a61254faa3c737d6a63def244105c577314daa3d2f9f330fdb
3DIST guix-binary-0.10.0.mips64el-linux.tar.xz 42538916 SHA256 fcd525a9047bb82c03f830328bd9bfb47c467c7f4e50c0b24c6717bc5964cad4 SHA512 95b58c604a7dc1788d32c15832c34ded475978013f047f74c202293cf7a7cb9111e467b4d357de4788433ea191544dc551472ab277ff3598225c9dc7e08b289f WHIRLPOOL 95a3e8e448b6e08ecaca284bbecb62c593c024f8e15a580f1a7b0c8d0b4328cda124f7d3d8a33e08cb4385f34a6e9f36b6f558eb995f0ca5b8d88cdbc3b498e7
4DIST guix-binary-0.10.0.x86_64-linux.tar.xz 45320700 SHA256 b46cd525102c6189f160bde392a31bb61e3b94fd7bf109885803e6d9a32f2ed3 SHA512 4abcb9de3665b1a5a2d01a9992c82a5b094afe7fd5d393100de826af9d21c7ec32b97590a74918d208bb7fe574e88d2d7e6972ed2f77ba8398fab7020e7e1b7c WHIRLPOOL d0b1b0b2a4510aa4cb9f238f689e97a9857ea9db1987c5498d2fe99f704735dd8aefd2594038256422028f99c10c0b8d0fd61526aa8d644c83dd71915500db35
diff --git a/sys-apps/guix-bin/files/guix b/sys-apps/guix-bin/files/guix
deleted file mode 100755
index b9e721e..0000000
--- a/sys-apps/guix-bin/files/guix
+++ /dev/null
@@ -1,83 +0,0 @@
1#!/sbin/openrc-run
2# Copyright 2016 the youbroketheinternet-overlay team
3# Distributed under the terms of the GNU General Public License v2 or later
4
5PIDFILE=/var/run/guix/guix-daemon.pid
6#GRACEFUL_TIMEOUT=${GRACEFUL_TIMEOUT:-60}
7#extra_commands="checkconfig"
8description="The GNU Guix Daemon"
9
10depend() {
11 need net
12}
13
14#SUID_ROOT_HELPERS="guix guix-daemon"
15#
16#chmodown_execbin() {
17# if [ -x $1 ]; then
18# if [ "$3" ]; then
19# chown $3 $1 2>/dev/null && chmod $2 $1
20# else
21# chmod $2 $1
22# fi
23# fi
24#}
25#
26#checkconfig() {
27# for helper in $SUID_ROOT_HELPERS; do
28# chmodown_execbin ${libexec}
29
30start() {
31 checkpath -d -m 0755 -o :guixbuild /var/run/guix
32 ebegin "Starting Guix"
33 #start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --exec /usr/bin/guix-daemon -- --build-users-group=guixbuild --listen=/var/lib/guix/daemon-socket/socket --substitute-urls='https://mirror.hydra.gnu.or https://hydra.gnu.org' > /dev/null 2>&1
34 start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --exec /usr/bin/guix-daemon -- --build-users-group=guixbuild --listen=/var/lib/guix/daemon-socket/socket > /dev/null 2>&1
35 eend $?
36}
37
38#start() {
39# local piddir=$(dirname ${PIDFILE})
40# if [ ! -d ${piddir} ] ; then
41# ebegin "Making ${piddir}"
42# eend $?
43# ebegin "Changing permissions of ${piddir}"
44# chown :guixbuild ${piddir}
45# eend $?
46# fi
47#
48# ebegin "Starting ${SVCNAME}"
49# start-stop-daemon --start --name guix-daemon --pidfile ${PIDFILE} \
50# --exec /usr/bin/guix-daemon -- --debug --build-users-group=guixbuild
51# eend $?
52#}
53
54stop() {
55 ebegin "Stopping Guix"
56 start-stop-daemon --stop --pidfile "${PIDFILE}" --exec /usr/bin/guix-daemon
57 #start-stop-daemon --stop --signal QUIT --pidfile "${PIDFILE}"
58 sleep 1
59 #killall guix-daemon
60 #sleep 1
61 eend $?
62}
63
64#stop() {
65# ebegin "Stopping ${SVCNAME}"
66# start-stop-daemon --stop --signal QUIT --pidfile ${PIDFILE}
67# sleep 1
68# killall guix-daemon
69# sleep 1
70# eend $?
71#}
72
73#[Unit]
74#Description=Build daemon for GNU Guix
75#
76#[Service]
77#ExecStart=/usr/bin/guix-daemon --build-users-group=guixbuild
78#RemainAfterExit=yes
79#StandardOutput=syslog
80#StandardError=syslog
81#
82#[Install]
83#WantedBy=multi-user.target
diff --git a/sys-apps/guix-bin/guix-bin-0.10.0.ebuild b/sys-apps/guix-bin/guix-bin-0.10.0.ebuild
deleted file mode 100644
index 1286b98..0000000
--- a/sys-apps/guix-bin/guix-bin-0.10.0.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
1# Copyright 1999-2016 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=5
5
6inherit user eutils
7
8DESCRIPTION="The GNU Guix Package Manager."
9HOMEPAGE="https://www.gnu.org/s/guix"
10SRC_URI="amd64? ( mirror://gnu-alpha/guix/${P}ary.x86_64-linux.tar.xz )
11 x86? ( mirror://gnu-alpha/guix/${P}ary.i686-linux.tar.xz )
12 mips? ( mirror://gnu-alpha/guix/${P}ary.mips64el-linux.tar.xz )
13 arm? ( mirror://gnu-alpha/guix/${P}ary.armhf-linux.tar.xz )"
14RESTRICT="mirror"
15
16LICENSE="GPL-3"
17SLOT="0"
18KEYWORDS="~amd64 ~x86 ~mips ~arm"
19IUSE=""
20S="${WORKDIR}"
21
22# setup process...
23# As root, run:
24# cd /tmp (download directory)
25# tar --warning=no-timestamp -xf guix-binary-0.10.0.system.tar.xz
26# mv var/guix /var/ && mv gnu /
27# Make root's profile available under ~/.guix-profile:
28# ln -sf /var/guix/profiles/per-user/root/guix-profile ~root/.guix-profile
29# Create the group and user accounts for build users
30# Run the daemon, and set it to automatically start on boot.
31# Make the guix command available to other users on the machine, for instance with:
32# mkdir -p /usr/local/bin
33# cd /usr/local/bin
34# ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix
35# It is also a good idea to make the Info version of this manual available there:
36# mkdir -p /usr/local/share/info
37# cd /usr/local/share/info
38# for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;
39# do ln -s $i ; done
40#
41# this finishes root level setup rest see postsetup notes
42
43DEPEND="!sys-apps/guix
44 >=dev-scheme/guile-2.0.11[networking]
45 dev-libs/libgcrypt
46 >=dev-db/sqlite-3.0
47 app-arch/bzip2
48 sys-devel/gcc
49 sys-devel/automake
50 sys-devel/gettext
51 >=net-libs/gnutls-3.3.22-r2[guile]"
52#FIXME: gcc's g++ with support for the c++11 standard ?
53#FIXME: dev-scheme/guile-json -> package this.
54RDEPEND="${DEPEND}"
55
56pkg_setup() {
57 enewgroup guixbuild
58 g=0
59 for i in `seq -w 0 9`;
60 do
61 enewuser guixbld$i -1 -1 /var/empty guixbuild;
62 if [ $g == 0 ]; then
63 g="guixbld$i"
64 else
65 g="$g,guixbld$i"
66 fi
67 done
68 # For some strange reason all of the generated
69 # user ids need to be listed in /etc/group even though
70 # they were created with the correct group. This is a
71 # command that patches the /etc/group file accordingly,
72 # but it expects perl to be installed. If you don't have
73 # perl installed, you have to do this manually. Adding a
74 # dependency for this is inappropriate.
75 perl -pi~ -e 's/^(guixbuild:\w+:\d+):$/\1:'$g'/' /etc/group
76}
77
78src_unpack() {
79 unpack ${A}
80 cd "${S}"
81}
82
83src_install() {
84 insinto /var
85 doins -r var/guix
86 insinto /
87 doins -r gnu
88 #dosym /var/guix/profiles/per-user/root/guix-profile ~root/.guix-profile
89 #if use systemd; then
90 # insinto /etc/systemd/system
91 # ~root/.guix-profile/lib/systemd/system/guix-daemon.service
92 #else
93 # insinto /etc/init.d
94 # $FILESDIR/guix-daemon
95 #fi
96 ###dosym /var/guix/profiles/per-user/root/guix-profile/bin/guix /usr/local/bin/guix
97 ##dobin /var/guix/profile/per-user/root/guix-profile/bin/guix
98 #FIXME: add info pages.
99 # mkdir -p /usr/local/bin
100 # cd /usr/local/bin
101 # ln -s /var/guix/profiles/per-user/root/guix-profile/bin/guix
102 # It is also a good idea to make the Info version of this manual available there:
103 #mkdir -p /usr/local/share/info
104 # cd /usr/local/share/info
105 # for i in /var/guix/profiles/per-user/root/guix-profile/share/info/* ;
106 # do ln -s $i ; done
107 #
108 # this finishes root level setup rest see postsetup notes
109
110}
111
112# To use substitutes from hydra.gnu.org or one of its mirrors (see Substitutes), authorize them:
113# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
114# (or on gentoo??: /usr/share/guix/hydra.gnu.org.pub)
115
116pkg_postinst() {
117 einfo "You have to run the following to enable substitutes from"
118 einfo "hydra.gnu.org or one of its mirrors:"
119 einfo "guix archive --authorize < /usr/share/guix/hydra.gnu.org.pub"
120 einfo "After you started the daemon (for example openrc service) you"
121 einfo "can test functionality with:"
122 einfo "guix pull ; guix package -i hello"
123 einfo ""
124 einfo "You have to consult the GNU Guix manual to finish the setup."
125 einfo ""
126 einfo "!!! It is required [read: mandatory] to read the"
127 einfo "!!! documentation for further understanding."
128 einfo "!!! Failing to read the documentation will break your"
129 einfo "!!! installed guix. This is not a package which is"
130 einfo "!!! supposed to be upgraded or maintained through Gentoo,"
131 einfo "!!! this package was just an entry point."
132
133}
diff --git a/sys-apps/guix/Manifest b/sys-apps/guix/Manifest
deleted file mode 100644
index dd4ca49..0000000
--- a/sys-apps/guix/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
1DIST guix-0.10.0.tar.gz 15316453 SHA256 7651a4025fe9798947e16d671b74d49a434dd4238cefbfc82411df753c778a34 SHA512 1fae1ae621a7fcbad6411c3b2b6353dfafa4ddccc89532dc68a358b511aad0f35012a96ab95dd31ecaf8116bb5af329db48fe9064d2a198babe5435a1c66f736 WHIRLPOOL 859a24f5e5d206a1b99086916ee27b141fb6e9489db2827099edfaa9d7d426af57b02ae8bf905da180630ed291905e6079f7d48e0149dd0fd319ab7a37bdb9ce
2DIST guix-0.11.0.tar.gz 15759698 SHA256 232d7625240045903293fba746cbca7f898c78e28e553df967eae046f65d99b3 SHA512 06b1ef7cc1a80151547273948c459e22037612b0c21d42106339aab0e0980f78fe8dd3857bad7fce79852d82a8654654629fcaa90b9b056e2cbc89b1386117e0 WHIRLPOOL b7a9d8cc02e94c3f6f40efa1da4d1a03cc3b3923d13d0c8a25e5761ec56a62beed8499c58b4594ca375787056163fecc0d2a33a942b38b41daa2addc4cbfbd7d
diff --git a/sys-apps/guix/files/guix b/sys-apps/guix/files/guix
deleted file mode 100755
index 4950d04..0000000
--- a/sys-apps/guix/files/guix
+++ /dev/null
@@ -1,82 +0,0 @@
1#!/sbin/openrc-run
2# Copyright 2016 the youbroketheinternet-overlay team
3# Distributed under the terms of the GNU General Public License v2 or later
4
5PIDFILE=/var/run/guix/guix-daemon.pid
6#GRACEFUL_TIMEOUT=${GRACEFUL_TIMEOUT:-60}
7#extra_commands="checkconfig"
8description="The GNU Guix Daemon"
9
10depend() {
11 need net
12}
13
14#SUID_ROOT_HELPERS="guix guix-daemon"
15#
16#chmodown_execbin() {
17# if [ -x $1 ]; then
18# if [ "$3" ]; then
19# chown $3 $1 2>/dev/null && chmod $2 $1
20# else
21# chmod $2 $1
22# fi
23# fi
24#}
25#
26#checkconfig() {
27# for helper in $SUID_ROOT_HELPERS; do
28# chmodown_execbin ${libexec}
29
30start() {
31 checkpath -d -m 0755 -o :guixbuild /var/run/guix
32 ebegin "Starting Guix"
33 start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --exec /usr/bin/guix-daemon -- --build-users-group=guixbuild --listen=/var/lib/guix/daemon-socket/socket > /dev/null 2>&1
34 eend $?
35}
36
37#start() {
38# local piddir=$(dirname ${PIDFILE})
39# if [ ! -d ${piddir} ] ; then
40# ebegin "Making ${piddir}"
41# eend $?
42# ebegin "Changing permissions of ${piddir}"
43# chown :guixbuild ${piddir}
44# eend $?
45# fi
46#
47# ebegin "Starting ${SVCNAME}"
48# start-stop-daemon --start --name guix-daemon --pidfile ${PIDFILE} \
49# --exec /usr/bin/guix-daemon -- --debug --build-users-group=guixbuild
50# eend $?
51#}
52
53stop() {
54 ebegin "Stopping Guix"
55 start-stop-daemon --stop --pidfile "${PIDFILE}" --exec /usr/bin/guix-daemon
56 #start-stop-daemon --stop --signal QUIT --pidfile "${PIDFILE}"
57 sleep 1
58 #killall guix-daemon
59 #sleep 1
60 eend $?
61}
62
63#stop() {
64# ebegin "Stopping ${SVCNAME}"
65# start-stop-daemon --stop --signal QUIT --pidfile ${PIDFILE}
66# sleep 1
67# killall guix-daemon
68# sleep 1
69# eend $?
70#}
71
72#[Unit]
73#Description=Build daemon for GNU Guix
74#
75#[Service]
76#ExecStart=/usr/bin/guix-daemon --build-users-group=guixbuild
77#RemainAfterExit=yes
78#StandardOutput=syslog
79#StandardError=syslog
80#
81#[Install]
82#WantedBy=multi-user.target
diff --git a/sys-apps/guix/guix-0.11.0.ebuild b/sys-apps/guix/guix-0.11.0.ebuild
deleted file mode 100644
index 0d271b5..0000000
--- a/sys-apps/guix/guix-0.11.0.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
1# Copyright 1999-2016 Gentoo Authors
2# Distributed under the terms of the GNU General Public License v2
3
4# FIXME: The service is broken. Expect up to 45 minutes on halt/reboot
5# -- ng0
6
7EAPI=5
8inherit user eutils autotools
9
10DESCRIPTION="The GNU Guix Package Manager."
11HOMEPAGE="https://www.gnu.org/s/guix"
12SRC_URI="mirror://gnu-alpha/${PN}/${P}.tar.gz"
13RESTRICT="bincheck"
14
15LICENSE="GPL-3"
16SLOT="0"
17KEYWORDS="~amd64 ~x86 ~mips ~arm"
18IUSE="test"
19
20#FIXME: package dev-scheme/guile-json
21DEPEND=">=dev-scheme/guile-2.0.12[networking]
22 dev-libs/libgcrypt
23 >=dev-db/sqlite-3.0
24 app-arch/bzip2
25 sys-devel/gcc
26 sys-devel/automake
27 sys-devel/gettext
28 >=net-libs/gnutls-3.3.22-r2[guile]"
29RDEPEND="${DEPEND}"
30
31pkg_setup() {
32 enewgroup guixbuild
33 g=0
34 for i in `seq -w 0 9`;
35 do
36 enewuser guixbld$i -1 -1 /var/empty guixbuild;
37 if [ $g == 0 ]; then
38 g="guixbld$i"
39 else
40 g="$g,guixbld$i"
41 fi
42 done
43 # For some strange reason all of the generated
44 # user ids need to be listed in /etc/group even though
45 # they were created with the correct group. This is a
46 # command that patches the /etc/group file accordingly,
47 # but it expects perl to be installed. If you don't have
48 # perl installed, you have to do this manually. Adding a
49 # dependency for this is inappropriate.
50 perl -pi~ -e 's/^(guixbuild:\w+:\d+):$/\1:'$g'/' /etc/group
51}
52
53src_configure() {
54 econf
55}
56
57#following 3 added later
58src_prepare() {
59 default
60 eautoreconf
61 elibtoolize
62}
63src_compile() {
64 default
65}
66src_test() {
67 emake check
68}
69
70src_install() {
71 emake install DESTDIR="${D}"
72 newinitd "${FILESDIR}"/guix guix
73 keepdir /run/guix
74 fowners :guixbuild /run/guix
75
76}
77
78# To use substitutes from hydra.gnu.org or one of its mirrors (see Substitutes), authorize them:
79# guix archive --authorize < ~root/.guix-profile/share/guix/hydra.gnu.org.pub
80# (or on gentoo??: /usr/share/guix/hydra.gnu.org.pub)
81pkg_postinst() {
82 einfo "Warning, this is a test package, thanks for participating"
83 einfo "in trying to get a functional GNU Guix package manager into"
84 einfo "Gentoo."
85 einfo "You have to run the following to enable substitutes from"
86 einfo "hydra.gnu.org or one of its mirrors:"
87 einfo "guix archive --authorize < /usr/share/guix/hydra.gnu.org.pub"
88 einfo "you can test functionality with:"
89 einfo "guix pull ; guix package -i hello"
90 einfo ""
91 einfo "You also have to keep your system up to date with"
92 einfo "guix pull and the commands needed to update"
93 einfo "your profile."
94 einfo ""
95 einfo "!!! It is required (read: mandatory) to read the"
96 einfo "!!! documentation for further understanding."
97 einfo "!!! Failing to read the documentation will break your"
98 einfo "!!! installed guix. This is not a package which is"
99 einfo "!!! supposed to be upgraded or maintained through Gentoo,"
100 einfo "!!! this package was just an entry point."
101}