diff options
| author | Francesco Colista <francesco.colista@gmail.com> | 2012-02-13 16:11:00 +0000 |
|---|---|---|
| committer | Francesco Colista <francesco.colista@gmail.com> | 2012-02-13 16:11:00 +0000 |
| commit | bb8be67c88100eb4b3c0121d7c2695f995c40b03 (patch) | |
| tree | 7897ce9beec4ac11af1b599cbb3d45a084d150a6 /testing | |
| parent | e115817423b4eb038c449bef018c712f41bf236a (diff) | |
| parent | 5263b83fea44e653e1f1891b20a33abe5d8783d9 (diff) | |
| download | aports-bb8be67c88100eb4b3c0121d7c2695f995c40b03.tar.bz2 aports-bb8be67c88100eb4b3c0121d7c2695f995c40b03.tar.xz | |
Merge git://dev.alpinelinux.org/aports
Diffstat (limited to 'testing')
49 files changed, 48 insertions, 2219 deletions
diff --git a/testing/firefox/APKBUILD b/testing/firefox/APKBUILD deleted file mode 100644 index 757ab6f2cf..0000000000 --- a/testing/firefox/APKBUILD +++ /dev/null @@ -1,122 +0,0 @@ -# Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: William Pitcock <nenolod@dereferenced.org> -pkgname=firefox -pkgver=10.0 -_pkgver=$pkgver -_xulver=10.0 -pkgrel=3 -pkgdesc="firefox web browser" -url="http://www.firefox.com" -arch="all" -license="GPL LGPL MPL" -depends="xulrunner>=${_xulver}" -makedepends="xulrunner-dev>=${_xulver} - - nspr-dev - nss-dev - gtk+-dev - mesa-dev - dbus-glib-dev - alsa-lib-dev - libvorbis-dev - libogg-dev - libtheora-dev - wireless-tools-dev - libnotify-dev - libevent-dev - libvpx-dev - libxt-dev - jpeg-dev - bzip2-dev - hunspell-dev - startup-notification-dev - sqlite-dev - libidl-dev - - autoconf2.13 - - python - zip - yasm - - autoconf - automake - libtool - - paxctl" -install="" -subpackages="" -source="http://releases.mozilla.org/pub/mozilla.org/${pkgname}/releases/${pkgver}/source/${pkgname}-${_pkgver}.source.tar.bz2 - mozconfig - firefox-5.0-asciidel.patch - firefox.desktop - firefox-safe.desktop" - -options="!strip" - -_builddir="${srcdir}/mozilla-release" -_mozappdir=/usr/lib/firefox-$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}/mozconfig" .mozconfig - echo "ac_add_options --with-libxul-sdk=$(pkg-config --variable=sdkdir libxul)" >> .mozconfig - echo "ac_add_options --enable-debug-symbols" >> .mozconfig - echo "ac_add_options --disable-install-strip" >>.mozconfig -} - -build() { - cd "$_builddir" - - # mozilla's buildsystem is on drugs - export CFLAGS="$(echo $CFLAGS | sed -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g')" - export CXXFLAGS="$CFLAGS" - -# export LDFLAGS="-Wl,-rpath,${_mozappdir}" - make -j1 -f client.mk build \ - STRIP="/bin/true" \ - MOZ_MAKE_FLAGS="$MAKEOPTS" || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" -f client.mk install || return 1 - - install -m755 -d ${pkgdir}/usr/share/applications - install -m755 -d ${pkgdir}/usr/share/pixmaps - install -m644 "$_builddir"/browser/branding/official/default48.png \ - ${pkgdir}/usr/share/pixmaps/firefox.png || return 1 - install -m644 ${srcdir}/firefox.desktop ${pkgdir}/usr/share/applications/firefox.desktop - install -m644 ${srcdir}/firefox-safe.desktop ${pkgdir}/usr/share/applications/firefox-safe.desktop - - # firefox currently does not work with mprotect. disable it for now - paxctl -c -m "$pkgdir"/$_mozappdir/firefox || return 1 - - # xulrunner stub launcher has changed to using a symlink overlay... - # go figure - ln -sf /usr/lib/xulrunner-${_xulver} ${pkgdir}/$_mozappdir/xulrunner - - # launcher as symlink is broken from firefox-7.0 - rm "$pkgdir"/usr/bin/firefox || return 1 - cat > "$pkgdir"/usr/bin/firefox << __EOF__ -#!/bin/sh - -exec $_mozappdir/firefox "\$@" -__EOF__ - chmod 755 "$pkgdir"/usr/bin/firefox -} - -md5sums="13c61203ccfa583e5a54b4dc22f41233 firefox-10.0.source.tar.bz2 -3ba2cb7cda675e78eb0eeb0652ee3457 mozconfig -2328df219e042f6aaec361cbf83cf9e9 firefox-5.0-asciidel.patch -ba96924ece1d77453e462429037a2ce5 firefox.desktop -6f38a5899034b7786cb1f75ad42032b8 firefox-safe.desktop" diff --git a/testing/firefox/firefox-5.0-asciidel.patch b/testing/firefox/firefox-5.0-asciidel.patch deleted file mode 100644 index 1916cb3b8a..0000000000 --- a/testing/firefox/firefox-5.0-asciidel.patch +++ /dev/null @@ -1,15 +0,0 @@ -Patch from: Bill Nottingham <notting@redhat.com> - -diff -up mozilla-release/browser/base/Makefile.in.fu mozilla-release/browser/base/Makefile.in ---- mozilla-release/browser/base/Makefile.in.fu 2011-06-24 16:50:23.802042086 -0400 -+++ mozilla-release/browser/base/Makefile.in 2011-06-24 16:50:42.324042096 -0400 -@@ -62,7 +62,7 @@ EXTRA_JS_MODULES = \ - - include $(topsrcdir)/config/rules.mk - --PRE_RELEASE_SUFFIX := "" -+PRE_RELEASE_SUFFIX := - - DEFINES += \ - -DMOZ_APP_VERSION=$(MOZ_APP_VERSION) \ - diff --git a/testing/firefox/firefox-safe.desktop b/testing/firefox/firefox-safe.desktop deleted file mode 100644 index 1538fc6748..0000000000 --- a/testing/firefox/firefox-safe.desktop +++ /dev/null @@ -1,11 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Exec=firefox -safe-mode %u -Icon=firefox -Type=Application -Terminal=false -MultipleArgs=false -Name=Firefox - Safe Mode -GenericName=Web Browser - Safe Mode -StartupNotify=false -Categories=Network;WebBrowser; diff --git a/testing/firefox/firefox.desktop b/testing/firefox/firefox.desktop deleted file mode 100644 index d048ce46c3..0000000000 --- a/testing/firefox/firefox.desktop +++ /dev/null @@ -1,81 +0,0 @@ -[Desktop Entry] -Exec=firefox %u -Icon=firefox -Type=Application -Terminal=false -Name=Firefox -Name[bn]=ফায়ারফক্স3 -Name[eo]=Fajrovulpo3 -Name[fi]=Firefox3 -Name[pa]=ਫਾਇਰਫੋਕਸ3 -Name[tg]=Рӯбоҳи оташин3 -GenericName=Web Browser -GenericName[af]=Web Blaaier -GenericName[ar]=متصفح ويب -GenericName[az]=Veb Səyyahı -GenericName[bg]=Браузър -GenericName[bn]=ওয়েব ব্রাউজার -GenericName[br]=Furcher ar Gwiad -GenericName[bs]=WWW Preglednik -GenericName[ca]=Fullejador web -GenericName[cs]=WWW prohlížeč -GenericName[cy]=Porydd Gwe -GenericName[da]=Browser -GenericName[de]=Web-Browser -GenericName[el]=Περιηγητής Ιστού -GenericName[eo]=TTT-legilo -GenericName[es]=Navegador web -GenericName[et]=Veebilehitseja -GenericName[eu]=Web arakatzailea -GenericName[fa]=مرورگر وب -GenericName[fi]=WWW-selain -GenericName[fo]=Alnótsfar -GenericName[fr]=Navigateur web -GenericName[gl]=Navegador Web -GenericName[he]=דפדפן אינטרנט -GenericName[hi]=वेब ब्राउज़र -GenericName[hr]=Web preglednik -GenericName[hu]=Webböngésző -GenericName[is]=Vafri -GenericName[it]=Browser Web -GenericName[ja]=ウェブブラウザ -GenericName[ko]=웹 브라우저 -GenericName[lo]=ເວັບບຣາວເຊີ -GenericName[lt]=Žiniatinklio naršyklė -GenericName[lv]=Web Pārlūks -GenericName[mk]=Прелистувач на Интернет -GenericName[mn]=Веб-Хөтөч -GenericName[nb]=Nettleser -GenericName[nds]=Nettkieker -GenericName[nl]=Webbrowser -GenericName[nn]=Nettlesar -GenericName[nso]=Seinyakisi sa Web -GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ -GenericName[pl]=Przeglądarka WWW -GenericName[pt]=Navegador Web -GenericName[pt_BR]=Navegador Web -GenericName[ro]=Navigator de web -GenericName[ru]=Веб-браузер -GenericName[se]=Fierpmádatlogan -GenericName[sk]=Webový prehliadač -GenericName[sl]=Spletni brskalnik -GenericName[sr]=Веб претраживач -GenericName[sr@Latn]=Veb pretraživač -GenericName[ss]=Ibrawuza yeWeb -GenericName[sv]=Webbläsare -GenericName[ta]=வலை உலாவி -GenericName[tg]=Тафсиргари вэб -GenericName[th]=เว็บบราวเซอร์ -GenericName[tr]=Web Tarayıcı -GenericName[uk]=Навігатор Тенет -GenericName[uz]=Веб-браузер -GenericName[ven]=Buronza ya Webu -GenericName[vi]=Trình duyệt Web -GenericName[wa]=Betchteu waibe -GenericName[xh]=Umkhangeli zincwadi we Web -GenericName[zh_CN]=网页浏览器 -GenericName[zh_TW]=網頁瀏覽器 -GenericName[zu]=Umcingi we-Web -MimeType=text/html; -StartupNotify=true -Categories=Network;WebBrowser; diff --git a/testing/firefox/mozconfig b/testing/firefox/mozconfig deleted file mode 100644 index f1b23fae9a..0000000000 --- a/testing/firefox/mozconfig +++ /dev/null @@ -1,44 +0,0 @@ -. $topsrcdir/browser/config/mozconfig - -ac_add_options --prefix=/usr -ac_add_options --libdir=/usr/lib -ac_add_options --with-system-nspr -ac_add_options --with-system-nss -ac_add_options --with-system-jpeg -ac_add_options --with-system-zlib -ac_add_options --with-system-png -ac_add_options --with-system-libvpx -ac_add_options --with-pthreads -ac_add_options --disable-tests -ac_add_options --disable-debug -ac_add_options --enable-optimize -ac_add_options --disable-installer -ac_add_options --enable-xinerama -ac_add_options --enable-default-toolkit=cairo-gtk2 -ac_add_options --disable-xprint -ac_add_options --disable-strip -ac_add_options --enable-pango -ac_add_options --enable-svg -ac_add_options --enable-canvas -ac_add_options --enable-startup-notification -ac_add_options --enable-libxul -ac_add_options --disable-crashreporter -ac_add_options --disable-updater -ac_add_options --enable-safe-browsing -ac_add_options --enable-chrome-format=jar -ac_add_options --disable-elf-hack -ac_add_options --enable-libnotify -ac_add_options --disable-cpp-exceptions -ac_add_options --enable-url-classifier -ac_add_options --enable-gio -ac_add_options --disable-gnomevfs -ac_add_options --disable-static -ac_add_options --enable-official-branding - -export BUILD_OFFICIAL=1 -export MOZILLA_OFFICIAL=1 -export USE_SHORT_LIBNAME=1 - -mk_add_options BUILD_OFFICIAL=1 -mk_add_options MOZILLA_OFFICIAL=1 -mk_add_options USE_SHORT_LIBNAME=1 diff --git a/testing/gdnsd/APKBUILD b/testing/gdnsd/APKBUILD new file mode 100644 index 0000000000..e353e12c69 --- /dev/null +++ b/testing/gdnsd/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gdnsd +pkgver=1.6.2 +pkgrel=0 +pkgdesc="Geographic Authoritative DNS server" +url="http://code.google.com/p/gdnsd/" +arch="all" +license="GPL-3" +depends="" +depends_dev="" +makedepends="libev-dev libcap-dev" +install="$pkgname.pre-install" +subpackages="$pkgname-dev $pkgname-doc" +source="http://gdnsd.googlecode.com/files/gdnsd-$pkgver.tar.xz" + +_builddir="$srcdir"/gdnsd-$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 +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/gdnsd/*.la +} + +md5sums="082f874d24cdc7073950ed6294f8d39b gdnsd-1.6.2.tar.xz" diff --git a/testing/gdnsd/gdnsd.pre-install b/testing/gdnsd/gdnsd.pre-install new file mode 100644 index 0000000000..66de81a2e1 --- /dev/null +++ b/testing/gdnsd/gdnsd.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh + +addgroup gdnsd 2>/dev/null +adduser -S -H -h /dev/null -s /bin/false -D -G gdnsd gdnsd 2>/dev/null +exit 0 diff --git a/testing/perl-async-mergepoint/APKBUILD b/testing/perl-async-mergepoint/APKBUILD deleted file mode 100644 index 9d9300c86f..0000000000 --- a/testing/perl-async-mergepoint/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-async-mergepoint -_pkgreal=Async-MergePoint -pkgver=0.04 -pkgrel=0 -pkgdesc="resynchronise diverged control flow" -url="http://search.cpan.org/dist/Async-MergePoint/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="perl-test-fatal" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="e9055c122e02fd75c8d604bb1dca49ca Async-MergePoint-0.04.tar.gz" diff --git a/testing/perl-class-load/APKBUILD b/testing/perl-class-load/APKBUILD deleted file mode 100644 index c979053cc6..0000000000 --- a/testing/perl-class-load/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=perl-class-load -pkgver=0.13 -pkgrel=0 -pkgdesc="Class::Load perl module" -url="http://search.cpan.org/dist/Class-Load/" -arch="noarch" -license="GPLv2 or Artistic" -depends="perl perl-test-fatal perl-data-optlist perl-module-runtime perl-package-stash" -makedepends="perl-dev" -install="" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-$pkgver.tar.gz" - -_builddir="$srcdir"/Class-Load-$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 -} - -build() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 - make && make test || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d26a8c6da4e12d72d9f06a47c89c6a73 Class-Load-0.13.tar.gz" diff --git a/testing/perl-cps/APKBUILD b/testing/perl-cps/APKBUILD deleted file mode 100644 index 1b1aaab0af..0000000000 --- a/testing/perl-cps/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-cps -_pkgreal=CPS -pkgver=0.11 -pkgrel=0 -pkgdesc="manage flow of control in Continuation-Passing Style" -url="http://search.cpan.org/dist/CPS/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="e4f36f053f538a6fa1ea4ed1de038f9e CPS-0.11.tar.gz" diff --git a/testing/perl-dist-checkconflicts/APKBUILD b/testing/perl-dist-checkconflicts/APKBUILD deleted file mode 100644 index 90072dcced..0000000000 --- a/testing/perl-dist-checkconflicts/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-dist-checkconflicts -_pkgreal=Dist-CheckConflicts -pkgver=0.02 -pkgrel=0 -pkgdesc="declare version conflicts for your dist" -url="http://search.cpan.org/dist/Dist-CheckConflicts/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-list-moreutils perl-sub-exporter perl-test-fatal" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="64b8d342ba11336b2969c274a60bbc5f Dist-CheckConflicts-0.02.tar.gz" diff --git a/testing/perl-heap/APKBUILD b/testing/perl-heap/APKBUILD deleted file mode 100644 index 2bcd88ac8e..0000000000 --- a/testing/perl-heap/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-heap -_pkgreal=Heap -pkgver=0.80 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Heap/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/J/JM/JMM/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="05fed19a7552dadee11c780cd68c0116 Heap-0.80.tar.gz" diff --git a/testing/perl-io-async/APKBUILD b/testing/perl-io-async/APKBUILD deleted file mode 100644 index a5e6d15416..0000000000 --- a/testing/perl-io-async/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-io-async -_pkgreal=IO-Async -pkgver=0.45 -pkgrel=0 -pkgdesc="Asynchronous event-driven programming" -url="http://search.cpan.org/dist/IO-Async/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-heap perl-async-mergepoint perl-cps" -cpanmakedepends="perl-test-fatal perl-test-warn perl-test-refcount perl-test-identity" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="00f4213a413bb1fc431bfe56568c0192 IO-Async-0.45.tar.gz" diff --git a/testing/perl-module-runtime/APKBUILD b/testing/perl-module-runtime/APKBUILD deleted file mode 100644 index 26eff5e3c3..0000000000 --- a/testing/perl-module-runtime/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-module-runtime -_pkgreal=Module-Runtime -pkgver=0.011 -pkgrel=0 -pkgdesc="runtime module handling" -url="http://search.cpan.org/dist/Module-Runtime/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-params-classify" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d0d2ab338c5bb2769a8f7db200cfdb2b Module-Runtime-0.011.tar.gz" diff --git a/testing/perl-net-async-http/APKBUILD b/testing/perl-net-async-http/APKBUILD deleted file mode 100644 index 0b4c79fac1..0000000000 --- a/testing/perl-net-async-http/APKBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-net-async-http -_pkgreal=Net-Async-HTTP -pkgver=0.15 -pkgrel=0 -pkgdesc="use HTTP with C<IO::Async>" -url="http://search.cpan.org/dist/Net-Async-HTTP/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-uri perl-http-message perl-io-async" -cpanmakedepends="perl-http-cookies perl-test-identity perl-io-async " -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="b0298e8ecf8d74a69281c57d17631225 Net-Async-HTTP-0.15.tar.gz" diff --git a/testing/perl-package-deprecationmanager/APKBUILD b/testing/perl-package-deprecationmanager/APKBUILD deleted file mode 100644 index 78f1b3f868..0000000000 --- a/testing/perl-package-deprecationmanager/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-package-deprecationmanager -_pkgreal=Package-DeprecationManager -pkgver=0.11 -pkgrel=0 -pkgdesc="Manage deprecation warnings for your distribution" -url="http://search.cpan.org/dist/Package-DeprecationManager/" -arch="noarch" -license="Artistic-2" -cpandepends="perl-list-moreutils perl-sub-install perl-params-util perl-test-fatal perl-test-requires" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="d09664839b730997c591a5c891a2972b Package-DeprecationManager-0.11.tar.gz" diff --git a/testing/perl-package-stash/APKBUILD b/testing/perl-package-stash/APKBUILD deleted file mode 100644 index 8085e9162d..0000000000 --- a/testing/perl-package-stash/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-package-stash -_pkgreal=Package-Stash -pkgver=0.33 -pkgrel=0 -pkgdesc="routines for manipulating stashes" -url="http://search.cpan.org/dist/Package-Stash/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-dist-checkconflicts perl-package-deprecationmanager" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="fe1f6efa0dbd46f8520903b436f185f1 Package-Stash-0.33.tar.gz" diff --git a/testing/perl-params-classify/APKBUILD b/testing/perl-params-classify/APKBUILD deleted file mode 100644 index 2cabc8cdfe..0000000000 --- a/testing/perl-params-classify/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-params-classify -_pkgreal=Params-Classify -pkgver=0.013 -pkgrel=0 -pkgdesc="argument type classification" -url="http://search.cpan.org/dist/Params-Classify/" -arch="all" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="63d24fbec775472ada49d16bce4a9b1f Params-Classify-0.013.tar.gz" diff --git a/testing/perl-sub-uplevel/APKBUILD b/testing/perl-sub-uplevel/APKBUILD deleted file mode 100644 index 3c06281438..0000000000 --- a/testing/perl-sub-uplevel/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Francesco Colista <francesco.colista@gmail.com> -# Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=perl-sub-uplevel -_pkgreal=Sub-Uplevel -pkgver=0.22 -pkgrel=0 -pkgdesc="apparently run a function in a higher stack frame" -url="http://search.cpan.org/dist/Sub-Uplevel/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="c166738a97c0424a0075ebe205d285db Sub-Uplevel-0.22.tar.gz" diff --git a/testing/perl-test-fatal/APKBUILD b/testing/perl-test-fatal/APKBUILD deleted file mode 100644 index 4af1de9b3a..0000000000 --- a/testing/perl-test-fatal/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-test-fatal -_pkgreal=Test-Fatal -pkgver=0.008 -pkgrel=0 -pkgdesc="incredibly simple helpers for testing code with exceptions" -url="http://search.cpan.org/dist/Test-Fatal/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-try-tiny" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="201c94efbbcbd38b32e3cdc6752a6c07 Test-Fatal-0.008.tar.gz" diff --git a/testing/perl-test-identity/APKBUILD b/testing/perl-test-identity/APKBUILD deleted file mode 100644 index a97dddc037..0000000000 --- a/testing/perl-test-identity/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-test-identity -_pkgreal=Test-Identity -pkgver=0.01 -pkgrel=0 -pkgdesc="assert the referential identity of a reference" -url="http://search.cpan.org/dist/Test-Identity/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="ecef85c791cf5847e4c374983cf22a74 Test-Identity-0.01.tar.gz" diff --git a/testing/perl-test-refcount/APKBUILD b/testing/perl-test-refcount/APKBUILD deleted file mode 100644 index d4d71f1e7f..0000000000 --- a/testing/perl-test-refcount/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-test-refcount -_pkgreal=Test-Refcount -pkgver=0.07 -pkgrel=0 -pkgdesc="assert reference counts on objects" -url="http://search.cpan.org/dist/Test-Refcount/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - perl Build.PL installdirs=vendor || return 1 -} - -build() { - cd "$_builddir" - export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` - ./Build && ./Build test -} - -package() { - cd "$_builddir" - ./Build install destdir="$pkgdir" || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="0a78c2f25e91c27baf0f71118a970245 Test-Refcount-0.07.tar.gz" diff --git a/testing/perl-test-warn/APKBUILD b/testing/perl-test-warn/APKBUILD deleted file mode 100644 index 8b4779281a..0000000000 --- a/testing/perl-test-warn/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-test-warn -_pkgreal=Test-Warn -pkgver=0.23 -pkgrel=0 -pkgdesc="Perl extension to test methods for warnings
" -url="http://search.cpan.org/dist/Test-Warn/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="perl-tree-dag_node perl-sub-uplevel" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="96e224cba15bf69b7513c08e70496457 Test-Warn-0.23.tar.gz" diff --git a/testing/perl-tree-dag_node/APKBUILD b/testing/perl-tree-dag_node/APKBUILD deleted file mode 100644 index dc47d6a2fb..0000000000 --- a/testing/perl-tree-dag_node/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-tree-dag_node -_pkgreal=Tree-DAG_Node -pkgver=1.06 -pkgrel=0 -pkgdesc="(super)class for representing nodes in a tree" -url="http://search.cpan.org/dist/Tree-DAG_Node/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/C/CO/COGENT/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="3b006f128bd1d8961fc57c466ffa05f2 Tree-DAG_Node-1.06.tar.gz" diff --git a/testing/perl-try-tiny/APKBUILD b/testing/perl-try-tiny/APKBUILD deleted file mode 100644 index c8cad77445..0000000000 --- a/testing/perl-try-tiny/APKBUILD +++ /dev/null @@ -1,37 +0,0 @@ -# Automatically generated by apkbuild-cpan, template 1 -# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> -# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com> -pkgname=perl-try-tiny -_pkgreal=Try-Tiny -pkgver=0.11 -pkgrel=0 -pkgdesc="unknown" -url="http://search.cpan.org/dist/Try-Tiny/" -arch="noarch" -license="GPL PerlArtistic" -cpandepends="" -cpanmakedepends="" -depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" -subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/D/DO/DOY/$_pkgreal-$pkgver.tar.gz" - -_builddir="$srcdir/$_pkgreal-$pkgver" - -prepare() { - cd "$_builddir" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor -} - -build() { - cd "$_builddir" - make && make test -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete -} - -md5sums="4d2c8ff385ac3513edf4c042dd0eacbe Try-Tiny-0.11.tar.gz" diff --git a/testing/sshguard/APKBUILD b/testing/sshguard/APKBUILD deleted file mode 100644 index a337bbfc63..0000000000 --- a/testing/sshguard/APKBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=sshguard -pkgver=1.5 -pkgrel=1 -pkgdesc="Log monitor that blocks with iptables on bad behaviour" -url="http://www.sshguard.net/" -arch="all" -license="BSD" -depends="iptables" -depends_dev="" -makedepends="$depends_dev flex bison" -install="" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/project/sshguard/sshguard/sshguard-$pkgver/sshguard-$pkgver.tar.bz2 - sshguard.initd - sshguard.confd - parser.patch" - -_builddir="$srcdir"/sshguard-$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 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --with-firewall=iptables \ - || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - install -Dm755 "$srcdir"/sshguard.initd \ - "$pkgdir"/etc/init.d/sshguard || return 1 - install -Dm755 "$srcdir"/sshguard.confd \ - "$pkgdir"/etc/conf.d/sshguard || return 1 -} - -md5sums="11b9f47f9051e25bdfe84a365c961ec1 sshguard-1.5.tar.bz2 -13eb7c7e7a91cc347dbd6ff111d662c4 sshguard.initd -02dc914d310ea759a66ebb136f495e4e sshguard.confd -84ff8858abb8d5a673037cf592bb6794 parser.patch" diff --git a/testing/sshguard/parser.patch b/testing/sshguard/parser.patch deleted file mode 100644 index 51f9915e18..0000000000 --- a/testing/sshguard/parser.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- sshguard-1.5/src/parser/attack_scanner.l -+++ sshguard-1.5-mod/src/parser/attack_scanner.l -@@ -107,7 +107,7 @@ - */ - - /* handle entries with PID and without PID from processes other than sshguard */ --{TIMESTAMP_SYSLOG}[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+{PROCESSNAME}"["{NUMBER}"]: "{SOLARIS_MSGID_TAG}? { -+{TIMESTAMP_SYSLOG}[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+([a-zA-Z0-9]|{WORD}|{HOSTADDR})[ ]+{PROCESSNAME}"["{NUMBER}"]: "{SOLARIS_MSGID_TAG}? { - /* extract PID */ - yylval.num = getsyslogpid(yytext, yyleng); - return SYSLOG_BANNER_PID; diff --git a/testing/sshguard/sshguard.confd b/testing/sshguard/sshguard.confd deleted file mode 100644 index 050c2f3589..0000000000 --- a/testing/sshguard/sshguard.confd +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/files/sshguard.confd,v 1.3 2011/04/23 16:59:59 jer Exp $ - -# Config file for /etc/init.d/sshguard -# See SSHGUARD(8) for details. - -# Initial (empty) options. -SSHGUARD_OPTS="" - -# Files to monitor -# -l <source> -SSHGUARD_OPTS="${SSHGUARD_OPTS} -l /var/log/messages" - -# White listing -# -w <addr/host/block/file> -#SSHGUARD_OPTS="${SSHGUARD_OPTS} -w 192.168.0.0/24" - -# Define how long in milliseconds start-stop-daemon waits to check that -# sshguard is still running before calling success or failure. -# Values lower than the default of 999 are probably not useful. -SSHGUARD_WAIT="999" diff --git a/testing/sshguard/sshguard.initd b/testing/sshguard/sshguard.initd deleted file mode 100644 index 89ec7d592c..0000000000 --- a/testing/sshguard/sshguard.initd +++ /dev/null @@ -1,25 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/sshguard/files/sshguard.initd,v 1.3 2011/04/25 04:59:43 jer Exp $ - -depend() { - after iptables - use logger -} - -SSHGUARD_PIDFILE=${SSHGUARD_PIDFILE:-/var/run/${SVCNAME}.pid} - -start() { - ebegin "Starting sshguard" - [[ -z ${SSHGUARD_WAIT} ]] && SSHGUARD_WAIT=999 - start-stop-daemon --start --wait ${SSHGUARD_WAIT} --background --quiet --exec \ - /usr/sbin/sshguard -- -i ${SSHGUARD_PIDFILE} ${SSHGUARD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping sshguard" - start-stop-daemon --stop -p ${SSHGUARD_PIDFILE} - eend $? -} diff --git a/testing/xen/APKBUILD b/testing/xen/APKBUILD deleted file mode 100644 index c6c120168e..0000000000 --- a/testing/xen/APKBUILD +++ /dev/null @@ -1,95 +0,0 @@ -# Contributor: Roger Pau Monne <roger.pau@entel.upc.edu> -# Maintainer: -pkgname=xen -pkgver=4.1.2 -pkgrel=2 -pkgdesc="Xen hypervisor" -url="http://www.xen.org" -arch="x86 x86_64" -license="GPL" -depends="udev syslinux bash" -depends_dev="openssl-dev python-dev e2fsprogs-dev gettext zlib-dev ncurses-dev - libiconv-dev dev86 texinfo perl iasl pciutils-dev" -makedepends="$depends_dev" -install="" -subpackages="$pkgname-doc" -source="http://bits.xensource.com/oss-xen/release/$pkgver/$pkgname-$pkgver.tar.gz - blktap2_libvhd_add_iconv.patch - detect_libiconv.patch - fix_bswap_blktap.patch - fix_bswap_blktap2.patch - fix_ipxe_no_pie_default.patch - define_fsimage_dir.patch - pygrub_alpine.patch - librt.patch - busybox-sed.patch - xencommons.initd - xend.initd - xendomains.initd" - -_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 - - # remove all -Werror - msg "Eradicating -Werror..." - find -name '*.mk' -o -name 'Make*' | xargs sed -i -e 's/-Werror//g' - - echo "LIBLEAFDIR_x86_64=lib" >> .config -} - -build() { - cd "$_builddir" - - # Unset CFLAGS and LDFLAGS because the xen build system - # doesn't support them. Instead use .config in xen root - # folder if necessary. - unset CFLAGS - unset LDFLAGS - - msg "Running preflight check..." - (cd tools/check; ./chk build) || return 1 - - msg "Building hypervisor..." - make xen || return 1 - - msg "Building tools..." - make tools || return 1 - - msg "Building stub domains..." - make -j1 stubdom || return 1 -} - -package() { - cd "$_builddir" - - unset CFLAGS - unset LDFLAGS - - make -j1 DESTDIR="$pkgdir" install-xen install-tools install-stubdom \ - || return 1 - - install -m755 -D "$srcdir"/xencommons.initd "$pkgdir"/etc/init.d/xencommons - install -m755 -D "$srcdir"/xend.initd "$pkgdir"/etc/init.d/xend - install -m755 -D "$srcdir"/xendomains.initd "$pkgdir"/etc/init.d/xendomains -} - -md5sums="73561faf3c1b5e36ec5c089b5db848ad xen-4.1.2.tar.gz -6d4b045ae56be6288733d0e078f591ea blktap2_libvhd_add_iconv.patch -ed3283697cb1ddff066f4087eabf68c6 detect_libiconv.patch -503f0883f4a0b50fe4e37e09ed9a6177 fix_bswap_blktap.patch -b973dc1ffcc6872e222b36f3b7b4836b fix_bswap_blktap2.patch -10dcf0b6a05691e9f88afc01bd414480 fix_ipxe_no_pie_default.patch -0bb8a435020a5a49b38b1a447fb69977 define_fsimage_dir.patch -a7500c42804abdf68e051dc667e65f93 pygrub_alpine.patch -fa06495a175571f4aa3b6cb88937953e librt.patch -1bea3543ddc712330527b62fd9ff6520 busybox-sed.patch -4cf88b53f8ca8d99ad52bae419b620a7 xencommons.initd -b5bfc08b82bc0d21193714719a719798 xend.initd -86e7923383a906404da321d1814657e9 xendomains.initd" diff --git a/testing/xen/blktap2_libvhd_add_iconv.patch b/testing/xen/blktap2_libvhd_add_iconv.patch deleted file mode 100644 index 2353e38a6b..0000000000 --- a/testing/xen/blktap2_libvhd_add_iconv.patch +++ /dev/null @@ -1,31 +0,0 @@ -# HG changeset patch -# Parent 14e911353a91702b439bc06e2a77d67e8bd5f661 -blktap2/vhd: add -liconv when linking if using libiconv - -If libiconv is detected on the system add -liconv when linking the -libvhd library. - -If -liconv is not added when compiling libvhd with libiconv the -following error occours when linking vhd-util and vhd-update: - -gcc -o vhd-util vhd-util.o -Llib -lvhd -lib/libvhd.so: undefined reference to `libiconv_open' -lib/libvhd.so: undefined reference to `libiconv_close' -lib/libvhd.so: undefined reference to `libiconv' - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r 14e911353a91 tools/blktap2/vhd/lib/Makefile ---- a/tools/blktap2/vhd/lib/Makefile Tue Dec 20 02:30:12 2011 +0100 -+++ b/tools/blktap2/vhd/lib/Makefile Tue Dec 20 02:33:11 2011 +0100 -@@ -23,6 +23,10 @@ ifeq ($(CONFIG_Linux),y) - LIBS := -luuid - endif - -+ifeq ($(CONFIG_LIBICONV),y) -+LIBS += -liconv -+endif -+ - LIB-SRCS := libvhd.c - LIB-SRCS += libvhd-journal.c - LIB-SRCS += vhd-util-coalesce.c diff --git a/testing/xen/busybox-sed.patch b/testing/xen/busybox-sed.patch deleted file mode 100644 index e1a9531577..0000000000 --- a/testing/xen/busybox-sed.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./xen/arch/x86/boot/Makefile.orig -+++ ./xen/arch/x86/boot/Makefile -@@ -2,7 +2,7 @@ - - head.o: reloc.S - --BOOT_TRAMPOLINE := $(shell sed -n 's,^\#define[[:space:]]\{1\,\}BOOT_TRAMPOLINE[[:space:]]\{1\,\},,p' $(BASEDIR)/include/asm-x86/config.h) -+BOOT_TRAMPOLINE := $(shell sed -n 's,^\#define[[:space:]]\+BOOT_TRAMPOLINE[[:space:]]\+,,p' $(BASEDIR)/include/asm-x86/config.h) - %.S: %.c - RELOC=$(BOOT_TRAMPOLINE) $(MAKE) -f build32.mk $@ - diff --git a/testing/xen/define_fsimage_dir.patch b/testing/xen/define_fsimage_dir.patch deleted file mode 100644 index 04e4aed2af..0000000000 --- a/testing/xen/define_fsimage_dir.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -r 2863b2f43a3b tools/libfsimage/common/Makefile ---- a/tools/libfsimage/common/Makefile Thu Dec 22 14:49:38 2011 +0000 -+++ b/tools/libfsimage/common/Makefile Tue Dec 27 21:00:54 2011 +0100 -@@ -4,6 +4,8 @@ - MAJOR = 1.0 - MINOR = 0 - -+CFLAGS += -DFSIMAGE_FSDIR=\"/usr/lib/fs\" -+ - LDFLAGS-$(CONFIG_SunOS) = -Wl,-M -Wl,mapfile-SunOS - LDFLAGS-$(CONFIG_Linux) = -Wl,mapfile-GNU - LDFLAGS = $(LDFLAGS-y) diff --git a/testing/xen/detect_libiconv.patch b/testing/xen/detect_libiconv.patch deleted file mode 100644 index 5b2359eb67..0000000000 --- a/testing/xen/detect_libiconv.patch +++ /dev/null @@ -1,22 +0,0 @@ -# HG changeset patch -# Parent 2bc60167b9f8791747d2cea09c5207a9c2d7ef7b -build: detect is libiconv is present - -Detect if libiconv is present in the system, since we will have to -link against it when using iconv. - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r 2bc60167b9f8 Config.mk ---- a/Config.mk Tue Dec 20 05:25:19 2011 +0100 -+++ b/Config.mk Tue Dec 20 07:52:38 2011 +0100 -@@ -9,6 +9,10 @@ - XEN_OS ?= $(shell uname -s) - - CONFIG_$(XEN_OS) := y -+CONFIG_LIBICONV := $(shell export OS="`uname -s`"; \ -+ export CHECK_LIB="$(CHECK_LIB)"; \ -+ . $(XEN_ROOT)/tools/check/funcs.sh; \ -+ has_lib libiconv.so && echo 'y' || echo 'n') - - SHELL ?= /bin/sh diff --git a/testing/xen/fix_bswap_blktap.patch b/testing/xen/fix_bswap_blktap.patch deleted file mode 100644 index 71671d9dc2..0000000000 --- a/testing/xen/fix_bswap_blktap.patch +++ /dev/null @@ -1,61 +0,0 @@ -# HG changeset patch -# Parent d61e6300274bbc6bc464ad340146bd81e91f64f3 -blktap: remove local definitions and include byteswap.h - -Use the same approach as tools/blktap2/include/libvhd.h, remove local -definitions of bswap* and include byteswap.h. Also remove the -HAVE_BYTESWAP_H ifdef, since it was not defined in this context (it's -defined by QEMU). - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r d61e6300274b tools/blktap/drivers/bswap.h ---- a/tools/blktap/drivers/bswap.h Tue Dec 20 05:20:02 2011 +0100 -+++ b/tools/blktap/drivers/bswap.h Tue Dec 20 05:24:16 2011 +0100 -@@ -13,45 +13,9 @@ - #define bswap_16(x) swap16(x) - #define bswap_32(x) swap32(x) - #define bswap_64(x) swap64(x) --#else -+#elif defined(__linux__) - --#ifdef HAVE_BYTESWAP_H - #include <byteswap.h> --#else -- --#define bswap_16(x) \ --({ \ -- uint16_t __x = (x); \ -- ((uint16_t)( \ -- (((uint16_t)(__x) & (uint16_t)0x00ffU) << 8) | \ -- (((uint16_t)(__x) & (uint16_t)0xff00U) >> 8) )); \ --}) -- --#define bswap_32(x) \ --({ \ -- uint32_t __x = (x); \ -- ((uint32_t)( \ -- (((uint32_t)(__x) & (uint32_t)0x000000ffUL) << 24) | \ -- (((uint32_t)(__x) & (uint32_t)0x0000ff00UL) << 8) | \ -- (((uint32_t)(__x) & (uint32_t)0x00ff0000UL) >> 8) | \ -- (((uint32_t)(__x) & (uint32_t)0xff000000UL) >> 24) )); \ --}) -- --#define bswap_64(x) \ --({ \ -- uint64_t __x = (x); \ -- ((uint64_t)( \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00000000000000ffULL) << 56) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x000000000000ff00ULL) << 40) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x0000000000ff0000ULL) << 24) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00000000ff000000ULL) << 8) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x000000ff00000000ULL) >> 8) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x0000ff0000000000ULL) >> 24) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00ff000000000000ULL) >> 40) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0xff00000000000000ULL) >> 56) )); \ --}) -- --#endif /* !HAVE_BYTESWAP_H */ - - static inline uint16_t bswap16(uint16_t x) - { diff --git a/testing/xen/fix_bswap_blktap2.patch b/testing/xen/fix_bswap_blktap2.patch deleted file mode 100644 index 69cd2e369c..0000000000 --- a/testing/xen/fix_bswap_blktap2.patch +++ /dev/null @@ -1,62 +0,0 @@ -# HG changeset patch -# Parent 00d9ee3844121f4a7f01e42933751e49b0448abb -blktap2: remove local definitions and include byteswap.h - -Use the same approach as tools/blktap2/include/libvhd.h, remove local -definitions of bswap* and include byteswap.h. Also remove the -HAVE_BYTESWAP_H ifdef, since it was not defined in this context (it's -defined by QEMU). - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r 00d9ee384412 tools/blktap2/drivers/bswap.h ---- a/tools/blktap2/drivers/bswap.h Tue Dec 20 05:24:17 2011 +0100 -+++ b/tools/blktap2/drivers/bswap.h Tue Dec 20 05:25:18 2011 +0100 -@@ -13,45 +13,10 @@ - #define bswap_16(x) swap16(x) - #define bswap_32(x) swap32(x) - #define bswap_64(x) swap64(x) --#else -+#elif defined(__linux__) - --#ifdef HAVE_BYTESWAP_H -+#include <endian.h> - #include <byteswap.h> --#else -- --#define bswap_16(x) \ --({ \ -- uint16_t __x = (x); \ -- ((uint16_t)( \ -- (((uint16_t)(__x) & (uint16_t)0x00ffU) << 8) | \ -- (((uint16_t)(__x) & (uint16_t)0xff00U) >> 8) )); \ --}) -- --#define bswap_32(x) \ --({ \ -- uint32_t __x = (x); \ -- ((uint32_t)( \ -- (((uint32_t)(__x) & (uint32_t)0x000000ffUL) << 24) | \ -- (((uint32_t)(__x) & (uint32_t)0x0000ff00UL) << 8) | \ -- (((uint32_t)(__x) & (uint32_t)0x00ff0000UL) >> 8) | \ -- (((uint32_t)(__x) & (uint32_t)0xff000000UL) >> 24) )); \ --}) -- --#define bswap_64(x) \ --({ \ -- uint64_t __x = (x); \ -- ((uint64_t)( \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00000000000000ffULL) << 56) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x000000000000ff00ULL) << 40) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x0000000000ff0000ULL) << 24) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00000000ff000000ULL) << 8) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x000000ff00000000ULL) >> 8) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x0000ff0000000000ULL) >> 24) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0x00ff000000000000ULL) >> 40) | \ -- (uint64_t)(((uint64_t)(__x) & (uint64_t)0xff00000000000000ULL) >> 56) )); \ --}) -- --#endif /* !HAVE_BYTESWAP_H */ - - static inline uint16_t bswap16(uint16_t x) - { diff --git a/testing/xen/fix_ipxe_no_pie_default.patch b/testing/xen/fix_ipxe_no_pie_default.patch deleted file mode 100644 index 3ffb5388c4..0000000000 --- a/testing/xen/fix_ipxe_no_pie_default.patch +++ /dev/null @@ -1,165 +0,0 @@ -# HG changeset patch -# Parent b60667a56ae085ee2bcea896887d0907fb86af41 -ipxe: fix compilation issues with some gcc versions - -Backported some changes from current ipxe, to fix a issue with some -new versions of gcc that add -fPIC by default, and compilation fails -with the following error: - -arch/i386/core/cpu.c: In function 'get_cpuinfo': -arch/i386/include/bits/cpu.h:79:2: error: inconsistent operand -constraints in an 'asm' -arch/i386/include/bits/cpu.h:79:2: error: inconsistent operand -constraints in an 'asm' -arch/i386/include/bits/cpu.h:79:2: error: inconsistent operand -constraints in an 'asm' -arch/i386/include/bits/cpu.h:79:2: error: inconsistent operand -constraints in an 'asm' - -Two patches from ipxe git have been added. The problem is reproducible -with at least this version of gcc: - -Using built-in specs. -COLLECT_GCC=gcc -COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-alpine-linux-uclibc/4.6.2/lto-wrapper -Target: x86_64-alpine-linux-uclibc -Configured with: -/home/buildozer/aports/main/gcc/src/gcc-4.6.2/configure --prefix=/usr ---mandir=/usr/share/man --infodir=/usr/share/info ---build=x86_64-alpine-linux-uclibc --host=x86_64-alpine-linux-uclibc ---target=x86_64-alpine-linux-uclibc --with-pkgversion='Alpine -4.6.2-r1' --disable-altivec --disable-checking --disable-fixed-point ---disable-libssp --disable-libstdcxx-pch --disable-multilib ---disable-nls --disable-werror --enable-__cxa_atexit --enable-cld ---enable-esp --enable-cloog-backend ---enable-languages=c,c++,objc,java,go --enable-shared ---enable-target-optspace --enable-tls --enable-threads ---with-dynamic-linker=ld64-uClibc.so.0.9.32 ---with-dynamic-linker-prefix=/lib --with-system-zlib ---without-system-libunwind -Thread model: posix -gcc version 4.6.2 (Alpine 4.6.2-r1) - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r b60667a56ae0 tools/firmware/etherboot/patches/gpxe-git-b8924c1aed51 ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/tools/firmware/etherboot/patches/gpxe-git-b8924c1aed51 Fri Dec 16 13:48:49 2011 +0100 -@@ -0,0 +1,72 @@ -+commit b8924c1aed512aa40cf28a43635df383880f771d -+Author: Michael Brown <mcb30@ipxe.org> -+Date: Wed Mar 16 19:30:42 2011 +0000 -+ -+ [build] Allow workaround-specific flags to override default flags -+ -+ Signed-off-by: Michael Brown <mcb30@ipxe.org> -+ -+diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping -+index 709f8de..78e78c9 100644 -+--- a/src/Makefile.housekeeping -++++ b/src/Makefile.housekeeping -+@@ -109,6 +109,10 @@ VERYCLEANUP += .toolcheck -+ # Check for various tool workarounds -+ # -+ -++WORKAROUND_CFLAGS := -++WORKAROUND_ASFLAGS := -++WORKAROUND_LDFLAGS := -++ -+ # Make syntax does not allow use of comma or space in certain places. -+ # This ugly workaround is suggested in the manual. -+ # -+@@ -119,7 +123,7 @@ SPACE := $(EMPTY) $(EMPTY) -+ # Check for an old version of gas (binutils 2.9.1) -+ # -+ OLDGAS := $(shell $(AS) --version | grep -q '2\.9\.1' && $(ECHO) -DGAS291) -+-CFLAGS += $(OLDGAS) -++WORKAROUND_CFLAGS += $(OLDGAS) -+ oldgas : -+ @$(ECHO) $(oldgas) -+ -+@@ -131,7 +135,7 @@ ifeq ($(CCTYPE),gcc) -+ SP_TEST = $(CC) -fno-stack-protector -x c -c /dev/null \ -+ -o /dev/null >/dev/null 2>&1 -+ SP_FLAGS := $(shell $(SP_TEST) && $(ECHO) '-fno-stack-protector') -+-CFLAGS += $(SP_FLAGS) -++WORKAROUND_CFLAGS += $(SP_FLAGS) -+ endif -+ -+ # gcc 4.4 generates .eh_frame sections by default, which distort the -+@@ -141,7 +145,7 @@ ifeq ($(CCTYPE),gcc) -+ CFI_TEST = $(CC) -fno-dwarf2-cfi-asm -x c -c /dev/null \ -+ -o /dev/null >/dev/null 2>&1 -+ CFI_FLAGS := $(shell $(CFI_TEST) && $(ECHO) '-fno-dwarf2-cfi-asm') -+-CFLAGS += $(CFI_FLAGS) -++WORKAROUND_CFLAGS += $(CFI_FLAGS) -+ endif -+ -+ # Some versions of gas choke on division operators, treating them as -+@@ -150,7 +154,7 @@ endif -+ # -+ DIVIDE_TEST = $(AS) --divide /dev/null -o /dev/null 2>/dev/null -+ DIVIDE_FLAGS := $(shell $(DIVIDE_TEST) && $(ECHO) '--divide') -+-ASFLAGS += $(DIVIDE_FLAGS) -++WORKAROUND_ASFLAGS += $(DIVIDE_FLAGS) -+ -+ ############################################################################### -+ # -+@@ -375,9 +379,9 @@ CFLAGS += -diag-disable 1419 # Missing prototypes -+ CFLAGS += -diag-disable 1599 # Hidden variables -+ CFLAGS += -Wall -Wmissing-declarations -+ endif -+-CFLAGS += $(EXTRA_CFLAGS) -+-ASFLAGS += $(EXTRA_ASFLAGS) -+-LDFLAGS += $(EXTRA_LDFLAGS) -++CFLAGS += $(WORKAROUND_CFLAGS) $(EXTRA_CFLAGS) -++ASFLAGS += $(WORKAROUND_ASFLAGS) $(EXTRA_ASFLAGS) -++LDFLAGS += $(WORKAROUND_LDFLAGS) $(EXTRA_LDFLAGS) -+ -+ # Inhibit -Werror if NO_WERROR is specified on make command line -+ # -diff -r b60667a56ae0 tools/firmware/etherboot/patches/gpxe-git-fe61f6de0dd5 ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/tools/firmware/etherboot/patches/gpxe-git-fe61f6de0dd5 Fri Dec 16 13:48:49 2011 +0100 -@@ -0,0 +1,32 @@ -+commit fe61f6de0dd5d39ac3de5e8e18742f9bd0aafad7 -+Author: Gilles Espinasse <g.esp@free.fr> -+Date: Tue Mar 29 15:30:11 2011 +0100 -+ -+ [build] Fix compilation when gcc is patched to default to -fPIE -Wl,-pie -+ -+ Signed-off-by: Gilles Espinasse <g.esp@free.fr> -+ Modified-by: Michael Brown <mcb30@ipxe.org> -+ Signed-off-by: Michael Brown <mcb30@ipxe.org> -+ -+diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping -+index 57e52c0..c184351 100644 -+--- a/src/Makefile.housekeeping -++++ b/src/Makefile.housekeeping -+@@ -138,6 +138,17 @@ SP_FLAGS := $(shell $(SP_TEST) && $(ECHO) '-fno-stack-protector') -+ WORKAROUND_CFLAGS += $(SP_FLAGS) -+ endif -+ -++# Some widespread patched versions of gcc include -fPIE -Wl,-pie by -++# default. Note that gcc will exit *successfully* if it fails to -++# recognise an option that starts with "no", so we have to test for -++# output on stderr instead of checking the exit status. -++# -++ifeq ($(CCTYPE),gcc) -++PIE_TEST = [ -z "`$(CC) -fno-PIE -nopie -x c -c /dev/null -o /dev/null 2>&1`" ] -++PIE_FLAGS := $(shell $(PIE_TEST) && $(ECHO) '-fno-PIE -nopie') -++WORKAROUND_CFLAGS += $(PIE_FLAGS) -++endif -++ -+ # gcc 4.4 generates .eh_frame sections by default, which distort the -+ # output of "size". Inhibit this. -+ # -diff -r b60667a56ae0 tools/firmware/etherboot/patches/series ---- a/tools/firmware/etherboot/patches/series Fri Dec 16 10:47:18 2011 +0100 -+++ b/tools/firmware/etherboot/patches/series Fri Dec 16 13:48:49 2011 +0100 -@@ -1,3 +1,5 @@ - boot_prompt_option.patch - gpxe-git-0edf2405b457 - gpxe-git-a803ef3dfeac -+gpxe-git-b8924c1aed51 -+gpxe-git-fe61f6de0dd5 diff --git a/testing/xen/librt.patch b/testing/xen/librt.patch deleted file mode 100644 index cbb52071a5..0000000000 --- a/testing/xen/librt.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ./tools/ioemu-qemu-xen/Makefile.target.orig -+++ ./tools/ioemu-qemu-xen/Makefile.target -@@ -520,7 +520,7 @@ - OBJS+=block-raw-posix.o - endif - --LIBS+=-lz -+LIBS+=-lz -lrt - ifdef CONFIG_ALSA - LIBS += -lasound - endif diff --git a/testing/xen/pygrub_alpine.patch b/testing/xen/pygrub_alpine.patch deleted file mode 100644 index 98d0822c71..0000000000 --- a/testing/xen/pygrub_alpine.patch +++ /dev/null @@ -1,64 +0,0 @@ -# HG changeset patch -# Parent 3e02aa9670b3265e36bdddbd4760415cd87d047b -pygrub: fix extlinux parsing - -pygrub was unable to parse extlinux config files correctly, exactly -the ones like: - -LABEL grsec - KERNEL vmlinuz-3.0.10-grsec - APPEND initrd=initramfs-3.0.10-grsec -root=UUID=cfd4a7b4-8c40-4025-b877-8205f1c622ee -modules=sd-mod,usb-storage,ext4 xen quiet - -This patch fixes it, adding a new case when parsing the "append" line, -that searches for the initrd image. - -Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> - -diff -r 3e02aa9670b3 tools/pygrub/examples/alpine-linux-2.3.2.extlinux ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/tools/pygrub/examples/alpine-linux-2.3.2.extlinux Tue Jan 03 13:11:46 2012 +0100 -@@ -0,0 +1,11 @@ -+DEFAULT menu.c32 -+PROMPT 0 -+MENU TITLE Alpine/Linux Boot Menu -+MENU HIDDEN -+MENU AUTOBOOT Alpine will be booted automatically in # seconds. -+TIMEOUT 30 -+LABEL grsec -+ MENU DEFAULT -+ MENU LABEL Linux 3.0.10-grsec -+ KERNEL vmlinuz-3.0.10-grsec -+ APPEND initrd=initramfs-3.0.10-grsec root=UUID=a97ffe64-430f-4fd3-830e-4736d9a27af0 modules=sd-mod,usb-storage,ext4 quiet -diff -r 3e02aa9670b3 tools/pygrub/src/ExtLinuxConf.py ---- a/tools/pygrub/src/ExtLinuxConf.py Thu Dec 15 18:55:46 2011 +0100 -+++ b/tools/pygrub/src/ExtLinuxConf.py Tue Jan 03 13:11:46 2012 +0100 -@@ -60,6 +60,13 @@ class ExtLinuxImage(object): - - # Bypass regular self.commands handling - com = None -+ elif "initrd=" in arg: -+ # find initrd image in append line -+ args = arg.strip().split(" ") -+ for a in args: -+ if a.lower().startswith("initrd="): -+ setattr(self, "initrd", a.replace("initrd=", "")) -+ arg = arg.replace(a, "") - - if com is not None and self.commands.has_key(com): - if self.commands[com] is not None: -@@ -86,10 +93,12 @@ class ExtLinuxImage(object): - self._args = args - def get_kernel(self): - return self._kernel -+ def set_args(self, val): -+ self._args = val - def get_args(self): - return self._args - kernel = property(get_kernel, set_kernel) -- args = property(get_args) -+ args = property(get_args, set_args) - - def set_initrd(self, val): - self._initrd = (None,val) diff --git a/testing/xen/xencommons.initd b/testing/xen/xencommons.initd deleted file mode 100644 index 3d3c5da387..0000000000 --- a/testing/xen/xencommons.initd +++ /dev/null @@ -1,102 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -if [ -d /etc/sysconfig ]; then - xencommons_config=/etc/sysconfig -else - xencommons_config=/etc/default -fi - -test -f $xencommons_config/xencommons && . $xencommons_config/xencommons - -XENCONSOLED_PIDFILE=/var/run/xenconsoled.pid - -# not running in Xen dom0 or domU -if ! test -d /proc/xen ; then - exit 0 -fi - -# mount xenfs in dom0 or domU with a pv_ops kernel -if test "x$1" = xstart && \ - ! test -f /proc/xen/capabilities && \ - ! grep '^xenfs ' /proc/mounts >/dev/null; -then - mount -t xenfs xenfs /proc/xen -fi - -# run this script only in dom0: -# no capabilities file in xenlinux domU kernel -# empty capabilities file in pv_ops domU kernel -if test -f /proc/xen/capabilities && \ - ! grep -q "control_d" /proc/xen/capabilities ; then - exit 0 -fi - -depend() { - need udev - before xend -} - -start() { - local time=0 - local timeout=30 - - modprobe xen-evtchn 2>/dev/null - modprobe xen-gntdev 2>/dev/null - modprobe evtchn 2>/dev/null - modprobe gntdev 2>/dev/null - - if ! `xenstore-read -s / >/dev/null 2>&1` - then - test -z "$XENSTORED_ROOTDIR" || XENSTORED_ROOTDIR="/var/lib/xenstored" - rm -f "$XENSTORED_ROOTDIR"/tdb* &>/dev/null - test -z "$XENSTORED_TRACE" || XENSTORED_ARGS=" -T /var/log/xen/xenstored-trace.log" - - ebegin "Starting xenstored..." - xenstored --pid-file=/var/run/xenstored.pid $XENSTORED_ARGS - - # Wait for xenstored to actually come up, timing out after 30 seconds - while [ $time -lt $timeout ] && ! `xenstore-read -s / >/dev/null 2>&1` ; do - time=$(($time+1)) - sleep 1 - done - - # Exit if we timed out - if ! [ $time -lt $timeout ] ; then - eend 1 - echo Could not start xenstored - exit 1 - fi - eend 0 - - ebegin "Setting domain 0 name..." - xenstore-write "/local/domain/0/name" "Domain-0" - eend $? - fi - - ebegin "Starting xenconsoled..." - test -z "$XENCONSOLED_TRACE" || XENCONSOLED_ARGS=" --log=$XENCONSOLED_TRACE" - xenconsoled --pid-file=$XENCONSOLED_PIDFILE $XENCONSOLED_ARGS - eend $? - - test -z "$XENBACKENDD_DEBUG" || XENBACKENDD_ARGS="-d" - test "`uname`" != "NetBSD" || xenbackendd $XENBACKENDD_ARGS -} - -stop() { - ebegin "Stopping xenconsoled" - if read 2>/dev/null <$XENCONSOLED_PIDFILE pid; then - kill $pid - while kill -9 $pid >/dev/null 2>&1; do sleep 0.1; done - rm -f $XENCONSOLED_PIDFILE - fi - eend 0 - - echo WARNING: Not stopping xenstored, as it cannot be restarted. -} - -status() { - xenstore-read -s / >/dev/null 2>&1 -} diff --git a/testing/xen/xend.initd b/testing/xen/xend.initd deleted file mode 100644 index 398ecd86b9..0000000000 --- a/testing/xen/xend.initd +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/runscript - -depend() { - need xencommons - before xendomains -} - -await_daemons_up() { - i=1 - rets=10 - /usr/sbin/xend status - while [ $? -ne 0 -a $i -lt $rets ]; do - sleep 1 - i=$(($i + 1)) - /usr/sbin/xend status - done -} - -start() { - ebegin "Starting Xen daemons" - if [ -z "`ps xenconsoled -o pid=`" ]; then - eend 1 - echo "xencommons should be started first." - exit 1 - fi - mkdir -p /var/lock - if [ -d /var/lock/subsys ]; then - touch /var/lock/subsys/xend - else - touch /var/lock/xend - fi - /usr/sbin/xend start - await_daemons_up - eend $? -} - -stop() { - ebegin "Stopping Xen control daemon" - /usr/sbin/xend stop - rm -f /var/lock/subsys/xend /var/lock/xend - eend $? -} - -restart() { - ebegin "Restarting Xen control daemon" - /usr/sbin/xend restart - await_daemons_up - eend $? -} - -status() { - /usr/sbin/xend status -} diff --git a/testing/xen/xendomains.initd b/testing/xen/xendomains.initd deleted file mode 100644 index 0f309ef3d0..0000000000 --- a/testing/xen/xendomains.initd +++ /dev/null @@ -1,105 +0,0 @@ -#!/sbin/runscript - -CMD=xm -/usr/sbin/$CMD list &> /dev/null -if test $? -ne 0 -then - CMD=xl -fi - -/usr/sbin/$CMD list &> /dev/null -if test $? -ne 0 -then - eend 1; - exit 1; -fi - -# Correct exit code would probably be 5, but it's enough -# if xend complains if we're not running as privileged domain -if ! [ -e /proc/xen/privcmd ]; then - eend 1; - exit 1; -fi - -# See docs/misc/distro_mapping.txt -if [ -d /var/lock/subsys ]; then - LOCKFILE=/var/lock/subsys/xendomains -else - LOCKFILE=/var/lock/xendomains -fi - -if [ -d /etc/sysconfig ]; then - XENDOM_CONFIG=/etc/sysconfig/xendomains -else - XENDOM_CONFIG=/etc/default/xendomains -fi - -if ! [ -r $XENDOM_CONFIG ]; then - eend 1; - echo "$XENDOM_CONFIG not existing"; - exit 1; -fi - -. $XENDOM_CONFIG - -depend() { - need xencommons - after net xend -} - -get_domname() { - local name_from_file=$(sed -rn 's/^name\W*=\W*\"?([[:alnum:]_\.-]+)\"?\W*;?/\1/p' "${1}" | tail -n 1) - - if [[ -z ${name_from_file} ]] ; then - basename "${1}" - else - echo ${name_from_file} - fi -} - -is_running() { - /usr/sbin/$CMD list "${1}" >/dev/null 2>&1 -} - -start() { - einfo "Starting Xen domains in ${AUTODIR:=/etc/xen/auto}" - - for dom in $(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort); do - name=$(get_domname ${dom}) - if ! is_running ${name} ; then - ebegin " Starting domain ${name}" - /usr/sbin/$CMD create --quiet --defconfig ${dom} - eend $? - else - einfo " Not starting ${name} - already running." - fi - done -} - -stop() { - einfo "Stopping Xen domains in ${AUTODIR:=/etc/xen/auto}" - - for dom in $(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort); do - name=$(get_domname ${dom}) - if is_running ${name} ; then - ebegin " Sending shutdown signal to ${name}" - /usr/sbin/$CMD shutdown ${name} >/dev/null - eend $? - fi - done - - for dom in $(ls "${AUTODIR:=/etc/xen/auto}/"* 2>/dev/null | sort); do - name=$(get_domname ${dom}) - if is_running ${name} ; then - ebegin " Waiting for domain ${name} to shutdown" - /usr/sbin/$CMD shutdown --wait ${name} - eend $? - else - einfo " Not stopping ${name} - not running." - fi - done -} - -status() { - /usr/sbin/$CMD list -} diff --git a/testing/xulrunner/0002-Use-C99-math-isfinite.patch b/testing/xulrunner/0002-Use-C99-math-isfinite.patch deleted file mode 100644 index 3d85a69288..0000000000 --- a/testing/xulrunner/0002-Use-C99-math-isfinite.patch +++ /dev/null @@ -1,43 +0,0 @@ -From cdb9db4c1c593dbe22db4f389a62fce034f31f2d Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Fri, 25 Nov 2011 08:30:51 +0000 -Subject: [PATCH 2/4] Use C99 math isfinite - ---- - js/src/ctypes/CTypes.cpp | 2 +- - xpcom/ds/nsMathUtils.h | 6 +++++- - 2 files changed, 6 insertions(+), 2 deletions(-) - -diff --git a/js/src/ctypes/CTypes.cpp b/js/src/ctypes/CTypes.cpp -index 5c0f886..a3b1ae6 100644 ---- a/js/src/ctypes/CTypes.cpp -+++ b/js/src/ctypes/CTypes.cpp -@@ -467,7 +467,7 @@ static inline bool FloatIsFinite(jsdouble f) { - #ifdef WIN32 - return _finite(f) != 0; - #else -- return finite(f); -+ return isfinite(f); - #endif - } - -diff --git a/xpcom/ds/nsMathUtils.h b/xpcom/ds/nsMathUtils.h -index 21ffbec..2e80476 100644 ---- a/xpcom/ds/nsMathUtils.h -+++ b/xpcom/ds/nsMathUtils.h -@@ -131,7 +131,11 @@ inline NS_HIDDEN_(bool) NS_finite(double d) - // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800. - return !!_finite(d); - #else -- return finite(d); -+#ifdef _GLIBCXX_CMATH -+ return std::isfinite(d); -+#else -+ return isfinite(d); -+#endif - #endif - } - --- -1.7.7.4 - diff --git a/testing/xulrunner/0003-xulrunner-jemalloc-aslr.patch b/testing/xulrunner/0003-xulrunner-jemalloc-aslr.patch deleted file mode 100644 index 6784b13e74..0000000000 --- a/testing/xulrunner/0003-xulrunner-jemalloc-aslr.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 88bb9f90ec1e4b43fb78596c8ff7577c92592eb4 Mon Sep 17 00:00:00 2001 -From: Natanael Copa <ncopa@alpinelinux.org> -Date: Fri, 25 Nov 2011 08:36:52 +0000 -Subject: [PATCH 3/4] xulrunner: jemalloc aslr - ---- - memory/jemalloc/jemalloc.c | 33 ++++++++++++++++++++++----------- - 1 files changed, 22 insertions(+), 11 deletions(-) - -diff --git a/memory/jemalloc/jemalloc.c b/memory/jemalloc/jemalloc.c -index ad7c450..91de92c 100644 ---- a/memory/jemalloc/jemalloc.c -+++ b/memory/jemalloc/jemalloc.c -@@ -410,7 +410,7 @@ void *_mmap(void *addr, size_t length, int prot, int flags, - static const bool __isthreaded = true; - #endif - --#if defined(MOZ_MEMORY_SOLARIS) && defined(MAP_ALIGN) && !defined(JEMALLOC_NEVER_USES_MAP_ALIGN) -+#if defined(MOZ_MEMORY_SOLARIS) || defined(MOZ_MEMORY_LINUX) || defined(MOZ_MEMORY_BSD) - #define JEMALLOC_USES_MAP_ALIGN /* Required on Solaris 10. Might improve performance elsewhere. */ - #endif - -@@ -2181,20 +2181,31 @@ pages_map_align(size_t size, int pfd, size_t alignment) - * We don't use MAP_FIXED here, because it can cause the *replacement* - * of existing mappings, and we only want to create new mappings. - */ --#ifdef MALLOC_PAGEFILE -- if (pfd != -1) { -- ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | -- MAP_NOSYNC | MAP_ALIGN, pfd, 0); -- } else --#endif -- { -- ret = mmap((void *)alignment, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | -- MAP_NOSYNC | MAP_ALIGN | MAP_ANON, -1, 0); -- } -+ ret = mmap(NULL, size + alignment, PROT_READ | PROT_WRITE, MAP_PRIVATE | -+ MAP_NOSYNC| MAP_ANON, -1, 0); - assert(ret != NULL); - - if (ret == MAP_FAILED) - ret = NULL; -+ else { -+ uintptr_t aligned_ret; -+ size_t extra_size; -+ -+ aligned_ret = (uintptr_t)ret + alignment - 1; -+ aligned_ret &= ~(alignment - 1); -+ extra_size = aligned_ret - (uintptr_t)ret; -+ munmap(ret, extra_size); -+ munmap(ret + extra_size + size, alignment - extra_size); -+ ret = (void *)aligned_ret; -+#ifdef MALLOC_PAGEFILE -+ if (pfd != -1) { -+ ret = mmap(ret, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | -+ MAP_NOSYNC | MAP_FIXED, pfd, 0); -+ } -+ if (ret == MAP_FAILED) -+ ret = NULL; -+#endif -+ } - return (ret); - } - #endif --- -1.7.7.4 - diff --git a/testing/xulrunner/0004-xulrunner-malloc_usable_size.patch b/testing/xulrunner/0004-xulrunner-malloc_usable_size.patch deleted file mode 100644 index 986b183ece..0000000000 --- a/testing/xulrunner/0004-xulrunner-malloc_usable_size.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Timo Teräs <timo.teras@iki.fi> - -malloc_usable_size is not defined on uclibc, so workaround -that in jemalloc. Fix mozalloc linking. - ---- mozilla-release-old/memory/jemalloc/jemalloc.h -+++ mozilla-release/memory/jemalloc/jemalloc.h -@@ -75,8 +75,12 @@ - /* Linux has memalign and malloc_usable_size */ - #if !defined(MOZ_MEMORY_LINUX) - void *memalign(size_t alignment, size_t size); --size_t malloc_usable_size(const void *ptr); - #endif /* MOZ_MEMORY_LINUX */ -+ -+#include <features.h> -+#if defined(__UCLIBC__) || !defined(MOZ_MEMORY_LINUX) -+size_t malloc_usable_size(const void *ptr); -+#endif - - void jemalloc_stats(jemalloc_stats_t *stats); - ---- mozilla-release-old/memory/mozalloc/Makefile.in -+++ mozilla-release/memory/mozalloc/Makefile.in -@@ -43,6 +43,10 @@ - - include $(DEPTH)/config/autoconf.mk - -+ifdef MOZ_MEMORY -+SHARED_LIBRARY_LIBS = $(call EXPAND_LIBNAME_PATH,jemalloc,../jemalloc) -+endif -+ - VISIBILITY_FLAGS= - STL_FLAGS = - ifdef _MSC_VER diff --git a/testing/xulrunner/APKBUILD b/testing/xulrunner/APKBUILD deleted file mode 100644 index e5954846f6..0000000000 --- a/testing/xulrunner/APKBUILD +++ /dev/null @@ -1,112 +0,0 @@ -# Contributor: William Pitcock <nenolod@dereferenced.org> -# Maintainer: William Pitcock <nenolod@dereferenced.org> -pkgname=xulrunner -pkgver=10.0 -_ffoxver=10.0 -pkgrel=4 -pkgdesc="runtime environment for xul-based applications" -url="http://developer.mozilla.org/en/XULRunner" -arch="all" -license="GPL LGPL MPL" -depends= -depends_dev="nspr-dev - nss-dev - gtk+-dev - dbus-glib-dev - alsa-lib-dev - libvorbis-dev - libogg-dev - libtheora-dev - wireless-tools-dev - libnotify-dev - libevent-dev - libxt-dev - jpeg-dev - bzip2-dev - hunspell-dev - startup-notification-dev - sqlite-dev - libidl-dev - mesa-dev" -makedepends="$depends_dev - - autoconf2.13 - - python - zip - yasm - - autoconf - automake - libtool" -install="" -options="" -subpackages="$pkgname-dev" -# http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/${pkgver}/source/${pkgname}-${pkgver}.source.tar.bz2 -source="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${_ffoxver}/source/firefox-${_ffoxver}.source.tar.bz2 - - mozconfig - 0002-Use-C99-math-isfinite.patch - 0003-xulrunner-jemalloc-aslr.patch - 0004-xulrunner-malloc_usable_size.patch - ff9-aslr-fix.patch - " - -_builddir="${srcdir}/mozilla-release" -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}/mozconfig" .mozconfig -} - -build() { - cd "$_builddir" - - # mozilla's buildsystem is on drugs, so we just kill our CFLAGS and hope - # for the best. --nenolod - unset CFLAGS - unset CXXFLAGS - - make -j1 -f client.mk build \ - MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" -f client.mk install || return 1 - - # make install does not install xpt.py but its needed by firefox - mkdir -p "$pkgdir"/usr/lib/xulrunner-devel-$pkgver/sdk/bin - cp xpcom/typelib/xpt/tools/xpt.py \ - "$pkgdir"/usr/lib/xulrunner-devel-$pkgver/sdk/bin/ - - msg "Setting up compatibility symlinks..." - ln -sf /usr/lib/xulrunner-${pkgver}/libxul.so "${pkgdir}"/usr/lib/libxul.so - ln -sf /usr/lib/xulrunner-${pkgver}/libxpcom.so "${pkgdir}"/usr/lib/libxpcom.so - ln -sf /usr/lib/xulrunner-${pkgver}/libmozalloc.so "${pkgdir}"/usr/lib/libmozalloc.so -} - -dev() { - replaces="xulrunner" - depends="xulrunner" - - mkdir -p "${subpkgdir}"/usr/lib - mv "${pkgdir}"/usr/lib/xulrunner-devel-${pkgver} "${subpkgdir}"/usr/lib - mv "${pkgdir}"/usr/lib/pkgconfig "${subpkgdir}"/usr/lib - mv "${pkgdir}"/usr/include "${subpkgdir}"/usr/include -} - -md5sums="13c61203ccfa583e5a54b4dc22f41233 firefox-10.0.source.tar.bz2 -b0f7d491bc800b69ec718667a4b08acb mozconfig -1867db217d10722675c88b655db8c2d7 0002-Use-C99-math-isfinite.patch -7faa279d64c9ec2e7abc7c0497c7e07e 0003-xulrunner-jemalloc-aslr.patch -d12e0636e1f9877ef2d1df45d5834c87 0004-xulrunner-malloc_usable_size.patch -96b40acd003a0a586e408bf09ae5af1d ff9-aslr-fix.patch" diff --git a/testing/xulrunner/ff9-aslr-fix.patch b/testing/xulrunner/ff9-aslr-fix.patch deleted file mode 100644 index 4e4297d0ed..0000000000 --- a/testing/xulrunner/ff9-aslr-fix.patch +++ /dev/null @@ -1,40 +0,0 @@ ---- ./js/src/jsgcchunk.cpp 2011-12-22 17:13:21.000000000 +0000
-+++ ./js/src/jsgcchunk.cpp 2011-12-22 17:18:31.000000000 +0000
-@@ -213,7 +213,7 @@
- #elif defined(XP_UNIX)
-
- /* Required on Solaris 10. Might improve performance elsewhere. */
--# if defined(SOLARIS) && defined(MAP_ALIGN)
-+# if (defined(SOLARIS) && defined(MAP_ALIGN)) || defined(MOZ_MEMORY_LINUX)
- # define JS_GC_HAS_MAP_ALIGN
-
- static void *
---- ./js/src/jsgcchunk.cpp 2011-12-22 17:55:24.000000000 +0000
-+++ ./js/src/jsgcchunk.cpp 2011-12-22 18:02:24.000000000 +0000
-@@ -226,12 +226,24 @@
- #ifdef SOLARIS
- void *p = mmap((caddr_t) alignment, size, PROT_READ | PROT_WRITE,
- MAP_PRIVATE | MAP_NOSYNC | MAP_ALIGN | MAP_ANON, -1, 0);
-+ if (p == MAP_FAILED)
-+ return NULL;
- #else
-- void *p = mmap((void *) alignment, size, PROT_READ | PROT_WRITE,
-- MAP_PRIVATE | MAP_NOSYNC | MAP_ALIGN | MAP_ANON, -1, 0);
--#endif
-+ void *p = mmap(NULL, size + alignment, PROT_READ | PROT_WRITE,
-+ MAP_PRIVATE | MAP_NOSYNC | MAP_ANON, -1, 0);
- if (p == MAP_FAILED)
- return NULL;
-+ uintptr_t aligned_ret;
-+ size_t extra_size;
-+
-+ aligned_ret = (uintptr_t)p + alignment - 1;
-+ aligned_ret &= ~(alignment - 1);
-+ extra_size = aligned_ret - (uintptr_t)p;
-+ munmap(p, extra_size);
-+ munmap(p + extra_size + size, alignment - extra_size);
-+ p = (void *)aligned_ret;
-+#endif
-+
- return p;
- }
diff --git a/testing/xulrunner/mozconfig b/testing/xulrunner/mozconfig deleted file mode 100644 index 2cbb45b7ae..0000000000 --- a/testing/xulrunner/mozconfig +++ /dev/null @@ -1,38 +0,0 @@ -. $topsrcdir/xulrunner/config/mozconfig - -ac_add_options --prefix=/usr -ac_add_options --libdir=/usr/lib -ac_add_options --with-system-nspr -ac_add_options --with-system-nss -ac_add_options --with-system-jpeg -ac_add_options --with-system-zlib -ac_add_options --with-system-bz2 -ac_add_options --with-system-libevent -ac_add_options --enable-system-hunspell -ac_add_options --enable-system-sqlite -ac_add_options --enable-system-cairo -ac_add_options --with-pthreads -ac_add_options --enable-strip -ac_add_options --disable-tests -ac_add_options --disable-mochitest -ac_add_options --disable-installer -ac_add_options --disable-debug -ac_add_options --enable-optimize -ac_add_options --enable-default-toolkit=cairo-gtk2 -ac_add_options --enable-pango -ac_add_options --enable-svg -ac_add_options --enable-canvas -ac_add_options --disable-javaxpcom -ac_add_options --disable-crashreporter -ac_add_options --enable-safe-browsing -ac_add_options --enable-startup-notification -ac_add_options --enable-extensions=default -ac_add_options --enable-jemalloc -ac_add_options --disable-elf-hack - -# export LIBS="-lubacktrace" -export BUILD_OFFICIAL=1 -export MOZILLA_OFFICIAL=1 - -mk_add_options BUILD_OFFICIAL=1 -mk_add_options MOZILLA_OFFICIAL=1 diff --git a/testing/zd1211-firmware/APKBUILD b/testing/zd1211-firmware/APKBUILD deleted file mode 100644 index f34a08df19..0000000000 --- a/testing/zd1211-firmware/APKBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Natanael Copa <ncopa@alpinelinux.org> -pkgname=zd1211-firmware -pkgver=1.4 -pkgrel=0 -pkgdesc="Firmware for ZyDAS ZD1211 USB-WLAN devices supported by the zd1211rw driver" - -url="http://sourceforge.net/projects/zd1211/" -arch="noarch" -license="GPL" -depends="" -depends_dev="" -makedepends="" -install="" -subpackages= -source="http://downloads.sourceforge.net/project/zd1211/zd1211-firmware/$pkgver/zd1211-firmware-$pkgver.tar.bz2" - -_builddir="$srcdir"/zd1211-firmware - -build() { - return 0 -} - -package() { - cd "$_builddir" - mkdir -p "$pkgdir"/lib/firmware/zd1211 - cp zd1211_ub zd1211_ur zd1211_uphr zd1211b_ub zd1211b_ur zd1211b_uphr \ - "$pkgdir"/lib/firmware/zd1211/ -} - -md5sums="19f28781d76569af8551c9d11294c870 zd1211-firmware-1.4.tar.bz2" |
