- update to 4.3.4

- ipv6 support
- new upstream
- add LICENSE
This commit is contained in:
Dirk Meyer 2019-01-06 15:09:04 +00:00
parent ed5610f399
commit 5295d7bcc0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489499
6 changed files with 28 additions and 54 deletions

View file

@ -2,23 +2,23 @@
# $FreeBSD$
PORTNAME= suck
PORTVERSION= 4.3.2
PORTREVISION= 5
CATEGORIES= news
#MASTER_SITES= http://www.sucknews.org/
MASTER_SITES= http://home.comcast.net/~bobyetman/ \
LOCAL/dinoex
PORTVERSION= 4.3.4
CATEGORIES= news ipv6
PKGNAMESUFFIX?= ${CNEWS_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Receives/sends news to/from localhost via NNTP
LICENSE= PD
CONFLICTS?= suckblow-1.*
USES= gmake shebangfix
USES= autoreconf gmake shebangfix
SHEBANG_FILES= sample/post_filter.pl
GNU_CONFIGURE= yes
MAKE_ENV= CHKHISTORY=chkhistory_db.o
USE_GITHUB= yes
GH_ACCOUNT= lazarus-pkgs
EX_SCRIPTS= get.news.generic get.news.inn perl_kill.pl perl_xover.pl \
post_filter.pl put.news put.news.pl put.news.sm put.news.sm.pl

View file

@ -1,2 +1,3 @@
SHA256 (suck-4.3.2.tar.gz) = c98dd04d1fe6914867fa509821243d5e63d1159a238f38f6c01e19e266b51788
SIZE (suck-4.3.2.tar.gz) = 187560
TIMESTAMP = 1546372949
SHA256 (lazarus-pkgs-suck-4.3.4_GH0.tar.gz) = 26ce11b00fb2c5bbd71391eac237e217ffce058b75e942d38c2d6670be637c93
SIZE (lazarus-pkgs-suck-4.3.4_GH0.tar.gz) = 153774

View file

@ -1,6 +1,6 @@
--- Makefile.in.orig 2003-03-28 20:22:38.000000000 +0100
+++ Makefile.in 2013-12-19 08:04:14.000000000 +0100
@@ -6,7 +6,7 @@
--- Makefile.in.orig 2018-08-01 13:54:24 UTC
+++ Makefile.in
@@ -6,7 +6,7 @@ SHELL=/bin/sh
############################################################################
# Step 1: Define ONE of the CHKHISTORY
@ -9,7 +9,7 @@
#CHKHISTORY=chkhistory.o # use flat file history routine
#CHKHISTORY=chkhistory_db.o # use DB history routine, if you use
# DBM, GDBM, NDBM, or DBZ
@@ -17,7 +17,7 @@
@@ -17,7 +17,7 @@ CHKHISTORY=@HISTORY@
# If you are using flat file, you can skip the rest, they don't matter
# Step 2: Define ONE of the Database Types
@ -18,7 +18,7 @@
#DB_TYPE=-DUSE_DBM
#DB_TYPE=-DUSE_GDBM
#DB_TYPE=-DUSE_NDBM
@@ -29,18 +29,20 @@
@@ -29,18 +29,20 @@ DB_TYPE=@DB_TYPE@
# If you are using INN-2.X, and the compiler complains
# about Undefined Symbols QIOclose QIOopen QIOread
# Use the DB_LIB that includes -lstorage
@ -40,7 +40,7 @@
# Step 5: If you want to use embedded PERL functions as kill routines
# define these.
@@ -67,8 +69,8 @@
@@ -67,8 +69,8 @@ PERL_DEFS=-D_REENTRANT -D_GNU_SOURCE
#OS2_DEFS=-DEMX
# Step 7: If compiling with SSL uncomment the following
@ -51,7 +51,7 @@
#SSL_LIB=-lssl -lcrypto
#SSL_DEFS=-I/usr/local/ssl/include -DHAVE_LIBSSL
#SSL_LIB_LOC=-L/usr/local/ssl/lib
@@ -110,16 +112,16 @@
@@ -110,7 +112,7 @@ CC = @CC@
@SET_MAKE@
CFLAGS = @CFLAGS@
@ -60,36 +60,7 @@
LDFLAGS = @LDFLAGS@ $(DMALLOC_LD) $(OS2_LD)
DEFS = @DEFS@ -DSUCK_VERSION=\"$(VERSION)\" $(DMALLOC_DEFS) $(OS2_DEFS) $(DMALLOC_INC)
LIBS = @LIBS@ $(DMALLOC_LIB)
prefix = @prefix@
exec_prefix = @exec_prefix@
-bindir = @bindir@
+bindir = ${DESTDIR}@bindir@
manext = 1
-mandir = @mandir@/man$(manext)
+mandir = ${DESTDIR}@mandir@/man$(manext)
srcdir = @srcdir@
MAN = $(srcdir)/man
SMAN= $(srcdir)/Spanish.docs
@@ -177,7 +179,7 @@
install_bin: suck rpost testhost lmove
- mkdir -p $(bindir)
- - strip -s suck rpost testhost lmove
+ - strip -x suck rpost testhost lmove
$(INSTALL_PROGRAM) suck $(bindir)/suck
$(INSTALL_PROGRAM) rpost $(bindir)/rpost
$(INSTALL_PROGRAM) testhost $(bindir)/testhost
@@ -195,7 +197,7 @@
# $(MAKE) -C $(SMAN)
install_lpost: lpost $(MAN)/lpost.1
- - strip -s lpost
+ - strip -x lpost
$(INSTALL_PROGRAM) lpost $(bindir)/lpost
$(INSTALL_DATA) $(MAN)/lpost.1 $(mandir)/lpost.$(manext)
@@ -295,3 +297,6 @@
@@ -293,3 +295,6 @@ makerpm: maketar
rm -rf /tmp/suck*
# now generate the .sig files
#pgps -b ~/suck*.rpm ~/suck*.tar.gz

View file

@ -1,6 +1,6 @@
--- killfile.c.orig Tue Aug 28 01:55:03 2001
+++ killfile.c Sun Oct 14 20:03:03 2001
@@ -55,7 +55,6 @@
--- killfile.c.orig 2018-08-01 13:54:24 UTC
+++ killfile.c
@@ -55,7 +55,6 @@ int check_a_group(PMaster, POneKill, cha
void print_debug(PKillStruct, const char *);
void debug_one_kill(POneKill);
void add_to_linkedlist(pmy_regex *, pmy_regex);

View file

@ -1,10 +1,10 @@
--- lmove.c.orig Fri May 23 08:16:38 1997
+++ lmove.c Mon Aug 25 16:43:04 1997
@@ -27,6 +27,7 @@
--- lmove.c.orig 2018-08-01 13:54:24 UTC
+++ lmove.c
@@ -28,6 +28,7 @@
#include <sys/stat.h>
#include <errno.h>
#include <signal.h>
+#include <sys/syslimits.h>
#include "suck_config.h"
#include "both.h"
#ifdef DMALLOC
#include <dmalloc.h>

View file

@ -6,3 +6,5 @@ bring it to your local machine, without the remote server doing
anything special. If you have read permission on the server, you can
use suck. Suck does NOT use the NEWNEWS command, hated by many
administrators.
WWW: https://github.com/lazarus-pkgs/suck