Date: Saturday, February 4, 2023 @ 23:14:24
  Author: spupykin
Revision: 1392512

archrelease: copy trunk to community-x86_64

Added:
  simh/repos/community-x86_64/LICENSE
    (from rev 1392511, simh/trunk/LICENSE)
  simh/repos/community-x86_64/PKGBUILD
    (from rev 1392511, simh/trunk/PKGBUILD)
  simh/repos/community-x86_64/build-fix.patch
    (from rev 1392511, simh/trunk/build-fix.patch)
  simh/repos/community-x86_64/simh.install
    (from rev 1392511, 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        |   92 +++++++++++++++++++++++++++---------------------------
 build-fix.patch |   24 +++++++-------
 simh.install    |   30 ++++-------------
 4 files changed, 90 insertions(+), 104 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE     2023-02-04 23:13:44 UTC (rev 1392511)
+++ LICENSE     2023-02-04 23:14:24 UTC (rev 1392512)
@@ -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 1392511, 
simh/trunk/LICENSE)
===================================================================
--- LICENSE                             (rev 0)
+++ LICENSE     2023-02-04 23:14:24 UTC (rev 1392512)
@@ -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    2023-02-04 23:13:44 UTC (rev 1392511)
+++ PKGBUILD    2023-02-04 23:14:24 UTC (rev 1392512)
@@ -1,45 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-# Contributor: waterbear <st92.at.freeshell.org>
-
-pkgname=simh
-pkgver=3.11.1
-_pkgver=${pkgver//./-}
-_pkgver=${_pkgver/-/.}
-pkgrel=3
-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"
-}

Copied: simh/repos/community-x86_64/PKGBUILD (from rev 1392511, 
simh/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-04 23:14:24 UTC (rev 1392512)
@@ -0,0 +1,47 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: waterbear <st92.at.freeshell.org>
+
+pkgname=simh
+pkgver=3.12.3
+_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/open-simh/simh/archive/v${_pkgver}.tar.gz";
+       "LICENSE"
+       build-fix.patch)
+sha512sums=('ee473f30efcf2f63a6bd943d268adb32fa047ee30d97a250621a06db890ba6e96956268555e3f49e9dc758fa25c5c4f4070f2b05db0ab6625c072c7875b207cc'
+            
'084faf8a66c95cb337bca19a6116c916aa04fc23ec5d57d5d8c2fc168231272123a705e83f8da2bf38f404da51727a69db68ffd87b36028e0cde52b54b92b2dd'
+            
'663a5514333653352ad6134e42eca2a8c780f4d7c140dcc30063893c7470bdafe704703eee23ea89272d04acff2cdae013781b0345c2d9e9d86fcb42c50db530')
+
+prepare() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  patch -p1 <../build-fix.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-${_pkgver}"
+  mkdir -p BIN
+  make
+#  make USE_NETWORK=1 NETWORK_OPT='-DUSE_NETWORK -DHAVE_TAP_NETWORK'
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_pkgver}/BIN"
+  rmdir buildtools
+  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     2023-02-04 23:13:44 UTC (rev 1392511)
+++ build-fix.patch     2023-02-04 23:14:24 UTC (rev 1392512)
@@ -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 1392511, 
simh/trunk/build-fix.patch)
===================================================================
--- build-fix.patch                             (rev 0)
+++ build-fix.patch     2023-02-04 23:14:24 UTC (rev 1392512)
@@ -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        2023-02-04 23:13:44 UTC (rev 1392511)
+++ simh.install        2023-02-04 23:14:24 UTC (rev 1392512)
@@ -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 1392511, 
simh/trunk/simh.install)
===================================================================
--- simh.install                                (rev 0)
+++ simh.install        2023-02-04 23:14:24 UTC (rev 1392512)
@@ -0,0 +1,7 @@
+post_install() {
+  echo -e "->  The VAX ROM images are located in /usr/lib/simh."
+}
+
+post_upgrade() {
+  post_install $1
+}

Reply via email to