[arch-commits] Commit in wit/repos (5 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Sun Mar 6 16:08:26 UTC 2022


    Date: Sunday, March 6, 2022 @ 16:08:26
  Author: foutrelis
Revision: 1142727

archrelease: copy trunk to community-staging-x86_64

Added:
  wit/repos/community-staging-x86_64/
  wit/repos/community-staging-x86_64/PKGBUILD
    (from rev 1142726, wit/trunk/PKGBUILD)
  wit/repos/community-staging-x86_64/wit-no-exec-stack.patch
    (from rev 1142726, wit/trunk/wit-no-exec-stack.patch)
  wit/repos/community-staging-x86_64/wit-titles.patch
    (from rev 1142726, wit/trunk/wit-titles.patch)
  wit/repos/community-staging-x86_64/wit.install
    (from rev 1142726, wit/trunk/wit.install)

-------------------------+
 PKGBUILD                |   54 ++++++++++++++++++++++++++++++++++++++++++++++
 wit-no-exec-stack.patch |   10 ++++++++
 wit-titles.patch        |   19 ++++++++++++++++
 wit.install             |   10 ++++++++
 4 files changed, 93 insertions(+)

Copied: wit/repos/community-staging-x86_64/PKGBUILD (from rev 1142726, wit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-03-06 16:08:26 UTC (rev 1142727)
@@ -0,0 +1,54 @@
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Gordin <gordin at koeln.ccc.de>
+
+pkgname=wit
+pkgver=3.04a
+pkgrel=2
+pkgdesc='Wiimms ISO Tools'
+arch=(x86_64)
+url=https://wit.wiimm.de
+license=(GPL2)
+depends=(
+  bzip2
+  fuse2
+  glibc
+  libncursesw.so
+  zlib
+)
+makedepends=(
+  clang
+  git
+)
+optdepends=(
+  'bash: Update titles lists'
+  'wget: Update titles lists'
+)
+install=wit.install
+_commit=e58ce7463bc8829c46bcba52e8232f550e49c17c
+source=(
+  git+https://github.com/Wiimm/wiimms-iso-tools.git#commit=${_commit}
+  wit-no-exec-stack.patch
+  wit-titles.patch
+)
+b2sums=('SKIP'
+        'a9e615aac8ebafcf98079160f3e2140e1389e42baf7896a2fd845133e47ebcea9199eef847b84732d4dc4fec6107f45e96fb4ab3d4acf5421c88e02f3564eb62'
+        '4e241a0c37fd2a082d4285d3685833e3805e35db829961183df02bb426d5679b62f8985f59604512b2615002faa28a9d8947ca9c6fc86a025bee5ab7bbf1bcf7')
+
+prepare() {
+  cd wiimms-iso-tools
+
+  patch -Np1 -i ../wit-no-exec-stack.patch
+  patch -Np1 -i ../wit-titles.patch
+}
+
+build() {
+  make INSTALL_PATH="${pkgdir}/usr" CC=clang -C wiimms-iso-tools/project tools
+  make INSTALL_PATH="${pkgdir}/usr" CC=clang -C wiimms-iso-tools/project doc
+}
+
+package () {
+  make INSTALL_PATH="${pkgdir}/usr" CC=clang -C wiimms-iso-tools/project install
+  install -Dm 644 wiimms-iso-tools/project/doc/*.txt -t "${pkgdir}"/usr/share/doc/wit/
+}
+
+# vim: ts=2 sw=2 et:

Copied: wit/repos/community-staging-x86_64/wit-no-exec-stack.patch (from rev 1142726, wit/trunk/wit-no-exec-stack.patch)
===================================================================
--- community-staging-x86_64/wit-no-exec-stack.patch	                        (rev 0)
+++ community-staging-x86_64/wit-no-exec-stack.patch	2022-03-06 16:08:26 UTC (rev 1142727)
@@ -0,0 +1,10 @@
+--- wit-2.30a/project/src/crypto/ssl-asm.S
++++ wit-2.30a/project/src/crypto/ssl-asm.S
+@@ -37,3 +37,6 @@
+ #define WIT_INCLUDE_SSL_ASM
+ #include "ssl-asm.h"
+ 
++#if defined(__linux__) && defined(__ELF__)
++.section .note.GNU-stack,"",%progbits
++#endif
+

Copied: wit/repos/community-staging-x86_64/wit-titles.patch (from rev 1142726, wit/trunk/wit-titles.patch)
===================================================================
--- community-staging-x86_64/wit-titles.patch	                        (rev 0)
+++ community-staging-x86_64/wit-titles.patch	2022-03-06 16:08:26 UTC (rev 1142727)
@@ -0,0 +1,19 @@
+diff -rupN wit.orig/project/setup/load-titles.sh wit/project/setup/load-titles.sh
+--- wit.orig/project/setup/load-titles.sh	2014-08-19 17:54:05.351879800 +0200
++++ wit/project/setup/load-titles.sh	2014-08-19 18:04:14.235375300 +0200
+@@ -30,12 +30,11 @@
+ 
+ NEEDED="wit wget tr"
+ 
+-BASE_PATH="@@INSTALL-PATH@@"
+-SHARE_PATH="@@SHARE-PATH@@"
+-URI_TITLES=@@URI-TITLES@@
++SHARE_PATH="/usr/share/wit"
++URI_TITLES="@@URI-TITLES@@"
+ LANGUAGES="@@LANGUAGES@@"
+ 
+-SHARE_DIR=./share
++SHARE_DIR="/tmp"
+ 
+ #------------------------------------------------------------------------------
+ 

Copied: wit/repos/community-staging-x86_64/wit.install (from rev 1142726, wit/trunk/wit.install)
===================================================================
--- community-staging-x86_64/wit.install	                        (rev 0)
+++ community-staging-x86_64/wit.install	2022-03-06 16:08:26 UTC (rev 1142727)
@@ -0,0 +1,10 @@
+post_install() {
+  echo 'WIT comes with a script to automatically update its titles lists. It is'
+  echo 'located in /usr/share/wit/load-titles.sh and needs to be run as root.'
+}
+
+post_upgrade() {
+  post_install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list