[arch-commits] Commit in simh/repos/community-x86_64 (8 files)

Sergej Pupykin spupykin at archlinux.org
Thu Nov 12 20:44:24 UTC 2020


    Date: Thursday, November 12, 2020 @ 20:44:24
  Author: spupykin
Revision: 753752

archrelease: copy trunk to community-x86_64

Added:
  simh/repos/community-x86_64/LICENSE
    (from rev 753751, simh/trunk/LICENSE)
  simh/repos/community-x86_64/PKGBUILD
    (from rev 753751, simh/trunk/PKGBUILD)
  simh/repos/community-x86_64/build-fix.patch
    (from rev 753751, simh/trunk/build-fix.patch)
  simh/repos/community-x86_64/simh.install
    (from rev 753751, simh/trunk/simh.install)
Deleted:
  simh/repos/community-x86_64/LICENSE
  simh/repos/community-x86_64/PKGBUILD
  simh/repos/community-x86_64/build-fix.patch
  simh/repos/community-x86_64/simh.install

-----------------+
 LICENSE         |   48 ++++++++++++++--------------
 PKGBUILD        |   91 ++++++++++++++++++++++++++----------------------------
 build-fix.patch |   24 +++++++-------
 simh.install    |   46 +++++++++++++--------------
 4 files changed, 104 insertions(+), 105 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-11-12 20:44:12 UTC (rev 753751)
+++ LICENSE	2020-11-12 20:44:24 UTC (rev 753752)
@@ -1,24 +0,0 @@
-   Original code published in 1993-2005, written by Robert M Supnik
-   Copyright (c) 1993-2005, Robert M Supnik
-
-   Permission is hereby granted, free of charge, to any person obtaining a
-   copy of this software and associated documentation files (the "Software"),
-   to deal in the Software without restriction, including without limitation
-   the rights to use, copy, modify, merge, publish, distribute, sublicense,
-   and/or sell copies of the Software, and to permit persons to whom the
-   Software is furnished to do so, subject to the following conditions:
-
-   The above copyright notice and this permission notice shall be included in
-   all copies or substantial portions of the Software.
-
-   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
-   ROBERT M SUPNIK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-   Except as contained in this notice, the name of Robert M Supnik shall not be
-   used in advertising or otherwise to promote the sale, use or other dealings
-   in this Software without prior written authorization from Robert M Supnik.
-

Copied: simh/repos/community-x86_64/LICENSE (from rev 753751, simh/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-11-12 20:44:24 UTC (rev 753752)
@@ -0,0 +1,24 @@
+   Original code published in 1993-2005, written by Robert M Supnik
+   Copyright (c) 1993-2005, Robert M Supnik
+
+   Permission is hereby granted, free of charge, to any person obtaining a
+   copy of this software and associated documentation files (the "Software"),
+   to deal in the Software without restriction, including without limitation
+   the rights to use, copy, modify, merge, publish, distribute, sublicense,
+   and/or sell copies of the Software, and to permit persons to whom the
+   Software is furnished to do so, subject to the following conditions:
+
+   The above copyright notice and this permission notice shall be included in
+   all copies or substantial portions of the Software.
+
+   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+   IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+   FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+   ROBERT M SUPNIK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+   IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+   Except as contained in this notice, the name of Robert M Supnik shall not be
+   used in advertising or otherwise to promote the sale, use or other dealings
+   in this Software without prior written authorization from Robert M Supnik.
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 20:44:12 UTC (rev 753751)
+++ PKGBUILD	2020-11-12 20:44:24 UTC (rev 753752)
@@ -1,46 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: waterbear <st92.at.freeshell.org>
-
-pkgname=simh
-pkgver=3.11.1
-_pkgver=${pkgver//./-}
-_pkgver=${_pkgver/-/.}
-pkgrel=1
-pkgdesc="simulator for assorted historical computers, from Altair to VAX"
-arch=('x86_64')
-url="http://simh.trailing-edge.com"
-license=("BSD")
-depends=("libpcap")
-makedepends=("unzip" "linux-api-headers")
-install=simh.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/simh/simh/archive/v${_pkgver}.tar.gz"
-	"LICENSE"
-	build-fix.patch)
-sha512sums=('7c2f81a64d3016b9a44409fc336c804c0da836317745d47594cc48c64cb57dc8f22084d9086e3f86868ec485ee56ac63301f350cee6d275e705b7c5fc82875db'
-            '084faf8a66c95cb337bca19a6116c916aa04fc23ec5d57d5d8c2fc168231272123a705e83f8da2bf38f404da51727a69db68ffd87b36028e0cde52b54b92b2dd'
-            '663a5514333653352ad6134e42eca2a8c780f4d7c140dcc30063893c7470bdafe704703eee23ea89272d04acff2cdae013781b0345c2d9e9d86fcb42c50db530')
-
-prepare() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  patch -p1 <../build-fix.patch
-}
-
-build() {
-  cd "$srcdir/$pkgname-${_pkgver}"
-  mkdir -p BIN
-#  find VAX -type f -exec sed -i 's/SIM_INLINE//' {} +
-  make USE_TAP_NETWORK=1 USE_NETWORK=1 NETWORK_OPT='-DUSE_NETWORK -DUSE_TAP_NETWORK -isystem /usr/include -lpcap'
-}
-
-package() {
-  cd "$srcdir/$pkgname-${_pkgver}/BIN"
-  for i in *; do
-    install -D $i "$pkgdir/usr/bin/simh-$i"
-  done
-
-  cd "../VAX"
-  mkdir -p "$pkgdir/usr/lib/simh"
-  cp *.bin "$pkgdir/usr/lib/simh"
-
-  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: simh/repos/community-x86_64/PKGBUILD (from rev 753751, simh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 20:44:24 UTC (rev 753752)
@@ -0,0 +1,45 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: waterbear <st92.at.freeshell.org>
+
+pkgname=simh
+pkgver=3.11.1
+_pkgver=${pkgver//./-}
+_pkgver=${_pkgver/-/.}
+pkgrel=2
+pkgdesc="simulator for assorted historical computers, from Altair to VAX"
+arch=('x86_64')
+url="http://simh.trailing-edge.com"
+license=("BSD")
+depends=("libpcap")
+makedepends=("unzip" "linux-api-headers")
+install=simh.install
+source=("$pkgname-$pkgver.tar.gz::https://github.com/simh/simh/archive/v${_pkgver}.tar.gz"
+	"LICENSE"
+	build-fix.patch)
+sha512sums=('7c2f81a64d3016b9a44409fc336c804c0da836317745d47594cc48c64cb57dc8f22084d9086e3f86868ec485ee56ac63301f350cee6d275e705b7c5fc82875db'
+            '084faf8a66c95cb337bca19a6116c916aa04fc23ec5d57d5d8c2fc168231272123a705e83f8da2bf38f404da51727a69db68ffd87b36028e0cde52b54b92b2dd'
+            '663a5514333653352ad6134e42eca2a8c780f4d7c140dcc30063893c7470bdafe704703eee23ea89272d04acff2cdae013781b0345c2d9e9d86fcb42c50db530')
+
+prepare() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  patch -p1 <../build-fix.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  mkdir -p BIN
+  make USE_NETWORK=1 NETWORK_OPT='-DUSE_NETWORK -DHAVE_TAP_NETWORK -isystem /usr/include -lpcap'
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_pkgver}/BIN"
+  for i in *; do
+    install -D $i "$pkgdir/usr/bin/simh-$i"
+  done
+
+  cd "../VAX"
+  mkdir -p "$pkgdir/usr/lib/simh"
+  cp *.bin "$pkgdir/usr/lib/simh"
+
+  install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Deleted: build-fix.patch
===================================================================
--- build-fix.patch	2020-11-12 20:44:12 UTC (rev 753751)
+++ build-fix.patch	2020-11-12 20:44:24 UTC (rev 753752)
@@ -1,12 +0,0 @@
-diff -wbBur simh-3.11-1/PDP11/pdp11_defs.h simh-3.11-1.my/PDP11/pdp11_defs.h
---- simh-3.11-1/PDP11/pdp11_defs.h	2020-03-14 17:43:09.000000000 +0300
-+++ simh-3.11-1.my/PDP11/pdp11_defs.h	2020-11-12 23:22:59.363475165 +0300
-@@ -900,7 +900,7 @@
- #define WrMemW(pa,d)    uc15_WrMemW (pa, d)
- #define WrMemB(pa, d)   uc15_WrMemB (pa, d)
- 
--uint32 uc15_memsize;
-+extern uint32 uc15_memsize;
- int32 uc15_RdMemW (int32 pa);
- int32 uc15_RdMemB (int32 pa);
- void uc15_WrMemW (int32 pa, int32 d);

Copied: simh/repos/community-x86_64/build-fix.patch (from rev 753751, simh/trunk/build-fix.patch)
===================================================================
--- build-fix.patch	                        (rev 0)
+++ build-fix.patch	2020-11-12 20:44:24 UTC (rev 753752)
@@ -0,0 +1,12 @@
+diff -wbBur simh-3.11-1/PDP11/pdp11_defs.h simh-3.11-1.my/PDP11/pdp11_defs.h
+--- simh-3.11-1/PDP11/pdp11_defs.h	2020-03-14 17:43:09.000000000 +0300
++++ simh-3.11-1.my/PDP11/pdp11_defs.h	2020-11-12 23:22:59.363475165 +0300
+@@ -900,7 +900,7 @@
+ #define WrMemW(pa,d)    uc15_WrMemW (pa, d)
+ #define WrMemB(pa, d)   uc15_WrMemB (pa, d)
+ 
+-uint32 uc15_memsize;
++extern uint32 uc15_memsize;
+ int32 uc15_RdMemW (int32 pa);
+ int32 uc15_RdMemB (int32 pa);
+ void uc15_WrMemW (int32 pa, int32 d);

Deleted: simh.install
===================================================================
--- simh.install	2020-11-12 20:44:12 UTC (rev 753751)
+++ simh.install	2020-11-12 20:44:24 UTC (rev 753752)
@@ -1,23 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-  echo -e "->  The VAX ROM images are located in /usr/lib/simh."
-  /bin/true
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  post_install $1
-  /bin/true
-}
-
-# arg 1:  the old package version
-pre_remove() {
-  /bin/true
-}
-
-# arg 1:  the old package version
-post_remove() {
-  /bin/true
-}
-

Copied: simh/repos/community-x86_64/simh.install (from rev 753751, simh/trunk/simh.install)
===================================================================
--- simh.install	                        (rev 0)
+++ simh.install	2020-11-12 20:44:24 UTC (rev 753752)
@@ -0,0 +1,23 @@
+# arg 1:  the new package version
+post_install() {
+  echo -e "->  The VAX ROM images are located in /usr/lib/simh."
+  /bin/true
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  post_install $1
+  /bin/true
+}
+
+# arg 1:  the old package version
+pre_remove() {
+  /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+  /bin/true
+}
+



More information about the arch-commits mailing list