[arch-commits] Commit in ipset/repos/extra-x86_64 (PKGBUILD ipset.service)

Sébastien Luttringer seblu at archlinux.org
Wed Apr 1 23:24:48 UTC 2020


    Date: Wednesday, April 1, 2020 @ 23:24:48
  Author: seblu
Revision: 379079

archrelease: copy trunk to extra-x86_64

Deleted:
  ipset/repos/extra-x86_64/PKGBUILD
  ipset/repos/extra-x86_64/ipset.service

---------------+
 PKGBUILD      |   54 ------------------------------------------------------
 ipset.service |   14 --------------
 2 files changed, 68 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-01 23:20:33 UTC (rev 379078)
+++ PKGBUILD	2020-04-01 23:24:48 UTC (rev 379079)
@@ -1,54 +0,0 @@
-# Maintainer: Sébastien Luttringer
-
-pkgname=ipset
-pkgver=7.6
-pkgrel=1
-pkgdesc='Administration tool for IP sets'
-arch=('x86_64')
-url='http://ipset.netfilter.org/'
-license=('GPL2')
-makedepends=('git')
-depends=('glibc' 'libmnl')
-backup=("etc/$pkgname.conf")
-source=("git://git.netfilter.org/ipset.git#tag=v$pkgver"
-        "$pkgname.service")
-md5sums=('SKIP'
-         'e20fe62881993078591f1bb8b2fa22bb')
-
-prepare() {
-  cd $pkgname
-  # 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
-  ./autogen.sh
-  ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
-  make
-}
-
-package() {
-  pushd $pkgname
-  make DESTDIR="$pkgdir" install
-  # install doc
-  install -dm755 "$pkgdir/usr/share/doc/$pkgname"
-  install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
-  # install pkgconfig file
-  install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
-  popd
-  # systemd
-  install -Dm 644 $pkgname.service \
-    "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-  # default config file
-  install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 et:

Deleted: ipset.service
===================================================================
--- ipset.service	2020-04-01 23:20:33 UTC (rev 379078)
+++ ipset.service	2020-04-01 23:24:48 UTC (rev 379079)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Loading IP Sets
-Before=network-pre.target iptables.service ip6tables.service
-Wants=network-pre.target
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore
-ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore
-ExecStop=/usr/bin/ipset destroy
-
-[Install]
-WantedBy=multi-user.target


More information about the arch-commits mailing list