summaryrefslogtreecommitdiff
path: root/community/oidentd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/oidentd
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/oidentd')
-rw-r--r--community/oidentd/PKGBUILD35
-rw-r--r--community/oidentd/service8
-rw-r--r--community/oidentd/socket9
3 files changed, 52 insertions, 0 deletions
diff --git a/community/oidentd/PKGBUILD b/community/oidentd/PKGBUILD
new file mode 100644
index 000000000..b93d89d74
--- /dev/null
+++ b/community/oidentd/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 90524 2013-05-13 00:06:48Z eric $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: simo <simo@archlinux.org>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=oidentd
+pkgver=2.0.8
+pkgrel=8
+pkgdesc='An RFC1413 compliant ident daemon'
+arch=('i686' 'x86_64')
+url="http://dev.ojnk.net/"
+license=('GPL')
+depends=('glibc' 'bash')
+source=(http://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz{,.asc}
+ service socket)
+md5sums=('c3d9a56255819ef8904b867284386911'
+ 'SKIP'
+ 'f54c5ed2a532a559c837af18735a28f1'
+ '4442fb9fc10754914568e6ffc3d5fc42')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -D -m644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/oidentd@.service"
+ install -D -m644 "$srcdir/socket" "$pkgdir/usr/lib/systemd/system/oidentd.socket"
+}
+
diff --git a/community/oidentd/service b/community/oidentd/service
new file mode 100644
index 000000000..72ca7c244
--- /dev/null
+++ b/community/oidentd/service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Ident (RFC 1413) per-connection server
+
+[Service]
+ExecStart=/usr/bin/oidentd -I -u nobody -g nobody
+ExecReload=/bin/kill -HUP $MAINPID
+StandardInput=socket
+StandardError=syslog
diff --git a/community/oidentd/socket b/community/oidentd/socket
new file mode 100644
index 000000000..cf00b55b8
--- /dev/null
+++ b/community/oidentd/socket
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ident (RFC 1413) socket
+
+[Socket]
+ListenStream=113
+Accept=yes
+
+[Install]
+WantedBy=sockets.target