2012-10-20 security/sscep: No more public distfiles

2012-10-20 security/py-rijndael: No more public distfiles
2012-10-20 security/pam_af: No more public distfiles
2012-10-20 security/its4: No more public distfiles
2012-10-20 russian/xcyrBGR: No more public distfiles
2012-10-20 russian/wmcyrx: No more public distfiles
2012-10-20 print/advi: No more public distfiles
2012-10-20 palm/plucker: No more public distfiles
2012-10-20 net-p2p/py-bittornado-core: Depends on the deprecated wx 2.4
2012-10-20 net-p2p/py-bittornado: Depends on the deprecated wx 2.4
2012-10-20 net-mgmt/nagios-radauth-plugin: No more public distfiles
2012-10-20 net-mgmt/nagios-check_nick: No more public distfiles

Feature safe:	yes
This commit is contained in:
Baptiste Daroussin 2012-10-25 18:02:31 +00:00
parent 98fa9be434
commit f155dc3ddc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306391
69 changed files with 12 additions and 2080 deletions

12
MOVED
View file

@ -3766,3 +3766,15 @@ sysutils/dupfind||2012-10-25|Has expired: No more public distfiles
sysutils/dump9660||2012-10-25|Has expired: No more public distfiles
sysutils/desktopbsd-tools||2012-10-25|Has expired: No more public distfiles
sysutils/agef||2012-10-25|Has expired: No more public distfiles
security/sscep||2012-10-25|Has expired: No more public distfiles
security/py-rijndael||2012-10-25|Has expired: No more public distfiles
security/pam_af||2012-10-25|Has expired: No more public distfiles
security/its4||2012-10-25|Has expired: No more public distfiles
russian/xcyrBGR||2012-10-25|Has expired: No more public distfiles
russian/wmcyrx||2012-10-25|Has expired: No more public distfiles
print/advi||2012-10-25|Has expired: No more public distfiles
palm/plucker||2012-10-25|Has expired: No more public distfiles
net-p2p/py-bittornado-core||2012-10-25|Has expired: Depends on the deprecated wx 2.4
net-p2p/py-bittornado||2012-10-25|Has expired: Depends on the deprecated wx 2.4
net-mgmt/nagios-radauth-plugin||2012-10-25|Has expired: No more public distfiles
net-mgmt/nagios-check_nick||2012-10-25|Has expired: No more public distfiles

View file

@ -125,7 +125,6 @@
SUBDIR += nagios-check_memcached_paranoid
SUBDIR += nagios-check_mysql_slave
SUBDIR += nagios-check_netsnmp
SUBDIR += nagios-check_nick
SUBDIR += nagios-check_ports
SUBDIR += nagios-check_puppet
SUBDIR += nagios-check_smartmon
@ -136,7 +135,6 @@
SUBDIR += nagios-pf-plugin
SUBDIR += nagios-plugins
SUBDIR += nagios-portaudit
SUBDIR += nagios-radauth-plugin
SUBDIR += nagios-silfreed-plugins
SUBDIR += nagios-snmp-plugins
SUBDIR += nagios-snmp-plugins-extras

View file

@ -1,28 +0,0 @@
# New ports collection makefile for: nagios-check_nick
# Date created: 2009-07-11
# Whom: steinex
#
# $FreeBSD$
PORTNAME= check_nick
PORTVERSION= 1.0
CATEGORIES= net-mgmt
MASTER_SITES= http://nognu.de/s/FreeBSD/distfiles/
PKGNAMEPREFIX= nagios-
MAINTAINER= ports@FreeBSD.org
COMMENT= Nagios plug-in to check if a nick is on IRC
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/irclib.py:${PORTSDIR}/irc/py-irclib
USE_PYTHON= yes
NO_BUILD= yes
do-install:
@${MKDIR} ${PREFIX}/libexec/nagios
${INSTALL_SCRIPT} ${WRKSRC}/check_nick ${PREFIX}/libexec/nagios
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (check_nick-1.0.tar.gz) = 5c7d1b723a6d19a62ecb671278f06f0e8a5c39c4ece0965ac88afb4672f1eb0c
SIZE (check_nick-1.0.tar.gz) = 634

View file

@ -1,3 +0,0 @@
check_nick is a Nagios plugin-in written in python that will
connect to an IRC server and check if a particular nick is
online.

View file

@ -1,2 +0,0 @@
libexec/nagios/check_nick
@dirrmtry libexec/nagios

View file

@ -1,33 +0,0 @@
# New ports collection makefile for: nagios-spamd-plugin
# Date created: 2006-01-18
# Whom: Andrew Kilpatrick <tiger@whitetigersd.com>
#
# $FreeBSD$
PORTNAME= nagios-radauth-plugin
PORTVERSION= 1.00
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.hick.org/code/skape/radauth/
DISTNAME= radauth-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Nagios plugin for checking radius server
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
NAGIOS_PLUGIN_DIR?= libexec/nagios
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--bindir=${PREFIX}/${NAGIOS_PLUGIN_DIR}
PLIST_FILES= "@exec ${MKDIR} ${NAGIOS_PLUGIN_DIR}" \
${NAGIOS_PLUGIN_DIR}/check_radauth
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
pre-install:
@${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (radauth-1.00.tar.gz) = 6d7c8a45ab9713c1cbeacc4eb8363f054fb68bd8b912f083a65957fb877e020d
SIZE (radauth-1.00.tar.gz) = 43087

View file

@ -1,26 +0,0 @@
--- Makefile.in.orig Sun Jan 14 08:33:28 2001
+++ Makefile.in Sat Jan 21 21:55:42 2006
@@ -1,8 +1,8 @@
-CC=@CC@
-DEBUG=@DEBUG@
+CC?=@CC@
+DEBUG=
DEFINES=@DEFINES@
-CFLAGS=-Wall ${DEFINES} ${DEBUG} -c
-LFLAGS=-Wall ${DEFINES} ${DEBUG} -o
+CFLAGS+=-Wall ${DEFINES} ${DEBUG} -c
+LFLAGS+=-Wall ${DEFINES} ${DEBUG} -o
OBJS=radauth.o md5.o
BIN=radauth
LIBS=@LIBS@
@@ -17,8 +17,8 @@
${CC} ${CFLAGS} md5.c -o md5.o
install: ${OBJS}
- cp radauth /usr/local/bin/radauth
- chmod 755 /usr/local/bin/radauth
+ cp radauth @bindir@/check_radauth
+ chmod 555 @bindir@/check_radauth
distclean:
rm -f core ${BIN} *.o config.status config.cache Makefile config.log

View file

@ -1,205 +0,0 @@
$FreeBSD$
--- radauth.c.orig
+++ radauth.c
@@ -137,13 +137,14 @@
int c;
fnInitialize(&radhead); /* initialize the header and global variables */
+ global.verbose=0; /*clear it however should be zero since it is global variable */
while ((c = getopt(argc, argv, "hvu:p:s:r:c:t:")) != EOF)
{
switch (c)
{
case 'v': /* enable verbose output */
- global.verbose = 1;
+ global.verbose++ ;
break;
case 'u': /* set username */
strncpy(global.username,optarg,LEGAL_SIZE(global.username));
@@ -254,11 +255,13 @@
{
fprintf(stdout,"no radius server defined, aborting.\n");
- exit(0);
+ exit(3);
}
}
+/*
fprintf(stdout,"\n");
+*/
return;
}
@@ -303,7 +306,7 @@
fprintf(stdout,"\t-t [auth timeout]\tinterval to wait until auth timeout in seconds\n");
fprintf(stdout,"\t-h\t\t\tthis menu\n");
- exit(0);
+ exit(3);
}
/*
@@ -331,13 +334,12 @@
/* Calculate the radius header length */
fnCalculateHeaderLength(radhead);
-#ifdef DEBUG /* Print debug information if debugging */
- fprintf(stdout,"rad_code = %i\n",radhead->rad_code);
- fprintf(stdout,"rad_id = %i\n",radhead->rad_id);
- fprintf(stdout,"hashpwlen= %i\n",hashpwlen);
- fnPrintHash(global.password.pw_hash,hashpwlen);
- fprintf(stdout,"rad_length = %i\n",radhead->rad_length);
-#endif
+ if (global.verbose>1) { /* Print debug information if debugging */
+ fprintf(stdout,"rad_code = %i\n",radhead->rad_code);
+ fprintf(stdout,"rad_id = %i\n",radhead->rad_id);
+ fprintf(stdout,"hashpwlen= %i\n",hashpwlen);
+ fnPrintHash(global.password.pw_hash,hashpwlen);
+ fprintf(stdout,"rad_length = %i\n",ntohs(radhead->rad_length)); }
}
/*
@@ -357,9 +359,9 @@
for (x = 0; x < REQ_AUTH_LENGTH;x++) /* until then end of auth field has been reached */
{
randnumb = rand()%128+127;
-#ifdef DEBUG
- fprintf(stdout,"randnumb is = %i\n",randnumb);
-#endif
+ if (global.verbose>1){
+ fprintf(stdout,"randnumb is = %i\n",randnumb);
+ }
auth[x] = randnumb;
}
@@ -478,7 +480,7 @@
{
fprintf(stderr,"malloc failure, abort.\n");
- exit(0);
+ exit(3);
}
curr->next = NULL;
@@ -523,14 +525,14 @@
{
headlength += curr->attr_length;
-#ifdef DEBUG
- fprintf(stdout,"attr length = %i\n",curr->attr_length);
-#endif
+ if (global.verbose >1 ){
+ fprintf(stdout,"attr length = %i\n",curr->attr_length);
+ }
curr = curr->next;
}
- radhead->rad_length = headlength; /* set the final length */
+ radhead->rad_length = htons(headlength); /* set the final length */
return;
}
@@ -543,7 +545,6 @@
*
*/
-#ifdef DEBUG
void fnPrintHash(unsigned char *hash, int len)
{
int x = 0;
@@ -557,7 +558,6 @@
return;
}
-#endif
/*
* fnSendAndReceivePacket
@@ -569,7 +569,7 @@
void fnSendAndReceivePacket(RADIUS_HEADER *radhead)
{
RADIUS_ATTR *curr = radhead->rad_attr;
- unsigned char packet[radhead->rad_length], firstlet;
+ unsigned char packet[ntohs(radhead->rad_length)], firstlet;
int pktpos = 0, sock, slen;
struct sockaddr_in s;
struct hostent *h;
@@ -577,7 +577,7 @@
fd_set fdread;
/* clear the packet to be sent */
- memset(packet,0,radhead->rad_length);
+ memset(packet,0,ntohs(radhead->rad_length));
/* copy the first 20 bytes of the radius header. this size is static
* per RFC.
@@ -628,7 +628,7 @@
{
fprintf(stdout,"unable to allocate udp socket, abort.\n");
- exit(0);
+ exit(3);
}
s.sin_family = AF_INET;
@@ -641,7 +641,7 @@
{
fprintf(stdout,"unable to resolve radius server: %s. abort.\n",global.radiusserver);
- exit(0);
+ exit(3);
}
memcpy(&s.sin_addr.s_addr,h->h_addr,h->h_length);
@@ -649,14 +649,15 @@
/* send the packet to the radius server */
- if (sendto(sock,(char *)packet,radhead->rad_length,0,(struct sockaddr *)&s,sizeof(s)) < 0)
+ if (sendto(sock,(char *)packet,ntohs(radhead->rad_length),0,(struct sockaddr *)&s,sizeof(s)) < 0)
{
fprintf(stdout,"error sending UDP packet to radius server. abort.\n");
- exit(0);
+ exit(3);
}
- fprintf(stdout,"Authentication request sent to %s:%i ... (timeout = %i)\n",global.radiusserver,global.radiusport,global.authtimeout);
+/* fprintf(stdout,"Authentication request sent to %s:%i ... (timeout = %i)\n",global.radiusserver,global.radiusport,global.authtimeout);
+*/
slen = sizeof(s);
@@ -670,6 +671,7 @@
if (!select(sock + 1, &fdread, NULL, NULL, &tv))
{
fprintf(stdout,"failed to receive a reply from the server, authentication FAILED.\n");
+ exit(2);
return;
}
@@ -681,15 +683,19 @@
{
case 2: /* Access-Accept */
fprintf(stdout,"Access GRANTED. (code = 2)\n");
+ exit(0);
break;
case 3: /* Access-Reject */
fprintf(stdout,"Access DENIED. (code = 3)\n");
+ exit(2);
break;
case 11:
fprintf(stdout,"challenge issued, ignored. (code = 11)\n");
+ exit(2);
break;
default:
fprintf(stdout,"unknown code. (code = %i)\n",firstlet);
+ exit(2);
break;
}

View file

@ -1,7 +0,0 @@
radauth was developed to allow for command line authentication
against a radius server. This allows for more rapid
testing/troubleshooting of radius authentication problems depending
upon the method by which the person is authenticating (dial-up
customers come to mind).
WWW: http://freecode.com/projects/radauth/

View file

@ -77,8 +77,6 @@
SUBDIR += p5-WWW-BitTorrent
SUBDIR += p5-pdonkey
SUBDIR += phex
SUBDIR += py-bittornado
SUBDIR += py-bittornado-core
SUBDIR += py-fngrab
SUBDIR += py-kenosis
SUBDIR += py-py2play

View file

@ -1,18 +0,0 @@
# New ports collection makefile for: py-shadow-bittorrent-core
# Date created: 23 February 2004
# Whom: Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#
PKGNAMESUFFIX= -core
CATEGORIES= net-p2p python
COMMENT= An extended BitTorrent peer-to-peer core tool for distributing files
# build only the CORE
WITHOUT_GUI= yes
MASTERDIR= ${.CURDIR}/../py-bittornado
.include "${MASTERDIR}/Makefile"

View file

@ -1,114 +0,0 @@
# New ports collection makefile for: shadow-BitTorrent
# Date created: 23 February 2004
# Whom: Stefan Walter <sw@gegenunendlich.de>
#
# $FreeBSD$
#
PORTNAME= BitTornado
PORTVERSION= 0.3.18
PORTREVISION= 7
PORTEPOCH= 1
CATEGORIES?= net-p2p python ipv6
MASTER_SITES= http://download.bittornado.com/download/ \
http://download2.bittornado.com/download/ \
http://ftp.acc.umu.se/mirror/bittornado/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT?= An extended BitTorrent peer-to-peer tool for distributing files
DEPRECATED= Depends on the deprecated wx 2.4
EXPIRATION_DATE= 2012-10-20
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
CONFLICTS= py??-*[Bb]it[Tt]ornado-core-[0-9]* py??-*[Bb]it[Tt]orrent*-[0-9]* btqueue-[0-9]*
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGVERSION= T-0.3.18._BitTornado_
WRKSRC= ${WRKDIR}/${PORTNAME}-CVS
USE_RC_SUBR= bttrack
DOC_FILES1= BUILD.windows.txt FAQ.txt IMPORTANT-multitracker-readme.txt \
INSTALL.unix.txt credits.txt multitracker-spec.txt \
README-Psyco.txt webseed-spec.txt
DOC_FILES2= LICENSE.txt README.txt
EXTRA_DOC_FILES= test/multitracker/README.txt
MAN1= bittorrent-downloader.bittornado.1 \
bittorrent-multi-downloader.bittornado.1 \
btcompletedir.bittornado.1 btcompletedirgui.bittornado.1 \
btcopyannounce.1 btdownloadcurses.bittornado.1 \
btdownloadgui.bittornado.1 btdownloadheadless.bittornado.1 \
btlaunchmany.bittornado.1 btlaunchmanycurses.bittornado.1 \
btmakemetafile.bittornado.1 btmaketorrentgui.1 \
btreannounce.bittornado.1 btrename.bittornado.1 \
btsethttpseeds.1 btshowmetainfo.bittornado.1 \
bttrack.bittornado.1
.ifdef(WITHOUT_X11)
WITHOUT_GUI= yes
.endif
# required for GUI
.ifndef(WITHOUT_GUI)
USE_WX= 2.4
WX_COMPS= python
PLIST_SUB+= GUI=''
EXTRA_PATCHES+= ${FILESDIR}/extra-gui-patch-setup.py
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
PLIST_SUB+= GUI='@comment '
.endif
.ifdef(WITH_IPV6)
#disable compact announcement that is incompatible with IPv6
#tracker does not patched to honor compact announcements
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-BitTornado_BT1_Rerequester.py
.endif
.ifdef(WITH_PSYCO)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
post-patch:
@${REINPLACE_CMD} -e "s/^psyco = 0/psyco = 1/g" \
${WRKSRC}/BitTornado/PSYCO.py
.endif
pre-everything::
.ifndef(WITHOUT_GUI)
@${ECHO_MSG} '===> Define WITHOUT_GUI to disable GUI installation'
.endif
.ifndef(WITH_PSYCO)
@${ECHO_MSG} '===> Define WITH_PSYCO to enable the optimizing Python compiler'
.endif
.ifndef(WITH_IPV6)
@${ECHO_MSG} '===> Define WITH_IPV6 to enable IPv6 support properly'
@${ECHO_MSG} 'with trade-off of more memory usage'
.endif
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for f in ${DOC_FILES1}
@${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
.endfor
.for f in ${DOC_FILES2}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.for f in ${EXTRA_DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/`${ECHO} ${f} | ${SED} -e 's|/|_|g'`
.endfor
.endif
.ifndef(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${FILESDIR}/bittornado.sh.sample ${EXAMPLESDIR}
.endif
.ifndef(NO_INSTALL_MANPAGES)
.for f in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/docs/man/${f} ${PREFIX}/man/man1
.endfor
.endif
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (BitTornado-0.3.18.tar.gz) = d9e6ad0bf5b2e9820bab809c5a4fcd94e844a57f396ac51547fe47dbe255d9e0
SIZE (BitTornado-0.3.18.tar.gz) = 189227

View file

@ -1,101 +0,0 @@
#!/bin/sh
#Sample startup file for Bittornado sites
#PATH to be used. To be safe
PATH=/usr/local/bin:/bin:/usr/bin
#tracker daemon
DAEMON=/usr/local/bin/bttrack.py
#seed daemon
LAUNCH=/usr/local/bin/btlaunchmany.py
#mate file creator
MAKEMETA=/usr/local/bin/btmakemetafile.py
#state file of the Bittornado tracker (inside TORRENTSDIR)
DFILE=connected.txt
#ports to be used by tracker
PORT=6969
#description strings
DESC1="bittornado tracker"
DESC2="bittornado launcher"
#Owner of the torrent files to be served by web server
TORRENTOWNER="www:www"
#TORRENTSWWWDIR - the directory served by Web server
TORRENTSWWWDIR=/usr/local/www/torrent/
#TORRENTSDIR - the directory where you store served files and torrents
TORRENTSDIR=/home/iso/
#URL of TRACKER
#change it to your server
SERVER=http://6net.niif.hu:${PORT}
#Configuration file where you can store your local changes
CONFIG_FILE=/usr/local/etc/bittornado.conf
#options to be used by the tracker
#if you want experimental IPv6 support add --ipv6_enabled 1
#TRACKEROPTIONS="--dfile ./$DFILE --port $PORT --ipv6_enabled 1"
TRACKEROPTIONS="--dfile ./$DFILE --port $PORT"
#options to be used by seeders
#if you want experimental IPv6 support add --ipv6_enabled 1
#DOWNLOADOPTIONS="--ipv6_enabled 1"
DOWNLOADOPTIONS=""
#log file to be used by tracker and seeder
TORRENTLOG="/tmp/torrent.log"
if [ -s $CONFIG_FILE ]; then
. $CONFIG_FILE
fi
test -f $DAEMON || exit 0
cd $TORRENTSDIR
set -e
case "$1" in
make)
echo "Making torrents: "
rm -f ${TORRENTSDIR}/*.torrent
for file in ${TORRENTSDIR}/*
do
base=`basename $file`
if [ "$base" = "." ]; then
continue;
fi
if [ "$base" = "$DFILE" ]; then
continue;
fi
echo $MAKEMETA $SERVER/announce $file
$MAKEMETA $SERVER/announce $file
done
#copy to be able to serve via WWW interface
cp ${TORRENTSDIR}/*.torrent $TORRENTSWWWDIR
chown ${TORRENTOWNER} ${TORRENTSWWWDIR}/*
echo "."
;;
start)
echo "Starting $DESC1: $DAEMON"
echo "Starting $DESC1: $DAEMON" >>${TORRENTLOG}
nohup $DAEMON $TRACKEROPTIONS >> ${TORRENTLOG} &
echo "Starting $DESC2: $LAUNCH"
nohup $LAUNCH $TORRENTSDIR $DOWNLOADOPTIONS >> ${TORRENTLOG} &
echo "."
;;
stop)
echo "Stopping $DESC1: $DAEMON"
pkill -f `basename $DAEMON`
echo "Stopping $DESC1: $LAUNCH"
pkill -f `basename $LAUNCH`
echo "."
;;
restart|force-reload)
echo "Stopping $DESC1: $DAEMON"
pkill -f `basename $DAEMON`
echo "Stopping $DESC1: $LAUNCH"
pkill -f `basename $LAUNCH`
echo "Starting $DESC1: $DAEMON"
nohup $DAEMON $TRACKEROPTIONS >> ${TORRENTLOG} &
echo "Starting $DESC2: $LAUNCH"
nohup $LAUNCH $TORRENTSDIR $DOWNLOADOPTIONS >> ${TORRENTLOG} &
echo "."
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload|make}" >&2
exit 1
;;
esac
exit 0

View file

@ -1,36 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: bttrack
# REQUIRE: DAEMON
#
# Add the following lines to /etc/rc.conf to enable this service:
#
# bttrack_enable: Set to NO by default.
# Set it to YES to enable the tracker.
# bttrack_dfile: Defaults to /var/run/${name}.dfile.
# Stores state for tracker.
# bttrack_port: Set to listen on an alternative port (default is 80).
#
#
. /etc/rc.subr
name=bttrack
rcvar=bttrack_enable
command=%%PREFIX%%/bin/${name}.py
command_args="&"
command_interpreter=`head -n 1 $command | awk -F! '{print $2}'`
load_rc_config ${name}
: ${bttrack_enable:="NO"}
: ${bttrack_pidfile:=/var/run/${name}.pid}
: ${bttrack_dfile:=/var/run/${name}.dfile}
bttrack_flags="--dfile ${bttrack_dfile} \
${bttrack_port:+--port ${bttrack_port}} \
${bttrack_flags}"
run_rc_command "$1"

View file

@ -1,16 +0,0 @@
$FreeBSD$
--- setup.py.orig Sun May 16 13:40:26 2004
+++ setup.py Tue May 25 10:14:43 2004
@@ -25,5 +25,9 @@
"bttest.py",
'btmaketorrentgui.py', 'btcopyannounce.py', 'btsethttpseeds.py',
'bt-t-make.py',
- ]
+ ],
+ data_files = [('share/BitTornado',
+ ['icons/alloc.gif','icons/black1.ico','icons/black.ico','icons/blue.ico','icons/green1.ico','icons/green.ico',
+ 'icons/icon_bt.ico','icons/icon_done.ico','icons/red.ico','icons/white.ico',
+ 'icons/yellow1.ico','icons/yellow.ico'])]
)

View file

@ -1,25 +0,0 @@
$FreeBSD$
--- setup.py.orig Wed Oct 6 11:50:10 2004
+++ setup.py Fri Dec 17 17:42:32 2004
@@ -18,11 +18,15 @@
packages = ["BitTornado","BitTornado.BT1"],
- scripts = ["btdownloadgui.py", "btdownloadheadless.py",
+ scripts = ["btdownloadheadless.py",
"bttrack.py", "btmakemetafile.py", "btlaunchmany.py", "btcompletedir.py",
- "btdownloadcurses.py", "btcompletedirgui.py", "btlaunchmanycurses.py",
+ "btdownloadcurses.py", "btlaunchmanycurses.py",
"btmakemetafile.py", "btreannounce.py", "btrename.py", "btshowmetainfo.py",
- 'btmaketorrentgui.py', 'btcopyannounce.py', 'btsethttpseeds.py',
+ 'btcopyannounce.py', 'btsethttpseeds.py',
'bt-t-make.py',
- ]
+ ],
+ data_files = [('share/BitTornado',
+ ['icons/alloc.gif','icons/black1.ico','icons/black.ico','icons/blue.ico','icons/green1.ico','icons/green.ico',
+ 'icons/icon_bt.ico','icons/icon_done.ico','icons/red.ico','icons/white.ico',
+ 'icons/yellow1.ico','icons/yellow.ico'])]
)

View file

@ -1,30 +0,0 @@
$FreeBSD$
--- BitTornado/BT1/Rerequester.py.orig Tue Sep 14 19:32:11 2004
+++ BitTornado/BT1/Rerequester.py Tue Sep 14 19:33:00 2004
@@ -115,7 +115,7 @@
if self.howmany() >= self.maxpeers:
s += '&numwant=0'
else:
- s += '&no_peer_id=1&compact=1'
+ s += '&no_peer_id=1'
self.last_failed = True # force true, so will display an error
self.special = specialurl
self.rerequest(s, callback)
@@ -132,7 +132,7 @@
if self.howmany() >= self.maxpeers:
s += '&numwant=0'
else:
- s += '&no_peer_id=1&compact=1'
+ s += '&no_peer_id=1'
if event != 3:
s += '&event=' + ['started', 'completed', 'stopped'][event]
@@ -384,4 +384,4 @@
self.lock.acquire()
x = self.finished
self.lock.release()
- return x
\ No newline at end of file
+ return x

View file

@ -1,14 +0,0 @@
$FreeBSD$
--- BitTornado/ConfigDir.py.orig Sun Jul 11 04:57:30 2004
+++ BitTornado/ConfigDir.py Thu Jul 15 12:03:50 2004
@@ -19,7 +19,7 @@
realpath = os.path.realpath
except:
realpath = lambda x:x
-OLDICONPATH = os.path.abspath(os.path.dirname(realpath(sys.argv[0])))
+OLDICONPATH="%%PREFIX%%/share/BitTornado"
DIRNAME = '.'+product_name

View file

@ -1,10 +0,0 @@
BitTornado is a tool for distributing files. It's based on the BitTorrent
tool but has many enhancement over it (it was also knows as SHADOWS
experimental Bittorrent client):
- multitracker support - to have redundant tracker
- preferences menu for GUI client
- webseed support to have better control of download
- graphical torrent file maker
- experimental IPv6 support
WWW: http://www.bittornado.com

View file

@ -1,198 +0,0 @@
bin/bt-t-make.py
bin/btcompletedir.py
%%GUI%%bin/btcompletedirgui.py
bin/btcopyannounce.py
bin/btdownloadcurses.py
%%GUI%%bin/btdownloadgui.py
bin/btdownloadheadless.py
bin/btlaunchmany.py
bin/btlaunchmanycurses.py
bin/btmakemetafile.py
%%GUI%%bin/btmaketorrentgui.py
bin/btreannounce.py
bin/btrename.py
bin/btsethttpseeds.py
bin/btshowmetainfo.py
bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Choker.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Choker.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Choker.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Connecter.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Connecter.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Connecter.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Downloader.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Downloader.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Downloader.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/DownloaderFeedback.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/DownloaderFeedback.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/DownloaderFeedback.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Encrypter.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Encrypter.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Encrypter.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/FileSelector.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/FileSelector.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/FileSelector.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Filter.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Filter.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Filter.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/HTTPDownloader.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/HTTPDownloader.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/HTTPDownloader.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/NatCheck.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/NatCheck.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/NatCheck.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/PiecePicker.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/PiecePicker.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/PiecePicker.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Rerequester.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Rerequester.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Rerequester.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Statistics.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Statistics.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Statistics.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Storage.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Storage.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Storage.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StorageWrapper.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StorageWrapper.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StorageWrapper.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StreamCheck.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StreamCheck.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/StreamCheck.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/T2T.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/T2T.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/T2T.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Uploader.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Uploader.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/Uploader.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/__init__.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/__init__.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/__init__.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/btformats.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/btformats.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/btformats.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/fakeopen.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/fakeopen.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/fakeopen.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/makemetafile.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/makemetafile.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/makemetafile.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/track.py
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/track.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BT1/track.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/BTcrypto.py
%%PYTHON_SITELIBDIR%%/BitTornado/BTcrypto.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/BTcrypto.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigDir.py
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigDir.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigDir.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigReader.py
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigReader.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/ConfigReader.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/ConnChoice.py
%%PYTHON_SITELIBDIR%%/BitTornado/ConnChoice.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/ConnChoice.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/CreateIcons.py
%%PYTHON_SITELIBDIR%%/BitTornado/CreateIcons.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/CreateIcons.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/CurrentRateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTornado/CurrentRateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/CurrentRateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/HTTPHandler.py
%%PYTHON_SITELIBDIR%%/BitTornado/HTTPHandler.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/HTTPHandler.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/PSYCO.py
%%PYTHON_SITELIBDIR%%/BitTornado/PSYCO.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/PSYCO.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/RateLimiter.py
%%PYTHON_SITELIBDIR%%/BitTornado/RateLimiter.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/RateLimiter.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/RateMeasure.py
%%PYTHON_SITELIBDIR%%/BitTornado/RateMeasure.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/RateMeasure.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/RawServer.py
%%PYTHON_SITELIBDIR%%/BitTornado/RawServer.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/RawServer.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/ServerPortHandler.py
%%PYTHON_SITELIBDIR%%/BitTornado/ServerPortHandler.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/ServerPortHandler.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/SocketHandler.py
%%PYTHON_SITELIBDIR%%/BitTornado/SocketHandler.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/SocketHandler.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/__init__.py
%%PYTHON_SITELIBDIR%%/BitTornado/__init__.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/__init__.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/bencode.py
%%PYTHON_SITELIBDIR%%/BitTornado/bencode.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/bencode.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/bitfield.py
%%PYTHON_SITELIBDIR%%/BitTornado/bitfield.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/bitfield.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/clock.py
%%PYTHON_SITELIBDIR%%/BitTornado/clock.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/clock.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/download_bt1.py
%%PYTHON_SITELIBDIR%%/BitTornado/download_bt1.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/download_bt1.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/inifile.py
%%PYTHON_SITELIBDIR%%/BitTornado/inifile.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/inifile.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/iprangeparse.py
%%PYTHON_SITELIBDIR%%/BitTornado/iprangeparse.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/iprangeparse.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/launchmanycore.py
%%PYTHON_SITELIBDIR%%/BitTornado/launchmanycore.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/launchmanycore.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/natpunch.py
%%PYTHON_SITELIBDIR%%/BitTornado/natpunch.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/natpunch.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/parseargs.py
%%PYTHON_SITELIBDIR%%/BitTornado/parseargs.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/parseargs.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/parsedir.py
%%PYTHON_SITELIBDIR%%/BitTornado/parsedir.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/parsedir.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/piecebuffer.py
%%PYTHON_SITELIBDIR%%/BitTornado/piecebuffer.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/piecebuffer.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/selectpoll.py
%%PYTHON_SITELIBDIR%%/BitTornado/selectpoll.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/selectpoll.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/subnetparse.py
%%PYTHON_SITELIBDIR%%/BitTornado/subnetparse.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/subnetparse.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/torrentlistparse.py
%%PYTHON_SITELIBDIR%%/BitTornado/torrentlistparse.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/torrentlistparse.pyo
%%PYTHON_SITELIBDIR%%/BitTornado/zurllib.py
%%PYTHON_SITELIBDIR%%/BitTornado/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTornado/zurllib.pyo
%%DATADIR%%/alloc.gif
%%DATADIR%%/black.ico
%%DATADIR%%/black1.ico
%%DATADIR%%/blue.ico
%%DATADIR%%/green.ico
%%DATADIR%%/green1.ico
%%DATADIR%%/icon_bt.ico
%%DATADIR%%/icon_done.ico
%%DATADIR%%/red.ico
%%DATADIR%%/white.ico
%%DATADIR%%/yellow.ico
%%DATADIR%%/yellow1.ico
%%PORTDOCS%%%%DOCSDIR%%/BUILD.windows.txt
%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
%%PORTDOCS%%%%DOCSDIR%%/IMPORTANT-multitracker-readme.txt
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.unix.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README-Psyco.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/credits.txt
%%PORTDOCS%%%%DOCSDIR%%/multitracker-spec.txt
%%PORTDOCS%%%%DOCSDIR%%/test_multitracker_README.txt
%%PORTDOCS%%%%DOCSDIR%%/webseed-spec.txt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bittornado.sh.sample
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%
@dirrm %%PYTHON_SITELIBDIR%%/BitTornado/BT1
@dirrm %%PYTHON_SITELIBDIR%%/BitTornado

View file

@ -23,7 +23,6 @@
SUBDIR += pilot-link
SUBDIR += pilot_makedoc
SUBDIR += pilrc
SUBDIR += plucker
SUBDIR += ppmtoTbmp
SUBDIR += py-synce-librapi2
SUBDIR += py-synce-librra

View file

@ -1,90 +0,0 @@
# New ports collection makefile for: plucker
# Date created: 30th May 2001
# Whom: Jose Marques <noway@nohow.demon.co.uk>
#
# $FreeBSD$
#
PORTNAME= plucker
PORTVERSION= 1.8
PORTREVISION= 5
CATEGORIES= palm www
MASTER_SITES= http://downloads.plkr.org/${PORTVERSION}/ \
http://downloads.hideho.org/${PORTNAME}/${PORTVERSION}/
DISTFILES= ${PORTNAME}_viewer-${PORTVERSION}.tar.bz2 \
${PORTNAME}_viewer_extras-${PORTVERSION}.tar.bz2 \
${PORTNAME}_parser-${PORTVERSION}.tar.bz2 \
${PORTNAME}_docs-${PORTVERSION}.tar.bz2
MAINTAINER= ports@FreeBSD.org
COMMENT= An offline HTML viewer for PalmOS devices
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
BUILD_DEPENDS= ppmtoTbmp:${PORTSDIR}/palm/ppmtoTbmp \
convert:${PORTSDIR}/graphics/ImageMagick \
ppmtogif:${PORTSDIR}/graphics/netpbm \
cjpeg:${PORTSDIR}/graphics/jpeg \
${LOCALBASE}/bin/pilot-xfer:${PORTSDIR}/palm/pilot-link
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PYTHON= yes
USE_BZIP2= yes
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= plucker-build.1 plucker-decode.1 plucker-dump.1
FIND?= find
NO_BUILD= yes
MYPORTDOCS= AUTHORS BUGREPORT COPYING CREDITS ChangeLog FAQ NEWS README REQUIREMENTS
.include <bsd.port.pre.mk>
post-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/PyPlucker
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
${WRKSRC}/PyPlucker
do-install:
${MKDIR} ${PYTHON_SITELIBDIR}/PyPlucker/helper
cd ${WRKSRC}; ${FIND} PyPlucker \
\( -name "*.py" -or -name "*.py?" \) \
-exec ${INSTALL_DATA} {} ${PYTHON_SITELIBDIR}/{} \;
.for F in Spider.py PluckerDocs.py Decode.py
${INSTALL_SCRIPT} ${WRKSRC}/PyPlucker/${F} \
${PYTHON_SITELIBDIR}/PyPlucker
.endfor
${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/Spider.py \
${PREFIX}/bin/plucker-build
${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/PluckerDocs.py \
${PREFIX}/bin/plucker-decode
${LN} -sf ${PYTHON_SITELIBDIR}/PyPlucker/Decode.py \
${PREFIX}/bin/plucker-dump
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/PluckerUserGuide.pdb \
${WRKSRC}/*.prc ${DATADIR}
${MKDIR} ${PREFIX}/etc/plucker
${INSTALL_DATA} ${WRKSRC}/exclusionlist.txt \
${PREFIX}/etc/plucker/exclusionlist.txt.sample
${INSTALL_DATA} ${WRKSRC}/home.html \
${PREFIX}/etc/plucker/home.html.sample
${INSTALL_DATA} ${WRKSRC}/pluckerrc.sample \
${PREFIX}/etc/plucker
.for F in fonts ppi xlit
${MKDIR} ${DATADIR}/${F}
${INSTALL_DATA} ${WRKSRC}/${F}/* ${DATADIR}/${F}
.endfor
.for F in ${MAN1}
${INSTALL_MAN} ${WRKSRC}/${F} ${MAN1PREFIX}/man/man1
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/manual
.for F in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/manual/* ${DOCSDIR}/manual
.endif
.include <bsd.port.post.mk>

View file

@ -1,8 +0,0 @@
SHA256 (plucker_viewer-1.8.tar.bz2) = 9a97a4053024d1796ea80af038111540ed3bfb60d3bdcb1d5332c672e25760fd
SIZE (plucker_viewer-1.8.tar.bz2) = 285270
SHA256 (plucker_viewer_extras-1.8.tar.bz2) = d4f0d82a11eaca7cdf599bf9c5d03c0383342abcc007d7c8a75136db0567b0da
SIZE (plucker_viewer_extras-1.8.tar.bz2) = 21668
SHA256 (plucker_parser-1.8.tar.bz2) = f2c453ba9c7532b2d2e04d910d6b5a6c42c435e0c9f73403394cb363801d3c19
SIZE (plucker_parser-1.8.tar.bz2) = 119960
SHA256 (plucker_docs-1.8.tar.bz2) = 4489f3e0b737a28fd7fb3b61f83cce0e3289ef1796dee5caaecb574076140b40
SIZE (plucker_docs-1.8.tar.bz2) = 325847

View file

@ -1,8 +0,0 @@
--- PyPlucker/Parser.py.orig Wed Dec 24 16:05:12 2003
+++ PyPlucker/Parser.py Wed Dec 24 16:05:21 2003
@@ -1,4 +1,5 @@
#!/usr/bin/env python
+# -*- coding: iso-8859-1 -*-
"""
Parser.py $Id: Parser.py,v 1.21 2003/02/18 01:29:38 chrish Exp $

View file

@ -1,9 +0,0 @@
--- PyPlucker/TextParser.py.orig Fri Nov 7 19:36:39 2003
+++ PyPlucker/TextParser.py Wed Dec 24 16:40:15 2003
@@ -1,5 +1,6 @@
#!/usr/bin/env python
# -*- mode: python; indent-tabs-mode: nil; -*-
+# -*- coding: iso-8859-1 -*-
"""

View file

@ -1,7 +0,0 @@
--- PyPlucker/helper/doc_compress.py.orig Fri Nov 7 19:36:39 2003
+++ PyPlucker/helper/doc_compress.py Wed Dec 24 16:28:47 2003
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
#
# Original RCS-Id from Rob Tillotson <robt@debian.org>:
# Id: doc_compress.py,v 1.2 1999/08/09 21:59:13 rob Exp

View file

@ -1,20 +0,0 @@
--- PyPlucker/helper/gettext.py.orig Wed May 19 18:18:19 2004
+++ PyPlucker/helper/gettext.py Fri Oct 29 16:04:44 2004
@@ -128,7 +128,7 @@
else:
return # assume C locale
- if _lsbStrToInt(buffer[:4]) != 0x950412de:
+ if _lsbStrToInt(buffer[:4]) != 0x950412deL:
# magic number doesn't match
raise error, 'Bad magic number in %s' % (catalog,)
@@ -173,7 +173,7 @@
f = open(file, "wb")
except IOError:
raise error, "can't open " + file + " for writing"
- f.write(_intToLsbStr(0x950412de)) # magic number
+ f.write(_intToLsbStr(0x950412deL)) # magic number
f.write(_intToLsbStr(0)) # revision
f.write(_intToLsbStr(len(self.cat))) # nstrings

View file

@ -1,7 +0,0 @@
--- PyPlucker/helper/prc.py.orig Fri Nov 7 19:36:39 2003
+++ PyPlucker/helper/prc.py Wed Dec 24 16:29:02 2003
@@ -1,3 +1,4 @@
+# -*- coding: iso-8859-1 -*-
#
# $Id: prc.py,v 1.13 2002/10/10 21:58:18 janssen Exp $
# Original RCSId: prc.py,v 1.6 1999/07/16 05:32:01 rob Exp

View file

@ -1,7 +0,0 @@
Plucker is an offline HTML viewer for PalmOS devices packaged with UNIX and
Linux conduits. An included set of scripts will spider HTML pages which you
specify to a supplied depth, and parse them on your desktop machine. Those
webpages are processed there and transferred to the Palm for viewing by
Plucker.
WWW: http://plkr.org/

View file

@ -1,202 +0,0 @@
bin/plucker-build
bin/plucker-decode
bin/plucker-dump
%%PYTHON_SITELIBDIR%%/PyPlucker/AliasList.py
%%PYTHON_SITELIBDIR%%/PyPlucker/ConfigFiles.py
%%PYTHON_SITELIBDIR%%/PyPlucker/ConversionParser.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Decode.py
%%PYTHON_SITELIBDIR%%/PyPlucker/ExclusionList.py
%%PYTHON_SITELIBDIR%%/PyPlucker/ImageParser.py
%%PYTHON_SITELIBDIR%%/PyPlucker/JIUImageParser.py
%%PYTHON_SITELIBDIR%%/PyPlucker/PalmImagePlugin.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Parser.py
%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerDocs.py
%%PYTHON_SITELIBDIR%%/PyPlucker/PluckerLinks.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Retriever.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Profiling.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Spider.py
%%PYTHON_SITELIBDIR%%/PyPlucker/TextParser.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Url.py
%%PYTHON_SITELIBDIR%%/PyPlucker/UtilFns.py
%%PYTHON_SITELIBDIR%%/PyPlucker/Writer.py
%%PYTHON_SITELIBDIR%%/PyPlucker/__init__.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/CharsetMapping.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/PQAAppInfo.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/__init__.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/dict.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/doc_compress.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/gettext.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/prc.py
%%PYTHON_SITELIBDIR%%/PyPlucker/helper/timeoutsocket.py
%%DATADIR%%/fonts/AllStandard.prc
%%DATADIR%%/fonts/AllSystem.prc
%%DATADIR%%/fonts/SonyLargeBold.prc
%%DATADIR%%/fonts/SonySmallBold.prc
%%DATADIR%%/ppi/ppi_ca.prc
%%DATADIR%%/ppi/ppi_cs.prc
%%DATADIR%%/ppi/ppi_da.prc
%%DATADIR%%/ppi/ppi_de.prc
%%DATADIR%%/ppi/ppi_en.prc
%%DATADIR%%/ppi/ppi_es.prc
%%DATADIR%%/ppi/ppi_fo.prc
%%DATADIR%%/ppi/ppi_fr.prc
%%DATADIR%%/ppi/ppi_it.prc
%%DATADIR%%/ppi/ppi_ja.prc
%%DATADIR%%/ppi/ppi_no.prc
%%DATADIR%%/ppi/ppi_pl.prc
%%DATADIR%%/ppi/ppi_ru.prc
%%DATADIR%%/ppi/ppi_th.prc
%%DATADIR%%/ppi/ppi_tr.prc
%%DATADIR%%/ppi/ppi_zh_CN.prc
%%DATADIR%%/xlit/plucker-xlit.pdb
%%DATADIR%%/PluckerUserGuide.pdb
%%DATADIR%%/SysZLib.prc
%%DATADIR%%/viewer_en.prc
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/BUGREPORT
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FAQ
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/REQUIREMENTS
%%PORTDOCS%%%%DOCSDIR%%/manual/Autoscroll.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Bookmarks.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Category.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/CopyURL.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/DBFormat.html
%%PORTDOCS%%%%DOCSDIR%%/manual/DBMgr.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/EditBookmarks.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Find.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Gestures.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/HWButtons.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Mail.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/MainScreen.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Plucker_Doc.css
%%PORTDOCS%%%%DOCSDIR%%/manual/Plucker_Doc.html
%%PORTDOCS%%%%DOCSDIR%%/manual/Prefs.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/Result.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/TapAction.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/chicken-head.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/contents.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img1.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img10.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img11.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img12.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img13.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img14.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img15.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img2.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img3.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img4.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img5.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img6.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img7.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img8.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/img9.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/index.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/index.html
%%PORTDOCS%%%%DOCSDIR%%/manual/next.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/next_g.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/node1.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node10.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node11.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node12.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node13.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node14.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node15.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node16.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node17.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node18.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node19.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node2.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node20.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node21.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node22.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node23.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node24.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node25.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node26.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node27.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node28.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node29.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node3.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node30.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node31.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node32.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node33.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node34.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node35.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node36.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node37.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node38.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node39.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node4.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node40.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node41.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node42.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node43.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node44.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node45.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node46.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node47.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node48.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node49.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node5.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node50.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node51.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node52.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node53.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node54.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node55.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node56.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node57.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node58.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node59.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node6.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node60.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node61.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node62.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node63.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node64.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node65.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node66.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node67.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node68.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node69.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node7.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node70.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node71.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node72.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node73.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node74.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node75.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node76.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node77.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node78.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node79.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node8.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node80.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node81.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node82.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node83.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node84.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node85.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node9.html
%%PORTDOCS%%%%DOCSDIR%%/manual/prev.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/prev_g.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/up.gif
%%PORTDOCS%%%%DOCSDIR%%/manual/up_g.gif
etc/plucker/exclusionlist.txt.sample
etc/plucker/home.html.sample
etc/plucker/pluckerrc.sample
@dirrm %%PYTHON_SITELIBDIR%%/PyPlucker/helper
@dirrm %%PYTHON_SITELIBDIR%%/PyPlucker
@dirrm etc/plucker
%%PORTDOCS%%@dirrm %%DOCSDIR%%/manual
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%DATADIR%%/fonts
@dirrm %%DATADIR%%/ppi
@dirrm %%DATADIR%%/xlit
@dirrm %%DATADIR%%

View file

@ -15,7 +15,6 @@
SUBDIR += acroread9
SUBDIR += acroreadwrapper
SUBDIR += adobe-cmaps
SUBDIR += advi
SUBDIR += afm
SUBDIR += alignmargins
SUBDIR += ansiprint

View file

@ -1,77 +0,0 @@
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
# $MBSDlabs$
# $FreeBSD$
PORTNAME= advi
PORTVERSION= 1.9
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://gallium.inria.fr/${PORTNAME}/ \
http://caml.inria.fr/distrib/bazar-ocaml/${PORTNAME}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Active-DVI viewer
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
BUILD_DEPENDS= ${CI_DEPEND}:${PORTSDIR}/graphics/ocaml-images \
kpsewhich:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
RUN_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base
USE_OCAML= yes
USE_OCAML_FINDLIB= yes
NO_OCAML_RUNDEPENDS=yes
GNU_CONFIGURE=yes
USE_XORG= xpm
USE_FREETYPE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --disable-bytecode-program
OPTIONS_DEFINE= GS
OPTIONS_DEFAULT= GS
GS_DESC= Enable Ghostscript support
CI_DEPEND= ${LOCALBASE}/${OCAML_LIBDIR}/site-lib/camlimages/camlimages.a
MAN1= advi.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= *
.endif
.if ${PORT_OPTIONS:MGS}
USE_GHOSTSCRIPT= yes
CONFIGURE_ARGS+= --with-GS=maybe
.else
CONFIGURE_ARGS+= --with-GS=no
.endif
pre-everything::
@${ECHO} "************************************************************"
@${ECHO} "ATTENTION! This port required ocaml-images to be built with"
@${ECHO} "Ghostscript support enabled. If you build graphics/ocaml-images"
@${ECHO} "without GS support, please rebuild it before building this port"
@${ECHO} "************************************************************"
@${ECHO}
post-patch:
.if !${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -E \
-e 's,(SUBDIRS[[:space:]]*=[[:space:]]*src[[:space:]]+tex[[:space:]]+)doc,\1,g' \
${WRKSRC}/Makefile.in
.endif
post-install:
.if !${PORT_OPTIONS:MDOCS}
# Install manpage by hand
${INSTALL_MAN} ${WRKSRC}/doc/advi.1 ${MANPREFIX}/man/man1/
.endif
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (advi-1.9.tar.gz) = 5acefbc42e7ee3a5c59cc24087d52615576d9dd9a3762deabe56bda77113fc64
SIZE (advi-1.9.tar.gz) = 8536800

View file

@ -1,5 +0,0 @@
Active-DVI ``plays'' the DVI files that is displays: during presentation advi
can launch arbitrary commands that were incorporated into the LaTeX source of
the DVI file to animate the presentation.
WWW: http://caml.inria.fr/advi/

View file

@ -1,17 +0,0 @@
bin/advi
share/texmf/tex/latex/advi/advi-annot.sty
share/texmf/tex/latex/advi/advi-graphicx.sty
share/texmf/tex/latex/advi/advi-slides.sty
share/texmf/tex/latex/advi/advi.sty
share/texmf/tex/latex/advi/advilogo.eps
share/texmf/tex/latex/advi/argv.sty
share/texmf/tex/latex/advi/bar.eps
share/texmf/tex/latex/advi/bubble.sty
share/texmf/tex/latex/advi/caml.eps
share/texmf/tex/latex/advi/pgfsys-dvips.def
share/texmf/tex/latex/advi/superpose.sty
share/texmf/tex/latex/advi/xwindows-colors.sty
@dirrm share/texmf/tex/latex/advi
@dirrmtry share/texmf/tex/latex
@dirrmtry share/texmf/tex
@dirrmtry share/texmf

View file

@ -51,10 +51,8 @@
SUBDIR += tac+ia
SUBDIR += tidyup-mail
SUBDIR += unzip
SUBDIR += wmcyrx
SUBDIR += wordpress
SUBDIR += xcode
SUBDIR += xcyrBGR
SUBDIR += xmms
SUBDIR += xpi-tabextensions
SUBDIR += xruskb

View file

@ -1,35 +0,0 @@
# New ports collection makefile for: CyrX-2
# Date created: 04 Janyary 1999
# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
#
# $FreeBSD$
#
PORTNAME= wmcyrx
PORTVERSION= 2.1
PORTREVISION= 2
CATEGORIES= russian windowmaker
MASTER_SITES= http://ozz.pp.ru/distfiles/ \
ftp://ftp.vistdon.ru/pub/unix/X/wmanagers/windowmaker/
DISTNAME= cyrx-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= The Cyrillic keyboard layout manager for Window Maker
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
USE_XORG= x11 xpm
NO_INSTALL_MANPAGES= yes
PLIST_FILES= bin/wmcyrx2
MAKE_ENV+= COPT="${CXXFLAGS} -fpermissive"
post-extract:
@ ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
@ ${REINPLACE_CMD} 's|inline min|inline int min|' \
${WRKSRC}/cyrx2.cc
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrx2 ${PREFIX}/bin/wmcyrx2
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (cyrx-2.1.tar.gz) = 798cfbfbb46326e97ab56e5dea2419687c7e411315472b436485bc691626279f
SIZE (cyrx-2.1.tar.gz) = 20192

View file

@ -1,49 +0,0 @@
--- Makefile.orig Wed Apr 28 08:17:54 1999
+++ Makefile Sun Sep 8 17:58:29 2002
@@ -1,31 +1,34 @@
-I = -I/usr/openwin/include -I/usr/local/include
+I = -I${LOCALBASE}/include
#L = -Bstatic -lXpm -Bdynamic -lX11 -lXext
-L = -L/usr/local/lib -L/usr/openwin/lib -L/usr/X11/lib -lXpm -lX11 -lXext
+L = -L${LOCALBASE}/lib -L/usr/lib -lXpm -lX11 -lXext
#CC = gcc -O $I -DXLIB_ILLEGAL_ACCESS
-CC=CC -O $I -DXLIB_ILLEGAL_ACCESS
+CXX ?= c++
+CXXFLAGS= ${COPT} $I -DXLIB_ILLEGAL_ACCESS
+CC ?= cc
+CFLAGS+= $I -DXLIB_ILLEGAL_ACCESS
-cyrx2: cyrx2.o cyrmapper.o
- $(CC) cyrx2.o cyrmapper.o -o cyrx2 $L
+all: cyrx2.o cyrmapper.o
+ $(CXX) $(CXXFLAGS) cyrx2.o cyrmapper.o -o cyrx2 $L
cyrx: cyrx.o cyrmapper.o
- $(CC) -xildoff cyrx.o cyrmapper.o -o cyrx $L
+ $(CXX) $(CXXFLAGS) -xildoff cyrx.o cyrmapper.o -o cyrx $L
cyrx2.o: cyrx2.cc
- $(CC) cyrx2.cc -c -o cyrx2.o
+ $(CXX) $(CXXFLAGS) cyrx2.cc -c -o cyrx2.o
cyrx.o: cyrx.cc cyrmapper.h cyrl.h cyrx.icon cright.icon
- $(CC) cyrx.cc -c -o cyrx.o
+ $(CXX) $(CXXFLAGS) cyrx.cc -c -o cyrx.o
cyrmapper.o: cyrmapper.cc cyrmapper.h
- $(CC) cyrmapper.cc -c -o cyrmapper.o
+ $(CXX) $(CXXFLAGS) cyrmapper.cc -c -o cyrmapper.o
test: test.cc
- $(CC) test.cc -o test -lg++
+ $(CXX) $(CXXFLAGS) test.cc -o test -lg++
-test: gen.c
- $(CC) gen.c -o gen
+gen: gen.c
+ $(CC) $(CFLAGS) gen.c -o gen
tabs:

View file

@ -1,4 +0,0 @@
wmcyrx2 - The Cyrillic keyboard layout manager for WindowMaker
Shift+Shift to toggle EN/RU, mouse click to toggle encoding.
The only requirements is that you must have US keyboard (not UK or
German or anything else).

View file

@ -1,33 +0,0 @@
# New ports collection makefile for: xcyrBGR
# Date created: 18 Feb 2001
# Whom: vess /Veselin Slavov/ <vess@btc.net>
#
# $FreeBSD$
#
PORTNAME= xcyrBGR
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= russian
MASTER_SITES= ftp://ftp.slavof.net/pub/FreeBSD/X11/cyrillic/ \
ftp://mail.partners-bg.org/pub/FreeBSD/X11/cyrillic/ \
ftp://80.72.71.229/pub/FreeBSD/X11/cyrillic/
MAINTAINER= ports@FreeBSD.org
COMMENT= The Bulgarian Cyrillic keyboard layout manager for X11
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
PLIST_FILES= bin/xcyrBGR
USE_XORG= x11 xpm
NO_INSTALL_MANPAGES= yes
MAKE_ENV= COPT="${CXXFLAGS} -fpermissive"
post-extract:
@ ${MV} ${WRKSRC}/makefile ${WRKSRC}/Makefile
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/xcyrBGR ${PREFIX}/bin/xcyrBGR
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (xcyrBGR-1.0.tar.gz) = 4a6fcf95bb849c47f42751b4a16fbb10561b436b6935604d24b1064a39331ab0
SIZE (xcyrBGR-1.0.tar.gz) = 9507

View file

@ -1,22 +0,0 @@
--- xcyrBGR.cc.orig Sat Feb 17 12:32:23 2001
+++ xcyrBGR.cc Thu Mar 22 14:09:55 2001
@@ -1,8 +1,6 @@
/*
Pached for Bulgarian Cyrilic keyboard
-supported BSD and Phonetic
-
-
+supported BDS and Phonetic
*/
#include <X11/Xlib.h>
#include <X11/xpm.h>
@@ -43,8 +41,7 @@
};
AuxLayout auxlayout[]={
-// {XK_slash, XK_question, XK_period, XK_comma},
- {XK_1, XK_exclam, XK_1, XK_exclam}
+ {XK_z, XK_Z, 0xE7, 0xC7}
};
AuxLayout auxlayout1[]={

View file

@ -1,26 +0,0 @@
--- Makefile.orig Sun Sep 8 17:09:50 2002
+++ Makefile Sun Sep 8 17:10:42 2002
@@ -1,18 +1,19 @@
I = -I${LOCALBASE}/include
L = -L${LOCALBASE}/lib -L/usr/lib -lXpm -lX11 -lXext
-CC+= ${CFLAGS} ${COPT} $I -DXLIB_ILLEGAL_ACCESS
+CXX?= c++
+CXXFLAGS=${COPT} $I -DXLIB_ILLEGAL_ACCESS
all: xcyrBGR
xcyrBGR: xcyrBGR.o cyrmapper.o
- $(CC) xcyrBGR.o cyrmapper.o -o xcyrBGR $L
+ $(CXX) $(CXXFLAGS) xcyrBGR.o cyrmapper.o -o xcyrBGR $L
xcyrBGR.o: xcyrBGR.cc
- $(CC) xcyrBGR.cc -c -o xcyrBGR.o
+ $(CXX) $(CXXFLAGS) xcyrBGR.cc -c -o xcyrBGR.o
cyrmapper.o: cyrmapper.cc cyrmapper.h
- $(CC) cyrmapper.cc -c -o cyrmapper.o
+ $(CXX) $(CXXFLAGS) cyrmapper.cc -c -o cyrmapper.o
clean:
rm *.o xcyrBGR

View file

@ -1,8 +0,0 @@
xcyrBGR - The Bulgarian Cyrillic keyboard layout manager for X11
Easy toggle layout <English/Cyrillic-BDS/Cyrillic-PHOnetic>
Mouse click to toggle encoding (Win-CP1251/KOI8).
Cyrillic fonts for X11 (koi8 and cp1251):
${MASTER_SITES}/XFree86-3_cyr_fonts_koi_cp1251.tar.gz
${MASTER_SITES}/XFree86-4_cyr_fonts_cp1251.tar.gz

View file

@ -226,7 +226,6 @@
SUBDIR += ipv6toolkit
SUBDIR += isakmpd
SUBDIR += isnprober
SUBDIR += its4
SUBDIR += jbrofuzz
SUBDIR += john
SUBDIR += kedpm
@ -594,7 +593,6 @@
SUBDIR += pam-mysql
SUBDIR += pam-pgsql
SUBDIR += pam_abl
SUBDIR += pam_af
SUBDIR += pam_alreadyloggedin
SUBDIR += pam_authsrv
SUBDIR += pam_bsdbioapi
@ -756,7 +754,6 @@
SUBDIR += py-pylibacl
SUBDIR += py-pyme
SUBDIR += py-pysha3
SUBDIR += py-rijndael
SUBDIR += py-rsa
SUBDIR += py-ssh
SUBDIR += py-sslstrip
@ -891,7 +888,6 @@
SUBDIR += squidclamav
SUBDIR += srm
SUBDIR += srp
SUBDIR += sscep
SUBDIR += ssdeep
SUBDIR += ssh-copy-id
SUBDIR += ssh-gui

View file

@ -1,41 +0,0 @@
# New ports collection makefile for: its4
# Date created: 21 February 2000
# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= its4
PORTVERSION= 1.1.1
CATEGORIES= security
MASTER_SITES= # Empty
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to scan C/C++ source for potential vulnerabilities
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
WRKSRC= ${WRKDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} \
--datadir=${PREFIX}/share/its4
MAN1= its4.1
.include <bsd.port.pre.mk>
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE= may not be automatically fetched due to licensing restrictions.\
You MUST fetch the source manually from: http://www.cigital.com/its4/download.html; Once\
${DISTFILES} has been downloaded, move it to ${DISTDIR} and then restart this build
.endif
post-install:
@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/its4
@${ECHO}
@${ECHO} "This software is for non-commercial use only. See"
@${ECHO} "${PREFIX}/share/its4/LICENSE for details."
@${ECHO}
.include <bsd.port.post.mk>

View file

@ -1,2 +0,0 @@
SHA256 (its4-1.1.1.tgz) = 386ca694c969108863f3e5c0571ea8c5cbdc288dd13e12ba573a592844682df4
SIZE (its4-1.1.1.tgz) = 59759

View file

@ -1,11 +0,0 @@
--- configure.orig Thu Sep 28 10:55:22 2000
+++ configure Mon Oct 2 06:32:36 2000
@@ -18,7 +18,7 @@
DATADIR=
MANDIR=
PROGNAME=its4
-OPTIMIZATION=-O3
+OPTIMIZATION=${CFLAGS}
QUIET=
CC=
INSTALLPROG=

View file

@ -1,11 +0,0 @@
--- Makefile.in.orig Mon Feb 21 11:53:17 2000
+++ Makefile.in Tue Feb 22 09:16:02 2000
@@ -24,7 +24,7 @@
$(INSTALL) vulns.i4d $(INSTALL_DATADIR)
$(INSTALL) -d $(INSTALL_MANDIR)/man1
$(INSTALL) docs/its4.1 $(INSTALL_MANDIR)/man1/
- echo "Installation complete."
+ @echo "Installation complete."
# Dependencies generated by g++ -M *.C | dependstrip >> Makefile.in
config.o: config.C config.H vulninfo.H formatter.H vulndb.H dict.H fatal.H query.H strpool.H

View file

@ -1,11 +0,0 @@
ITS4 is a tool that statically scans C and C++ source code for
potential security vulnerabilities. It is a command-line tool that
works across Unix environments (hopefully) and will also work under
Windows with CygWin installed. ITS4 scans code, looking for function
calls that are potentially dangerous. For some calls, ITS4 tries to
perform some code analysis to determine how risky the call is. In
each case, ITS4 provides a problem report, including a short
description of the potential problem and suggestions on how to fix the
code.
WWW: http://www.cigital.com/its4/

View file

@ -1,4 +0,0 @@
bin/its4
share/its4/vulns.i4d
share/its4/LICENSE
@dirrm share/its4

View file

@ -1,36 +0,0 @@
# Ports collection makefile for: pam_af
# Date created: 5 Marth 2006
# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $FreeBSD$
#
PORTNAME= pam_af
PORTVERSION= 1.0.2
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= http://mbsd.msk.ru/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Anti-bruteforce PAM module
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
USE_BZIP2= yes
MAN8= pam_af.8 pam_af_tool.8
do-install:
${INSTALL_DATA} ${WRKSRC}/pam_af.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/pam_af_tool/pam_af_tool ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pam_af.8 ${MANPREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/pam_af_tool/pam_af_tool.8 ${MANPREFIX}/man/man8
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (pam_af-1.0.2.tar.bz2) = 9276ad2eff18a373f5ab00ee302e5c6ab2266805b9668a5e248c94435457b050
SIZE (pam_af-1.0.2.tar.bz2) = 17991

View file

@ -1,5 +0,0 @@
Anti-bruteforce PAM module for authentification services. It can be used to
prevent brute-force attacks on services like SSH or Telnet. It's highly
configurable and very fast.
WWW: http://mbsd.msk.ru/stas/pam_af.html

View file

@ -1,4 +0,0 @@
lib/pam_af.so
sbin/pam_af_tool
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View file

@ -1,32 +0,0 @@
# ex:ts=8
# New ports collection makefile for: py-rijndael
# Date created: Jul 23, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= rijndael
PORTVERSION= 1.4
CATEGORIES= security python
MASTER_SITES= http://jclement.ca/software/pyrijndael/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyrijndael-v${PORTVERSION:S:.:_:}
MAINTAINER= ports@FreeBSD.org
COMMENT= A pure python implementation of the Rijndael encryption algorithm
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/pyrijndael
do-build:
@cd ${WRKSRC} && ${PYTHON_CMD} -c 'import pyRijndael'
@cd ${WRKSRC} && ${PYTHON_CMD} -O -c 'import pyRijndael'
do-install:
@${INSTALL_DATA} ${WRKSRC}/pyRijndael.* ${PYTHON_SITELIBDIR}
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (pyrijndael-v1_4.tar.gz) = f9bbd6020f1db81136c91fb00037b8b18dce629d3e1ca0684c64bdfda3ec8e8f
SIZE (pyrijndael-v1_4.tar.gz) = 5195

View file

@ -1,3 +0,0 @@
A pure python implementation of the Rijndael encryption algorithm. Useful for
quick string encryption in python programs but probably is not fast enough for
anything too big.

View file

@ -1,3 +0,0 @@
%%PYTHON_SITELIBDIR%%/pyRijndael.py
%%PYTHON_SITELIBDIR%%/pyRijndael.pyc
%%PYTHON_SITELIBDIR%%/pyRijndael.pyo

View file

@ -1,25 +0,0 @@
# New ports collection makefile for: sscep
# Date created: Feb 15 2005
# Whom: Vsevolod Stakhov
#
# $FreeBSD$
#
PORTNAME= sscep
PORTVERSION= 20071227
CATEGORIES= security
MASTER_SITES= http://www.klake.org/~jt/sscep/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple scep client
MAKEFILE= ${FILESDIR}/BSDmakefile
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
DEPRECATED= No more public distfiles
EXPIRATION_DATE= 2012-10-20
USE_OPENSSL= yes
.include <bsd.port.mk>

View file

@ -1,2 +0,0 @@
SHA256 (sscep.tgz) = 0739bbade24054ff73102e0ef9d43ac7e51be9588ae4b6bd4c7e595a16bbfbcd
SIZE (sscep.tgz) = 101742

View file

@ -1,24 +0,0 @@
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/man/man8
.if !empty(OPENSSLBASE) && ${OPENSSLBASE} != "/usr"
CFLAGS+= -I${OPENSSLINC}
LDADD+= -L${OPENSSLLIB}
.endif
LDADD+= -lcrypto
WARNS = 3
# Manual page appears to have been removed from the distribution.
# This is being investigated...
#MAN8 = sscep.8
NO_MAN = yes
PROG = sscep
SRCS = sscep.c init.c net.c sceputils.c pkcs7.c ias.c fileutils.c
beforeinstall:
${BSD_INSTALL_SCRIPT} ${.CURDIR}/mkrequest ${BINDIR}/
${BSD_INSTALL_DATA} ${.CURDIR}/sscep.conf ${PREFIX}/etc/sscep.conf.sample
.include <bsd.prog.mk>

View file

@ -1,329 +0,0 @@
Fix a lot of warnings and (what seems to be) two errors...
-mi
--- ias.h 2006-03-13 06:45:20.000000000 -0500
+++ ias.h 2008-04-29 10:03:02.000000000 -0400
@@ -6,13 +6,6 @@
*/
-/* Macros */
-
-#define i2d_pkcs7_issuer_and_subject_bio(bp, ias) \
- ASN1_i2d_bio(i2d_pkcs7_issuer_and_subject, bp, (unsigned char *)ias)
-#define i2d_PKCS7_ISSUER_AND_SERIAL_bio(bp, ias) \
- ASN1_i2d_bio(i2d_PKCS7_ISSUER_AND_SERIAL, bp, (unsigned char *)ias)
-
/* Routines */
-int i2d_pkcs7_issuer_and_subject(pkcs7_issuer_and_subject *, unsigned char **);
+int i2d_pkcs7_issuer_and_subject(void *, unsigned char **);
pkcs7_issuer_and_subject *
d2i_pkcs7_issuer_and_subject(pkcs7_issuer_and_subject **, unsigned char **,
--- net.c 2007-12-27 01:08:39.000000000 -0500
+++ net.c 2008-04-29 10:03:02.000000000 -0400
@@ -151,13 +151,13 @@
/* URL-encode the input and return back encoded string */
-char * url_encode(char *s, size_t n) {
+char * url_encode(const char *s, size_t n) {
char *r;
size_t len;
- int i;
+ size_t i;
char ch[2];
/* Allocate 2 times bigger space than the original string */
len = 2 * n;
- r = (char *)malloc(len);
+ r = malloc(len);
if (r == NULL) {
return NULL;
--- pkcs7.c 2006-03-13 06:45:21.000000000 -0500
+++ pkcs7.c 2008-04-29 10:03:02.000000000 -0400
@@ -10,4 +10,18 @@
#include "ias.h"
+static int
+pkcs7_translator(void *p, unsigned char **out)
+{
+ return i2d_PKCS7_ISSUER_AND_SERIAL(p, out);
+}
+#define i2d_pkcs7_issuer_and_subject_bio(bp, ias) \
+ ASN1_i2d_bio(i2d_pkcs7_issuer_and_subject, bp, (unsigned char *)ias)
+#define i2d_PKCS7_ISSUER_AND_SERIAL_bio(bp, ias) \
+ ASN1_i2d_bio(pkcs7_translator, bp, (unsigned char *)ias)
+
+static int add_attribute_string(STACK_OF(X509_ATTRIBUTE) *, int,
+ const char *);
+static int add_attribute_octet(STACK_OF(X509_ATTRIBUTE) *, int,
+ const char *, int);
/*
* Wrap data in PKCS#7 envelopes and base64-encode the result.
@@ -64,5 +78,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(databio);
+ (void)BIO_flush(databio);
BIO_set_flags(databio, BIO_FLAGS_MEM_RDONLY);
break;
@@ -90,5 +104,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(databio);
+ (void)BIO_flush(databio);
BIO_set_flags(databio, BIO_FLAGS_MEM_RDONLY);
break;
@@ -100,5 +114,5 @@
/* Signer cert */
signercert = localcert;
- signercert = rsa;
+ signerkey = rsa;
/* Read data in memory bio */
@@ -111,5 +125,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(databio);
+ (void)BIO_flush(databio);
BIO_set_flags(databio, BIO_FLAGS_MEM_RDONLY);
break;
@@ -121,5 +135,5 @@
/* Signer cert */
signercert = localcert;
- signercert = rsa;
+ signerkey = rsa;
/* Read data in memory bio */
@@ -132,5 +146,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(databio);
+ (void)BIO_flush(databio);
BIO_set_flags(databio, BIO_FLAGS_MEM_RDONLY);
break;
@@ -195,5 +209,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(memorybio);
+ (void)BIO_flush(memorybio);
BIO_set_flags(memorybio, BIO_FLAGS_MEM_RDONLY);
len = BIO_get_mem_data(memorybio, &buffer);
@@ -298,5 +312,5 @@
/* Copy PKCS#7 */
i2d_PKCS7_bio(outbio, s->request_p7);
- BIO_flush(outbio);
+ (void)BIO_flush(outbio);
BIO_set_flags(memorybio, BIO_FLAGS_MEM_RDONLY);
s->request_len = BIO_get_mem_data(memorybio, &s->request_payload);
@@ -370,5 +384,5 @@
BIO_write(outbio, buffer, bytes);
}
- BIO_flush(outbio);
+ (void)BIO_flush(outbio);
if (v_flag)
printf("%s: PKCS#7 contains %d bytes of enveloped data\n",
@@ -584,5 +598,5 @@
exit (SCEP_PKISTATUS_P7);
}
- BIO_flush(outbio);
+ (void)BIO_flush(outbio);
/* Write decrypted data */
@@ -599,6 +613,6 @@
/* Add signed attributes */
-int
-add_attribute_string(STACK_OF(X509_ATTRIBUTE) *attrs, int nid, char *buffer) {
+static int
+add_attribute_string(STACK_OF(X509_ATTRIBUTE) *attrs, int nid, const char *buffer) {
ASN1_STRING *asn1_string = NULL;
X509_ATTRIBUTE *x509_a;
@@ -623,6 +637,6 @@
}
-int
-add_attribute_octet(STACK_OF(X509_ATTRIBUTE) *attrs, int nid, char *buffer,
+static int
+add_attribute_octet(STACK_OF(X509_ATTRIBUTE) *attrs, int nid, const char *buffer,
int len) {
ASN1_STRING *asn1_string = NULL;
--- ias.c 2006-03-13 06:45:20.000000000 -0500
+++ ias.c 2008-04-29 10:03:02.000000000 -0400
@@ -15,7 +15,8 @@
#include "ias.h"
-int i2d_pkcs7_issuer_and_subject(pkcs7_issuer_and_subject *a,
+int i2d_pkcs7_issuer_and_subject(void *pv,
unsigned char **pp) {
+ pkcs7_issuer_and_subject *a = pv;
M_ASN1_I2D_vars(a);
M_ASN1_I2D_len(a->issuer,i2d_X509_NAME);
--- sceputils.c 2006-03-13 06:45:22.000000000 -0500
+++ sceputils.c 2008-05-03 12:35:42.000000000 -0400
@@ -48,5 +48,5 @@
*/
int new_selfsigned(struct scep *s) {
- unsigned char *ptr;
+ const unsigned char *ptr;
X509 *cert;
X509_NAME *subject;
@@ -99,6 +99,11 @@
}
/* Get serial no from transaction id */
- ptr = (unsigned char *)s->transaction_id;
- if (!(serial = c2i_ASN1_INTEGER(NULL, &ptr, 32))) {
+ ptr = (const unsigned char *)s->transaction_id;
+#if OPENSSL_VERSION_NUMBER < 0x0090800fL
+# define CAST_CRUTCH (unsigned char **)
+#else
+# define CAST_CRUTCH
+#endif
+ if (!(serial = c2i_ASN1_INTEGER(NULL, CAST_CRUTCH&ptr, 32))) {
fprintf(stderr, "%s: error converting serial\n", pname);
ERR_print_errors_fp(stderr);
@@ -231,5 +236,5 @@
/* Assign space for ASCII presentation of the digest */
- str = (unsigned char *)malloc(2 * MD5_DIGEST_LENGTH + 1);
+ str = malloc(2 * MD5_DIGEST_LENGTH + 1); /* XXX this is never freed */
ret = str;
@@ -246,5 +251,5 @@
/* Copy as ASCII string and return: */
for (c = 0; c < MD5_DIGEST_LENGTH; c++, str += 2) {
- sprintf((char *)str, "%02X", md[c]);
+ sprintf(str, "%02X", md[c]);
}
@@ -252,4 +257,2 @@
return(ret);
}
-
-
--- sscep.h 2007-12-27 01:15:38.000000000 -0500
+++ sscep.h 2008-04-29 10:03:02.000000000 -0400
@@ -139,7 +139,7 @@
/* Fingerprint, signing and encryption algorithms */
-EVP_MD *fp_alg;
-EVP_MD *sig_alg;
-EVP_CIPHER *enc_alg;
+const EVP_MD *fp_alg;
+const EVP_MD *sig_alg;
+const EVP_CIPHER *enc_alg;
/* OpenSSL OID handles */
@@ -188,5 +188,5 @@
/* SCEP message types */
int request_type;
- char *request_type_str;
+ const char *request_type_str;
int reply_type;
char *reply_type_str;
@@ -199,5 +199,5 @@
/* SCEP transaction attributes */
- char *transaction_id;
+ const char *transaction_id;
unsigned char *sender_nonce;
int sender_nonce_len;
@@ -237,7 +237,4 @@
int send_msg (struct http_reply *, char *, char *, int, int);
-/* Catch SIGALRM */
-void catchalarm (int);
-
/* Get config file parameter */
char *get_string (char *);
@@ -291,10 +288,4 @@
int pkcs7_unwrap(struct scep *);
-/* Add signed string attribute */
-int add_attribute_string(STACK_OF(X509_ATTRIBUTE) *, int, char *);
-
-/* Add signed octet attribute */
-int add_attribute_octet(STACK_OF(X509_ATTRIBUTE) *, int, char *, int);
-
/* Find signed attributes */
int get_signed_attribute(STACK_OF(X509_ATTRIBUTE) *, int, int, char **);
@@ -302,5 +293,5 @@
/* URL-endcode */
-char *url_encode (char *, size_t);
+char *url_encode (const char *, size_t);
/* End of Functions */
--- cmd.h 2006-03-13 06:45:14.000000000 -0500
+++ cmd.h 2008-04-29 10:03:02.000000000 -0400
@@ -45,5 +45,5 @@
/* CA identifier */
-char *i_char;
+const char *i_char;
int i_flag;
--- sscep.c 2007-12-27 01:08:39.000000000 -0500
+++ sscep.c 2008-04-29 10:03:15.000000000 -0400
@@ -64,4 +64,10 @@
} /* handle_serial */
+static void
+catchalarm(int signo __unused) {
+ fprintf(stderr, "%s: connection timed out\n", pname);
+ exit (SCEP_PKISTATUS_TIMEOUT);
+}
+
int
main(int argc, char **argv) {
@@ -349,11 +355,11 @@
/* Check algorithms */
if (!E_flag) {
- enc_alg = (EVP_CIPHER *)EVP_des_cbc();
+ enc_alg = EVP_des_cbc();
} else if (!strncmp(E_char, "blowfish", 8)) {
- enc_alg = (EVP_CIPHER *)EVP_bf_cbc();
+ enc_alg = EVP_bf_cbc();
} else if (!strncmp(E_char, "des", 3)) {
- enc_alg = (EVP_CIPHER *)EVP_des_cbc();
+ enc_alg = EVP_des_cbc();
} else if (!strncmp(E_char, "3des", 4)) {
- enc_alg = (EVP_CIPHER *)EVP_des_ede3_cbc();
+ enc_alg = EVP_des_ede3_cbc();
} else {
fprintf(stderr, "%s: unsupported algorithm: %s\n",
@@ -362,9 +368,9 @@
}
if (!S_flag) {
- sig_alg = (EVP_MD *)EVP_md5();
+ sig_alg = EVP_md5();
} else if (!strncmp(S_char, "md5", 3)) {
- sig_alg = (EVP_MD *)EVP_md5();
+ sig_alg = EVP_md5();
} else if (!strncmp(S_char, "sha1", 4)) {
- sig_alg = (EVP_MD *)EVP_sha1();
+ sig_alg = EVP_sha1();
} else {
fprintf(stderr, "%s: unsupported algorithm: %s\n",
@@ -374,9 +380,9 @@
/* Fingerprint algorithm */
if (!F_flag) {
- fp_alg = (EVP_MD *)EVP_md5();
+ fp_alg = EVP_md5();
} else if (!strncmp(F_char, "md5", 3)) {
- fp_alg = (EVP_MD *)EVP_md5();
+ fp_alg = EVP_md5();
} else if (!strncmp(F_char, "sha1", 4)) {
- fp_alg = (EVP_MD *)EVP_sha1();
+ fp_alg = EVP_sha1();
} else {
fprintf(stderr, "%s: unsupported algorithm: %s\n",
@@ -778,8 +784,2 @@
exit(0);
}
-
-void
-catchalarm(int signo) {
- fprintf(stderr, "%s: connection timed out\n", pname);
- exit (SCEP_PKISTATUS_TIMEOUT);
-}

View file

@ -1,6 +0,0 @@
SCEP is a client-only implementation of the SCEP (Cisco System's Simple
Certificate Enrollment Protocol). SSCEP is designed for OpenBSD's isakmpd,
but it will propably work with any Unix system with a recent compiler and
OpenSSL toolkit libraries installed.
WWW: http://www.klake.org/~jt/sscep/

View file

@ -1,3 +0,0 @@
bin/sscep
bin/mkrequest
etc/sscep.conf.sample