FreeBSD Bugzilla – Attachment 74009 Details for
Bug 107159
irc/ircd-ru - take mantainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
ircd-ru.diff
ircd-ru.diff (text/plain), 4.21 KB, created by
Andrey V. Elsukov
on 2006-12-24 00:50:16 UTC
(
hide
)
Description:
ircd-ru.diff
Filename:
MIME Type:
Creator:
Andrey V. Elsukov
Created:
2006-12-24 00:50:16 UTC
Size:
4.21 KB
patch
obsolete
>--- ircd-ru.orig/Makefile Sun Jun 11 13:52:42 2006 >+++ ircd-ru/Makefile Sun Dec 24 03:01:52 2006 >@@ -7,18 +7,18 @@ > > PORTNAME= ircd-ru > PORTVERSION= 1.0.7 >-PORTREVISION= 3 > CATEGORIES= irc russian >-MASTER_SITES= http://freebsd.unixfreunde.de/sources/ >-DISTNAME= ircd-RU-${PORTVERSION}-02-stable >+MASTER_SITES= http://muhnet.org.ru/ \ >+ ftp://repoman.wenet.ru/pub/ircd-RU/ >+DISTNAME= ircd-RU-${PORTVERSION}-03-rc > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= bu7cher@yandex.ru > COMMENT= An irc daemon with translation schemes and other useful features > > USE_BZIP2= yes > GNU_CONFIGURE= yes > SUB_FILES= pkg-message >-USE_RC_SUBR= ircd.sh >+USE_RC_SUBR= ircd > > VARDIR= /var > PLIST_SUB= VARDIR=${VARDIR} >@@ -73,10 +73,6 @@ > # enable select I/O > .if defined(WITH_SELECT) > CONFIGURE_ARGS+=--enable-select >-.endif >- >-.if ${ARCH} == "amd64" >-BROKEN= Does not compile on amd64 > .endif > > post-patch: >--- ircd-ru.orig/distinfo Sat Nov 26 04:48:13 2005 >+++ ircd-ru/distinfo Sun Dec 24 02:55:32 2006 >@@ -1,3 +1,3 @@ >-MD5 (ircd-RU-1.0.7-02-stable.tar.bz2) = 7fe6336ca79fd29b5c2f088f250591a8 >-SHA256 (ircd-RU-1.0.7-02-stable.tar.bz2) = e53df45b838ffded8418f07990962c8c7892a563e20f7d6b39fbe4376835782a >-SIZE (ircd-RU-1.0.7-02-stable.tar.bz2) = 403996 >+MD5 (ircd-RU-1.0.7-03-rc.tar.bz2) = 5ee68f6277e540365cdc0d12c3b9592b >+SHA256 (ircd-RU-1.0.7-03-rc.tar.bz2) = b8f57c8d1acdeb6fbb32506afcc6cc1c410387e9be244d7613686d89b531a285 >+SIZE (ircd-RU-1.0.7-03-rc.tar.bz2) = 409535 >--- ircd-ru.orig/files/ircd.in Thu Jan 1 03:00:00 1970 >+++ ircd-ru/files/ircd.in Sun Dec 24 02:34:00 2006 >@@ -0,0 +1,30 @@ >+#! /bin/sh >+# $FreeBSD$ >+# >+# PROVIDE: ircd >+# REQUIRE: LOGIN syslogd >+# KEYWORD: shutdown >+ >+. "%%RC_SUBR%%" >+ >+name="ircd" >+rcvar=${name}_enable >+ >+command="%%PREFIX%%/sbin/$name" >+required_files="%%PREFIX%%/etc/ircd-ru/ircd.conf %%PREFIX%%/etc/ircd-ru/ircd.motd %%PREFIX%%/etc/ircd-ru/ircd.smotd" >+piddir="/var/run/ircd-ru" >+pidfile="$piddir/$name.pid" >+start_precmd=${name}_precmd >+ >+ircd_precmd () { >+ /usr/bin/install -d -o $ircd_user -g $ircd_group $piddir >+ eval `/usr/bin/limits -U $ircd_user -e` >+} >+ >+load_rc_config $name >+ >+: ${ircd_enable="NO"} >+: ${ircd_user="ircd"} >+: ${ircd_group="ircd"} >+ >+run_rc_command "$1" >--- ircd-ru.orig/files/ircd.sh.in Tue May 31 00:39:23 2005 >+++ ircd-ru/files/ircd.sh.in Thu Jan 1 03:00:00 1970 >@@ -1,32 +0,0 @@ >-#! /bin/sh >- >-# >-# PROVIDE: ircd >-# >-# Add the fellowing line to /etc/rc.conf to enable ircd: >-# >-# ircd_enable="YES" >-# >- >-. "%%RC_SUBR%%" >- >-name=ircd >-rcvar=`set_rcvar` >- >-command=/usr/local/sbin/ircd >- >-ircd_pidfile="/var/run/ircd-ru/ircd.pid" >-ircd_required_files="/usr/local/etc/ircd-ru/ircd.conf /usr/local/etc/ircd-ru/ircd.motd /usr/local/etc/ircd-ru/ircd.smotd" >-ircd_user="ircd" >- >-pidfile=${ircd_pidfile} >-required_files=${ircd_required_files} >- >-ircd_precmd () { >- /usr/bin/install -d -o ircd -g ircd /var/run/ircd-ru >- eval `/usr/bin/limits -U ${ircd_user} -e` >-} >-start_precmd="ircd_precmd" >- >-load_rc_config ${name} >-run_rc_command "$1" >--- ircd-ru.orig/files/patch-rc4.c Thu Jan 1 03:00:00 1970 >+++ ircd-ru/files/patch-rc4.c Sun Dec 24 01:18:00 2006 >@@ -0,0 +1,10 @@ >+--- src/rc4.c.orig Sun Dec 24 01:17:00 2006 >++++ src/rc4.c Sun Dec 24 01:17:25 2006 >+@@ -21,6 +21,7 @@ >+ >+ #include <stdio.h> >+ #include <stdlib.h> >++#include <string.h> >+ >+ /* >+ * Transparent rc4 implementation >--- ircd-ru.orig/files/patch-res.c Fri Jan 21 14:25:24 2005 >+++ ircd-ru/files/patch-res.c Thu Jan 1 03:00:00 1970 >@@ -1,11 +0,0 @@ >---- src/res.c.orig Fri Jan 21 02:00:34 2005 >-+++ src/res.c Fri Jan 21 02:00:46 2005 >-@@ -50,7 +50,7 @@ >- * don't do DNS on this ip. */ >- >- #undef DEBUG /* because theres alot of debug code in here */ >--extern void debug(); >-+/* extern void debug(); */ >- >- struct in_addr reslocaladdr; >- >--- ircd-ru.orig/pkg-plist Tue May 31 00:39:23 2005 >+++ ircd-ru/pkg-plist Sun Dec 24 03:12:18 2006 >@@ -26,5 +26,6 @@ > %%PORTDOCS%%@dirrm %%DOCSDIR%% > @exec mkdir -m 755 %%VARDIR%%/log/ircd-ru > @exec chown ircd:ircd %%VARDIR%%/log/ircd-ru >-@unexec rm -R %%VARDIR%%/log/ircd-ru 2>&1 >/dev/null || true >+@unexec rmdir %%VARDIR%%/log/ircd-ru >+@unexec rmdir %%VARDIR%%/run/ircd-ru > @unexec (rmdir %D/etc/ircd-ru && pw user del ircd) || echo 'To completely remove this port delete user ircd, group ircd and remove etc/ircd-ru'
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 107159
: 74009 |
74010