[arch-commits] Commit in ipvsadm/repos/community-x86_64 (8 files)
Sébastien Luttringer
seblu at archlinux.org
Mon Jan 6 12:44:11 UTC 2020
Date: Monday, January 6, 2020 @ 12:44:08
Author: seblu
Revision: 549729
archrelease: copy trunk to community-x86_64
Added:
ipvsadm/repos/community-x86_64/PKGBUILD
(from rev 549728, ipvsadm/trunk/PKGBUILD)
ipvsadm/repos/community-x86_64/ipvsadm.install
(from rev 549728, ipvsadm/trunk/ipvsadm.install)
ipvsadm/repos/community-x86_64/ipvsadm.service
(from rev 549728, ipvsadm/trunk/ipvsadm.service)
ipvsadm/repos/community-x86_64/ipvsadm.systemd
(from rev 549728, 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 2020-01-06 12:43:57 UTC (rev 549728)
+++ PKGBUILD 2020-01-06 12:44:08 UTC (rev 549729)
@@ -1,63 +0,0 @@
-# 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:
Copied: ipvsadm/repos/community-x86_64/PKGBUILD (from rev 549728, ipvsadm/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-01-06 12:44:08 UTC (rev 549729)
@@ -0,0 +1,63 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Judd Vinet <jvinet at zeroflux.org>
+
+pkgname=ipvsadm
+pkgver=1.31
+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=('1a0a5e25b5a1226435d2fb76341656f83a710183aebb0d204db39c0ec3bedfdb'
+ '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 2020-01-06 12:43:57 UTC (rev 549728)
+++ ipvsadm.install 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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 549728, ipvsadm/trunk/ipvsadm.install)
===================================================================
--- ipvsadm.install (rev 0)
+++ ipvsadm.install 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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 2020-01-06 12:43:57 UTC (rev 549728)
+++ ipvsadm.service 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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 549728, ipvsadm/trunk/ipvsadm.service)
===================================================================
--- ipvsadm.service (rev 0)
+++ ipvsadm.service 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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 2020-01-06 12:43:57 UTC (rev 549728)
+++ ipvsadm.systemd 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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 549728, ipvsadm/trunk/ipvsadm.systemd)
===================================================================
--- ipvsadm.systemd (rev 0)
+++ ipvsadm.systemd 2020-01-06 12:44:08 UTC (rev 549729)
@@ -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