From 0d17d2556fdfa18a9d9994f4ce2152efdb63f71d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 26 Jun 2018 14:16:44 +0200 Subject: nginx-mod-ipscrub: now a submodule --- .gitmodules | 3 +++ nginx-mod-ipscrub | 1 + nginx-mod-ipscrub/PKGBUILD | 42 ------------------------------------------ 3 files changed, 4 insertions(+), 42 deletions(-) create mode 100644 .gitmodules create mode 160000 nginx-mod-ipscrub delete mode 100644 nginx-mod-ipscrub/PKGBUILD diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..9ac8dda9f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "nginx-mod-ipscrub"] + path = nginx-mod-ipscrub + url = ssh://aur@aur.archlinux.org/nginx-mod-ipscrub.git diff --git a/nginx-mod-ipscrub b/nginx-mod-ipscrub new file mode 160000 index 000000000..6b9303881 --- /dev/null +++ b/nginx-mod-ipscrub @@ -0,0 +1 @@ +Subproject commit 6b93038815d5fe118762d416750ebd0724387892 diff --git a/nginx-mod-ipscrub/PKGBUILD b/nginx-mod-ipscrub/PKGBUILD deleted file mode 100644 index 144784601..000000000 --- a/nginx-mod-ipscrub/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: Erich Eckner - -_nginxver=1.14.0 - -pkgname=nginx-mod-ipscrub -pkgver=1.0.1 -pkgrel=1 -pkgdesc='IP address anonymizer for nginx log files' - -arch=('i686' 'x86_64') -depends=( - "nginx=$_nginxver" - 'libbsd' -) -url='https://github.com/masonicboom/ipscrub' -license=('custom') - -source=( - https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc} - ${pkgname}-${pkgver}.tar.gz::https://github.com/masonicboom/ipscrub/archive/v${pkgver}.tar.gz -) -validpgpkeys=(B0F4253373F8F6F510D42178520A9993A1C052F8) # Maxim Dounin -sha512sums=('40f086c9f741727e6f55802b6c3a66f081f7c49c38646dc1491aa3e3c35bae12b65ea6594386609fc849bcd99a60d7cd8ecb3f8d519e0e9ab8db01d653e930e9' - 'SKIP' - '71d376c8d26d1f697ded361675186a2bd44b56afbfe6a2db3bee82d83402876e7ac685bd1e1318d9b2143ee9f85196e60c828af62b2685e8b1165dcaa025d196') - -build() { - cd "$srcdir"/nginx-$_nginxver - ./configure --with-compat \ - --add-dynamic-module=../ipscrub-${pkgver}/ipscrub - make modules -} - -package() { - - cd "$srcdir/nginx-$_nginxver/objs" - install -Dm755 -t "$pkgdir/usr/lib/nginx/modules/" *.so - - sed -n '/## License$/,/###/ { /##/! p }' "$srcdir/ipscrub/README.md" | \ - install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - -} -- cgit v1.2.3-70-g09d2