[arch-commits] Commit in netfilter-fullconenat/repos/community-testing-x86_64 (2 files)
Jan Steffens
heftig at gemini.archlinux.org
Thu Sep 16 10:54:05 UTC 2021
Date: Thursday, September 16, 2021 @ 10:54:05
Author: heftig
Revision: 1016160
archrelease: copy trunk to community-testing-x86_64
Added:
netfilter-fullconenat/repos/community-testing-x86_64/PKGBUILD
(from rev 1016157, netfilter-fullconenat/trunk/PKGBUILD)
Deleted:
netfilter-fullconenat/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-16 10:54:05 UTC (rev 1016159)
+++ PKGBUILD 2021-09-16 10:54:05 UTC (rev 1016160)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Edward Pacman <edward at edward-p.xyz>
-
-pkgname=netfilter-fullconenat
-pkgver=r73.0cf3b48
-pkgrel=145
-pkgdesc="A kernel module that turns MASQUERADE into full cone SNAT"
-arch=('x86_64')
-url="https://github.com/Chion82/netfilter-full-cone-nat"
-license=('GPL2')
-depends=("linux")
-makedepends=('linux-headers' 'git')
-_commit=0cf3b48fd7d2fa81d0297d1fff12bbd0580fc435 # master
-source=("${pkgname}::git+https://github.com/Chion82/netfilter-full-cone-nat#commit=${_commit}")
-sha256sums=('SKIP')
-
-pkgver() {
- cd ${pkgname}
- ( set -o pipefail
- git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
- )
-}
-
-prepare() {
- cd ${pkgname}
- echo "obj-m = xt_FULLCONENAT.o" > Kbuild
-}
-
-build() {
- cd ${pkgname}
- make -C /usr/src/linux M=$PWD modules
-}
-
-package() {
- local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
- install -Dt "${pkgdir}${extradir}" -m644 ${pkgname}/*.ko
- find "${pkgdir}" -name '*.ko' -exec strip --strip-debug {} +
- find "${pkgdir}" -name '*.ko' -exec xz {} +
-
- echo "xt_FULLCONENAT" | \
- install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf"
-}
Copied: netfilter-fullconenat/repos/community-testing-x86_64/PKGBUILD (from rev 1016157, netfilter-fullconenat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-16 10:54:05 UTC (rev 1016160)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Edward Pacman <edward at edward-p.xyz>
+
+pkgname=netfilter-fullconenat
+pkgver=r73.0cf3b48
+pkgrel=146
+pkgdesc="A kernel module that turns MASQUERADE into full cone SNAT"
+arch=('x86_64')
+url="https://github.com/Chion82/netfilter-full-cone-nat"
+license=('GPL2')
+depends=("linux")
+makedepends=('linux-headers' 'git')
+_commit=0cf3b48fd7d2fa81d0297d1fff12bbd0580fc435 # master
+source=("${pkgname}::git+https://github.com/Chion82/netfilter-full-cone-nat#commit=${_commit}")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd ${pkgname}
+ ( set -o pipefail
+ git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ )
+}
+
+prepare() {
+ cd ${pkgname}
+ echo "obj-m = xt_FULLCONENAT.o" > Kbuild
+}
+
+build() {
+ cd ${pkgname}
+ make -C /usr/src/linux M=$PWD modules
+}
+
+package() {
+ local extradir=/usr/lib/modules/$(</usr/src/linux/version)/extramodules
+ install -Dt "${pkgdir}${extradir}" -m644 ${pkgname}/*.ko
+ find "${pkgdir}" -name '*.ko' -exec strip --strip-debug {} +
+ find "${pkgdir}" -name '*.ko' -exec xz {} +
+
+ echo "xt_FULLCONENAT" | \
+ install -Dm644 /dev/stdin "${pkgdir}/usr/lib/modules-load.d/${pkgname}.conf"
+}
More information about the arch-commits
mailing list