Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: e2guardian-5.3.2
Date: Fri, 14 Jun 2019 13:24:10 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12453@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

There is a new pull request by phinas against master on the void-packages repository

https://github.com/phinas/void-packages e2guardian
https://github.com/void-linux/void-packages/pull/12453

New package: e2guardian-5.3.2


A patch file from https://github.com/void-linux/void-packages/pull/12453.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-e2guardian-12453.patch --]
[-- Type: application/text/x-diff, Size: 2803 bytes --]

From 1dc8bc25fd0439a4507e47b6028afb838909053b Mon Sep 17 00:00:00 2001
From: Philipp Nassua <philipp@nassua.cc>
Date: Sat, 4 May 2019 11:53:21 +0200
Subject: [PATCH] New package: e2guardian-5.3.2

---
 srcpkgs/e2guardian/files/e2guardian/run |  5 ++
 srcpkgs/e2guardian/template             | 61 +++++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 srcpkgs/e2guardian/files/e2guardian/run
 create mode 100644 srcpkgs/e2guardian/template

diff --git a/srcpkgs/e2guardian/files/e2guardian/run b/srcpkgs/e2guardian/files/e2guardian/run
new file mode 100644
index 00000000000..28a6584a364
--- /dev/null
+++ b/srcpkgs/e2guardian/files/e2guardian/run
@@ -0,0 +1,5 @@
+#!/bin/sh
+E2GUARDIAN_PID=/var/run/e2guardian.pid
+touch $E2GUARDIAN_PID
+chown _e2guardian:_e2guardian $E2GUARDIAN_PID
+exec chpst -u _e2guardian:_e2guardian e2guardian -N
diff --git a/srcpkgs/e2guardian/template b/srcpkgs/e2guardian/template
new file mode 100644
index 00000000000..f7f1be8adc4
--- /dev/null
+++ b/srcpkgs/e2guardian/template
@@ -0,0 +1,61 @@
+# Template file for 'e2guardian'
+pkgname=e2guardian
+version=5.3.2
+revision=1
+build_style=gnu-configure
+configure_args="
+--prefix=/usr
+--enable-clamd=yes
+--with-proxyuser=_e2guardian
+--with-proxygroup=_e2guardian
+--sysconfdir=/etc
+--localstatedir=/var
+--enable-icap=yes
+--enable-commandline=yes
+--enable-email=yes
+--enable-ntlm=yes
+--mandir=${prefix}/share/man
+--infodir=${prefix}/share/info
+--enable-pcre=yes
+--enable-sslmitm=yes"
+conf_files="
+/etc/e2guardian/*.conf
+/etc/e2guardian/site.story
+/etc/e2guardian/preauth.story
+/etc/e2guardian/site.story
+/etc/e2guardian/lists/authplugins/*
+/etc/e2guardian/lists/bannedrooms/*
+/etc/e2guardian/lists/contentscanners/*
+/etc/e2guardian/lists/phraselists/*/* 
+/etc/e2guardian/authplugins/*
+/etc/e2guardian/contentscanners/*
+/etc/e2guardian/downloadmanagers/default.conf"
+system_accounts="_e2guardian"
+make_dirs="/var/log/e2guardian 0755 _e2guardian _e2guardian"
+hostmakedepends="automake pkg-config"
+makedepends="zlib-devel pcre-devel libressl-devel"
+depends=""
+short_desc="e2guardian is a content filtering proxy that can work in explicit and transparent proxy mode or as a ICAP server mode"
+maintainer="Philipp Nassua <philipp@nassua.cc>"
+license="GPL-2.0-or-later"
+homepage="https://github.com/e2guardian/e2guardian"
+distfiles="https://github.com/e2guardian/e2guardian/archive/v${version}.tar.gz"
+checksum=ff15090157b8ea7b7910a893bb3bf582b5658cd2b4a9417805bd5c8cc1ba5e29
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*)
+		configure_args+="-mno-sse2"
+		;;
+	i686*)
+		configure_args+="-mno-sse2"
+		;;
+esac
+
+pre_configure() {
+    sed -i '/daemonuser\|daemongroup/s/^#//g' configs/e2guardian.conf.in
+    ./autogen.sh
+}
+
+post_install() {
+    vsv e2guardian
+}

             reply	other threads:[~2019-06-14 11:24 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-14 11:24 voidlinux-github [this message]
2019-06-14 12:05 ` [PR PATCH] [Updated] " voidlinux-github
2019-06-14 12:05 ` voidlinux-github
2019-06-15 22:07 ` voidlinux-github
2019-06-15 22:07 ` voidlinux-github
2019-06-15 22:22 ` voidlinux-github
2019-06-15 22:22 ` voidlinux-github
2019-06-15 22:24 ` voidlinux-github
2019-06-15 22:24 ` voidlinux-github
2019-06-16 16:22 ` voidlinux-github
2019-06-16 16:22 ` voidlinux-github
2019-06-16 16:24 ` voidlinux-github
2019-06-16 16:24 ` voidlinux-github
2020-11-01  1:53 ` ericonr
2020-11-05 19:49 ` [PR REVIEW] " Piraty
2021-11-06 21:26 ` abenson
2021-11-06 21:26 ` [PR PATCH] [Closed]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12453@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).