aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/linux_logo
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/linux_logo
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/linux_logo')
-rw-r--r--unmaintained/linux_logo/APKBUILD62
-rw-r--r--unmaintained/linux_logo/alpinelinux.logo54
-rw-r--r--unmaintained/linux_logo/linux_logo.conf18
-rw-r--r--unmaintained/linux_logo/linux_logo.initd36
4 files changed, 170 insertions, 0 deletions
diff --git a/unmaintained/linux_logo/APKBUILD b/unmaintained/linux_logo/APKBUILD
new file mode 100644
index 0000000000..8437cc20be
--- /dev/null
+++ b/unmaintained/linux_logo/APKBUILD
@@ -0,0 +1,62 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=linux_logo
+pkgver=5.11
+pkgrel=0
+pkgdesc="Text-based logo and system information program"
+url="http://www.deater.net/weave/vmwprod/linux_logo"
+arch="all"
+license="GPL"
+depends="gettext"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://www.deater.net/weave/vmwprod/$pkgname/$pkgname-$pkgver.tar.gz
+ alpinelinux.logo
+ $pkgname.initd
+ $pkgname.conf"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+
+ cp "$srcdir"/alpinelinux.logo logos/distributions/
+ echo "./logos/distributions/alpinelinux.logo" >logo_config
+ echo "./logos/distributions/gnu-linux.logo" >>logo_config
+ echo "./logos/banner.logo" >>logo_config
+ echo "./logos/classic.logo" >>logo_config
+}
+
+build() {
+ cd "$_builddir"
+ export LDFLAGS="$LDFLAGS -lintl"
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make PREFIX="${pkgdir}/usr" install
+ install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
+ install -Dm644 "$srcdir"/$pkgname.conf "$pkgdir"/etc/
+}
+
+md5sums="8e52af520368980ceba978330881e36e linux_logo-5.11.tar.gz
+490d8222bf5b11770a042fd8fc37b4ff alpinelinux.logo
+072c6af5ce1ec477d1b9ac31ab4f65ab linux_logo.initd
+cd06a9c659d80c7dbd4af676e8ce18fa linux_logo.conf"
+sha256sums="f56634d7b6bebd6598705d973997435fdc9cb9115dea3cc1d63398c92ebe72d9 linux_logo-5.11.tar.gz
+673517275bb58228a802af3c17b502aad85bb35943a5c5237b8ca3ebf8fb094e alpinelinux.logo
+b7611ae9d685158d66fe575a9575c7111470dedd4193486fbf621b079a5de0d5 linux_logo.initd
+9695f48979b2c206d05aa3f10dfb677b49b0b7554db6e110482c686c34afd0b8 linux_logo.conf"
+sha512sums="3c11d59eeb1ea613eb66d3ea5ef2d7c9ef906cb12430b9350570a6a1937ec174bdd974e6227358339c3fd2e0647a5066a0bea22289c4aa9bc8b03afb0033f114 linux_logo-5.11.tar.gz
+3a1f3cc5e85f5914bbe4003b770325925e1ed6b2369705c3c8c52c7c5feb25ade8e3b168ec2078b2fd1f5ddbac5ab30a022ce871c1c0063b5e7bc26551c6a8a3 alpinelinux.logo
+0c021418a4e7e31df3aada8bd3c7cebd97f8e812d086a45aaff5d5779650195e92e87072a3627a3bb50384f10fccafd78cd966c8daed6775bbe58f6305e6db53 linux_logo.initd
+d4da673171c28c594f8f3fad1e7e3b218e48d27857c94509bdfc5df5ba45d07199c19b3326ee7c9dc8bdf1a67cfc22f84526cf3e13c4f1d4054b20b92bbb4b94 linux_logo.conf"
diff --git a/unmaintained/linux_logo/alpinelinux.logo b/unmaintained/linux_logo/alpinelinux.logo
new file mode 100644
index 0000000000..0a03722620
--- /dev/null
+++ b/unmaintained/linux_logo/alpinelinux.logo
@@ -0,0 +1,54 @@
+# Alpine Linux ANSI and ASCII Logo v0.1
+# Drawn by Francesco Colista <fcolista@alpinelinux.org>
+# Released under GPL2
+
+SYSINFO_POSITION bottom
+
+NAME alpine
+
+DESCRIPTION_STRING The Alpine Linux Logo
+
+
+
+BEGIN_ASCII_LOGO
+ ''''''''''''''` ''
+ `''''''''''''''' ''
+ ''''''''''''''''; ''
+ ,''''''''''''''''' ''
+ ''''''''''''''''''' ''
+ ;''''''''''''''''''' ,;;;, '' ,;;;` :;;;`
+ ''''''''''''''''''''' ,'''''''' '' ''''''''` '' '''''''' .'''''''';
+ '''''''' `'''''''''''', :''';:;'''' ;' '''';;'''', `' '''';;'''' ''''''''''''
+ .''''''' .''; '''''''' '': .'' ; ''` ''' '. ''' ''' ''', ''
+ ''''''' .' ''''''': ''' '', '' ''' ''; '' '' '' '' ''
+ ,'''''' , ''''''' ''` ;'' '' '', .'' '' ,'' '' .'' .....;''
+ '''''' '' .: ''''''' '' ,'' '' ''. '' '' :'' ''`;'' '''''''''
+;''''' '''' .; '''''' '' .'' '' ''. `'' '' :'' ''`;'' '''''''`
+ '''' ,,'''' .; ''''' ''. .'' '' ''. .'' '' :'' ''`,''
+ ,'' , ,''''' `; ''' ''' .'' ''' ''. ''; '' :'' ''` ''
+ '''';''';'''''':'''';''': ''; .'' `''; ''` ''' '' :'' ''` '''
+ `''''''''''''''''''''''' :'''', .'' ;''';. '; ,'''', '' :'' ''` ''';........
+ ''''''''''''''''''''''. .'''' .'' .'''' ;` ''''. '' :'' ''` '''''''''''
+ ''''''''''''''''''''' `'' '' `'' ''` ''` '' :'' ,'` `'''''''''
+ :''''''''''''''''''' ''` .
+ ''''''''''''''''''; ''` . ` ,;;, . : , :
+ ,''''''''''''''''' ''` . . ' ; , ' `.
+ '''''''''''''''': ''` . . : : . ' .
+ ''''''''''''''' ''` ; . : : ' : `.
+ ;:::::::::::::` ::` ,;;; ` , , .;;` , :
+END_ASCII_LOGO
+
+BEGIN_LOGO
+ 8;8%8t8S8;8 %8 
+ X88@@88XX88@X 88 
+ 8S8t8X8%8S8t8X8 8 8S 8 
+ 8:@@8; @@8@@@8;@8 8:@@8;@ 8 8:@88;@ 8 8:@88;@8 8:@@8;@@ 
+ @t8S8t 8 %8t8S@ ;8 %8 t 8S 8; 8 %8 t 8S @;
+ @88X X 88@@ 88 8X 88 @@ 88 X X8 8@ @ 88XX888
+8X8% 8S8t 8X8% 8 S8 t8 X8 %8 S 8t 8X 8 
+ 8;@ @88@@8;@@88 @@8 ;8 88 8@8 8; 8@ 8 :@ @8 ;8 
+ @;8%8t8S8;8%8t8S@ ;8%8 88 S8; @ %8t8 S 8; 8% @t8S8;8%8
+ X88@@88XX88@@88 XX 
+ 8S8t8X8%8S8t8 X8 
+ 8:@@8;@@8:@ @8 
+END_LOGO
diff --git a/unmaintained/linux_logo/linux_logo.conf b/unmaintained/linux_logo/linux_logo.conf
new file mode 100644
index 0000000000..e98971989a
--- /dev/null
+++ b/unmaintained/linux_logo/linux_logo.conf
@@ -0,0 +1,18 @@
+# /etc/linux_logo.conf
+#
+# This conf file controls linux_logo. Place your command-line options
+# for linux_logo on the first line of this file. Users may use a
+# ~/.linux_logo file which will over-ride this file.
+#
+# The following logos are compiled in to the ArchLinux version of linux_logo:
+#
+# Num Type Ascii Name Description
+# 1 Classic Yes arch The ArchLinux Logo
+# 2 Classic Yes gnu_linux Classic GNU/Linux
+# 3 Banner Yes banner The Default Banner Logo
+# 4 Classic Yes classic The Default Classic Logo
+#
+# See the man page or the output of linux_logo -h for a complete
+# list a command-line options.
+
+-L alpine
diff --git a/unmaintained/linux_logo/linux_logo.initd b/unmaintained/linux_logo/linux_logo.initd
new file mode 100644
index 0000000000..68a6700aec
--- /dev/null
+++ b/unmaintained/linux_logo/linux_logo.initd
@@ -0,0 +1,36 @@
+#!/sbin/openrc-run
+
+ISSUE_BACKUP_FILE="/etc/issue.linux-logo.backup"
+ISSUE_NET_BACKUP_FILE="/etc/issue.net.linux-logo.backup"
+
+start() {
+ ebegin "Starting linux_logo"
+
+ if [ ! -x /usr/bin/linux_logo ]
+ then
+ eerror "ERROR: linux_logo not found !"
+ return 1
+ fi
+
+ ebegin " Creating /etc/issue"
+ cp /etc/issue ${ISSUE_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMAT}" > /etc/issue
+ eend $? " Failed to create /etc/issue"
+
+ if [ -f /etc/issue.net ]
+ then
+ ebegin " Creating /etc/issue.net"
+ cp /etc/issue.net ${ISSUE_NET_BACKUP_FILE} 2> /dev/null
+ /usr/bin/linux_logo ${LOGO} ${OPTIONS} -F "${FORMATNET}" > \
+ /etc/issue.net
+ eend $? " Failed to create /etc/issue.net"
+ fi
+}
+
+stop() {
+ ebegin "Stopping linux_logo"
+ [ -f ${ISSUE_NET_BACKUP_FILE} ] && \
+ mv ${ISSUE_NET_BACKUP_FILE} /etc/issue.net 2> /dev/null
+ [ -f ${ISSUE_BACKUP_FILE} ] && \
+ mv ${ISSUE_BACKUP_FILE} /etc/issue 2> /dev/null
+}