summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-01 02:08:41 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-01 02:08:41 +0000
commit64a650938ebfd4a92c864d3021cf03d36b02ea35 (patch)
treeee596fe32dd72c7fac30ae5ad9fba6d44254071b /net-news/sn
parentnew version of redhat-artwork 0.53 (diff)
downloadgentoo-2-64a650938ebfd4a92c864d3021cf03d36b02ea35.tar.gz
gentoo-2-64a650938ebfd4a92c864d3021cf03d36b02ea35.tar.bz2
gentoo-2-64a650938ebfd4a92c864d3021cf03d36b02ea35.zip
initial ebuild #12622
Diffstat (limited to 'net-news/sn')
-rw-r--r--net-news/sn/ChangeLog8
-rw-r--r--net-news/sn/files/digest-sn-0.3.51
-rw-r--r--net-news/sn/sn-0.3.5.ebuild38
3 files changed, 47 insertions, 0 deletions
diff --git a/net-news/sn/ChangeLog b/net-news/sn/ChangeLog
new file mode 100644
index 000000000000..d043ccbe0cd9
--- /dev/null
+++ b/net-news/sn/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for net-news/sn
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/sn/ChangeLog,v 1.1 2003/01/01 02:08:41 vapier Exp $
+
+*sn-0.3.5 (31 Dec 2002)
+
+ 31 Dec 2002; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Christian Dietl <christian@expires.de>.
diff --git a/net-news/sn/files/digest-sn-0.3.5 b/net-news/sn/files/digest-sn-0.3.5
new file mode 100644
index 000000000000..c0098fe35f73
--- /dev/null
+++ b/net-news/sn/files/digest-sn-0.3.5
@@ -0,0 +1 @@
+MD5 def5a78026dcd0a77e63d66c41184fc9 sn-0.3.5.tar.gz 116585
diff --git a/net-news/sn/sn-0.3.5.ebuild b/net-news/sn/sn-0.3.5.ebuild
new file mode 100644
index 000000000000..3d655dfa1605
--- /dev/null
+++ b/net-news/sn/sn-0.3.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-news/sn/sn-0.3.5.ebuild,v 1.1 2003/01/01 02:08:41 vapier Exp $
+
+DESCRIPTION="Hassle-free Usenet news system for small sites"
+SRC_URI="http://infa.abo.fi/~patrik/sn/files/${P}.tar.gz"
+HOMEPAGE="http://infa.abo.fi/~patrik/sn/"
+
+KEYWORDS="x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="sys-libs/glibc
+ sys-libs/zlib"
+
+src_compile() {
+ emake \
+ SNROOT=/var/spool/news \
+ BINDIR=/usr/sbin \
+ MANDIR=/usr/share/man \
+ || die "emake failed"
+}
+
+src_install() {
+ dodir /var/spool/news /usr/sbin /usr/share/man/man8
+ mknod -m 600 ${D}/var/spool/news/.fifo p
+ make install \
+ SNROOT=${D}/var/spool/news \
+ BINDIR=${D}/usr/sbin \
+ MANDIR=${D}/usr/share/man \
+ || die "make install failed"
+ dodoc COPYING FAQ INSTALL* INTERNALS README* THANKS TODO
+}
+
+pkg_postinst() {
+ chown news:news /var/spool/news
+ chown news:news /var/spool/news/.fifo
+}