diff --git a/news/linleech/Makefile b/news/linleech/Makefile new file mode 100644 index 00000000000..c374b4b77fb --- /dev/null +++ b/news/linleech/Makefile @@ -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 diff --git a/news/linleech/files/md5 b/news/linleech/files/md5 new file mode 100644 index 00000000000..7c959e4c917 --- /dev/null +++ b/news/linleech/files/md5 @@ -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 diff --git a/news/linleech/patches/patch-Makefile b/news/linleech/patches/patch-Makefile new file mode 100644 index 00000000000..1ab9ebbe230 --- /dev/null +++ b/news/linleech/patches/patch-Makefile @@ -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 diff --git a/news/linleech/pkg/COMMENT b/news/linleech/pkg/COMMENT new file mode 100644 index 00000000000..6799f676b4a --- /dev/null +++ b/news/linleech/pkg/COMMENT @@ -0,0 +1 @@ +retrieve usenet posts via script diff --git a/news/linleech/pkg/DESCR b/news/linleech/pkg/DESCR new file mode 100644 index 00000000000..7519fd778db --- /dev/null +++ b/news/linleech/pkg/DESCR @@ -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. diff --git a/news/linleech/pkg/PLIST b/news/linleech/pkg/PLIST new file mode 100644 index 00000000000..ffcc843aa56 --- /dev/null +++ b/news/linleech/pkg/PLIST @@ -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