summaryrefslogtreecommitdiffstats
path: root/sys-apps/darklin
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/darklin')
-rw-r--r--sys-apps/darklin/Manifest6
-rw-r--r--sys-apps/darklin/darklin-4.0.1.ebuild85
-rw-r--r--sys-apps/darklin/darklin-4.0.2.ebuild85
-rw-r--r--sys-apps/darklin/files/bashrc11
-rw-r--r--sys-apps/darklin/files/issue17
-rw-r--r--sys-apps/darklin/files/profile10
-rw-r--r--sys-apps/darklin/files/skel.tar.bz2bin0 -> 12366 bytes
7 files changed, 214 insertions, 0 deletions
diff --git a/sys-apps/darklin/Manifest b/sys-apps/darklin/Manifest
new file mode 100644
index 0000000..c19cb33
--- /dev/null
+++ b/sys-apps/darklin/Manifest
@@ -0,0 +1,6 @@
+AUX bashrc 195 SHA256 df9c61bc0b9b29d109b0f7ceca08450d6c03a3d6c69844c9b291032e359c0046 SHA512 27702e71b289e32e1ed6ef611e3dc03438fefcb55c08b7816355a75ba230694c7e0e7519898ad19f6299305fa5afb7de4836e088dc76178b216b9d6f685f1dc5 WHIRLPOOL 35fafa30148dad1e02d6894c10092f0561695bb72e17ebb3ec451681f8640dfdad2cedb7aef161ef8e99f32cc14118e12fa54f090b8f807f234395c8600d5481
+AUX issue 1276 SHA256 4bdc593a14ab7f00b1a6a8db08ac081bc545d9d9450af00a3bb43c977982ebd3 SHA512 10092d6915e573996c21898d6ac18a290ac7f4948f5e2d54c8f15f133c78907b44f146cf040160028621c51276f1f0a662c0958c699b1b84a8f041f878afbd77 WHIRLPOOL ce8a9671925620483672a03c1898cd8b3b995339362f8305a661c19d49717d7fe51a93d55e5cd05bc4a6ded802c21469a96eae334ace1cccfecc1d621810eb4e
+AUX profile 125 SHA256 08ba0093adc60ae283680371944212a6d20ad94283b42be3c23ecc2ff352602d SHA512 97d80c7f5562aebac4f528b9f6aea67c9fea280d34f50e2a2c05c787b0af48c5e94bb75bd06b9274bd5383b25ae84f0e000e2135beb95c72ae068566fc40c7d1 WHIRLPOOL 1f11ed6d81ac9c235b7ad35999606899fa14bfa1114f2c1d2e2229d5d7a0b8dbd30c6888c824df9cf3a556ffa3e35cacb936a9ccb21b302dc4077c69c4ed9812
+AUX skel.tar.bz2 12366 SHA256 fde070a47fe35ffdd3edc69fd81220bfdd4bba3f2ad4831563406b0f54cefd00 SHA512 f9f63af462e52035851e934c6afa354825e01a3f694aa029ac8a3eda3f5202e816e33fb5732f6e76ab6049ffc5f20c4679fefb222e32758a2a3c414b42ec6a37 WHIRLPOOL 5d97ffb66ba68ff5caa74d36be781c72c91ee2f6b5f9876be00368c896bd2ec5ab0f1d8af8975ae23481e338cf70174ad759ea2c6e11de98ec2d3fd307590a13
+EBUILD darklin-4.0.1.ebuild 1756 SHA256 59413dbe9d9e630e08be56dcfdc1750f2d501704ee2ec18a86b5394c608d0ed6 SHA512 2be359163fa15215f5118d8bdfbbfe994109d0ad7b08bf8391cf4a958becf79b99d74271520798609dd95d81a251cd9f0434977bb9fe462b21b8be9c3cfa7a3e WHIRLPOOL cc57be060f700f622be0ae8955a2bb7c7d447a5dc5bc00a6863ef6937d4b4ed5970910aede437dad1611f0f9bfeee784c0d9553e655096a31b56439c3f7e95ae
+EBUILD darklin-4.0.2.ebuild 1756 SHA256 59413dbe9d9e630e08be56dcfdc1750f2d501704ee2ec18a86b5394c608d0ed6 SHA512 2be359163fa15215f5118d8bdfbbfe994109d0ad7b08bf8391cf4a958becf79b99d74271520798609dd95d81a251cd9f0434977bb9fe462b21b8be9c3cfa7a3e WHIRLPOOL cc57be060f700f622be0ae8955a2bb7c7d447a5dc5bc00a6863ef6937d4b4ed5970910aede437dad1611f0f9bfeee784c0d9553e655096a31b56439c3f7e95ae
diff --git a/sys-apps/darklin/darklin-4.0.1.ebuild b/sys-apps/darklin/darklin-4.0.1.ebuild
new file mode 100644
index 0000000..cf55522
--- /dev/null
+++ b/sys-apps/darklin/darklin-4.0.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="DarkLin Release"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+DARKLIN_DISTRIB="Charon"
+DEPEND="dev-lang/perl"
+
+src_install() {
+ dodir /etc/
+
+ echo ${PV} > ${D}/etc/darklin-version
+ echo "DarkLin IV ($DARKLIN_DISTRIB)" > ${D}/etc/darklin-release
+
+ cat "${FILESDIR}"/issue | sed -e "s/@name@/$DARKLIN_DISTRIB/g" -e "s/@version@/$PV/g" > ${D}/etc/issue
+}
+
+pkg_postinst() {
+perl -s -e '$^I="";
+if (@argv == 2) { $PN=pop(@argv); }
+$NOT_STARTED=1;$COMMENTS=1;$BL="";
+while (<>)
+{
+ $value=$_;
+
+ if ($value=~m/^\s*loginsh=/) {
+ next;
+ }
+
+ if (($COMMENTS)&&($value!~m/^\s*#/)) {
+ print "loginsh=1\n";
+ $COMMENTS=0;
+ }
+
+ if ((defined $PN)&&($value=~m/CfgStart\s*$PN/)) {
+ $NOT_STARTED=0;
+ } elsif ((defined $PN)&&($value=~m/CfgEnd\s*$PN/)) {
+ $NOT_STARTED=1;
+ } elsif ($NOT_STARTED) {
+ if ($value =~ m/^\s*$/) {
+ $BLS.=$value;
+ } else {
+ print $BLS;
+ print $value;
+ $BLS=""
+ }
+ }
+}
+if ($value !~ m/$\s*^/) {
+ print "\n";
+}' -- -PN=darklin /etc/profile
+
+perl -s -e '$^I="";
+if (@argv == 2) { $PN=pop(@argv); }
+$NOT_STARTED=1;$COMMENTS=1;$BL="";
+while (<>)
+{
+ $value=$_;
+
+ if ((defined $PN)&&($value=~m/CfgStart\s*$PN/)) {
+ $NOT_STARTED=0;
+ } elsif ((defined $PN)&&($value=~m/CfgEnd\s*$PN/)) {
+ $NOT_STARTED=1;
+ } elsif ($NOT_STARTED) {
+ if ($value =~ m/^\s*$/) {
+ $BLS.=$value;
+ } else {
+ print $BLS;
+ print $value;
+ $BLS=""
+ }
+ }
+}
+if ($value !~ m/$\s*^/) {
+ print "\n";
+}' -- -PN=darklin /etc/bash/bashrc
+
+ cat "${FILESDIR}"/bashrc >> /etc/bash/bashrc
+ cat "${FILESDIR}"/profile >> /etc/profile
+}
diff --git a/sys-apps/darklin/darklin-4.0.2.ebuild b/sys-apps/darklin/darklin-4.0.2.ebuild
new file mode 100644
index 0000000..cf55522
--- /dev/null
+++ b/sys-apps/darklin/darklin-4.0.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="DarkLin Release"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+DARKLIN_DISTRIB="Charon"
+DEPEND="dev-lang/perl"
+
+src_install() {
+ dodir /etc/
+
+ echo ${PV} > ${D}/etc/darklin-version
+ echo "DarkLin IV ($DARKLIN_DISTRIB)" > ${D}/etc/darklin-release
+
+ cat "${FILESDIR}"/issue | sed -e "s/@name@/$DARKLIN_DISTRIB/g" -e "s/@version@/$PV/g" > ${D}/etc/issue
+}
+
+pkg_postinst() {
+perl -s -e '$^I="";
+if (@argv == 2) { $PN=pop(@argv); }
+$NOT_STARTED=1;$COMMENTS=1;$BL="";
+while (<>)
+{
+ $value=$_;
+
+ if ($value=~m/^\s*loginsh=/) {
+ next;
+ }
+
+ if (($COMMENTS)&&($value!~m/^\s*#/)) {
+ print "loginsh=1\n";
+ $COMMENTS=0;
+ }
+
+ if ((defined $PN)&&($value=~m/CfgStart\s*$PN/)) {
+ $NOT_STARTED=0;
+ } elsif ((defined $PN)&&($value=~m/CfgEnd\s*$PN/)) {
+ $NOT_STARTED=1;
+ } elsif ($NOT_STARTED) {
+ if ($value =~ m/^\s*$/) {
+ $BLS.=$value;
+ } else {
+ print $BLS;
+ print $value;
+ $BLS=""
+ }
+ }
+}
+if ($value !~ m/$\s*^/) {
+ print "\n";
+}' -- -PN=darklin /etc/profile
+
+perl -s -e '$^I="";
+if (@argv == 2) { $PN=pop(@argv); }
+$NOT_STARTED=1;$COMMENTS=1;$BL="";
+while (<>)
+{
+ $value=$_;
+
+ if ((defined $PN)&&($value=~m/CfgStart\s*$PN/)) {
+ $NOT_STARTED=0;
+ } elsif ((defined $PN)&&($value=~m/CfgEnd\s*$PN/)) {
+ $NOT_STARTED=1;
+ } elsif ($NOT_STARTED) {
+ if ($value =~ m/^\s*$/) {
+ $BLS.=$value;
+ } else {
+ print $BLS;
+ print $value;
+ $BLS=""
+ }
+ }
+}
+if ($value !~ m/$\s*^/) {
+ print "\n";
+}' -- -PN=darklin /etc/bash/bashrc
+
+ cat "${FILESDIR}"/bashrc >> /etc/bash/bashrc
+ cat "${FILESDIR}"/profile >> /etc/profile
+}
diff --git a/sys-apps/darklin/files/bashrc b/sys-apps/darklin/files/bashrc
new file mode 100644
index 0000000..82dcbad
--- /dev/null
+++ b/sys-apps/darklin/files/bashrc
@@ -0,0 +1,11 @@
+
+
+# CfgStart darklin
+ if [ -z "$loginsh" ]; then # We're not a login shell
+ for i in /etc/profile.d/*.sh; do
+ if [ -x $i ]; then
+ . $i
+ fi
+ done
+ fi
+# CfgEnd darklin
diff --git a/sys-apps/darklin/files/issue b/sys-apps/darklin/files/issue
new file mode 100644
index 0000000..48a64a1
--- /dev/null
+++ b/sys-apps/darklin/files/issue
@@ -0,0 +1,17 @@
+DDDDDDDDDD _
+D:::::::::DDD ( ) DarkLin IV @name@
+D::::::::::::DD _ _ _ __ | |/') Version: @version@
+DDD::::DDDD::::D /'_` ) ( '__) | , < System: \s
+ D::::D D::::D ( (_| | | | | |\\`\\ Architecture: \m
+ D::::D D::::D `\\__,_) (_) (_) (_) Kernel: \r
+ D::::D D::::D ____
+ D::::D D::::D |####| _ \n.\O
+ D::::D D::::D T##T (_)  Time: \t
+ D::::D D::::D  |##| _ ___ _ _
+DDD::::DDDD::::D  |##| | | /' _ `\\ ( ) ( ) (`\\/')
+D::::::::::::DD  |##| | | | ( ) | | (_) | > <
+D:::::::::DDD  |##| (_) (_) (_) `\\___/' (_/\\_)
+DDDDDDDDDD  |##|______,--,
+  [############]
+
+
diff --git a/sys-apps/darklin/files/profile b/sys-apps/darklin/files/profile
new file mode 100644
index 0000000..0b1851a
--- /dev/null
+++ b/sys-apps/darklin/files/profile
@@ -0,0 +1,10 @@
+
+
+# CfgStart darklin
+for sh in /etc/profile.d/*.sh ; do
+ if [ -r "$sh" ] ; then
+ . "$sh"
+ fi
+done
+unset sh
+# CfgEnd darklin
diff --git a/sys-apps/darklin/files/skel.tar.bz2 b/sys-apps/darklin/files/skel.tar.bz2
new file mode 100644
index 0000000..45065d7
--- /dev/null
+++ b/sys-apps/darklin/files/skel.tar.bz2
Binary files differ