FreeBSD Bugzilla – Attachment 224917 Details for
Bug 246637
New port: irc/pounce multi-client IRC bouncer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for pounce 2.3
pounce-2.3.diff (text/plain), 4.96 KB, created by
Romain Tartière
on 2021-05-13 22:37:44 UTC
(
hide
)
Description:
Patch for pounce 2.3
Filename:
MIME Type:
Creator:
Romain Tartière
Created:
2021-05-13 22:37:44 UTC
Size:
4.96 KB
patch
obsolete
>diff --git a/irc/Makefile b/irc/Makefile >index 358c39ad6c5d..5a5a863fb5fc 100644 >--- a/irc/Makefile >+++ b/irc/Makefile >@@ -84,6 +84,7 @@ > SUBDIR += pircbot > SUBDIR += pisg > SUBDIR += polari >+ SUBDIR += pounce > SUBDIR += py-fishcrypt > SUBDIR += py-irc > SUBDIR += py-limnoria >diff --git a/irc/pounce/Makefile b/irc/pounce/Makefile >new file mode 100644 >index 000000000000..9e4bafe4b18d >--- /dev/null >+++ b/irc/pounce/Makefile >@@ -0,0 +1,38 @@ >+PORTNAME= pounce >+DISTVERSION= 2.3 >+CATEGORIES= irc >+MASTER_SITES= https://git.causal.agency/pounce/snapshot/ >+ >+MAINTAINER= june@causal.agency >+COMMENT= Multi-client IRC bouncer >+ >+LICENSE= GPLv3+ >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USES= localbase:ldflags ssl >+USE_RC_SUBR= calico pounce >+ >+MAKE_ENV+= MANDIR=${MANPREFIX}/man >+CFLAGS+= -D'OPENSSL_BIN=\"${OPENSSL_BIN}\"' >+CFLAGS+= -D'CERTBOT_PATH=\"${LOCALBASE}/etc/letsencrypt\"' >+ >+.include <bsd.port.pre.mk> >+ >+.if ${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl >+LIB_DEPENDS+= libtls.so:security/libretls >+.endif >+ >+.if ${SSL_DEFAULT} == base >+OPENSSL_BIN=/usr/bin/openssl >+.else >+OPENSSL_BIN=${LOCALBASE}/bin/openssl >+.endif >+ >+post-install: >+ @${MKDIR} ${STAGEDIR}${ETCDIR} >+ @${MKDIR} ${STAGEDIR}/var/run/calico >+.for b in calico pounce >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${b} >+.endfor >+ >+.include <bsd.port.post.mk> >diff --git a/irc/pounce/distinfo b/irc/pounce/distinfo >new file mode 100644 >index 000000000000..ec11a407dcfa >--- /dev/null >+++ b/irc/pounce/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1620429245 >+SHA256 (pounce-2.3.tar.gz) = 47e77cf01ccd94c6ecb83410d7f832426de61e28573b7aa4ac60fec5ac3f468b >+SIZE (pounce-2.3.tar.gz) = 49151 >diff --git a/irc/pounce/files/calico.in b/irc/pounce/files/calico.in >new file mode 100644 >index 000000000000..a54658ad969a >--- /dev/null >+++ b/irc/pounce/files/calico.in >@@ -0,0 +1,30 @@ >+#!/bin/sh >+ >+# PROVIDE: calico >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+ >+. /etc/rc.subr >+ >+name='calico' >+rcvar='calico_enable' >+ >+load_rc_config "${name}" >+ >+: ${calico_enable:='NO'} >+: ${calico_path:="/var/run/${name}"} >+calico_flags="${calico_flags} ${calico_path}" >+ >+command='/usr/sbin/daemon' >+procname='%%PREFIX%%/bin/calico' >+pidfile="/var/run/${name}.pid" >+required_dirs=$calico_path >+ >+child_flags=$calico_flags >+child_user=$calico_user >+unset calico_flags calico_user >+command_args="\ >+ -p ${pidfile} -T ${name} ${child_user:+-u ${child_user}} \ >+ -- ${procname} ${child_flags}" >+ >+run_rc_command "$1" >diff --git a/irc/pounce/files/pounce.in b/irc/pounce/files/pounce.in >new file mode 100644 >index 000000000000..753fd87c6b76 >--- /dev/null >+++ b/irc/pounce/files/pounce.in >@@ -0,0 +1,65 @@ >+#!/bin/sh >+ >+# PROVIDE: pounce >+# REQUIRE: LOGIN >+# KEYWORD: shutdown >+ >+. /etc/rc.subr >+ >+name='pounce' >+rcvar='pounce_enable' >+extra_commands='reload' >+sig_reload='USR1' >+ >+load_rc_config "${name}" >+ >+: ${pounce_enable:='NO'} >+: ${pounce_chdir:="%%PREFIX%%/etc/${name}"} >+ >+command='/usr/sbin/daemon' >+pidprefix="/var/run/${name}" >+pidfile="${pidprefix}.pid" >+required_dirs=$pounce_chdir >+ >+child_command='%%PREFIX%%/bin/pounce' >+child_pidfile="${pidprefix}.child.pid" >+ >+if [ -n "$2" ]; then >+ profile=$2 >+ if [ -n "${pounce_profiles}" ]; then >+ pidfile="${pidprefix}.${profile}.pid" >+ child_pidfile="${pidprefix}.${profile}.child.pid" >+ eval pounce_enable="\${pounce_${profile}_enable:-${pounce_enable}}" >+ eval pounce_flags="\${pounce_${profile}_flags:-${pounce_flags}}" >+ eval pounce_chdir="\${pounce_${profile}_chdir:-${pounce_chdir}}" >+ eval pounce_user="\${pounce_${profile}_user:-${pounce_user}}" >+ eval pounce_env="\${pounce_${profile}_env:-${pounce_env}}" >+ export HOME="$(/usr/bin/getent passwd ${pounce_user} | /usr/bin/cut -d: -f6)" >+ else >+ echo "$0: extra argument ignored" >+ fi >+else >+ if [ -n "${pounce_profiles}" -a -n "$1" ]; then >+ for profile in ${pounce_profiles}; do >+ echo "===> ${name} profile: ${profile}" >+ %%PREFIX%%/etc/rc.d/${name} "$1" "${profile}" || exit "$?" >+ done >+ exit >+ fi >+fi >+ >+child_flags=$pounce_flags >+child_user=$pounce_user >+unset pounce_flags pounce_user >+command_args="\ >+ -r -P ${pidfile} -p ${child_pidfile} -T ${name}${profile:+/${profile}} \ >+ ${child_user:+-u ${child_user}} \ >+ -- ${child_command} ${child_flags}" >+ >+pounce_reload() { >+ rc_pid=$(check_pidfile "$child_pidfile" "$child_command") >+ kill "-$sig_reload" "$rc_pid" >+} >+reload_cmd='pounce_reload' >+ >+run_rc_command "$1" >diff --git a/irc/pounce/pkg-descr b/irc/pounce/pkg-descr >new file mode 100644 >index 000000000000..68679a245202 >--- /dev/null >+++ b/irc/pounce/pkg-descr >@@ -0,0 +1,5 @@ >+pounce is a multi-client, TLS-only IRC bouncer. It takes a simple >+approach, using a multiple-consumer ring buffer and the IRCv3.2 >+server-time extension to communicate with clients. >+ >+WWW: https://git.causal.agency/pounce/ >diff --git a/irc/pounce/pkg-plist b/irc/pounce/pkg-plist >new file mode 100644 >index 000000000000..a8e8d7c0e08e >--- /dev/null >+++ b/irc/pounce/pkg-plist >@@ -0,0 +1,6 @@ >+bin/calico >+bin/pounce >+man/man1/calico.1.gz >+man/man1/pounce.1.gz >+@dir etc/pounce >+@dir /var/run/calico
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246637
:
214729
|
215562
|
224759
|
224762
| 224917 |
225363