Remove expired ports:
2014-07-23 chinese/big5con: Fails to build with new utmpx 2014-07-23 chinese/hztty: Fails to build with new utmpx 2014-07-23 irc/solid-ircd: Fails to build with new utmpx 2014-07-23 korean/eterm: Fails to build with new utmpx 2014-07-23 mail/biffer: Fails to build with new utmpx 2014-07-23 misc/c-hey: Fails to build with new utmpx 2014-07-23 misc/wminfo: Fails to build with new utmpx 2014-07-23 net/sendfile: Fails to build with new utmpx 2014-07-23 net-im/centericq: Fails to build with new utmpx 2014-07-23 security/chkrootkit: Fails to build with new utmpx 2014-07-23 security/openfwtk: Fails to build with new utmpx 2014-07-23 security/pam_alreadyloggedin: Fails to build with new utmpx 2014-07-23 security/srp: Fails to build with new utmpx 2014-07-23 security/sud: Fails to build with new utmpx 2014-07-23 sysutils/hyperic-sigar: Fails to build with new utmpx 2014-07-23 sysutils/lookupd: Fails to build with new utmpx 2014-07-23 sysutils/lookupd_ldap: Fails to build with new utmpx 2014-07-23 sysutils/p5-Sys-Utmp: Fails to build with new utmpx 2014-07-23 sysutils/syslog-ng2: Fails to build with new utmpx 2014-07-23 sysutils/yawho: Fails to build with new utmpx
This commit is contained in:
parent
37f54e0f66
commit
36e34f48e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362836
155 changed files with 20 additions and 8103 deletions
20
MOVED
20
MOVED
|
@ -6313,3 +6313,23 @@ print/dvipdfmx|print/tex-dvipdfmx|2014-07-23|Use TeXLive version
|
|||
print/jadetex|print/tex-jadetex|2014-07-23|Use TeXLive version
|
||||
japanese/teTeX|print/texlive-full|2014-07-23|Use TeXLive
|
||||
devel/libevent|devel/libevent2|2014-07-27|libevent2 replaced libevent
|
||||
chinese/big5con||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
chinese/hztty||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
irc/solid-ircd||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
korean/eterm||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
mail/biffer||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
misc/c-hey||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
misc/wminfo||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
net/sendfile||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
net-im/centericq||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
security/chkrootkit||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
security/openfwtk||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
security/pam_alreadyloggedin||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
security/srp||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
security/sud||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/hyperic-sigar||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/lookupd||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/lookupd_ldap||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/p5-Sys-Utmp||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/syslog-ng2||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
sysutils/yawho||2014-07-24|Has expired: Fails to build with new utmpx
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
SUBDIR += autoconvert
|
||||
SUBDIR += bg5pdf
|
||||
SUBDIR += bg5ps
|
||||
SUBDIR += big5con
|
||||
SUBDIR += big5width
|
||||
SUBDIR += bitchx
|
||||
SUBDIR += bsdconv-opencc
|
||||
|
@ -59,7 +58,6 @@
|
|||
SUBDIR += gugod-clean
|
||||
SUBDIR += hanzim
|
||||
SUBDIR += hc
|
||||
SUBDIR += hztty
|
||||
SUBDIR += ibus-chewing
|
||||
SUBDIR += ibus-pinyin
|
||||
SUBDIR += irssi
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
# Created by: Hung-Chi Chu <hcchu@r350.ee.ntu.edu.tw>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= big5con
|
||||
PORTVERSION= 0.92i
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= SF
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Big5 Chinese console
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
|
||||
@${REINPLACE_CMD} -e 's,GetShmem(),GetShmem(char),g' ${WRKSRC}/src/fnld.c
|
||||
@${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/include/ksymdef.h
|
||||
@${REINPLACE_CMD} -e 's,TOPDIR,PREFIX,g' ${WRKSRC}/big5con.mk
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (big5con-0.92i.tar.gz) = 01d8c79494250e2a6daf0aeb60f8f2426be0c75c415cff3f85f8b44f08bf7fd7
|
||||
SIZE (big5con-0.92i.tar.gz) = 1222263
|
|
@ -1,11 +0,0 @@
|
|||
--- src/fnld.c.orig Mon May 16 14:04:51 2005
|
||||
+++ src/fnld.c Mon May 16 14:04:51 2005
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
struct fontRegs *dbFReg, *sbFReg;
|
||||
|
||||
-u_char *GetShmem();
|
||||
+u_char *GetShmem(char);
|
||||
|
||||
void
|
||||
FontDetach(bool down)
|
|
@ -1,42 +0,0 @@
|
|||
--- src/vc.c.orig Mon May 16 13:33:11 2005
|
||||
+++ src/vc.c Mon May 16 13:33:11 2005
|
||||
@@ -60,28 +60,23 @@
|
||||
inline void
|
||||
blatch(void *head, int n)
|
||||
{
|
||||
-
|
||||
- __asm__ volatile ("\t clc\n"
|
||||
- "1:\n"
|
||||
- "\t andb %%bl, (%%eax)\n"
|
||||
- "\t incl %%eax\n"
|
||||
- "\t loop 1b\n"
|
||||
- : "=bl" (head), "=c"(n)
|
||||
- : "eax"((long)head), "0"(0x7F), "1"(n));
|
||||
+ char *tmp = (char *)head;
|
||||
+ do {
|
||||
+ *tmp &= 0x7f;
|
||||
+ tmp++;
|
||||
+ } while( --n );
|
||||
}
|
||||
|
||||
static
|
||||
inline void
|
||||
llatch(void *head, int n)
|
||||
{
|
||||
-
|
||||
- __asm__ volatile ("\t clc\n"
|
||||
- "1:\n"
|
||||
- "\t andl %%ebx, (%%eax)\n"
|
||||
- "\t addl $4, %%eax\n"
|
||||
- "\t loop 1b\n"
|
||||
- : "=ebx" (head), "=c"(n)
|
||||
- : "eax"((long)head), "0"(0x7F7F7F7F), "1"(n >> 2));
|
||||
+ int *tmp = (int *)head;
|
||||
+ n /= 4;
|
||||
+ do {
|
||||
+ *tmp &= 0x7f7f7f7f;
|
||||
+ tmp++;
|
||||
+ } while( --n );
|
||||
}
|
||||
|
||||
static inline u_int
|
|
@ -1,11 +0,0 @@
|
|||
Kon is a kanji console. This is an alpha version. Supported video card is
|
||||
VGA only, and, supported fonts are Minix/V and BDF. This program requires
|
||||
shared memory.
|
||||
|
||||
This version supports ja_JP.ujis ja_JP.sjis zh_TW.big5 zh_CN.ugb ko_KR.euc.
|
||||
|
||||
/usr/local/bin/et to start big5con, *under ttyvX ONLY*.
|
||||
|
||||
Modify /usr/local/bin/et and /usr/local/etc/big5con.cfg to your needs.
|
||||
See /usr/local/lib/xcin/xcin.help for various Chinese input methods.
|
||||
For more info -- ftp://wj.ml.org/freebsd/woju/binary/b5c.txt
|
|
@ -1,4 +0,0 @@
|
|||
---------------------------------------------------------------
|
||||
You need to add a line 'options SYSVSHM' to your kernel config.
|
||||
Use 'b5c' to run the big5 console.
|
||||
---------------------------------------------------------------
|
|
@ -1,29 +0,0 @@
|
|||
bin/b5c
|
||||
bin/b5cfld
|
||||
etc/big5con.cfg.default
|
||||
lib/fonts/kc15f.smf
|
||||
lib/fonts/kc8x15.smf
|
||||
lib/xcin/array30.tab
|
||||
lib/xcin/array30.tab.rev
|
||||
lib/xcin/cj.tab
|
||||
lib/xcin/cj.tab.rev
|
||||
lib/xcin/dayi3.tab
|
||||
lib/xcin/dayi3.tab.rev
|
||||
lib/xcin/et.kbm
|
||||
lib/xcin/et26.kbm
|
||||
lib/xcin/hsu.kbm
|
||||
lib/xcin/liu.tab
|
||||
lib/xcin/liu.tab.rev
|
||||
lib/xcin/pho.sel1st
|
||||
lib/xcin/pho.tab
|
||||
lib/xcin/phone.tab
|
||||
lib/xcin/phone.tab.rev
|
||||
lib/xcin/sample.phs.b5c
|
||||
lib/xcin/simplex.tab
|
||||
lib/xcin/simplex.tab.rev
|
||||
lib/xcin/tsin
|
||||
lib/xcin/tsin.idx
|
||||
lib/xcin/xcin.help
|
||||
lib/xcin/zo.kbm
|
||||
@dirrm lib/xcin
|
||||
@dirrm lib/fonts
|
|
@ -1,28 +0,0 @@
|
|||
# Created by: Ada T Lim <ada@not-enough.bandwidth.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hztty
|
||||
PORTVERSION= 2.0
|
||||
CATEGORIES= chinese
|
||||
MASTER_SITES= ftp://ftp.cuhk.hk/pub/chinese/ifcss/software/unix/convert/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Translator between GuoBiao / Big5 and HZ
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
ALL_TARGET= bsd
|
||||
PLIST_FILES= bin/hztty man/man1/${PORTNAME}.1.gz
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (hztty-2.0.tar.gz) = 3a207a8d71d7b8c1b27710df9ce9e3364d6db0a6928a3d8b74089e7bd936ce37
|
||||
SIZE (hztty-2.0.tar.gz) = 229189
|
|
@ -1,30 +0,0 @@
|
|||
--- Makefile.orig Sun Jan 29 16:39:19 1995
|
||||
+++ Makefile Sun Apr 2 11:16:03 2000
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
CC=cc
|
||||
CPP=$(CC) -E
|
||||
-CDEBUGFLAGS= -O
|
||||
MAKE=make
|
||||
RM=rm -f
|
||||
|
||||
@@ -31,7 +30,7 @@
|
||||
${OBJ_GB_BIG5} ${OBJ_UNICODE_GB} ${OBJ_UNICODE_BIG5}
|
||||
|
||||
DEFINES=
|
||||
-CFLAGS=${CDEBUGFLAGS} ${DEFINES} ${MODULES_DEF} -I.
|
||||
+CFLAGS+=${CDEBUGFLAGS} ${DEFINES} ${MODULES_DEF} -I.
|
||||
|
||||
PROG = hztty
|
||||
LIBS=
|
||||
@@ -132,8 +131,8 @@
|
||||
|
||||
|
||||
bsd:
|
||||
- miniconf.sh $(CPP)
|
||||
- ${MAKE} ${MFLAGS} DEFINES='-DBSD' ${PROG}
|
||||
+ ./miniconf.sh $(CPP)
|
||||
+ ${MAKE} ${MFLAGS} DEFINES='-DPOSIX' ${PROG}
|
||||
|
||||
posix:
|
||||
miniconf.sh $(CPP)
|
|
@ -1,33 +0,0 @@
|
|||
--- tty.c.orig Sun Jan 29 12:24:55 1995
|
||||
+++ tty.c Mon Oct 6 23:56:32 1997
|
||||
@@ -26,7 +26,7 @@
|
||||
# define TTYDEV "/dev/pty/ttyxx"
|
||||
#else /* !hpux */
|
||||
# define PTYCHAR1 "pqrstuvwxyzPQRSTUVWXYZ"
|
||||
-# define PTYCHAR2 "0123456789abcdef"
|
||||
+# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuv"
|
||||
# define PTYDEV "/dev/ptyxx"
|
||||
# define TTYDEV "/dev/ttyxx"
|
||||
#endif /* !hpux */
|
||||
@@ -320,7 +320,9 @@
|
||||
#ifdef TIOCLSET
|
||||
(void) ioctl (tty, TIOCLGET, (char *)&(termptr->lmode));
|
||||
#endif
|
||||
-#ifdef USE_SYSV_TERMIO
|
||||
+#ifdef USE_TERMIOS
|
||||
+ tcgetattr(tty, (char *)&(termptr->tio));
|
||||
+#elif defined(USE_SYSV_TERMIO)
|
||||
(void) ioctl (tty, TCGETA, (char *)&(termptr->tio));
|
||||
#else /* USE_SYSV_TERMIO */
|
||||
(void) ioctl (tty, TIOCGETP, (char *)&(termptr->sb));
|
||||
@@ -339,7 +341,9 @@
|
||||
#ifdef TIOCLSET
|
||||
(void) ioctl (tty, TIOCLSET, (char *)&(termptr->lmode));
|
||||
#endif
|
||||
-#ifdef USE_SYSV_TERMIO
|
||||
+#ifdef USE_TERMIOS
|
||||
+ tcsetattr(tty, TCSANOW, (char *)&(termptr->tio));
|
||||
+#elif defined(USE_SYSV_TERMIO)
|
||||
(void) ioctl (tty, TCSETA, (char *)&(termptr->tio));
|
||||
#else /* USE_SYSV_TERMIO */
|
||||
(void) ioctl (tty, TIOCSETP, (char *)&(termptr->sb));
|
|
@ -1,20 +0,0 @@
|
|||
--- main.c.orig Tue Jun 4 21:56:28 2002
|
||||
+++ main.c Tue Jun 4 21:59:33 2002
|
||||
@@ -264,7 +264,7 @@
|
||||
static SIGNAL_T
|
||||
finish()
|
||||
{
|
||||
-#if defined(SYSV) || defined(POSIX)
|
||||
+#if defined(BSD) || defined(SYSV) || defined(POSIX)
|
||||
int status;
|
||||
#else
|
||||
union wait status;
|
||||
@@ -272,7 +272,7 @@
|
||||
register int pid;
|
||||
register int die = 0;
|
||||
|
||||
-#if defined(SYSV) || defined(POSIX)
|
||||
+#if defined(BSD) || defined(SYSV) || defined(POSIX)
|
||||
while ((pid = waitpid(-1, &status, WNOHANG|WUNTRACED)) > 0)
|
||||
#else
|
||||
while ((pid = wait3(&status, WNOHANG|WUNTRACED, (struct rusage *)0))>0)
|
|
@ -1,17 +0,0 @@
|
|||
hztty
|
||||
|
||||
This program turns a tty session from one encoding to another.
|
||||
For example, running hztty on cxterm can allow you to read/write
|
||||
Chinese in HZ format, which was not supported by cxterm.
|
||||
If you have many applications in different encodings but your
|
||||
favorite terminal program only supports one, hztty can make life easy.
|
||||
For example, hztty can your GB cxterm into a HZ terminal, a
|
||||
Unicode (16bit, or UTF8, or UTF7) terminal, or a Big5 terminal.
|
||||
|
||||
The idea is to open a new shell session on top of the current one
|
||||
and to translate the encoding between the new tty and the orignal.
|
||||
For example, if your application uses encoding A and your terminal
|
||||
supports encoding B, hztty catches the output of the application
|
||||
and converts them from A to B before sending to the terminal.
|
||||
Similarly, hztty converts all the terminal input from B to A before
|
||||
sending to the application.
|
|
@ -117,7 +117,6 @@
|
|||
SUBDIR += sirc
|
||||
SUBDIR += slirc
|
||||
SUBDIR += smartirc4net
|
||||
SUBDIR += solid-ircd
|
||||
SUBDIR += srvx
|
||||
SUBDIR += thales
|
||||
SUBDIR += tircd
|
||||
|
|
|
@ -1,35 +0,0 @@
|
|||
# Created by: mj <systemoperator@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= solid-ircd
|
||||
PORTVERSION= 3.4.8
|
||||
CATEGORIES= irc
|
||||
MASTER_SITES= SF/solidircd/Solid-Stable/solidircd-stable.${PORTVERSION}
|
||||
DISTNAME= solidircd-stable3.4.8
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Solid Internet Relay Chat Daemon based on bahamut IRCd
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
WRKSRC= ${WRKDIR}/solidircd-stable
|
||||
|
||||
USES= gmake
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
CONFIGURE_ARGS+= --prefix=${PREFIX}/${PORTNAME}
|
||||
|
||||
.if defined(WITHOUT_SSL)
|
||||
CONFIGURE_ARGS+= --disable-openssl
|
||||
.else
|
||||
USE_OPENSSL= yes
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (solidircd-stable3.4.8.tar.gz) = e26a44b3cad800d78af1779e05967a63ee27af801c694706ee73346f4f44158c
|
||||
SIZE (solidircd-stable3.4.8.tar.gz) = 806483
|
|
@ -1,61 +0,0 @@
|
|||
--- configure.old Sat Apr 15 12:21:36 2006
|
||||
+++ configure Sat Apr 15 12:21:50 2006
|
||||
@@ -8941,58 +8941,3 @@
|
||||
echo " Maximum Connections: $maxconnections"
|
||||
echo " Install Directory: $prefix"
|
||||
echo ""
|
||||
-
|
||||
-
|
||||
-ok=0
|
||||
-DEF=no
|
||||
-echo "Would you like to create your SSL Certificate now?"
|
||||
-while [ $ok -lt 1 ] ; do
|
||||
- echo "[$DEF] "
|
||||
- if read INPUT ; then : ; else echo "" ; exit 1 ; fi
|
||||
- if [ ! "$INPUT" ] ; then
|
||||
- INPUT=$DEF
|
||||
- fi
|
||||
- case $INPUT in
|
||||
- n*|N*)
|
||||
-
|
||||
- ok=1
|
||||
- ;;
|
||||
- y*|Y*)
|
||||
- cd doc/ssl
|
||||
- ./makecert.sh newcert
|
||||
- cd ..
|
||||
- cd ..
|
||||
- ok=1
|
||||
- ;;
|
||||
- *)
|
||||
- echo "Please enter 'yes' or 'no'."
|
||||
- ;;
|
||||
- esac
|
||||
-done
|
||||
-echo ""
|
||||
-
|
||||
-ok=0
|
||||
-DEF=no
|
||||
-echo "Would you like to compile & install solid-ircd now?"
|
||||
-while [ $ok -lt 1 ] ; do
|
||||
- echo "[$DEF] "
|
||||
- if read INPUT ; then : ; else echo "" ; exit 1 ; fi
|
||||
- if [ ! "$INPUT" ] ; then
|
||||
- INPUT=$DEF
|
||||
- fi
|
||||
- case $INPUT in
|
||||
- n*|N*)
|
||||
-
|
||||
- ok=1
|
||||
- ;;
|
||||
- y*|Y*)
|
||||
-
|
||||
- make && make install
|
||||
- ok=1
|
||||
- ;;
|
||||
- *)
|
||||
- echo "Please enter 'yes' or 'no'."
|
||||
- ;;
|
||||
- esac
|
||||
-done
|
||||
-echo ""
|
|
@ -1,5 +0,0 @@
|
|||
Solid-IRCd is an Internet Relay Chat Daemon based on bahamut IRCd.
|
||||
The main goal is to provide a stable server and at the same time a more secure
|
||||
server having all bahamut features and more.
|
||||
|
||||
WWW: http://www.solid-ircd.com/
|
|
@ -1,20 +0,0 @@
|
|||
solid-ircd/convert_conf
|
||||
solid-ircd/elmer.conf
|
||||
solid-ircd/ircd
|
||||
solid-ircd/ircd.motd
|
||||
solid-ircd/mkpasswd
|
||||
solid-ircd/opers.txt
|
||||
solid-ircd/reference.conf
|
||||
solid-ircd/rehash
|
||||
solid-ircd/template.conf
|
||||
solid-ircd/ssl/CVS/Entries
|
||||
solid-ircd/ssl/CVS/Repository
|
||||
solid-ircd/ssl/CVS/Root
|
||||
solid-ircd/ssl/makecert.sh
|
||||
solid-ircd/ssl/ssl.cnf
|
||||
solid-ircd/ssl/ssl.rnd
|
||||
solid-ircd/ssl/vgc.pem
|
||||
solid-ircd/ssl/vgckey.pem
|
||||
@dirrm solid-ircd/ssl/CVS
|
||||
@dirrmtry solid-ircd/ssl
|
||||
@dirrmtry solid-ircd
|
|
@ -11,7 +11,6 @@
|
|||
SUBDIR += baekmukfonts-bdf
|
||||
SUBDIR += baekmukfonts-ttf
|
||||
SUBDIR += engdic
|
||||
SUBDIR += eterm
|
||||
SUBDIR += fcitx-hangul
|
||||
SUBDIR += gimp-help
|
||||
SUBDIR += gtkcomm
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
# Created by: Oh Junseon <hollywar@mail.holywar.net>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= eterm
|
||||
PORTVERSION= 0.8.9
|
||||
PORTREVISION= 11
|
||||
CATEGORIES= korean x11
|
||||
MASTER_SITES= ftp://ftp.holywar.net/pub/FreeBSD/ \
|
||||
ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
|
||||
DISTNAME= Eterm-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= X11 terminal emulator based on rxvt/xterm that supports korean
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/X11/fonts/local/hmm12.pcf.gz:${PORTSDIR}/korean/hanyangfonts
|
||||
|
||||
USES= perl5 gmake
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_XORG= x11 xext ice sm xt
|
||||
USE_GNOME= imlib
|
||||
USE_LDCONFIG= yes
|
||||
USE_PERL5= build
|
||||
GNU_CONFIGURE= yes
|
||||
LIBS+= -L${LOCALBASE}/lib
|
||||
MAN1= Eterm.1
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -i '' -e 's|<malloc.h>|<stdlib.h>|' \
|
||||
${WRKSRC}/libmej/debug.c ${WRKSRC}/libmej/strings.c
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/ReleaseNotes \
|
||||
${WRKSRC}/doc/Eterm_reference.html \
|
||||
${WRKSRC}/doc/Eterm_reference.html \
|
||||
${WRKSRC}/doc/Eterm.tcap \
|
||||
${WRKSRC}/doc/Eterm.ti \
|
||||
${WRKSRC}/doc/FAQ.html \
|
||||
${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (Eterm-0.8.9.tar.gz) = 4ffbbd47a45f30dea20d517703ffa20ab5879fe7c9e521dd3fc793bfb212b879
|
||||
SIZE (Eterm-0.8.9.tar.gz) = 564885
|
File diff suppressed because it is too large
Load diff
|
@ -1,169 +0,0 @@
|
|||
diff -uNr Eterm-0.8.9.orig/themes/Eterm/MAIN.in Eterm-0.8.9/themes/Eterm/MAIN.in
|
||||
--- themes/Eterm/MAIN.in Mon Mar 15 03:17:31 1999
|
||||
+++ themes/Eterm/MAIN.in Wed May 5 21:24:35 1999
|
||||
@@ -105,14 +105,14 @@
|
||||
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
-# begin kanji
|
||||
-# font 0 k14
|
||||
-# font 1 jiskan16
|
||||
-# font 2 jiskan18
|
||||
-# font 3 jiskan24
|
||||
-# font 4 jiskan26
|
||||
+ begin kanji
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
# encoding eucj
|
||||
-# end kanji
|
||||
+ end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
||||
diff -uNr Eterm-0.8.9.orig/themes/chooser/MAIN.in Eterm-0.8.9/themes/chooser/MAIN.in
|
||||
--- themes/chooser/MAIN.in Mon Mar 15 03:17:24 1999
|
||||
+++ themes/chooser/MAIN.in Wed May 5 21:25:30 1999
|
||||
@@ -105,14 +105,14 @@
|
||||
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
-# begin kanji
|
||||
-# font 0 k14
|
||||
-# font 1 jiskan16
|
||||
-# font 2 jiskan18
|
||||
-# font 3 jiskan24
|
||||
-# font 4 jiskan26
|
||||
+ begin kanji
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
# encoding eucj
|
||||
-# end kanji
|
||||
+ end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
||||
diff -uNr Eterm-0.8.9.orig/themes/emacs/MAIN.in Eterm-0.8.9/themes/emacs/MAIN.in
|
||||
--- themes/emacs/MAIN.in Mon Mar 15 03:17:14 1999
|
||||
+++ themes/emacs/MAIN.in Wed May 5 21:26:47 1999
|
||||
@@ -105,14 +105,14 @@
|
||||
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
-# begin kanji
|
||||
-# font 0 k14
|
||||
-# font 1 jiskan16
|
||||
-# font 2 jiskan18
|
||||
-# font 3 jiskan24
|
||||
-# font 4 jiskan26
|
||||
+ begin kanji
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
# encoding eucj
|
||||
-# end kanji
|
||||
+ end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
||||
diff -uNr Eterm-0.8.9.orig/themes/irc/MAIN.in Eterm-0.8.9/themes/irc/MAIN.in
|
||||
--- themes/irc/MAIN.in Mon Mar 15 03:28:13 1999
|
||||
+++ themes/irc/MAIN.in Wed May 5 21:27:15 1999
|
||||
@@ -105,14 +105,14 @@
|
||||
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
-# begin kanji
|
||||
-# font 0 k14
|
||||
-# font 1 jiskan16
|
||||
-# font 2 jiskan18
|
||||
-# font 3 jiskan24
|
||||
-# font 4 jiskan26
|
||||
+ begin kanji
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
# encoding eucj
|
||||
-# end kanji
|
||||
+ end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
||||
diff -uNr Eterm-0.8.9.orig/themes/mutt/MAIN.in Eterm-0.8.9/themes/mutt/MAIN.in
|
||||
--- themes/mutt/MAIN.in Mon Mar 15 03:17:00 1999
|
||||
+++ themes/mutt/MAIN.in Wed May 5 21:27:38 1999
|
||||
@@ -106,12 +106,12 @@
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
begin kanji
|
||||
- font 0 k14
|
||||
- font 1 jiskan16
|
||||
- font 2 jiskan18
|
||||
- font 3 jiskan24
|
||||
- font 4 jiskan26
|
||||
- encoding eucj
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
+# encoding eucj
|
||||
end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
diff -uNr Eterm-0.8.9.orig/themes/tn3270/MAIN.in Eterm-0.8.9/themes/tn3270/MAIN.in
|
||||
--- themes/tn3270/MAIN.in Mon Mar 15 03:16:46 1999
|
||||
+++ themes/tn3270/MAIN.in Wed May 5 21:28:03 1999
|
||||
@@ -106,12 +106,12 @@
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
begin kanji
|
||||
- font 0 k14
|
||||
- font 1 jiskan16
|
||||
- font 2 jiskan18
|
||||
- font 3 jiskan24
|
||||
- font 4 jiskan26
|
||||
- encoding eucj
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
+# encoding eucj
|
||||
end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
diff -uNr Eterm-0.8.9.orig/themes/trans/MAIN.in Eterm-0.8.9/themes/trans/MAIN.in
|
||||
--- themes/trans/MAIN.in Fri Apr 16 06:21:22 1999
|
||||
+++ themes/trans/MAIN.in Wed May 5 21:28:27 1999
|
||||
@@ -107,14 +107,14 @@
|
||||
|
||||
# The Kanji support options. Same goes for these fonts as for the normal
|
||||
# ones. The "encoding" attribute can be either "eucj" or "sjis".
|
||||
-# begin kanji
|
||||
-# font 0 k14
|
||||
-# font 1 jiskan16
|
||||
-# font 2 jiskan18
|
||||
-# font 3 jiskan24
|
||||
-# font 4 jiskan26
|
||||
+ begin kanji
|
||||
+ font 0 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 1 *-kodig-medium-r-normal--12-*-ksc5601*
|
||||
+ font 2 *-kodig-medium-r-normal--14-*-ksc5601*
|
||||
+ font 3 *-kodig-medium-r-normal--16-*-ksc5601*
|
||||
+ font 4 *-kodig-medium-r-normal--20-*-ksc5601*
|
||||
# encoding eucj
|
||||
-# end kanji
|
||||
+ end kanji
|
||||
|
||||
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
|
||||
# "off", or "false" for FALSE.
|
|
@ -1,11 +0,0 @@
|
|||
--- utils/Makefile.in.orig Mon May 3 12:39:18 1999
|
||||
+++ utils/Makefile.in Mon May 3 12:39:36 1999
|
||||
@@ -225,7 +225,7 @@
|
||||
|
||||
Etbg: $(Etbg_OBJECTS) $(Etbg_DEPENDENCIES)
|
||||
@rm -f Etbg
|
||||
- $(LINK) $(Etbg_LDFLAGS) $(Etbg_OBJECTS) $(Etbg_LDADD) $(LIBS)
|
||||
+ $(LINK) $(Etbg_LDFLAGS) $(Etbg_OBJECTS) $(Etbg_LDADD) $(GRLIBS) $(LIBS)
|
||||
|
||||
install-binSCRIPTS: $(bin_SCRIPTS)
|
||||
@$(NORMAL_INSTALL)
|
|
@ -1,66 +0,0 @@
|
|||
--- themes/Eterm/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/Eterm/MAIN.in Sun Jun 13 00:28:40 1999
|
||||
@@ -94,7 +94,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
- path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
||||
--- themes/emacs/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/emacs/MAIN.in Sun Jun 13 00:29:06 1999
|
||||
@@ -94,7 +94,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
- path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
||||
--- themes/irc/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/irc/MAIN.in Sun Jun 13 00:29:24 1999
|
||||
@@ -94,7 +94,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
- path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
||||
--- themes/mutt/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/mutt/MAIN.in Sun Jun 13 00:30:14 1999
|
||||
@@ -94,7 +94,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
- path "~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
||||
--- themes/tn3270/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/tn3270/MAIN.in Sun Jun 13 00:30:36 1999
|
||||
@@ -94,7 +94,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
- path "~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
||||
--- themes/trans/MAIN.in.orig Sun Jun 13 00:26:37 1999
|
||||
+++ themes/trans/MAIN.in Sun Jun 13 00:33:48 1999
|
||||
@@ -96,7 +96,7 @@
|
||||
# scale 100%, 0 to tile, any other number specifies W/H in pixels
|
||||
begin pixmaps
|
||||
# background %random(`cat pixmaps.list 2>/dev/null`)
|
||||
-# path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
|
||||
+# path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/:@DATADIR@/Eterm/bg/scale/:@DATADIR@/Eterm/bg/tile/"
|
||||
|
||||
# Support for these is forthcoming
|
||||
# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
|
|
@ -1,21 +0,0 @@
|
|||
--- utils/Etbg.c.orig Sat Mar 27 10:13:46 1999
|
||||
+++ utils/Etbg.c Mon Mar 24 14:03:40 2003
|
||||
@@ -26,12 +26,15 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
+#ifndef FALSE
|
||||
+#define FALSE (0)
|
||||
+#define TRUE (1)
|
||||
+#endif
|
||||
+
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
- enum {
|
||||
- FALSE, TRUE
|
||||
- } scale = FALSE, trans = FALSE;
|
||||
+ int scale = FALSE, trans = FALSE;
|
||||
unsigned int i, pic = 0, tint = 0, shade = 0;
|
||||
|
||||
for (i = 1; i < argc; i++) {
|
|
@ -1,12 +0,0 @@
|
|||
Eterm
|
||||
-----
|
||||
|
||||
Eterm is a color vt102 terminal emulator for X Window system.
|
||||
It supports pixmap and pseudo-transparent background.
|
||||
It also supports input and output for korean.
|
||||
|
||||
- Added Hangul input patch. written by <eterm@user.sarang.net> [aa]
|
||||
- Patch theme for Hangul font set. [ab]
|
||||
- Porting for FreeBSD. [ac]
|
||||
|
||||
You can download scale and tile. - ftp://ftp.eterm.org/pub/Eterm/
|
|
@ -1,67 +0,0 @@
|
|||
bin/Esetroot
|
||||
bin/Etbg
|
||||
bin/Etcolors.sh
|
||||
bin/Eterm
|
||||
bin/Etmenu.sh
|
||||
lib/libEterm.a
|
||||
lib/libEterm.la
|
||||
lib/libEterm.so
|
||||
lib/libEterm.so.8
|
||||
lib/libmej.a
|
||||
lib/libmej.la
|
||||
lib/libmej.so
|
||||
lib/libmej.so.8
|
||||
share/Eterm/pix/014.png
|
||||
share/Eterm/pix/backwave.jpg
|
||||
share/Eterm/pix/button1.jpg
|
||||
share/Eterm/pix/button5.jpg
|
||||
share/Eterm/pix/circuit.png
|
||||
share/Eterm/pix/fourthday.jpg
|
||||
share/Eterm/pix/gaia.jpg
|
||||
share/Eterm/pix/galleon.jpg
|
||||
share/Eterm/pix/nebula.jpg
|
||||
share/Eterm/pix/night_of_the_dragon.jpg
|
||||
share/Eterm/pix/pixmaps.list
|
||||
share/Eterm/themes/Eterm/Eterm.menu
|
||||
share/Eterm/themes/Eterm/MAIN
|
||||
share/Eterm/themes/Eterm/MAIN.in.orig
|
||||
share/Eterm/themes/Eterm/pixmaps.list
|
||||
share/Eterm/themes/chooser/MAIN
|
||||
share/Eterm/themes/chooser/MAIN.in.orig
|
||||
share/Eterm/themes/chooser/chooser.menu
|
||||
share/Eterm/themes/chooser/pixmaps.list
|
||||
share/Eterm/themes/emacs/MAIN
|
||||
share/Eterm/themes/emacs/MAIN.in.orig
|
||||
share/Eterm/themes/emacs/emacs.menu
|
||||
share/Eterm/themes/emacs/pixmaps.list
|
||||
share/Eterm/themes/irc/MAIN
|
||||
share/Eterm/themes/irc/MAIN.in.orig
|
||||
share/Eterm/themes/irc/irc.menu
|
||||
share/Eterm/themes/irc/pixmaps.list
|
||||
share/Eterm/themes/mutt/MAIN
|
||||
share/Eterm/themes/mutt/MAIN.in.orig
|
||||
share/Eterm/themes/mutt/mutt.menu
|
||||
share/Eterm/themes/mutt/pixmaps.list
|
||||
share/Eterm/themes/tn3270/MAIN
|
||||
share/Eterm/themes/tn3270/MAIN.in.orig
|
||||
share/Eterm/themes/tn3270/pixmaps.list
|
||||
share/Eterm/themes/trans/MAIN
|
||||
share/Eterm/themes/trans/MAIN.in.orig
|
||||
share/Eterm/themes/trans/trans.menu
|
||||
share/Eterm/themes/trans/pixmaps.list
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Eterm_reference.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Eterm.tcap
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Eterm.ti
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ReleaseNotes
|
||||
@dirrm share/Eterm/themes/trans
|
||||
@dirrm share/Eterm/themes/tn3270
|
||||
@dirrm share/Eterm/themes/mutt
|
||||
@dirrm share/Eterm/themes/irc
|
||||
@dirrm share/Eterm/themes/emacs
|
||||
@dirrm share/Eterm/themes/chooser
|
||||
@dirrm share/Eterm/themes/Eterm
|
||||
@dirrm share/Eterm/themes
|
||||
@dirrm share/Eterm/pix
|
||||
@dirrm share/Eterm
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
@ -32,7 +32,6 @@
|
|||
SUBDIR += bayespam
|
||||
SUBDIR += bbmail
|
||||
SUBDIR += biabam
|
||||
SUBDIR += biffer
|
||||
SUBDIR += bmf
|
||||
SUBDIR += bogofilter
|
||||
SUBDIR += bogofilter-sqlite
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
# Created by: jsellens
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= biffer
|
||||
PORTVERSION= 1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.generalconcepts.com/resources/software/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Better mail notification server
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
RUN_DEPENDS= xmsg:${PORTSDIR}/x11/xmsg
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN1= biffopt.1
|
||||
MAN8= biffer.8 biffer_comsat.8
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/biffer_comsat/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/biffer/biffer ${PREFIX}/libexec
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/biffopt/biffopt ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/biffopt/biffopt.1 ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${WRKSRC}/biffer/biffer.8 ${MAN8PREFIX}/man/man8
|
||||
cd ${WRKSRC}/biffer_comsat && ${MAKE} ${MFLAGS} install
|
||||
|
||||
post-install:
|
||||
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} \
|
||||
POST-INSTALL
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (biffer-1.0.tar.gz) = a47a790a5397e8e62f6605e77e3347708d0324042a4085b01e667a5bcf45db91
|
||||
SIZE (biffer-1.0.tar.gz) = 27923
|
|
@ -1,13 +0,0 @@
|
|||
--- biffer/Makefile.orig Wed Oct 22 17:11:30 2003
|
||||
+++ biffer/Makefile Wed Oct 22 17:11:43 2003
|
||||
@@ -7,7 +7,9 @@
|
||||
|
||||
INCLUDES = ../Include/biffer.h ../Include/biffoptions.h
|
||||
|
||||
-CFLAGS = -O -I../Include
|
||||
+CC ?= cc
|
||||
+CFLAGS ?= -O -pipe
|
||||
+CFLAGS += -I../Include
|
||||
|
||||
LIBS = -lcompat
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
--- biffer_comsat/Makefile.orig Thu Oct 27 23:23:21 2005
|
||||
+++ biffer_comsat/Makefile Thu Oct 27 23:25:14 2005
|
||||
@@ -8,9 +8,12 @@
|
||||
|
||||
SRCS= comsat.c usebiffer.c
|
||||
|
||||
-BINDIR= /usr/local/libexec
|
||||
-MANDIR= /usr/local/man/man
|
||||
+PREFIX= /usr/local
|
||||
+BINDIR= ${PREFIX}/libexec
|
||||
+MANDIR= ${PREFIX}/man/man
|
||||
|
||||
+CC?= cc
|
||||
+CFLAGS?= -O -pipe
|
||||
CFLAGS+= -I../Include
|
||||
|
||||
.include <bsd.prog.mk>
|
|
@ -1,13 +0,0 @@
|
|||
--- biffopt/Makefile.orig Wed Oct 22 17:12:06 2003
|
||||
+++ biffopt/Makefile Wed Oct 22 17:12:25 2003
|
||||
@@ -7,7 +7,9 @@
|
||||
|
||||
INCLUDES = ../Include/biffer.h ../Include/biffoptions.h
|
||||
|
||||
-CFLAGS = -O -I../Include
|
||||
+CC ?= cc
|
||||
+CFLAGS ?= -O -pipe
|
||||
+CFLAGS += -I../Include
|
||||
|
||||
LIBS = -lcompat
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ x$2 != xDEINSTALL ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Removing biffer from /etc/services ..."
|
||||
cp /etc/services /etc/services.bak
|
||||
egrep -v '^biffer' /etc/services.bak > /etc/services
|
||||
|
||||
echo "Removing biffer and biffer_comsat from /etc/inetd.conf ..."
|
||||
cp /etc/inetd.conf /etc/inetd.conf.bak
|
||||
egrep -v '^biffer' /etc/inetd.conf.bak | egrep -v \
|
||||
'^comsat[[:space:]]+.*[[:space:]]+biffer_comsat' > /etc/inetd.conf
|
|
@ -1,11 +0,0 @@
|
|||
biffer replaces and enhances the normal result of "biff(1)". It
|
||||
can forward notifications between machines and userids (even if
|
||||
the mail recipient is not currently signed on), ignore messages
|
||||
that match user-specified patterns in mail headers, do text or X
|
||||
notifications, and also run an arbitrary program.
|
||||
|
||||
Needs a slight modification to the stock comsat, included here
|
||||
as biffer_comsat.
|
||||
|
||||
Written at the University of Waterloo circa 1988, and in use since
|
||||
then with some modifications.
|
|
@ -1,46 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ x$2 != xPOST-INSTALL ]; then
|
||||
exit
|
||||
fi
|
||||
|
||||
needHUP="no"
|
||||
|
||||
echo -n "/etc/services needs to mention biffer, checking... "
|
||||
egrep '^biffer[[:space:]]+1243/tcp' /etc/services > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "already there"
|
||||
else
|
||||
echo "adding entry"
|
||||
echo 'biffer 1243/tcp # biffer(8) under inetd' >> \
|
||||
/etc/services
|
||||
fi
|
||||
|
||||
echo -n "/etc/inetd.conf needs to mention biffer, checking... "
|
||||
egrep '^biffer[[:space:]]+stream' /etc/inetd.conf > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "already there"
|
||||
else
|
||||
echo "adding entry"
|
||||
echo "biffer stream tcp nowait root ${PKG_PREFIX}/libexec/biffer biffer" >> /etc/inetd.conf
|
||||
needHUP="yes"
|
||||
fi
|
||||
|
||||
echo -n "/etc/inetd.conf needs to mentionn biffer_comsat, checking... "
|
||||
egrep '^comsat[[:space:]]+.*[[:space:]]+biffer_comsat' /etc/inetd.conf > /dev/null
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "already there"
|
||||
else
|
||||
echo "adding entry"
|
||||
echo "comsat stream tcp nowait root ${PKG_PREFIX}/libexec/biffer_comsat biffer_comsat" >> /etc/inetd.conf
|
||||
needHUP="yes"
|
||||
fi
|
||||
|
||||
if [ "$needHUP" = "yes" ]; then
|
||||
echo
|
||||
echo "------------------------------------------------------------------"
|
||||
echo "inetd(8) needs to re-read /etc/inetd.conf. Please either kill -HUP"
|
||||
echo "the inetd process, or reboot to allow biffer(8) to work."
|
||||
echo "------------------------------------------------------------------"
|
||||
echo
|
||||
fi
|
|
@ -1,3 +0,0 @@
|
|||
bin/biffopt
|
||||
libexec/biffer
|
||||
libexec/biffer_comsat
|
|
@ -33,7 +33,6 @@
|
|||
SUBDIR += boxquote.el
|
||||
SUBDIR += brs
|
||||
SUBDIR += buffer
|
||||
SUBDIR += c-hey
|
||||
SUBDIR += callid
|
||||
SUBDIR += cave
|
||||
SUBDIR += cdcollect
|
||||
|
@ -459,7 +458,6 @@
|
|||
SUBDIR += window
|
||||
SUBDIR += wmScoreBoard
|
||||
SUBDIR += wmcalendar
|
||||
SUBDIR += wminfo
|
||||
SUBDIR += wmjulia
|
||||
SUBDIR += wmpal
|
||||
SUBDIR += wmtunlo
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
# Created by: Philip Reynolds
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= c-hey
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= http://www.redbrick.dcu.ie/~c-hey/src.gzipped/
|
||||
DISTNAME= c-hey2.1
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Terminal based instant messaging utility
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
MAN1= c-hey.1
|
||||
MLINKS= c-hey.1 hey.1
|
||||
PLIST_FILES= bin/c-hey bin/hey
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (c-hey2.1.tar.gz) = 71158aaa7f69e7cc9b27f060e088aff280d271b6d434440800d632c5b3c92a0d
|
||||
SIZE (c-hey2.1.tar.gz) = 60672
|
|
@ -1,4 +0,0 @@
|
|||
This is a port of c-hey, a terminal based instant
|
||||
messaging utility based on write(1)
|
||||
|
||||
WWW: http://www.redbrick.dcu.ie/~c-hey/
|
|
@ -1,37 +0,0 @@
|
|||
# Created by: Thomas Kempka <t.kempka@web.de>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wminfo
|
||||
PORTVERSION= 1.51
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc windowmaker
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
||||
MASTER_SITE_SUBDIR= pav
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Dockapp to run shell scripts and display the output
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
|
||||
|
||||
USE_XORG= xpm
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(LIBS)$$|& $$(OBJS)|g' \
|
||||
-e 's|/usr/X11R6|$$(LOCALBASE)|g' \
|
||||
-e 's|/share/include|/include|g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wminfo ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (wminfo-1.51.tar.gz) = a9d5b7439a77d538122ace6338f297e9c67709241a38ab61cdc31a3a80b8ba73
|
||||
SIZE (wminfo-1.51.tar.gz) = 19459
|
|
@ -1,18 +0,0 @@
|
|||
--- wminfo.c.orig Thu Feb 19 21:22:58 2004
|
||||
+++ wminfo.c Thu Feb 19 21:24:27 2004
|
||||
@@ -142,9 +142,11 @@
|
||||
|
||||
strcpy(plugin_exec,"sh ");
|
||||
strcat(plugin_exec,plugin);
|
||||
- strcat(plugin_exec," > wmiout.tmp");
|
||||
- strcpy(plugin_out,getenv("PWD"));
|
||||
- strcat(plugin_out,"/wmiout.tmp");
|
||||
+ strcat(plugin_exec," > ");
|
||||
+ strcat(plugin_exec,plugin);
|
||||
+ strcat(plugin_exec,".tmp");
|
||||
+ strcpy(plugin_out,plugin);
|
||||
+ strcat(plugin_out,".tmp");
|
||||
|
||||
createXBMfromXPM(wminfo_mask_bits, wminfo_xpm, wminfo_mask_width, wminfo_mask_height);
|
||||
openXwindow(argc, argv, wminfo_xpm, wminfo_mask_bits, wminfo_mask_width, wminfo_mask_height);
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
This dockapp is designed to be very general purpose. It can display
|
||||
any kind of information as long as it is in text-format. It uses
|
||||
plugins to retrieve the information. Any script or program that
|
||||
sends its output to stdout can be used (have a look at the scripts
|
||||
in the plugins directory of the source tarball for examples).
|
||||
|
||||
Author: Robert Kling <robkli-8@student.luth.se>
|
|
@ -1 +0,0 @@
|
|||
bin/wminfo
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
SUBDIR += ayttm
|
||||
SUBDIR += bsflite
|
||||
SUBDIR += centericq
|
||||
SUBDIR += centerim
|
||||
SUBDIR += centerim-devel
|
||||
SUBDIR += chattahoochie
|
||||
|
|
|
@ -1,137 +0,0 @@
|
|||
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= centericq
|
||||
PORTVERSION= 4.21.0
|
||||
PORTREVISION= 16
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= http://thekonst.net/download/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Text mode menu- and window-driven IM interface
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
USES= iconv gmake tar:bzip2
|
||||
USE_OPENSSL= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
CXXFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
|
||||
CONFIGURE_ARGS= --with-openssl --disable-konst
|
||||
|
||||
OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
|
||||
FRIBIDI_DESC= Fribidi Support
|
||||
MSN_DESC= MSN Protocol
|
||||
YAHOO_DESC= Yahoo! Messenger Protocol
|
||||
AIM_DESC= AOL's Instant Messenger Protocol
|
||||
IRC_DESC= IRC Protocol
|
||||
GPGME_DESC= PGP encrypted Jabber messages
|
||||
RSS_DESC= RSS Support
|
||||
LJ_DESC= LiveJournal Support
|
||||
GG_DESC= Gadu-Gadu Protocol Support
|
||||
|
||||
OPTIONS_DEFAULT= GPGME
|
||||
|
||||
MAN1= cicqconv.1 cicqsync.1
|
||||
|
||||
PORTDOCS= FAQ README
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${ARCH} == "amd64"
|
||||
# Don't use optimization since it sefgaults in some cases otherwise.
|
||||
CFLAGS:= ${CFLAGS:C/-O[0123456789]*/-O0/}
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMULTIBYTE}
|
||||
CONFIGURE_ARGS+= --enable-locales-fix
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MFRIBIDI}
|
||||
LIB_DEPENDS+= libfribidi.so:${PORTSDIR}/converters/fribidi
|
||||
CONFIGURE_ARGS+= --with-fribidi
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MMSN}
|
||||
LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-msn
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MYAHOO}
|
||||
CONFIGURE_ARGS+= --disable-yahoo
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MAIM}
|
||||
CONFIGURE_ARGS+= --disable-aim
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MIRC}
|
||||
CONFIGURE_ARGS+= --disable-irc
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MJABBER}
|
||||
CONFIGURE_ARGS+= --disable-jabber
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGPGME}
|
||||
LIB_DEPENDS+= libgpgme.so:${PORTSDIR}/security/gpgme
|
||||
CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-gpgme
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MRSS}
|
||||
CONFIGURE_ARGS+= --disable-rss
|
||||
.endif
|
||||
|
||||
.if ! ${PORT_OPTIONS:MLJ}
|
||||
CONFIGURE_ARGS+= --disable-lj
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MGG}
|
||||
LIB_DEPENDS+= libgadu.so:${PORTSDIR}/polish/ekg
|
||||
LIBGADU= -lgadu
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-gg
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for file in kkconsui-0.1/include/conf.h kkstrtext-0.1/conf.h kksystr-0.1/include/conf.h
|
||||
@(cd ${WRKSRC} ; \
|
||||
${MV} -f ${file} ${file}.orig ; \
|
||||
${GREP} -v "_G_config.h" ${file}.orig > ${file})
|
||||
.endfor
|
||||
@${FIND} ${WRKSRC} -name "Makefile*" -type f -print0 | \
|
||||
${XARGS} -0 \
|
||||
${REINPLACE_CMD} -E \
|
||||
-e "s|-I\$$\(top_srcdir\)/libgadu-0.1|-I${LOCALBASE}/include|" \
|
||||
-e "s|-L\$$\(top_srcdir\)/libgadu-0.1|-L${LOCALBASE}/lib|" \
|
||||
-e 's|libgadu-0.1/*||' \
|
||||
-e 's|libgadu-0.1||' \
|
||||
-e 's|-llibgadu|${LIBGADU}|'
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (centericq-4.21.0.tar.bz2) = fc8d7e95f54c153b7004448b33118477e52831d071e930e21b473ad6b724fd76
|
||||
SIZE (centericq-4.21.0.tar.bz2) = 1422126
|
|
@ -1,18 +0,0 @@
|
|||
--- configure.orig Fri Sep 2 22:46:37 2005
|
||||
+++ configure Sat Sep 3 13:43:48 2005
|
||||
@@ -14315,12 +14315,15 @@
|
||||
ac_prev=prefix ;;
|
||||
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
||||
;;
|
||||
+ *alias=* )
|
||||
+ ;;
|
||||
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Always prepend --prefix to ensure using the same prefix
|
||||
# in subdir configurations.
|
||||
+ ac_sub_configure_args=`echo $ac_sub_configure_args | sed "s,'[A-Z][^']*',,g"`
|
||||
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
|
||||
|
||||
ac_popdir=`pwd`
|
|
@ -1,79 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- kkconsui-0.1/src/texteditor.cc.orig
|
||||
+++ kkconsui-0.1/src/texteditor.cc
|
||||
@@ -106,7 +106,7 @@
|
||||
fread(p, st.st_size, 1, f);
|
||||
p[st.st_size] = 0;
|
||||
i = load(p, strdup(id.c_str()));
|
||||
- delete p;
|
||||
+ delete[] p;
|
||||
}
|
||||
|
||||
return i;
|
||||
@@ -124,7 +124,7 @@
|
||||
f.read(buf, size);
|
||||
buf[size] = 0;
|
||||
ret = load(buf, strdup(id.c_str()));
|
||||
- delete buf;
|
||||
+ delete[] buf;
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -172,7 +172,7 @@
|
||||
int texteditor::save(FILE *f, const char *linebreak) {
|
||||
char *buf = save(linebreak);
|
||||
fwrite(buf, strlen(buf), 1, f);
|
||||
- delete buf;
|
||||
+ free(buf);
|
||||
modified = false;
|
||||
return 0;
|
||||
}
|
||||
@@ -180,7 +180,7 @@
|
||||
int texteditor::save(ofstream &f, const string linebreak) {
|
||||
char *buf = save(linebreak.c_str());
|
||||
f.write(buf, strlen(buf));
|
||||
- delete buf;
|
||||
+ free(buf);
|
||||
f.close();
|
||||
modified = false;
|
||||
return 0;
|
||||
@@ -526,7 +526,7 @@
|
||||
fread(buf, fsize, 1, f);
|
||||
buf[fsize] = 0;
|
||||
insert(buf);
|
||||
- delete buf;
|
||||
+ delete[] buf;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -576,8 +576,8 @@
|
||||
firstpass = false;
|
||||
}
|
||||
|
||||
- delete el;
|
||||
- delete sl;
|
||||
+ free(el);
|
||||
+ free(sl);
|
||||
|
||||
modification(uinsblock, sbuf);
|
||||
}
|
||||
@@ -1081,7 +1081,7 @@
|
||||
curfile->lines->replace(CURLINE, newline);
|
||||
}
|
||||
|
||||
- delete anext;
|
||||
+ free(anext);
|
||||
} else {
|
||||
if(next) nextlen = strlen(next); else nextlen = 0;
|
||||
char *newline = new char[nextlen+strlen(p)+1];
|
||||
@@ -1940,7 +1940,7 @@
|
||||
}
|
||||
|
||||
int texteditor::findint(void *p1, void *p2) {
|
||||
- return *(int *) p1 != (int) p2;
|
||||
+ return *(int *) p1 != (intptr_t) p2;
|
||||
}
|
||||
|
||||
int texteditor::findhighline(void *p1, void *p2) {
|
|
@ -1,61 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- kkstrtext-0.1/kkstrtext.cc.orig
|
||||
+++ kkstrtext-0.1/kkstrtext.cc
|
||||
@@ -154,7 +154,7 @@
|
||||
string r;
|
||||
char *buf = (char *) utf8_to_str(text.c_str());
|
||||
r = buf;
|
||||
- delete buf;
|
||||
+ delete[] buf;
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
string r;
|
||||
char *buf = str_to_utf8(text.c_str());
|
||||
r = buf;
|
||||
- delete buf;
|
||||
+ delete[] buf;
|
||||
return r;
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@
|
||||
|
||||
void charpointerfree(void *p) {
|
||||
char *cp = (char *) p;
|
||||
- if(cp) delete cp;
|
||||
+ if(cp) free(cp);
|
||||
}
|
||||
|
||||
void nothingfree(void *p) {
|
||||
@@ -431,7 +431,7 @@
|
||||
}
|
||||
|
||||
int intcompare(void *s1, void *s2) {
|
||||
- return (int) s1 != (int) s2;
|
||||
+ return (intptr_t) s1 != (intptr_t) s2;
|
||||
}
|
||||
|
||||
string i2str(int i) {
|
||||
@@ -885,7 +885,7 @@
|
||||
#ifdef HAVE_ICONV
|
||||
iconv_t cd = iconv_open(tocs.c_str(), fromcs.c_str());
|
||||
|
||||
- if(((int) cd) != -1) {
|
||||
+ if(((intptr_t) cd) != -1) {
|
||||
string r, text(atext);
|
||||
size_t inleft, outleft, soutleft;
|
||||
char *inbuf, *outbuf, *sinbuf, *soutbuf;
|
||||
@@ -907,8 +907,8 @@
|
||||
r += soutbuf;
|
||||
text.erase(0, text.size()-inleft);
|
||||
|
||||
- delete soutbuf;
|
||||
- delete sinbuf;
|
||||
+ delete[] soutbuf;
|
||||
+ free(sinbuf);
|
||||
|
||||
if(res == -1 && errno != EILSEQ)
|
||||
break;
|
|
@ -1,11 +0,0 @@
|
|||
--- kkstrtext-0.1/kkstrtext.h.orig Wed Aug 9 10:50:49 2006
|
||||
+++ kkstrtext-0.1/kkstrtext.h Wed Aug 9 10:51:12 2006
|
||||
@@ -87,7 +87,7 @@
|
||||
{ \
|
||||
va_list vgs__ap; char vgs__buf[1024]; \
|
||||
va_start(vgs__ap, fmt); \
|
||||
- vsprintf(vgs__buf, fmt, vgs__ap); c = vgs__buf; \
|
||||
+ vsnprintf(vgs__buf, sizeof(vgs__buf), fmt, vgs__ap); c = vgs__buf; \
|
||||
va_end(vgs__ap); \
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
--- ./libicq2000-0.1/libicq2000/sigslot.h.orig Wed Aug 23 01:30:57 2006
|
||||
+++ ./libicq2000-0.1/libicq2000/sigslot.h Wed Aug 23 01:34:04 2006
|
||||
@@ -616,7 +616,6 @@
|
||||
if((*it)->getdest() == pslot)
|
||||
{
|
||||
m_connected_slots.erase(it);
|
||||
- delete *it;
|
||||
}
|
||||
|
||||
it = itNext;
|
|
@ -1,11 +0,0 @@
|
|||
--- libicq2000-0.1/src/DirectClient.cpp.orig Wed Aug 9 10:52:04 2006
|
||||
+++ libicq2000-0.1/src/DirectClient.cpp Wed Aug 9 10:53:26 2006
|
||||
@@ -162,6 +162,8 @@
|
||||
|
||||
m_recv.setLittleEndian();
|
||||
m_recv >> length;
|
||||
+ if (length == 0)
|
||||
+ return;
|
||||
if (length > Incoming_Packet_Limit) throw ParseException("Received too long incoming packet");
|
||||
if (m_recv.remains() < length) return; // waiting for more of the packet
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
--- libmsn-0.1/msn/connection.cpp.orig Tue Jun 29 07:17:07 2004
|
||||
+++ libmsn-0.1/msn/connection.cpp Thu Jul 1 17:04:36 2004
|
||||
@@ -27,8 +27,8 @@
|
||||
#include <msn/externals.h>
|
||||
|
||||
#ifndef WIN32
|
||||
-#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/socket.h>
|
||||
#else
|
||||
#include <winsock.h>
|
||||
#include <io.h>
|
|
@ -1,10 +0,0 @@
|
|||
--- libmsn-0.1/msn/filetransfer.cpp.orig Tue Jun 29 18:59:04 2004
|
||||
+++ libmsn-0.1/msn/filetransfer.cpp Thu Jul 1 17:03:28 2004
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#ifndef WIN32
|
||||
#include <unistd.h>
|
||||
+#include <sys/time.h>
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
#include <winsock.h>
|
|
@ -1,26 +0,0 @@
|
|||
--- src/hooks/msnhook.cc.orig Thu Jul 1 03:42:16 2004
|
||||
+++ src/hooks/msnhook.cc Thu Jul 29 10:02:57 2004
|
||||
@@ -155,6 +155,9 @@
|
||||
int hsock = 0;
|
||||
MSN::Connection *c;
|
||||
|
||||
+ FD_ZERO(&rs);
|
||||
+ FD_ZERO(&ws);
|
||||
+ FD_ZERO(&es);
|
||||
getsockets(rs, ws, es, hsock);
|
||||
tv.tv_sec = tv.tv_usec = 0;
|
||||
|
||||
@@ -451,11 +454,11 @@
|
||||
|
||||
void msnhook::checkfriendly(icqcontact *c, const string friendlynick, bool forcefetch) {
|
||||
string oldnick = c->getnick();
|
||||
- string newnick = unmime(friendlynick);
|
||||
+ string newnick = rusconv("uk",unmime(friendlynick));
|
||||
|
||||
c->setnick(newnick);
|
||||
|
||||
- if(forcefetch || (oldnick != newnick && c->getdispnick() == oldnick) || oldnick.empty()) {
|
||||
+ if(forcefetch || (oldnick != newnick && c->getdispnick() != newnick) || oldnick.empty()) {
|
||||
c->setdispnick(newnick);
|
||||
face.relaxedupdate();
|
||||
}
|
|
@ -1,71 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/icqdialogs.cc.orig
|
||||
+++ src/icqdialogs.cc
|
||||
@@ -210,17 +210,17 @@
|
||||
switch(subj) {
|
||||
case fsuser:
|
||||
db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
|
||||
- _("lOad"), _("sAve"), _("cLear"), _("Change"), _("Search/Add"), 0));
|
||||
+ _("lOad"), _("sAve"), _("cLear"), _("Change"), _("Search/Add"), 0L));
|
||||
break;
|
||||
|
||||
case fschannel:
|
||||
db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
|
||||
- _("cLear"), _("Change"), _("Join/Create"), 0));
|
||||
+ _("cLear"), _("Change"), _("Join/Create"), 0L));
|
||||
break;
|
||||
|
||||
case fsrss:
|
||||
db.setbar(new horizontalbar(conf.getcolor(cp_dialog_text), conf.getcolor(cp_dialog_selected),
|
||||
- _("cLear"), _("Change"), _("lInk"), 0));
|
||||
+ _("cLear"), _("Change"), _("lInk"), 0L));
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -894,7 +894,7 @@
|
||||
i = m.open();
|
||||
m.close();
|
||||
|
||||
- if(i) f = (unsigned short) ((int) m.getref(i-1));
|
||||
+ if(i) f = (unsigned short) ((intptr_t) m.getref(i-1));
|
||||
}
|
||||
|
||||
void icqface::selectlanguage(unsigned short &f) {
|
||||
@@ -946,7 +946,7 @@
|
||||
int i = m.open();
|
||||
m.close();
|
||||
|
||||
- if(i) f = (imgender) ((int) m.getref(i-1));
|
||||
+ if(i) f = (imgender) ((intptr_t) m.getref(i-1));
|
||||
}
|
||||
|
||||
void icqface::selectagerange(ICQ2000::AgeRange &r) {
|
||||
@@ -967,7 +967,7 @@
|
||||
int i = m.open();
|
||||
m.close();
|
||||
|
||||
- if(i) r = (ICQ2000::AgeRange) ((int) m.getref(i-1));
|
||||
+ if(i) r = (ICQ2000::AgeRange) ((intptr_t) m.getref(i-1));
|
||||
}
|
||||
|
||||
bool icqface::edit(string &txt, const string &header) {
|
||||
@@ -1256,7 +1256,7 @@
|
||||
|
||||
void *p;
|
||||
finished = !db.open(n, b, &p);
|
||||
- i = (int) p;
|
||||
+ i = (intptr_t) p;
|
||||
|
||||
if(!finished)
|
||||
switch(b) {
|
||||
@@ -1750,7 +1750,7 @@
|
||||
it = transfers.end();
|
||||
|
||||
if(!db.gettree()->isnode(db.gettree()->getid(np-1)))
|
||||
- it = transfers.begin() + (int) db.getmenu()->getref(n-1);
|
||||
+ it = transfers.begin() + (intptr_t) db.getmenu()->getref(n-1);
|
||||
|
||||
switch(b) {
|
||||
case 0:
|
|
@ -1,68 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/icqface.cc.orig
|
||||
+++ src/icqface.cc
|
||||
@@ -401,7 +401,7 @@
|
||||
|
||||
m.scale();
|
||||
m.idle = &menuidle;
|
||||
- i = (int) m.getref(m.open()-1);
|
||||
+ i = (intptr_t) m.getref(m.open()-1);
|
||||
m.close();
|
||||
|
||||
if(i) lastr = i;
|
||||
@@ -450,7 +450,7 @@
|
||||
|
||||
if(i) {
|
||||
lastitem = i-1;
|
||||
- r = (int) m.getref(lastitem);
|
||||
+ r = (intptr_t) m.getref(lastitem);
|
||||
}
|
||||
|
||||
return r;
|
||||
@@ -513,7 +513,7 @@
|
||||
g = 0;
|
||||
}
|
||||
|
||||
- if((unsigned int) c < 100) c = 0;
|
||||
+ if((intptr_t) c < 100) c = 0;
|
||||
|
||||
if(i) {
|
||||
switch(action = extk) {
|
||||
@@ -1484,7 +1484,7 @@
|
||||
m.scale();
|
||||
|
||||
i = m.open();
|
||||
- choice = (int) m.getref(i-1);
|
||||
+ choice = (intptr_t) m.getref(i-1);
|
||||
|
||||
m.close();
|
||||
}
|
||||
@@ -1539,7 +1539,7 @@
|
||||
m.close();
|
||||
|
||||
if(r = i) {
|
||||
- st = (imstatus) ((int) m.getref(i-1));
|
||||
+ st = (imstatus) ((intptr_t) m.getref(i-1));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2003,7 +2003,7 @@
|
||||
mvaddchnstr(i-1, sizeWArea.x1+1, logline, sizeWArea.x2-sizeWArea.x1);
|
||||
}
|
||||
|
||||
- delete logline;
|
||||
+ delete[] logline;
|
||||
|
||||
if(text.size() > sizeWArea.x2-sizeWArea.x1-2) text.resize(sizeWArea.x2-sizeWArea.x1-2);
|
||||
mvhline(LINES-3, sizeWArea.x1+2, ' ', sizeWArea.x2-sizeWArea.x1-2);
|
||||
@@ -2132,7 +2132,7 @@
|
||||
c = (icqcontact *) cm->getref(i);
|
||||
}
|
||||
|
||||
- if((unsigned int) c > 100) {
|
||||
+ if((intptr_t) c > 100) {
|
||||
string current = c->getdispnick();
|
||||
len = current.size();
|
||||
if(len > nick.size()) len = nick.size();
|
|
@ -1,10 +0,0 @@
|
|||
--- ./src/impgp.cc.orig 2009-07-01 23:19:00.000000000 -0400
|
||||
+++ ./src/impgp.cc 2009-07-01 23:19:29.000000000 -0400
|
||||
@@ -12,6 +12,7 @@
|
||||
string impgp::passphrase[];
|
||||
|
||||
impgp::impgp() {
|
||||
+ gpgme_check_version(NULL);
|
||||
if(gpgme_new(&ctx))
|
||||
ctx = 0;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
Centericq is a text mode menu- and window-driven IM interface that
|
||||
supports the ICQ2000, Yahoo!, MSN, AIM, and IRC protocols. It allows you
|
||||
to send, receive, and forward messages, URLs, SMSes, contacts, and email
|
||||
express messages. It also lets you set your own and fetch others' away
|
||||
messages, and define external handlers for incoming events. You can
|
||||
mass message-send, search for users, view users' details, maintain
|
||||
your contact list directly from the program, view the message history,
|
||||
register a new UIN and update your details, be informed upon receipt
|
||||
of email messages, automatically set away after the defined period of
|
||||
inactivity, and have your own ignore, visible, and invisible lists.
|
||||
It can also associate events with sounds, make log of events, and
|
||||
allows arrangement of contacts into groups.
|
||||
|
||||
WWW: http://konst.org.ua/centericq/
|
|
@ -1,26 +0,0 @@
|
|||
bin/centericq
|
||||
bin/cicqconv
|
||||
bin/cicqsync
|
||||
%%DATADIR%%/email.wav
|
||||
%%DATADIR%%/msg.wav
|
||||
%%DATADIR%%/offline.wav
|
||||
%%DATADIR%%/online.wav
|
||||
%%DATADIR%%/sms.wav
|
||||
%%DATADIR%%/url.wav
|
||||
%%NLS%%share/locale/bg/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/cs/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/de/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/ms/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/nl/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/pl/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/pt_BR/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/ro/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/ru/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/sv/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/uk/LC_MESSAGES/centericq.mo
|
||||
%%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/centericq.mo
|
||||
@dirrm %%DATADIR%%
|
|
@ -1080,7 +1080,6 @@
|
|||
SUBDIR += seda
|
||||
SUBDIR += self-service-password
|
||||
SUBDIR += sendemail
|
||||
SUBDIR += sendfile
|
||||
SUBDIR += sendsms
|
||||
SUBDIR += sendsnpp
|
||||
SUBDIR += ser
|
||||
|
|
|
@ -1,45 +0,0 @@
|
|||
# Created by: sec@42.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sendfile
|
||||
PORTVERSION= 2.1a
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ftp://ftp.belwue.de/pub/unix/sendfile/current/
|
||||
DISTNAME= ${PORTNAME}-20010216
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Simple Asynchronous File Transfer Reference Implementation
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_SCRIPT= makeconfig
|
||||
CONFIGURE_ENV= PREFIX="${PREFIX}"
|
||||
USE_RC_SUBR= sendfiled
|
||||
MAKE_ARGS+= BATCH=true
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAN1= sendfile.1 sendmsg.1 receive.1 fetchfile.1 utf7encode.1 \
|
||||
wlock.1
|
||||
MAN7= fetchfile.7
|
||||
MAN8= sendfiled.8
|
||||
MLINKS= utf7encode.1 utf7decode.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/etc/sendfile.cf ]; then \
|
||||
${CP} -p ${PREFIX}/etc/sendfile.cf.sample ${PREFIX}/etc/sendfile.cf ; \
|
||||
fi
|
||||
@if [ ! -f ${PREFIX}/etc/sendfile.deny ]; then \
|
||||
${CP} -p ${PREFIX}/etc/sendfile.deny.sample ${PREFIX}/etc/sendfile.deny ; \
|
||||
fi
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (sendfile-20010216.tar.gz) = d2e2e459e309f6cccfede2502b2f4ab94e02ef3c6b7daa8202da4df955c59bb5
|
||||
SIZE (sendfile-20010216.tar.gz) = 292130
|
|
@ -1,31 +0,0 @@
|
|||
--- makeconfig.orig Mon Mar 5 23:06:22 2001
|
||||
+++ makeconfig Mon Mar 5 23:07:26 2001
|
||||
@@ -11,15 +11,14 @@
|
||||
|
||||
# default compiling settings
|
||||
CC=gcc
|
||||
-CFLAGS=-O2
|
||||
LDFLAGS=-s
|
||||
|
||||
# default installation settings
|
||||
SPOOL=/var/spool/sendfile
|
||||
-BINDIR=/usr/local/bin
|
||||
-MANDIR=/usr/local/man
|
||||
-CONFIG=/usr/local/etc
|
||||
-SERVERDIR=/usr/local/sbin
|
||||
+BINDIR=${PREFIX}/bin
|
||||
+MANDIR=${PREFIX}/man
|
||||
+CONFIG=${PREFIX}/etc
|
||||
+SERVERDIR=${PREFIX}/sbin
|
||||
INETDCONF=/etc/inetd.conf
|
||||
SERVICES=/etc/services
|
||||
|
||||
@@ -34,7 +33,7 @@
|
||||
#PGP=/usr/local/bin/pgp
|
||||
#RECODE=/usr/local/bin/recode
|
||||
#METAMAIL=/usr/local/bin/metamail
|
||||
-#SENDMAIL=/usr/lib/sendmail
|
||||
+SENDMAIL=/usr/sbin/sendmail
|
||||
|
||||
######################### END OF USER CONFIGURATION ##########################
|
||||
|
|
@ -1,131 +0,0 @@
|
|||
--- develop/install.orig 1999-12-07 09:40:11.000000000 +0000
|
||||
+++ develop/install 2008-02-07 11:02:26.000000000 +0000
|
||||
@@ -82,7 +82,6 @@
|
||||
make_man fetchfile 7 $manmisc
|
||||
make_man sendfiled 8 $manadmin
|
||||
cp doc/wlock.1 doc/utf7encode.1 $MANDIR/man1
|
||||
- (cd $MANDIR/man1; ln -s utf7encode.1 utf7decode.1 2>/dev/null)
|
||||
}
|
||||
|
||||
SYSTEM=$1
|
||||
@@ -165,14 +164,6 @@
|
||||
To deinstall the sendfile-daemon, simply type: rm -f $SERVERDIR/sendfiled
|
||||
|
||||
EOD
|
||||
-echo 'If you are satisfied with these defaults, then type "ok" now:'
|
||||
-read answer
|
||||
-if [ "$answer" != ok ]; then
|
||||
- echo
|
||||
- echo "You can install sendfile manually, too. Please type: more doc/README"
|
||||
- echo
|
||||
- exit
|
||||
-fi
|
||||
|
||||
umask 022
|
||||
|
||||
@@ -233,16 +224,16 @@
|
||||
mv $NOSENDFILE $DENY
|
||||
fi
|
||||
fi
|
||||
-if [ ! -f $DENY -a ! -f $ALLOW ]; then
|
||||
+if [ ! -f ${DENY}.sample -a ! -f $ALLOW ]; then
|
||||
echo "installing the sendfile deny file as $DENY"
|
||||
- cp etc/sendfile.deny $DENY
|
||||
- chmod 644 $DENY
|
||||
+ cp etc/sendfile.deny ${DENY}.sample
|
||||
+ chmod 644 ${DENY}.sample
|
||||
fi
|
||||
|
||||
-if [ ! -f $CONFIG ]; then
|
||||
+if [ ! -f ${CONFIG}.sample ]; then
|
||||
echo "installing the global sendfile config file as $CONFIG"
|
||||
- cp etc/sendfile.cf $CONFIG
|
||||
- chmod 644 $CONFIG
|
||||
+ cp etc/sendfile.cf ${CONFIG}.sample
|
||||
+ chmod 644 ${CONFIG}.sample
|
||||
else
|
||||
if [ "`diff etc/sendfile.cf $CONFIG`" ]; then
|
||||
echo "Warning: `pwd`/etc/sendfile.cf differs from $CONFIG !"
|
||||
@@ -250,6 +241,23 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
+if [ -z "$BATCH" ] ; then
|
||||
+echo ''
|
||||
+echo 'I would now configure and start your sendfiled.'
|
||||
+echo 'If you do not like this, enter "no" here'
|
||||
+read answer
|
||||
+fi
|
||||
+if [ "$answer" = no ]; then
|
||||
+ echo
|
||||
+ echo "Things left to do if you want to start sendfiled:"
|
||||
+ echo
|
||||
+ echo " - Maybe add 'saft 487/tcp' to /etc/services (prior to FreeBSD-4)"
|
||||
+ echo " - Add sendfiled to /etc/inetd.conf and killall -HUP inetd"
|
||||
+ echo " - Add 'test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile'"
|
||||
+ echo " to /etc/profile and /etc/csh.login"
|
||||
+ echo
|
||||
+else
|
||||
+
|
||||
if [ "$SYSTEM" = NEXT ]; then
|
||||
SERVICE="`nidump services . | awk '/[ \t]487\/tcp/'`"
|
||||
else
|
||||
@@ -266,7 +274,6 @@
|
||||
echo "saft 487/tcp # simple asynchronous file transfer" | niload services .
|
||||
else
|
||||
echo "configuring $SERVICES"
|
||||
- echo "#" >>$SERVICES
|
||||
echo "saft 487/tcp # simple asynchronous file transfer" >>$SERVICES
|
||||
fi
|
||||
fi
|
||||
@@ -279,8 +286,6 @@
|
||||
fi
|
||||
RESTART=true
|
||||
echo "configuring $INETDCONF"
|
||||
- echo "#" >>$INETDCONF
|
||||
- echo "# simple asynchronous file transfer" >>$INETDCONF
|
||||
echo "saft stream tcp nowait root $SFD" >>$INETDCONF
|
||||
fi
|
||||
|
||||
@@ -308,6 +313,8 @@
|
||||
fi
|
||||
fi
|
||||
|
||||
+fi
|
||||
+
|
||||
if [ ! -d "$SPOOL/OUTGOING" ]; then
|
||||
echo "creating $SPOOL"
|
||||
mkdir_recursive $SPOOL/OUTGOING
|
||||
@@ -334,7 +341,7 @@
|
||||
fi
|
||||
|
||||
free=`$SERVERDIR/sendfiled -f`
|
||||
-minfree=`awk '/minfree =/{print $3}' $CONFIG`
|
||||
+minfree=`awk '/minfree =/{print $3}' ${CONFIG}.sample`
|
||||
if [ "$free" -le "$minfree" ]; then
|
||||
cat <<EOD
|
||||
! WARNING !
|
||||
@@ -344,15 +351,15 @@
|
||||
EOD
|
||||
fi
|
||||
|
||||
-echo
|
||||
-echo "You may want to add the following line to your system bootup script:"
|
||||
-echo " $SERVERDIR/sendfiled -Q"
|
||||
-echo "This will start an outgoing spooling sendfile daemon on boot time"
|
||||
-echo "which processes any old files in the outgoing spool."
|
||||
-echo
|
||||
+echo "### Please add 'sendfiled_enable=YES' to your /etc/rc.conf"
|
||||
|
||||
if [ "$RESTART" = true ]; then
|
||||
- echo
|
||||
- echo "please restart now your inetd ( or simply reboot :-) )"
|
||||
+ if [ ! -f /var/run/inetd.pid ] ; then
|
||||
+ echo "# Cant restart inetd. Perhaps it isn't running?"
|
||||
+ else
|
||||
+ kill -HUP `cat /var/run/inetd.pid`
|
||||
+ fi
|
||||
echo
|
||||
fi
|
||||
+[ -f $SERVERDIR/sendfiled.old ] && rm -f $SERVERDIR/sendfiled.old
|
||||
+echo done.
|
|
@ -1,11 +0,0 @@
|
|||
--- src/io.h.orig Mon Mar 5 23:38:04 2001
|
||||
+++ src/io.h Mon Mar 5 23:38:04 2001
|
||||
@@ -15,6 +15,8 @@
|
||||
* This file is covered by the GNU General Public License
|
||||
*/
|
||||
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
|
||||
/* read n bytes from network socket */
|
||||
int readn(int, char *, int);
|
|
@ -1,32 +0,0 @@
|
|||
--- src/sendfiled.c.org Tue Feb 6 00:42:53 2001
|
||||
+++ src/sendfiled.c Sun Aug 26 21:21:18 2001
|
||||
@@ -10,6 +10,7 @@
|
||||
* Chris Foote (chris@senet.com.au)
|
||||
* Daniel Kobras <kobras@lists.tat.physik.uni-tuebingen.de>
|
||||
* Colin Phipps <cph@cph.demon.co.uk>
|
||||
+ * Stefan `Sec` Zehl <sec@42.org>
|
||||
*
|
||||
* History:
|
||||
*
|
||||
@@ -138,6 +139,7 @@
|
||||
* 2001-01-17 Framstag mail2user() now runs in a subprocess
|
||||
* 2001-02-02 Framstag fixed openlog() bug
|
||||
* 2001-02-06 Framstag added timeout on waiting response from client
|
||||
+ * 2001-08-26 sec workaround for sete[ug]id on FreeBSD
|
||||
*
|
||||
*
|
||||
* The sendfile-daemon of the sendfile package.
|
||||
@@ -4000,11 +4002,13 @@
|
||||
* RETURN: nothing, but terminates program on error
|
||||
*/
|
||||
void setreugid() {
|
||||
+ if (rgid != getegid())
|
||||
if (rgid && setegid(rgid)<0) {
|
||||
printf("490 Internal error on setegid(%u): %s\r\n",
|
||||
(unsigned int)rgid,strerror(errno));
|
||||
exit(1);
|
||||
}
|
||||
+ if (ruid != geteuid())
|
||||
if (ruid && seteuid(ruid)<0) {
|
||||
printf("490 Internal error on seteuid(%u): %s\r\n",
|
||||
(unsigned int)ruid,strerror(errno));
|
|
@ -1,31 +0,0 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
# PROVIDE: sendfiled
|
||||
# REQUIRE: LOGIN
|
||||
# BEFORE: securelevel
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable `sendfiled':
|
||||
#
|
||||
# sendfiled_enable="YES"
|
||||
# sendfiled_flags="<set as needed>"
|
||||
#
|
||||
# See sendfiled(8) for sendfiled_flags
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name="sendfiled"
|
||||
rcvar=sendfiled_enable
|
||||
|
||||
command="%%PREFIX%%/sbin/sendfiled"
|
||||
command_args="-Q"
|
||||
required_files="%%PREFIX%%/etc/sendfile.cf"
|
||||
|
||||
# read configuration and set defaults
|
||||
load_rc_config "$name"
|
||||
: ${sendfiled_enable="NO"}
|
||||
|
||||
run_rc_command "$1"
|
|
@ -1,14 +0,0 @@
|
|||
SAFT (Simple Asynchronous File Transfer) is a new Internet protocol for
|
||||
sending files and messages asynchronously. This is useful, because you don't
|
||||
have to log on to the receiving site to do it. You simply tell the
|
||||
sendfile program a file name and where to send it:
|
||||
"sendfile your_file user@somedomain" (Of course there are options).
|
||||
|
||||
The package includes: A sendfile client (which sends files), a sendmsg
|
||||
client (which sends messages), a receive client (which copies files from
|
||||
the local sendfile spool to the recipient's current directory) and a
|
||||
sendfiled server (which receives files and messages and stores them in the
|
||||
local sendfile spool).
|
||||
|
||||
NOTE: If you wish to use fetchfile (which is an optional extension to
|
||||
sendfile,) you need to have pgp installed, too.
|
|
@ -1,34 +0,0 @@
|
|||
bin/check_sendfile
|
||||
bin/ewl
|
||||
bin/fetchfile
|
||||
bin/receive
|
||||
bin/rf
|
||||
bin/sendfile
|
||||
bin/sendmsg
|
||||
bin/sf
|
||||
bin/sf_cleanup
|
||||
bin/sfconf
|
||||
bin/sfdconf
|
||||
bin/sm
|
||||
bin/utf7decode
|
||||
bin/utf7encode
|
||||
bin/wlock
|
||||
sbin/sendfiled
|
||||
@exec mkdir -p /var/spool/sendfile/OUTGOING /var/spool/sendfile/LOG
|
||||
@exec chmod 755 /var/spool/sendfile
|
||||
@exec chmod 1777 /var/spool/sendfile/OUTGOING
|
||||
@exec chmod 700 /var/spool/sendfile/LOG
|
||||
@exec touch /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
||||
@exec chmod 600 /var/spool/sendfile/LOG/in /var/spool/sendfile/LOG/out
|
||||
@exec echo -e 'saft\tstream\ttcp\tnowait\troot\t%D/sbin/sendfiled sendfiled' >> /etc/inetd.conf
|
||||
@exec echo -e 'saft\t\t487/tcp\t# simple asynchronous file transfer'>>/etc/services
|
||||
@exec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '` >/dev/null 2>&1 ||true
|
||||
@unexec perl -pi.bak -e '/^saft/ && ($_="")' /etc/inetd.conf
|
||||
@unexec kill -HUP `ps auxw|awk '$11 == "inetd" { print $2 } '` >/dev/null 2>&1||true
|
||||
@unexec rm -R /var/spool/sendfile 2>&1 >/dev/null || true
|
||||
@unexec if cmp -s %D/etc/sendfile.cf.sample %D/etc/sendfile.cf; then rm -f %D/etc/sendfile.cf; fi
|
||||
@exec if [ ! -f %D/etc/sendfile.cf ] ; then cp -p %D/etc/sendfile.cf.sample %D/etc/sendfile.cf; fi
|
||||
@unexec if cmp -s %D/etc/sendfile.deny.sample %D/etc/sendfile.deny; then rm -f %D/etc/sendfile.deny; fi
|
||||
@exec if [ ! -f %D/etc/sendfile.deny ] ; then cp -p %D/etc/sendfile.deny.sample %D/etc/sendfile.deny; fi
|
||||
etc/sendfile.cf.sample
|
||||
etc/sendfile.deny.sample
|
|
@ -56,7 +56,6 @@
|
|||
SUBDIR += chaosreader
|
||||
SUBDIR += checkpassword
|
||||
SUBDIR += checkpassword-pam
|
||||
SUBDIR += chkrootkit
|
||||
SUBDIR += chntpw
|
||||
SUBDIR += chroot_safe
|
||||
SUBDIR += chrootuid
|
||||
|
@ -347,7 +346,6 @@
|
|||
SUBDIR += openconnect
|
||||
SUBDIR += opencryptoki
|
||||
SUBDIR += openct
|
||||
SUBDIR += openfwtk
|
||||
SUBDIR += openpgpsdk
|
||||
SUBDIR += opensaml2
|
||||
SUBDIR += opensc
|
||||
|
@ -609,7 +607,6 @@
|
|||
SUBDIR += pam-mysql
|
||||
SUBDIR += pam-pgsql
|
||||
SUBDIR += pam_abl
|
||||
SUBDIR += pam_alreadyloggedin
|
||||
SUBDIR += pam_bsdbioapi
|
||||
SUBDIR += pam_fprint
|
||||
SUBDIR += pam_google_authenticator
|
||||
|
@ -935,7 +932,6 @@
|
|||
SUBDIR += sqlmap
|
||||
SUBDIR += sqlninja
|
||||
SUBDIR += srm
|
||||
SUBDIR += srp
|
||||
SUBDIR += ssdeep
|
||||
SUBDIR += ssh-copy-id
|
||||
SUBDIR += ssh-gui
|
||||
|
@ -964,7 +960,6 @@
|
|||
SUBDIR += subversion-gnome-keyring
|
||||
SUBDIR += subversion-kwallet
|
||||
SUBDIR += subweb
|
||||
SUBDIR += sud
|
||||
SUBDIR += sudo
|
||||
SUBDIR += sudoscript
|
||||
SUBDIR += super
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
# Created by: Luiz Eduardo R. Cordeiro
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= chkrootkit
|
||||
PORTVERSION= 0.49
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ftp://ftp.pangeia.com.br/pub/seg/pac/ \
|
||||
ftp://gd.tuwien.ac.at/infosys/security/chkrootkit/ \
|
||||
ftp://ftp.digitalvoodoo.org/pub/mirrors/chkrootkit/ \
|
||||
http://www.spenneberg.org/chkrootkit-mirror/files/ \
|
||||
http://www.mirrors.wiretapped.net/security/host-security/chkrootkit/ \
|
||||
http://ftp.uni-stuttgart.de/pub/security/unix/forensics/chkrootkit/ \
|
||||
http://ftp.bit.nl/mirror/chkrootkit/ \
|
||||
http://chkrootkit.mirror.fr/
|
||||
|
||||
MAINTAINER= cordeiro@nic.br
|
||||
COMMENT= Tool to locally check for signs of a rootkit
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
SCRIPT_FILES= chkrootkit
|
||||
PROG_FILES= chklastlog \
|
||||
chkwtmp \
|
||||
chkutmp \
|
||||
chkproc \
|
||||
chkdirs \
|
||||
ifpromisc \
|
||||
check_wtmpx \
|
||||
strings
|
||||
ALL_TARGET= ${SCRIPT_FILES} ${PROG_FILES}
|
||||
PORTDOCS= ACKNOWLEDGMENTS \
|
||||
COPYRIGHT \
|
||||
README \
|
||||
README.chklastlog \
|
||||
README.chkwtmp
|
||||
|
||||
PLIST_FILES= ${ALL_TARGET:C,^,sbin/,}
|
||||
|
||||
BINMODE= 0700
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -E "s/^(CC|CFLAGS)[^a-zA-Z]*=/\1 ?=/" \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.for prog in ${PROG_FILES}
|
||||
@${REINPLACE_CMD} -E 's,\./(${prog}),${PREFIX}/sbin/\1,g' \
|
||||
${WRKSRC}/chkrootkit
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${SCRIPT_FILES:C,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${PROG_FILES:C,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/sbin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:C,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (chkrootkit-0.49.tar.gz) = ccb87be09e8923d51f450a167f484414f70c36c942f8ef5b9e5e4a69b7baa17f
|
||||
SIZE (chkrootkit-0.49.tar.gz) = 39421
|
|
@ -1,24 +0,0 @@
|
|||
Chkrootkit is a tool to locally check for signs of a rootkit.
|
||||
-------------------------------------------------------------
|
||||
|
||||
It contains:
|
||||
|
||||
* chkrootkit: a shell script that checks system binaries for
|
||||
rootkit modification.
|
||||
* ifpromisc.c: checks if the network interface is in promiscuous
|
||||
mode.
|
||||
* chklastlog.c: checks for lastlog deletions.
|
||||
* chkwtmp.c: checks for wtmp deletions.
|
||||
* check_wtmpx.c: checks for wtmpx deletions. (Solaris only)
|
||||
* chkproc.c: checks for signs of LKM trojans.
|
||||
* chkdirs.c: checks for signs of LKM trojans.
|
||||
* strings.c: quick and dirty strings replacement.
|
||||
* chkutmp.c: checks for utmp deletions.
|
||||
|
||||
For an updated list of rootkits, worms and LKMs detected by
|
||||
chkrootkit please visit: http://www.chkrootkit.org/
|
||||
|
||||
Nelson Murilo <nelson@pangeia.com.br>
|
||||
Klaus Steding-Jessen <jessen@nic.br>
|
||||
|
||||
WWW: http://www.chkrootkit.org/
|
|
@ -1,82 +0,0 @@
|
|||
# Created by: Anton Karpov <toxa@toxahost.ru>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openfwtk
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/Release%20${PORTVERSION}
|
||||
DISTNAME= ${PORTNAME}${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Application proxy toolkit which inherits the ideology of TIS fwtk
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
OPTIONS_DEFINE= GUI
|
||||
GUI_DESC= Install fw-watch GUI (require TCL/TK!)
|
||||
|
||||
WRKSRC= ${WRKDIR}/fwtk
|
||||
WRKSRC_WATCH= ${WRKDIR}/fw_watch
|
||||
WRKSRC_MILTER= ${WRKDIR}/libci_milter
|
||||
|
||||
MAKE_JOBS_UNSAFE=yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
MANCOMPRESSED= no
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
USES+= tk:wrapper
|
||||
PLIST_SUB+= WATCH=""
|
||||
.else
|
||||
PLIST_SUB+= WATCH="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
.for conf in auth/authadduser.sh reports/summ_resources.sh \
|
||||
reports/daily_report reports/frequentcheck \
|
||||
reports/frequentcheck.sh squid-gw/squid-gw.restart
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/etc/openfwtk.conf|${PREFIX}/etc/openfwtk.conf|g' ${WRKSRC}/${conf}
|
||||
.endfor
|
||||
.for wish in fileselect.tcl fw_watch
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|/usr/bin/|${LOCALBASE}/bin/|g' ${WRKSRC_WATCH}/${wish}
|
||||
.endfor
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^CC/s|=.*|= ${CC}|g ; \
|
||||
/^COPT/s|=.*|= ${CFLAGS}|g' ${WRKSRC_MILTER}/Makefile
|
||||
@${REINPLACE_CMD} -e \
|
||||
'/^CC/s|=.*|= ${CC}|g ; \
|
||||
/^COPT/s|-std=c99|${CFLAGS}|g' ${WRKSRC}/configs/FreeBSD
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC_MILTER}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
|
||||
|
||||
pre-install:
|
||||
@${MKDIR} ${ETCDIR}
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MGUI}
|
||||
@${MKDIR} ${PREFIX}/share/fw_watch
|
||||
.for data in fileselect.tcl fw_watch newsb.tcl searchbox.tcl taputils.tcl
|
||||
${INSTALL_DATA} ${WRKSRC_WATCH}/${data} ${PREFIX}/share/fw_watch
|
||||
.endfor
|
||||
.endif
|
||||
${ECHO_CMD} "root@`hostname`" > ${ETCDIR}/admin
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include "Makefile.man"
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,58 +0,0 @@
|
|||
# $FreeBSD$
|
||||
|
||||
MAN3= \
|
||||
cfg_append.3 \
|
||||
cfg_free.3 \
|
||||
cfg_get.3 \
|
||||
cfg_read.3 \
|
||||
cfg_setpfile.3 \
|
||||
conn_server.3 \
|
||||
daemonize.3 \
|
||||
do_daemon.3 \
|
||||
enargv.3 \
|
||||
getpassword.3 \
|
||||
hostmatch.3 \
|
||||
hup_exit.3 \
|
||||
isalldigits.3 \
|
||||
lock_fd.3 \
|
||||
locktest_fd.3 \
|
||||
lockun_fd.3 \
|
||||
mapgid.3 \
|
||||
maphostname.3 \
|
||||
mapuid.3 \
|
||||
nacasematch.3 \
|
||||
namatch.3 \
|
||||
peername.3 \
|
||||
randomnumber.3 \
|
||||
set_oob_notification.3 \
|
||||
str_to_port.3 \
|
||||
waitwaitwait.3 \
|
||||
xmalloc.3 \
|
||||
xrealloc.3 \
|
||||
xstrdup.3
|
||||
|
||||
MAN5= netperm-table.5
|
||||
|
||||
MAN8= \
|
||||
auth_telnetd.8 \
|
||||
authdump.8 \
|
||||
authmgr.8 \
|
||||
authsrv.8 \
|
||||
cmd-gw.8 \
|
||||
cvs-gw.8 \
|
||||
dnsctl.8 \
|
||||
ftp-gw.8 \
|
||||
hqdaemon.8 \
|
||||
ident-spoofer.8 \
|
||||
lp-gw.8 \
|
||||
netacl.8 \
|
||||
nntp-gw.8 \
|
||||
plug-gw.8 \
|
||||
pop3-gw.8 \
|
||||
rexec-gw.8 \
|
||||
rsh-gw.8 \
|
||||
smtpd.8 \
|
||||
smtpfwdd.8 \
|
||||
squid-gw.8 \
|
||||
ssmtp.8
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (openfwtk2.0.tar.gz) = e09b30f13edcc0ec297add629259fc5414081d26aeb3ecc6bfc67f3a27f8d5b6
|
||||
SIZE (openfwtk2.0.tar.gz) = 615400
|
|
@ -1,29 +0,0 @@
|
|||
--- Makefile.common.orig 2007-09-25 06:26:36.000000000 +0400
|
||||
+++ Makefile.common 2007-10-12 04:55:16.000000000 +0400
|
||||
@@ -34,11 +34,11 @@
|
||||
install-etc: $(ETCOBJS)
|
||||
@for CETC in $(ETCOBJS) ""; do \
|
||||
if [ "$$CETC" = "" ]; then continue; fi; \
|
||||
- if [ -f $(PREFIX)/etc/$$CETC ]; then \
|
||||
- echo "NOT installing $(PREFIX)/$$CETC: exists, skipped"; \
|
||||
+ if [ -f $(PREFIX)/etc/openfwtk/$$CETC ]; then \
|
||||
+ echo "NOT installing $(PREFIX)/openfwtk/$$CETC: exists, skipped"; \
|
||||
else \
|
||||
- echo "Installing ETC: $$CETC -> $(PREFIX)/etc"; \
|
||||
- cp $$CETC $(PREFIX)/etc; \
|
||||
+ echo "Installing ETC: $$CETC -> $(PREFIX)/etc/openfwtk"; \
|
||||
+ cp $$CETC $(PREFIX)/etc/openfwtk; \
|
||||
fi; \
|
||||
done; \
|
||||
|
||||
@@ -57,8 +57,7 @@
|
||||
echo "Creating/updating directory: $$CDIR"; \
|
||||
mkdir -p $$CDIR; \
|
||||
done; \
|
||||
- echo "Installing OpenFWTK base path: OFWTKPATH -> /etc/openfwtk.conf"; \
|
||||
- echo "OFWTKPATH=\"$(PREFIX)\"" > /etc/openfwtk.conf
|
||||
+ echo "Installing OpenFWTK base path: OFWTKPATH -> ${PREFIX}/etc/openfwtk.conf"; \
|
||||
+ echo "OFWTKPATH=\"$(PREFIX)\"" > ${PREFIX}/etc/openfwtk.conf
|
||||
|
||||
install: all install-common install-bin install-man install-etc
|
||||
- $(INSTALLADD)
|
|
@ -1,10 +0,0 @@
|
|||
--- Makefile.config.orig 2007-10-12 02:30:32.000000000 +0400
|
||||
+++ Makefile.config 2007-10-12 02:30:52.000000000 +0400
|
||||
@@ -1,6 +1,6 @@
|
||||
# Define here one of the supported OS-es:
|
||||
# Linux, FreeBSD, OpenBSD, Solaris, Solaris64, HP-UX, MacOSX
|
||||
-OSTYPE = Linux
|
||||
+OSTYPE = FreeBSD
|
||||
|
||||
include $(GMKPATH)/configs/$(OSTYPE)
|
||||
include $(GMKPATH)/Makefile.common
|
|
@ -1,64 +0,0 @@
|
|||
--- configs/FreeBSD.orig 2007-10-12 02:53:28.000000000 +0400
|
||||
+++ configs/FreeBSD 2007-10-12 03:03:56.000000000 +0400
|
||||
@@ -2,25 +2,25 @@
|
||||
CC = cc
|
||||
CP = cp
|
||||
MAKE = make
|
||||
-PREFIX = /usr/firewall
|
||||
+PREFIX = /usr/local
|
||||
|
||||
# Defines path where to find ncurses libraries
|
||||
-NCURSES_LIBDIR=/usr/local/lib
|
||||
+NCURSES_LIBDIR=/usr/lib
|
||||
|
||||
# Defines path where to find ncurses headers
|
||||
-NCURSES_INCDIR=/usr/local/include/ncurses
|
||||
+NCURSES_INCDIR=/usr/include/ncurses
|
||||
|
||||
# Defines path where to find SSL libraries
|
||||
-SSL_LIBDIR=/usr/local/ssl/lib
|
||||
+SSL_LIBDIR=/usr/lib
|
||||
|
||||
# Defines path where to find SSL headers
|
||||
-SSL_INCDIR=/usr/local/ssl/include
|
||||
+SSL_INCDIR=/usr/include/openssl
|
||||
|
||||
# Defines path where to find GNU Magic/File libraries
|
||||
-MAGIC_LIBDIR=/usr/local/lib
|
||||
+MAGIC_LIBDIR=/usr/lib
|
||||
|
||||
# Defines path where to find GNU Magic/File headers
|
||||
-MAGIC_INCDIR=/usr/local/include
|
||||
+MAGIC_INCDIR=/usr/include
|
||||
|
||||
# Defines path where to find Milter client library (libci_milter)
|
||||
MILTER_LIBDIR=../../libci_milter
|
||||
@@ -29,7 +29,7 @@
|
||||
MILTER_INCDIR=../../libci_milter/include
|
||||
|
||||
# Defines path where to find berkeley bd headers
|
||||
-DBM_INCDIR=/usr/include/gdbm
|
||||
+DBM_INCDIR=/usr/include
|
||||
|
||||
# Defines for your operating system
|
||||
DEFINES=-DPREFIX=\"$(PREFIX)\"
|
||||
@@ -70,16 +70,16 @@
|
||||
FWTKSRCDIR=$(PREFIX)/src/fwtk
|
||||
|
||||
# Location of X libraries for X-gw
|
||||
-XLIBDIR=/usr/X11R6/lib
|
||||
+XLIBDIR=${LOCALBASE}lib/X11
|
||||
|
||||
# X Libraries
|
||||
XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lXext
|
||||
|
||||
# Location of X include files
|
||||
-XINCLUDE=/usr/X11R6/include
|
||||
+XINCLUDE=${LOCALBASE}/include/X11
|
||||
|
||||
# IPFilter location
|
||||
#IPFILTER=$(PREFIX)/development/src/ipfilter/ip_fil3.2.9
|
||||
|
||||
# authsrv agent communication socket
|
||||
-AUTHSRV_SOCK_PATH=$(PREFIX)/var/
|
||||
+AUTHSRV_SOCK_PATH=/var/run/openfwtk
|
|
@ -1,13 +0,0 @@
|
|||
--- reports/Makefile.orig 2007-09-25 00:20:36.000000000 +0400
|
||||
+++ reports/Makefile 2007-10-12 04:54:53.000000000 +0400
|
||||
@@ -16,10 +16,3 @@
|
||||
logtail: $(LTLOBJS)
|
||||
$(OFWTKLINK) $(LTLOBJS)
|
||||
|
||||
-INSTALLADD = \
|
||||
- if ! grep -q frequentcheck /etc/crontab; then \
|
||||
- echo "59 * * * * root $(DEST)/frequentcheck">>/etc/crontab ;\
|
||||
- fi; \
|
||||
- if ! grep -q daily_report /etc/crontab; then \
|
||||
- echo "58 23 * * * root $(DEST)/daily_report">>/etc/crontab ; \
|
||||
- fi
|
|
@ -1,17 +0,0 @@
|
|||
--- reports/frequentcheck.sh.orig 2007-10-12 04:42:16.000000000 +0400
|
||||
+++ reports/frequentcheck.sh 2007-10-12 04:42:45.000000000 +0400
|
||||
@@ -43,10 +43,10 @@
|
||||
|
||||
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
|
||||
|
||||
-PATFILE=$OFWTKPATH/etc/frequentcheck.ignore
|
||||
-ALERTFILE=$OFWTKPATH/etc/securityalerts.ignore
|
||||
-WARNFILE=$OFWTKPATH/etc/securitywarnings.ignore
|
||||
-ERRFILE=$OFWTKPATH/etc/syserr.ignore
|
||||
+PATFILE=$OFWTKPATH/etc/openfwtk/frequentcheck.ignore
|
||||
+ALERTFILE=$OFWTKPATH/etc/openfwtk/securityalerts.ignore
|
||||
+WARNFILE=$OFWTKPATH/etc/openfwtk/securitywarnings.ignore
|
||||
+ERRFILE=$OFWTKPATH/etc/openfwtk/syserr.ignore
|
||||
|
||||
# Set the flag variables
|
||||
FOUND=0
|
|
@ -1,8 +0,0 @@
|
|||
--- squid-gw/squid-gw.restart.orig 2007-10-12 18:09:43.000000000 +0400
|
||||
+++ squid-gw/squid-gw.restart 2007-10-12 18:10:12.000000000 +0400
|
||||
@@ -9,4 +9,4 @@
|
||||
exit 1
|
||||
fi
|
||||
|
||||
-kill -HUP `cat $OFWTKPATH/var/pid/squid-gw.pid`
|
||||
+kill -HUP `cat /var/run/openfwtk/squid-gw.pid`
|
|
@ -1,24 +0,0 @@
|
|||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
||||
* NOTE:
|
||||
|
||||
* In order to use OpenFWTK proxies you need to have
|
||||
procfs(5) filesystem mounted.
|
||||
|
||||
* You are advised to add following to /etc/crontab:
|
||||
|
||||
59 * * * * root %%LOCALBASE%%/bin/frequentcheck
|
||||
58 23 * * * root %%LOCALBASE%%/bin/daily_report
|
||||
|
||||
* In order to get this reports, run:
|
||||
echo "admin@email.addr" > %%LOCALBASE%%/etc/openfwtk/admin
|
||||
|
||||
* fw_check installed in %%LOCALBASE%%/share/fw_watch.
|
||||
|
||||
* In order to user openfwtk, you need to create
|
||||
%%LOCALBASE%%/etc/netperm-table, there is no predefined
|
||||
example for now!
|
||||
|
||||
* netperm-table(5) is a good place to start read about
|
||||
various configuration options
|
||||
|
||||
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=
|
|
@ -1,6 +0,0 @@
|
|||
OpenFWTK is an application proxy toolkit which inherits the ideology
|
||||
of TIS fwtk and maintains API backwards compatibility. The design goal
|
||||
is to make it simple yet powerful; no performance hacks allowed in the
|
||||
code and library dependencies are reduced to minimum.
|
||||
|
||||
WWW: http://sourceforge.net/projects/openfwtk
|
|
@ -1,53 +0,0 @@
|
|||
bin/auth_cons
|
||||
bin/auth_telnetd
|
||||
bin/authadduser.sh
|
||||
bin/authdump
|
||||
bin/authload
|
||||
bin/authmgr
|
||||
bin/authsrv
|
||||
bin/chart.pl
|
||||
bin/cmd-gw
|
||||
bin/cmd-tn
|
||||
bin/cvs-gw
|
||||
bin/daily_report
|
||||
bin/dnsctl
|
||||
bin/frequentcheck
|
||||
bin/frequentcheck.sh
|
||||
bin/ftp-gw
|
||||
bin/get_today
|
||||
bin/hqdaemon
|
||||
bin/ident-spoofer
|
||||
bin/logtail
|
||||
bin/lp-gw
|
||||
bin/netacl
|
||||
bin/nntp-gw
|
||||
bin/nntp-top
|
||||
bin/plug-gw
|
||||
bin/pop3-gw
|
||||
bin/rexec-gw
|
||||
bin/rsh-gw
|
||||
bin/smtpd
|
||||
bin/smtpfwdd
|
||||
bin/squid-gw
|
||||
bin/squid-gw.restart
|
||||
bin/squid-log
|
||||
bin/squid-top
|
||||
bin/ssl-gw
|
||||
bin/ssmtp
|
||||
bin/summ_complete.pl
|
||||
bin/summ_resources.sh
|
||||
etc/openfwtk/alerts.add
|
||||
etc/openfwtk/frequentcheck.ignore
|
||||
etc/openfwtk/securityalerts.ignore
|
||||
etc/openfwtk/securitywarnings.ignore
|
||||
etc/openfwtk/syserr.ignore
|
||||
etc/openfwtk/warnings.add
|
||||
etc/openfwtk/admin
|
||||
etc/openfwtk.conf
|
||||
%%WATCH%%share/fw_watch/fileselect.tcl
|
||||
%%WATCH%%share/fw_watch/fw_watch
|
||||
%%WATCH%%share/fw_watch/newsb.tcl
|
||||
%%WATCH%%share/fw_watch/searchbox.tcl
|
||||
%%WATCH%%share/fw_watch/taputils.tcl
|
||||
%%WATCH%%@dirrm share/fw_watch
|
||||
@dirrm etc/openfwtk
|
|
@ -1,33 +0,0 @@
|
|||
# Created by: green@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pam_alreadyloggedin
|
||||
PORTVERSION= 0.3
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
||||
http://green.homeunix.org/~green/
|
||||
MASTER_SITE_SUBDIR= green
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= PAM module based on whether a user is already logged in
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 900007
|
||||
BROKEN= Does not build with utmpx.
|
||||
.endif
|
||||
|
||||
MAN8= pam_alreadyloggedin.8
|
||||
PLIST_FILES= lib/pam_alreadyloggedin.so lib/pam_alreadyloggedin.so.2
|
||||
|
||||
do-configure:
|
||||
${LN} -s ${FILESDIR}/Makefile.inc ${WRKDIR}/
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (pam_alreadyloggedin-0.3.tar.gz) = dad16b73008b0cc78c709472ad1ba12d61e090db990076e1c79bcfb77e136f5f
|
||||
SIZE (pam_alreadyloggedin-0.3.tar.gz) = 3741
|
|
@ -1,2 +0,0 @@
|
|||
NO_INSTALLLIB= # don't install static version
|
||||
NO_PROFILE= # don't even build the profile version
|
|
@ -1,14 +0,0 @@
|
|||
--- pam_alreadyloggedin.c.orig Tue Sep 21 17:41:20 2004
|
||||
+++ pam_alreadyloggedin.c Thu Dec 23 00:58:02 2004
|
||||
@@ -70,6 +70,11 @@
|
||||
int inutmp(struct utmp *utmp, const char *lineglob, const char *username,
|
||||
uid_t uid);
|
||||
|
||||
+#ifdef PAM_MAX_OPTIONS
|
||||
+/* The old PAM requires this structure. */
|
||||
+static struct options options;
|
||||
+#endif
|
||||
+
|
||||
PAM_EXTERN int
|
||||
pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, int argc,
|
||||
const char **argv)
|
|
@ -1,4 +0,0 @@
|
|||
This is a PAM module which will, given restrictions upon whether the
|
||||
user to be authenticated is root or logging in on a given terminal, will
|
||||
allow the user to be authenticated successfully if the user is currently
|
||||
already logged in on another terminal.
|
|
@ -1,42 +0,0 @@
|
|||
# Created by: nectar@FreeBSD.org
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= srp
|
||||
PORTVERSION= 2.1.2
|
||||
CATEGORIES= security net
|
||||
MASTER_SITES= http://srp.stanford.edu/source/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Secure Remote Password protocol library, TELNET, and FTP
|
||||
|
||||
DEPRECATED= Fails to build with new utmpx
|
||||
EXPIRATION_DATE= 2014-07-23
|
||||
|
||||
CONFLICTS= krb4-[0-9]* krb5-[0-9]* krb5-maint-[0-9]* heimdal-[0-9]*
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= INSTALL="/usr/bin/install -C"
|
||||
CONFIGURE_ARGS= --with-openssl=/usr \
|
||||
--with-zlib \
|
||||
--enable-loginf
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 900007
|
||||
BROKEN= fails to build with new utmpx
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${GREP} -slR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|malloc\.h|stdlib\.h|g'
|
||||
@${REINPLACE_CMD} -e 's/^struct.*\*sgetspent.*(const.*//' ${WRKSRC}/base/lib/shadow_.h
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/docs && ${FIND} . | \
|
||||
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,2 +0,0 @@
|
|||
SHA256 (srp-2.1.2.tar.gz) = 29f129de4aac4bb11fc4b56a14f2bc4e0c4d6774112eef350e740f04afae6555
|
||||
SIZE (srp-2.1.2.tar.gz) = 1453087
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue