diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-06 20:30:50 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-05-06 20:30:50 +0000 |
commit | 78210a6aedb012c8352bf2d8a578a710be8eebf1 (patch) | |
tree | d592133ff769ee8595e417940903859b49e2c3a0 /testing | |
parent | aa1cc662d69f22695b53451ca5803e558de9d8d0 (diff) | |
download | aports-78210a6aedb012c8352bf2d8a578a710be8eebf1.tar.bz2 aports-78210a6aedb012c8352bf2d8a578a710be8eebf1.tar.xz |
extra/{cvs,dhcpcd,dialog,hypermail}: moved from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/cvs/APKBUILD | 27 | ||||
-rw-r--r-- | testing/dhcpcd/APKBUILD | 26 | ||||
-rw-r--r-- | testing/dialog/APKBUILD | 27 | ||||
-rw-r--r-- | testing/hypermail/APKBUILD | 36 | ||||
-rw-r--r-- | testing/hypermail/mdir2mbox.lua | 96 |
5 files changed, 0 insertions, 212 deletions
diff --git a/testing/cvs/APKBUILD b/testing/cvs/APKBUILD deleted file mode 100644 index bcfcea6f24..0000000000 --- a/testing/cvs/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: -pkgname=cvs -pkgver=1.11.23 -pkgrel=0 -pkgdesc="Concurrent Versions System" -url="http://www.nongnu.org/cvs/" -license="GPL" -depends="uclibc" -makedepends="" -install= -subpackages="$pkgname-doc" -source="http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/$pkgname-$pkgver.tar.gz" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 - make DESTDIR="$pkgdir" install - -} - -md5sums="bf185eb51b5918330a04671c3f3cccde cvs-1.11.23.tar.gz" diff --git a/testing/dhcpcd/APKBUILD b/testing/dhcpcd/APKBUILD deleted file mode 100644 index a609323a7c..0000000000 --- a/testing/dhcpcd/APKBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=dhcpcd -pkgver=5.0.1 -pkgrel=0 -pkgdesc="RFC2131 compliant DHCP client" -url="http://roy.marples.name/projects/dhcpcd/" -license="BSD-2" -depends="uclibc" -makedepends="" -install= -subpackages="$pkgname-doc" -source="http://roy.marples.name/downloads/dhcpcd/$pkgname-$pkgver.tar.bz2" - -build() { - cd "$srcdir/$pkgname-$pkgver" - make LIBEXECDIR=/lib/dhcpcd \ - DBDIR=/var/lib/dhcpcd - make LIBEXECDIR=/lib/dhcpcd \ - DBDIR=/var/lib/dhcpcd \ - DESTDIR="$pkgdir" \ - install - -} - -md5sums="79a886e0814e665cb4e29d9d914b3bcb dhcpcd-5.0.1.tar.bz2" diff --git a/testing/dialog/APKBUILD b/testing/dialog/APKBUILD deleted file mode 100644 index 99619e31cf..0000000000 --- a/testing/dialog/APKBUILD +++ /dev/null @@ -1,27 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=dialog -pkgver=1.1.20080819 -_ver=${pkgver%.*}-${pkgver##*.} -pkgrel=0 -pkgdesc="A script-interpreter which provides a set of curses" -url="http://invisible-island.net/dialog/dialog.html" -license="GPL" -depends="uclibc ncurses" -makedepends="ncurses-dev" -install= -subpackages="$pkgname-doc" -source="ftp://invisible-island.net/dialog/$pkgname.tar.gz" - -build() { - cd "$srcdir/$pkgname-$_ver" - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make || return 1 - make DESTDIR="$pkgdir" install -} - -md5sums="3caebd641a9f337b980becb4444336c5 dialog.tar.gz" diff --git a/testing/hypermail/APKBUILD b/testing/hypermail/APKBUILD deleted file mode 100644 index 6e4f412374..0000000000 --- a/testing/hypermail/APKBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -pkgname=hypermail -pkgver=2.2.0 -pkgrel=0 -pkgdesc="Mail Archiver" -url="http://www.hypermail-project.org" -license="GPL" -depends="uclibc pcre lua" -makedepends="pcre-dev bison" -install= -subpackages="" -source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz - mdir2mbox.lua" - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-httpddir=/var/www \ - --with-cgidir=/var/www/cgi-bin - make || return 1 - #does not understand DESTDIR so going to install ourselves - #make DESTDIR="$pkgdir" install - - install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg - install -m755 -D archive/msg2archive "$pkgdir"/usr/bin/msgarchive - install -m755 -D src/hypermail "$pkgdir"/usr/bin/hypermail - install -m755 -D "$srcdir"/mdir2mbox.lua "$pkgdir"/usr/bin/mdir2mbox.lua - -} - -md5sums="a064e36780ee41409c8c973f9c69927f hypermail-2.2.0.tar.gz -079b00d4ea667a0efd6fd370b1a4d5d8 mdir2mbox.lua" diff --git a/testing/hypermail/mdir2mbox.lua b/testing/hypermail/mdir2mbox.lua deleted file mode 100644 index dd883e02db..0000000000 --- a/testing/hypermail/mdir2mbox.lua +++ /dev/null @@ -1,96 +0,0 @@ -#!/usr/bin/lua --- This script takes a mlmmj archive "maildir format" directory and --- writes out an mbox formatted file to stdout --- Copyright (c) 2009 N. Angelacos under the GPL 2 License - -require "posix" - --- command line parser, or exit -check_command_line = function () - local source_dir = arg[1] - local source_time = arg[2] - - if (source_dir == nil ) then - io.stderr:write("mdir2mbox source_dir [hours]\n" .. - "Writes an mbox formatted file to stdout from the files in source_dir\n" .. - "If [hours] is given, then only files newer then [hours] are processed\n") - os.exit(-1) - end - - if (posix.stat(source_dir, "type") ~= "directory") then - io.stderr:write(source_dir .. " is not a directory\n") - os.exit(-1) - end - - return source_dir, source_time -end - --- Get candidates -get_candidates = function (source, hours) - local all = posix.dir(source) - local candidates = {} - local timestamp = 0 - - if (hours) then - timestamp = os.time() - hours * 3600 - end - - for k,v in ipairs(all) do - local st = posix.stat(source .. "/" .. v) - if (st) and (st.type == "regular") and (st.mtime > timestamp) then - table.insert(candidates,source .. "/" .. v) - end - end - - return candidates -end - -file_to_mbox = function (path) - local fh = io.open(path) - if (fh == nil) then - return - end - local headers = "" - local l = "" - -- get headers - repeat - headers = headers .. l - l = (fh:read("*l") or "" ) .. "\n" - until (#l == 1) - - local from = string.match("\n" .. headers, "\nFrom: ([^\n]*)") - if from == nil then - from = string.match("\n" .. headers, "\nReply-To: ([^\n]*)") - end - if from == nil then - from = "<nobody@nowhere.com>" - end - from = string.match(from, "<([^>]*)>") or string.match(from, "([^ ]*)") - - - local date = string.match("\n" .. headers, "\nDate: ([^\n]*)") - if date == nil then - date = os.date ("%c", posix.stat(path, "mtime")) - end - local weekday,day,month,year,time,offset = string.match(date, "([^,]*), +(%d+) (%a+) (%d+) ([%d:]*) ([%d]*)") - - print ("From " .. from .. " " .. string.format("%s %s %s %s %s", weekday, month, day, time, year, offset )) - print (headers) - - -- get rest of message - repeat - local foo = fh:read("*l") - if foo then - print(foo) - end - until (foo == nil) - -fh:close() -end - -candidates = get_candidates(check_command_line ()) - -for k,v in ipairs(candidates) do - file_to_mbox(v) -end -print ("") |