[arch-commits] Commit in pm2/repos/community-any (6 files)

Felix Yan felixonmars at archlinux.org
Sun Jan 31 23:26:16 UTC 2021


    Date: Sunday, January 31, 2021 @ 23:26:16
  Author: felixonmars
Revision: 838922

archrelease: copy trunk to community-any

Added:
  pm2/repos/community-any/PKGBUILD
    (from rev 838921, pm2/trunk/PKGBUILD)
  pm2/repos/community-any/pm2.install
    (from rev 838921, pm2/trunk/pm2.install)
  pm2/repos/community-any/pm2.service
    (from rev 838921, pm2/trunk/pm2.service)
Deleted:
  pm2/repos/community-any/PKGBUILD
  pm2/repos/community-any/pm2.install
  pm2/repos/community-any/pm2.service

-------------+
 PKGBUILD    |   72 +++++++++++++++++++++++++++++-----------------------------
 pm2.install |   20 ++++++++--------
 pm2.service |   32 ++++++++++++-------------
 3 files changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-31 23:25:57 UTC (rev 838921)
+++ PKGBUILD	2021-01-31 23:26:16 UTC (rev 838922)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=pm2
-pkgver=4.5.2
-pkgrel=1
-pkgdesc='Production process manager for Node.JS applications with a built-in load balancer'
-arch=('any')
-url='https://pm2.keymetrics.io'
-license=('AGPL3')
-depends=('nodejs' 'semver')
-makedepends=('npm' 'git')
-install=pm2.install
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz
-        pm2.service)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('74bb6eb4295112bcb05d0e607ffa3103646ee1ab30c0936448052dbe71e0aaf56dd1116c683a7c58bdcfa1b8cfa3f5ce4276ca51dac9eca0db72b626c256a9a4'
-            '0d80c16d4694511cc19970a3eb4a2e10f706a58c5cdc554809e12a12093a5b29ff6d30027cbe8646f837a42e40f7d9b7fe2853f96a76a38f47ddc14833f141ef')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-  install -Dm644 pm2.service "$pkgdir"/usr/lib/systemd/system/pm2.service
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-
-  # Experimental dedup
-  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
-  for dep in semver; do
-    rm -r $dep;
-  done
-}

Copied: pm2/repos/community-any/PKGBUILD (from rev 838921, pm2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-31 23:26:16 UTC (rev 838922)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pm2
+pkgver=4.5.3
+pkgrel=1
+pkgdesc='Production process manager for Node.JS applications with a built-in load balancer'
+arch=('any')
+url='https://pm2.keymetrics.io'
+license=('AGPL3')
+depends=('nodejs' 'semver')
+makedepends=('npm' 'git')
+install=pm2.install
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz
+        pm2.service)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('4853a851c0c7acc0b1d088a4a1c0915e8ab8a442e4dc8d7d3645d93174c9ca8fd0bbfdbc0b28486fc95f5b491ae90aeb517a92e6f04ee774f6c33c3cfd50d6ff'
+            '0d80c16d4694511cc19970a3eb4a2e10f706a58c5cdc554809e12a12093a5b29ff6d30027cbe8646f837a42e40f7d9b7fe2853f96a76a38f47ddc14833f141ef')
+
+package() {
+  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+  install -Dm644 pm2.service "$pkgdir"/usr/lib/systemd/system/pm2.service
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+
+  # Experimental dedup
+  cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+  for dep in semver; do
+    rm -r $dep;
+  done
+}

Deleted: pm2.install
===================================================================
--- pm2.install	2021-01-31 23:25:57 UTC (rev 838921)
+++ pm2.install	2021-01-31 23:26:16 UTC (rev 838922)
@@ -1,10 +0,0 @@
-post_install() {
-  # fixup permissions
-  chmod 755 /usr/lib/node_modules \
-	  /usr/lib/node_modules/pm2/node_modules \
-	  /usr/lib/node_modules/pm2/node_modules/.bin
-}
-
-post_upgrade() {
-  post_install
-}

Copied: pm2/repos/community-any/pm2.install (from rev 838921, pm2/trunk/pm2.install)
===================================================================
--- pm2.install	                        (rev 0)
+++ pm2.install	2021-01-31 23:26:16 UTC (rev 838922)
@@ -0,0 +1,10 @@
+post_install() {
+  # fixup permissions
+  chmod 755 /usr/lib/node_modules \
+	  /usr/lib/node_modules/pm2/node_modules \
+	  /usr/lib/node_modules/pm2/node_modules/.bin
+}
+
+post_upgrade() {
+  post_install
+}

Deleted: pm2.service
===================================================================
--- pm2.service	2021-01-31 23:25:57 UTC (rev 838921)
+++ pm2.service	2021-01-31 23:26:16 UTC (rev 838922)
@@ -1,16 +0,0 @@
-[Unit]
-Description=PM2 next gen process manager for Node.js
-After=network.target remote-fs.target
-
-[Service]
-Type=forking
-
-ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
-ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
-
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 dump
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 delete all
-ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill
-
-[Install]
-WantedBy=multi-user.target

Copied: pm2/repos/community-any/pm2.service (from rev 838921, pm2/trunk/pm2.service)
===================================================================
--- pm2.service	                        (rev 0)
+++ pm2.service	2021-01-31 23:26:16 UTC (rev 838922)
@@ -0,0 +1,16 @@
+[Unit]
+Description=PM2 next gen process manager for Node.js
+After=network.target remote-fs.target
+
+[Service]
+Type=forking
+
+ExecStart=/usr/lib/node_modules/pm2/bin/pm2 resurrect
+ExecReload=/usr/lib/node_modules/pm2/bin/pm2 reload all
+
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 dump
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 delete all
+ExecStop=/usr/lib/node_modules/pm2/bin/pm2 kill
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list