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

Sébastien Luttringer seblu at archlinux.org
Tue Jul 2 11:49:00 UTC 2019


    Date: Tuesday, July 2, 2019 @ 11:48:59
  Author: seblu
Revision: 487251

archrelease: copy trunk to community-x86_64

Added:
  ipvsadm/repos/community-x86_64/PKGBUILD
    (from rev 487250, ipvsadm/trunk/PKGBUILD)
  ipvsadm/repos/community-x86_64/ipvsadm.install
    (from rev 487250, ipvsadm/trunk/ipvsadm.install)
  ipvsadm/repos/community-x86_64/ipvsadm.service
    (from rev 487250, ipvsadm/trunk/ipvsadm.service)
  ipvsadm/repos/community-x86_64/ipvsadm.systemd
    (from rev 487250, ipvsadm/trunk/ipvsadm.systemd)
Deleted:
  ipvsadm/repos/community-x86_64/PKGBUILD
  ipvsadm/repos/community-x86_64/ipvsadm.install
  ipvsadm/repos/community-x86_64/ipvsadm.service
  ipvsadm/repos/community-x86_64/ipvsadm.systemd

-----------------+
 PKGBUILD        |  126 +++++++++++++++++++++++++++---------------------------
 ipvsadm.install |   20 ++++----
 ipvsadm.service |   22 ++++-----
 ipvsadm.systemd |   42 +++++++++---------
 4 files changed, 105 insertions(+), 105 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-02 11:48:27 UTC (rev 487250)
+++ PKGBUILD	2019-07-02 11:48:59 UTC (rev 487251)
@@ -1,63 +0,0 @@
-# Maintainer: Sébastien Luttringer
-# Contributor: Judd Vinet <jvinet at zeroflux.org>
-
-pkgname=ipvsadm
-pkgver=1.29
-pkgrel=2
-pkgdesc='The IP Virtual Server administration utility'
-arch=('x86_64')
-url='http://www.linuxvirtualserver.org/software/ipvs.html'
-license=('GPL2')
-depends=('libnl1' 'popt' 'bash')
-backup=("etc/$pkgname.conf")
-options=('!makeflags')
-install=$pkgname.install
-source=("https://kernel.org/pub/linux/utils/kernel/ipvsadm/$pkgname-$pkgver.tar."{xz,sign}
-        "$pkgname.systemd"
-        "$pkgname.service")
-validpgpkeys=('D893F72888349DB4F170F9A23A554D033B37BCED') # Jesper Dangaard Brouer (RedHat)
-# upstream provides sha256sums of release
-sha256sums=('c3de4a21d90a02c621f0c72ee36a7aa27374b6f29fd4178f33fbf71b4c66c149'
-            'SKIP'
-            '4960ea254128347b03665d51817f29cb643cf2ebca13f5f46649257552ad3ceb'
-            '25506d07f412cccab6f2f3a2a1900d5eeda27bc58602d14f44910c4e036b5341')
-
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-    if [[ "$filename" =~ \.patch$ ]]; then
-      msg2 "Applying patch ${filename##*/}"
-      patch -p1 -N -i "$srcdir/${filename##*/}"
-    fi
-  done
-  :
-}
-
-build() {
-  cd $pkgname-$pkgver
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make \
-    BUILD_ROOT="$pkgdir" \
-    MANDIR=usr/share/man \
-    SBIN="$pkgdir/usr/bin" \
-    INIT="$pkgdir/etc/rc.d" \
-    install
-  popd
-  # systemd
-  install -Dm 755 $pkgname.systemd \
-    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
-  install -Dm 644 $pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  # remove legacy init system
-  rm -rf "$pkgdir/etc/rc.d"
-  # default config file
-  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: ipvsadm/repos/community-x86_64/PKGBUILD (from rev 487250, ipvsadm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-02 11:48:59 UTC (rev 487251)
@@ -0,0 +1,63 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=ipvsadm
+pkgver=1.30
+pkgrel=1
+pkgdesc='The IP Virtual Server administration utility'
+arch=('x86_64')
+url='http://www.linuxvirtualserver.org/software/ipvs.html'
+license=('GPL2')
+depends=('libnl1' 'popt' 'bash')
+backup=("etc/$pkgname.conf")
+options=('!makeflags')
+install=$pkgname.install
+source=("https://kernel.org/pub/linux/utils/kernel/ipvsadm/$pkgname-$pkgver.tar."{xz,sign}
+        "$pkgname.systemd"
+        "$pkgname.service")
+validpgpkeys=('D893F72888349DB4F170F9A23A554D033B37BCED') # Jesper Dangaard Brouer (RedHat)
+# upstream provides sha256sums of release
+sha256sums=('95573d70df473c9f63fc4ac496c044c69e3a6de7ccac119922210c0b44cd7a0c'
+            'SKIP'
+            '4960ea254128347b03665d51817f29cb643cf2ebca13f5f46649257552ad3ceb'
+            '25506d07f412cccab6f2f3a2a1900d5eeda27bc58602d14f44910c4e036b5341')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      msg2 "Applying patch ${filename##*/}"
+      patch -p1 -N -i "$srcdir/${filename##*/}"
+    fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make \
+    BUILD_ROOT="$pkgdir" \
+    MANDIR=usr/share/man \
+    SBIN="$pkgdir/usr/bin" \
+    INIT="$pkgdir/etc/rc.d" \
+    install
+  popd
+  # systemd
+  install -Dm 755 $pkgname.systemd \
+    "$pkgdir/usr/lib/systemd/scripts/$pkgname"
+  install -Dm 644 $pkgname.service \
+    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+  # remove legacy init system
+  rm -rf "$pkgdir/etc/rc.d"
+  # default config file
+  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: ipvsadm.install
===================================================================
--- ipvsadm.install	2019-07-02 11:48:27 UTC (rev 487250)
+++ ipvsadm.install	2019-07-02 11:48:59 UTC (rev 487251)
@@ -1,10 +0,0 @@
-## arg 1:  the new package version
-## arg 2:  the old package version
-post_upgrade() {
-  [ $(vercmp "$2" '1.26-4') -gt 0 ] || cat <<EOF
-Config file have been moved from /etc/ipvsadm.rules to /etc/ipvsadm.conf.
-You can revert to the previous location by editing /etc/conf.d/ipvsadm.
-EOF
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: ipvsadm/repos/community-x86_64/ipvsadm.install (from rev 487250, ipvsadm/trunk/ipvsadm.install)
===================================================================
--- ipvsadm.install	                        (rev 0)
+++ ipvsadm.install	2019-07-02 11:48:59 UTC (rev 487251)
@@ -0,0 +1,10 @@
+## arg 1:  the new package version
+## arg 2:  the old package version
+post_upgrade() {
+  [ $(vercmp "$2" '1.26-4') -gt 0 ] || cat <<EOF
+Config file have been moved from /etc/ipvsadm.rules to /etc/ipvsadm.conf.
+You can revert to the previous location by editing /etc/conf.d/ipvsadm.
+EOF
+}
+
+# vim:set ts=2 sw=2 ft=sh et:

Deleted: ipvsadm.service
===================================================================
--- ipvsadm.service	2019-07-02 11:48:27 UTC (rev 487250)
+++ ipvsadm.service	2019-07-02 11:48:59 UTC (rev 487251)
@@ -1,11 +0,0 @@
-[Unit]
-Description=IP Virtual Server
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/lib/systemd/scripts/ipvsadm start
-ExecStop=/usr/lib/systemd/scripts/ipvsadm stop
-
-[Install]
-WantedBy=multi-user.target

Copied: ipvsadm/repos/community-x86_64/ipvsadm.service (from rev 487250, ipvsadm/trunk/ipvsadm.service)
===================================================================
--- ipvsadm.service	                        (rev 0)
+++ ipvsadm.service	2019-07-02 11:48:59 UTC (rev 487251)
@@ -0,0 +1,11 @@
+[Unit]
+Description=IP Virtual Server
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/lib/systemd/scripts/ipvsadm start
+ExecStop=/usr/lib/systemd/scripts/ipvsadm stop
+
+[Install]
+WantedBy=multi-user.target

Deleted: ipvsadm.systemd
===================================================================
--- ipvsadm.systemd	2019-07-02 11:48:27 UTC (rev 487250)
+++ ipvsadm.systemd	2019-07-02 11:48:59 UTC (rev 487251)
@@ -1,21 +0,0 @@
-#!/bin/bash
-
-CONFIG_FILE='/etc/ipvsadm.conf'
-
-case $1 in
-  start)
-    ipvsadm-restore < "$CONFIG_FILE"
-  ;;
-  stop)
-    ipvsadm -C
-  ;;
-  save)
-    ipvsadm-save -n > "$CONFIG_FILE"
-  ;;
-  *)
-    echo "usage: ${0##*/} {start|stop|save}" >&2
-    exit 1
-  ;;
-esac
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: ipvsadm/repos/community-x86_64/ipvsadm.systemd (from rev 487250, ipvsadm/trunk/ipvsadm.systemd)
===================================================================
--- ipvsadm.systemd	                        (rev 0)
+++ ipvsadm.systemd	2019-07-02 11:48:59 UTC (rev 487251)
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+CONFIG_FILE='/etc/ipvsadm.conf'
+
+case $1 in
+  start)
+    ipvsadm-restore < "$CONFIG_FILE"
+  ;;
+  stop)
+    ipvsadm -C
+  ;;
+  save)
+    ipvsadm-save -n > "$CONFIG_FILE"
+  ;;
+  *)
+    echo "usage: ${0##*/} {start|stop|save}" >&2
+    exit 1
+  ;;
+esac
+
+# vim:set ts=2 sw=2 ft=sh et:


More information about the arch-commits mailing list