Automated retrieval of news article.
This commit is contained in:
parent
82162d2f86
commit
164f85999a
35
news/linleech/Makefile
Normal file
35
news/linleech/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2000/07/11 10:20:24 espie Exp $
|
||||
# Original from: Curtiss Howard, cereal@schizo.com
|
||||
#
|
||||
|
||||
DISTNAME= linleech_2.2.1.orig
|
||||
|
||||
PKGNAME= linleech-2.2.1
|
||||
CATEGORIES= news
|
||||
NEED_VERSION= 1.230
|
||||
|
||||
MAINTAINER= shoemaker@softhome.net
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ftp://ftp.grolier.fr/pub/mirrors/ftp.debian.org/debian/dists/potato/main/source/news/ \
|
||||
ftp://ftp.cs.wisc.edu/pub/mirrors/linux/debian/dists/potato/main/source/news/ \
|
||||
ftp://ftp.gigabell.net/pub/unix/linux/debian/dists/potato/main/source/news/
|
||||
|
||||
LIB_DEPENDS= slang.::devel/libslang
|
||||
WRKDIST= ${WRKDIR}/linleech-2.2.1.orig
|
||||
|
||||
DOCDIR=${PREFIX}/share/doc/linleech
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.linleech ${DOCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/leechscript ${DOCDIR}/script.example
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/auth/auth.sl ${DOCDIR}
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/linleech ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
3
news/linleech/files/md5
Normal file
3
news/linleech/files/md5
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (linleech_2.2.1.orig.tar.gz) = 2408bfb1ac7e4af57cb44479aea03928
|
||||
RMD160 (linleech_2.2.1.orig.tar.gz) = b2e3831b73e193c2da935160f382657795080933
|
||||
SHA1 (linleech_2.2.1.orig.tar.gz) = 4d0fcb42b54de41a8773ca787f2aebf0079be0fd
|
28
news/linleech/patches/patch-Makefile
Normal file
28
news/linleech/patches/patch-Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2000/07/11 10:20:25 espie Exp $
|
||||
--- Makefile.orig Wed Dec 30 17:54:52 1998
|
||||
+++ Makefile Tue Jul 11 12:05:55 2000
|
||||
@@ -1,14 +1,13 @@
|
||||
-CC=gcc
|
||||
-CFLAGS=-O2
|
||||
-OBJS=objs/linleech_main.o objs/linleech_slang.o \
|
||||
- objs/linleech_socket.o objs/regex.o
|
||||
+CC= gcc
|
||||
+CFLAGS= -O2 -I${PREFIX}/include
|
||||
+LDFLAGS= -L${PREFIX}/lib
|
||||
+OBJS= linleech_main.o linleech_slang.o linleech_socket.o regex.o
|
||||
+VPATH= src
|
||||
|
||||
-all:
|
||||
- $(CC) $(CFLAGS) -c src/linleech_main.c -o objs/linleech_main.o
|
||||
- $(CC) $(CFLAGS) -c src/linleech_slang.c -o objs/linleech_slang.o
|
||||
- $(CC) $(CFLAGS) -c src/linleech_socket.c -o objs/linleech_socket.o
|
||||
- $(CC) $(CFLAGS) -c src/regex.c -o objs/regex.o
|
||||
- $(CC) $(OBJS) -o linleech -lslang
|
||||
+all: linleech
|
||||
+
|
||||
+linleech: ${OBJS}
|
||||
+ ${CC} -o $@ ${OBJS} ${LDFLAGS} -lslang
|
||||
|
||||
clean:
|
||||
- rm -f $(OBJS) linleech
|
||||
+ rm -f ${OBJS} linleech core
|
1
news/linleech/pkg/COMMENT
Normal file
1
news/linleech/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
retrieve usenet posts via script
|
9
news/linleech/pkg/DESCR
Normal file
9
news/linleech/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
linleech is a utility that will search through all the articles in given
|
||||
USENET groups and download those that meet your configured criteria.
|
||||
Via the use of S-Lang, a very granular control over what is downloaded is
|
||||
achieved; It can perform regexp matching on articles to fetch only those
|
||||
that you are interested in, alleviating you of the need to browse through
|
||||
a plethora of uninteresting articles.
|
||||
|
||||
Another useful feature is the ability to perform arbitrary commands on each
|
||||
article as it is downloaded, such as uudecoding and moving it to an archive.
|
6
news/linleech/pkg/PLIST
Normal file
6
news/linleech/pkg/PLIST
Normal file
@ -0,0 +1,6 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/07/11 10:20:25 espie Exp $
|
||||
bin/linleech
|
||||
share/doc/linleech/README.linleech
|
||||
share/doc/linleech/auth.sl
|
||||
share/doc/linleech/script.example
|
||||
@dirrm share/doc/linleech
|
Loading…
Reference in New Issue
Block a user