On Tue, 2023-06-13 at 11:56 +0300, Wael Karram wrote:
> Hello,
> Seems that upstream Arch Linux dropped ngircd to the AUR after the merge
> between
> the community and extra repositories.
> I've repackaged it based on the AUR package and would like to inquire if it
> can
> be carried by Parabola - I've also added targets for i686 and armv7h in case
> those upstreams drop it soon.
> 
> This specific patch has it packaged with compilation against openssl, I'm also
> open to making and maintaining a separate gnutls one if there is enough
> interest.
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> https://lists.parabola.nu/mailman/listinfo/dev

My apologies as I've just noticed that the previously attached files had a typo,
I've reattached the fixed patches.


-- 
Kind Regards,
Wael Karram.


From b523bcde2677e9b6a33c18bb9e2554f381bf8d04 Mon Sep 17 00:00:00 2001
From: Wael Karram <[email protected]>
Date: Tue, 13 Jun 2023 11:58:12 +0300
Subject: [PATCH] Packaged ngircd up to replace the package that was removed
 upstream and placed now in the AUR.

---
 pcr/ngircd/PKGBUILD       | 45 +++++++++++++++++++++++++++++++++++++++
 pcr/ngircd/ngircd.service | 11 ++++++++++
 2 files changed, 56 insertions(+)
 create mode 100644 pcr/ngircd/PKGBUILD
 create mode 100644 pcr/ngircd/ngircd.service

diff --git a/pcr/ngircd/PKGBUILD b/pcr/ngircd/PKGBUILD
new file mode 100644
index 000000000..da38f0ba5
--- /dev/null
+++ b/pcr/ngircd/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer (aur): Kyle Keen <[email protected]>
+# Contributor (aur): Mateusz Herych <[email protected]>
+# Contributor (aur): Alexander Rødseth <[email protected]>
+# Maintainer (Parabola): Wael Karram <[email protected]>
+
+# Parabola Changes and Rationale:
+# Package has been dropped from the community repository past the merge with extra upstream.
+# Added targets for i686 and armv7h.
+
+pkgname=ngircd
+pkgver=26.1
+pkgrel=3
+pkgdesc="Next Generation IRC Daemon"
+arch=('x86_64')
+arch+=('i686' 'armv7h')
+backup=(etc/ngircd.conf)
+url="https://ngircd.barton.de/";
+license=('GPL')
+depends=('openssl' 'libident' 'zlib' 'gnutls')
+source=("https://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz"{,.sig}
+        ngircd.service)
+sha256sums=('41e1b1c6326c667a6a07799c34175b5406e78ec3b19b4b780046c8d3f532706e'
+            'SKIP'
+            'f02e30f6864ba1130bcc85bedc44ad782687f572c06f10e0501b0ddcf532b404')
+validpgpkeys=('F5B9F52ED90920D2520376A2C24A0F637E364856') # Alexander Barton <[email protected]>
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  
+  ./configure --prefix=/usr \
+  	--sysconfdir=/etc \
+  	--sbindir=/usr/bin \
+  	--mandir=/usr/share/man \
+  	--with-ident \
+  	--with-openssl \
+  	--enable-ipv6
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../ngircd.service "$pkgdir/usr/lib/systemd/system/ngircd.service"
+}
diff --git a/pcr/ngircd/ngircd.service b/pcr/ngircd/ngircd.service
new file mode 100644
index 000000000..b75382ea9
--- /dev/null
+++ b/pcr/ngircd/ngircd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Next Generation IRC Daemon
+After=network.target
+
+[Service]
+# don't daemonize to simplify stuff
+ExecStart=/usr/bin/ngircd -n
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
-- 
2.41.0

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Dev mailing list
[email protected]
https://lists.parabola.nu/mailman/listinfo/dev

Reply via email to