strongswan-ikev1
Package builds strongswan from its official download server (download.strongswan.org) with a valid PGP signature check; the only flag is the non-whitelisted host which is actually the project's own official distribution server, making this a normal AUR build with no malicious behavior.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 85%): Package builds strongswan from its official download server (download.strongswan.org) with a valid PGP signature check; the only flag is the non-whitelisted host which is actually the project's own official distribution server, making this a normal AUR build with no malicious behavior.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:41
source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"{,.sig})
PKGBUILD
1 offending line(s) highlighted# Maintainer : Jan Dorazil <doraz.jan@gmail.com>
# Maintainer : Christian Rebischke <Chris.Rebischke@archlinux.org>
# Contributor: dkorzhevin <dkorzhevin at gmail dot com>
# Contributor: Thermi <noel [at] familie-kuntze dot de>
# Contributor: nikicat <develniks at gmail dot com>
# Contributor: danilo <gezuru at gmail dot com>
# Contributor: Jason Begley <jayray at digitalgoat dot com>
# Contributor: Ray Kohler <ataraxia937 at gmail dot com>
# Contributor: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
# Contributor: 458italia <svenskaparadox [at] gmail dot com>
# Contributor: Thermi <noel [at] familie-kuntze dot com>
pkgname=strongswan-ikev1
pkgver=6.1.0
provides=("strongswan=$pkgver")
conflicts=('strongswan')
pkgrel=2
pkgdesc='Open source IPsec implementation (with deprecated ikev1 protocol implementation)'
url='https://www.strongswan.org'
license=('GPL-2.0-only')
arch=('x86_64')
makedepends=('libnm' 'systemd' 'ruby' 'ruby-rdoc' 'mariadb' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel')
depends=('curl' 'gmp' 'iproute2' 'openssl' 'sqlite' 'libcap' 'systemd-libs' 'pam')
optdepends=(
'libnm: for networkmanager support'
'mariadb: MySQL support'
'ruby: Ruby support'
'python: Python support'
'resolvconf: Resolveplugin'
'openldap: LDAP support'
)
# TODO: move to package() and use find
backup=(
etc/ipsec.conf
etc/ipsec.secrets
etc/swanctl/swanctl.conf
etc/strongswan.conf
etc/strongswan.d/{charon-logging.conf,charon-nm.conf,charon-systemd.conf,charon.conf,pki.conf,pool.conf,starter.conf,swanctl.conf}
etc/strongswan.d/charon/{aesni.conf,agent.conf,attr-sql.conf,attr.conf,bypass-lan.conf,chapoly.conf,cmac.conf,connmark.conf,constraints.conf,counters.conf,curl.conf,dhcp.conf,dnscert.conf,dnskey.conf,drbg.conf,eap-aka-3gpp2.conf,eap-aka.conf,eap-dynamic.conf,eap-gtc.conf,eap-identity.conf,eap-md5.conf,eap-mschapv2.conf,eap-peap.conf,eap-radius.conf,eap-sim-file.conf,eap-sim.conf,eap-simaka-pseudonym.conf,eap-simaka-reauth.conf,eap-tls.conf,eap-ttls.conf,ext-auth.conf,farp.conf,fips-prf.conf,forecast.conf,gmp.conf,ha.conf,kdf.conf,kernel-netlink.conf,ldap.conf,mgf1.conf,ml.conf,mysql.conf,nonce.conf,openssl.conf,pem.conf,pgp.conf,pkcs1.conf,pkcs11.conf,pkcs7.conf,pkcs8.conf,pubkey.conf,radattr.conf,random.conf,resolve.conf,revocation.conf,sha3.conf,socket-default.conf,sql.conf,sqlite.conf,sshkey.conf,stroke.conf,unity.conf,updown.conf,vici.conf,x509.conf,xauth-eap.conf,xauth-noauth.conf,xauth-pam.conf,xcbc.conf}
)
source=("https://download.strongswan.org/strongswan-${pkgver}.tar.bz2"{,.sig})
validpgpkeys=("948F158A4E76A27BF3D07532DF42C170B34DBA77")
sha512sums=('01cea929cea2535751b5ef23eddc780a3c32ffafee640a6d5cea9a52798d0ec7030107463e8ddcc73fd0924b378a8676942297a42d79319207ecf7716badcb5f'
'SKIP')
prepare() {
cd strongswan-${pkgver}
sed -i 's/$(PYTHON) -m build/$(PYTHON) -m build --wheel --no-isolation/' src/libcharon/plugins/vici/python/Makefile.am
autoreconf -fiv
}
build() {
local _confflags=(
--libexecdir=/usr/lib
--prefix=/usr
--sbindir=/usr/bin
--sysconfdir=/etc
--with-capabilities=libcap
--with-ipsecdir=/usr/lib/strongswan
--with-nm-ca-dir=/etc/ssl/certs
--enable-aesni
--enable-agent
--enable-attr-sql
--enable-bypass-lan
--enable-chapoly
--enable-cmd
--enable-connmark
--enable-curl
--enable-dhcp
--enable-dnscert
--enable-eap-aka
--enable-eap-aka-3gpp2
--enable-eap-dynamic
--enable-eap-gtc
--enable-eap-identity
--enable-eap-md5
--enable-eap-mschapv2
--enable-eap-peap
--enable-eap-radius
--enable-eap-sim
--enable-eap-simaka-pseudonym
--enable-eap-simaka-reauth
--enable-eap-sim-file
--enable-eap-tls
--enable-eap-ttls
--enable-ext-auth
--enable-farp
--enable-forecast
--enable-ha
--enable-integrity-test
--enable-ldap
--enable-mgf1
--enable-ml
--enable-mysql
--enable-nm
--enable-openssl
--enable-pkcs11
--enable-python-wheels
--enable-radattr
--enable-ruby-gems
--enable-ruby-gems-install
--enable-sha3
--enable-sql
--enable-sqlite
--enable-stroke
--enable-swanctl
--enable-systemd
--enable-unity
--enable-vici
--enable-xauth-eap
--enable-xauth-noauth
--enable-xauth-pam
--enable-ikev1
)
cd strongswan-${pkgver}
./configure "${_confflags[@]:?_confflags unset}"
make
}
package() {
local _gemdir="$(gem env gemdir)"
cd strongswan-${pkgver}
make DESTDIR="${pkgdir}" install
python -m installer --destdir="$pkgdir" src/libcharon/plugins/vici/python/dist/*.whl
# remove unrepreducible files
rm -r "${pkgdir}"/${_gemdir}/cache/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-14 15:19:29 | Low | 3 |
| 2026-09-14 15:17:35 | Medium | 2 |