[arch-commits] Commit in ipset/repos (5 files)
Sébastien Luttringer
seblu at archlinux.org
Mon Nov 9 09:44:56 UTC 2020
Date: Monday, November 9, 2020 @ 09:44:55
Author: seblu
Revision: 399661
db-move: moved ipset from [testing] to [extra] (x86_64)
Added:
ipset/repos/extra-x86_64/PKGBUILD
(from rev 399660, ipset/repos/testing-x86_64/PKGBUILD)
ipset/repos/extra-x86_64/ipset.service
(from rev 399660, ipset/repos/testing-x86_64/ipset.service)
Deleted:
ipset/repos/extra-x86_64/PKGBUILD
ipset/repos/extra-x86_64/ipset.service
ipset/repos/testing-x86_64/
----------------------------+
/PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++
/ipset.service | 14 ++++++++++
extra-x86_64/PKGBUILD | 57 -------------------------------------------
extra-x86_64/ipset.service | 14 ----------
4 files changed, 71 insertions(+), 71 deletions(-)
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2020-11-09 09:44:19 UTC (rev 399660)
+++ extra-x86_64/PKGBUILD 2020-11-09 09:44:55 UTC (rev 399661)
@@ -1,57 +0,0 @@
-# Maintainer: Sébastien Luttringer
-
-pkgname=ipset
-pkgver=7.6
-pkgrel=2
-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")
-sha256sums=('SKIP'
- '5a0e326a80fd5ab2d9545faa1189b647cc866c9568ab6a9dd0833ba5863f39ce')
-
-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
- echo "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"
- # bash completion
- install -Dm 644 ipset/utils/ipset_bash_completion/ipset \
- "$pkgdir/usr/share/bash-completion/completions/ipset"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ipset/repos/extra-x86_64/PKGBUILD (from rev 399660, ipset/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2020-11-09 09:44:55 UTC (rev 399661)
@@ -0,0 +1,57 @@
+# Maintainer: Sébastien Luttringer
+
+pkgname=ipset
+pkgver=7.7
+pkgrel=1
+pkgdesc='Administration tool for IP sets'
+arch=('x86_64')
+url='https://netfilter.org/projects/ipset/'
+license=('GPL2')
+makedepends=('git')
+depends=('glibc' 'libmnl')
+backup=("etc/$pkgname.conf")
+source=("git://git.netfilter.org/ipset.git#tag=v$pkgver"
+ "$pkgname.service")
+sha256sums=('SKIP'
+ '5a0e326a80fd5ab2d9545faa1189b647cc866c9568ab6a9dd0833ba5863f39ce')
+
+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
+ echo "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"
+ # bash completion
+ install -Dm 644 ipset/utils/ipset_bash_completion/ipset \
+ "$pkgdir/usr/share/bash-completion/completions/ipset"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: extra-x86_64/ipset.service
===================================================================
--- extra-x86_64/ipset.service 2020-11-09 09:44:19 UTC (rev 399660)
+++ extra-x86_64/ipset.service 2020-11-09 09:44:55 UTC (rev 399661)
@@ -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
Copied: ipset/repos/extra-x86_64/ipset.service (from rev 399660, ipset/repos/testing-x86_64/ipset.service)
===================================================================
--- extra-x86_64/ipset.service (rev 0)
+++ extra-x86_64/ipset.service 2020-11-09 09:44:55 UTC (rev 399661)
@@ -0,0 +1,14 @@
+[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