🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88051

SQLnetNews cheat sheet

#88051
From: 🇧🇫 🇧🇮 🇰🇭 🇨🇲
Date: Fri, 24 Jan 2020 15:29
19 lines
1866 bytes
	wget   https://www.sqlite.org/2020/sqlite-src-3310000.zip      # we need the   .o  file  for compilation
	cd . # goto unzipped dir
	gcc shell.c sqlite3.c -lpthread -ldl
	ls -l  sqlite3.o     # cp  ....  .....    #  make sqlite from sources and copy into   sqlnetnews build dir


	# with sqlite3.o iin place we now build the usenet server
	gcc -s -O2 -o ~/bin/sqlnetnews sqlnetnews.c sqlite3.o -ldl -lpthread -lrt
	chmod +x ~/bin/sqlnetnews # set executable bit
  	sudo -H   setcap cap_net_bind_service=+ep /home/URESELF/bin/sqlnetnews   ## set bind capabilities   for  port  # 119


	sudo chmod +x  /etc/xinetd.d/nntp      # set exe bit
	sudo -H xinetd -d                      # debug mode in Konsole bash
	~/bin/sqlnetnews                       # ACTUALLY launch the usenet server, which utilizes xinetd

	thunderbird -news                      # and add   news  127.0.0.1  , which is ure local nntp-server,
                                                # like any other   nntp-server
Technical Details
Message-ID: <r0f2hh$6bp$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <r0f04s$1dko$1@neodome.net> <r0f18c$24r$1@neodome.net>

Show Full Headers
Complete Article Headers
Message-ID: <r0f2hh$6bp$1@neodome.net>
Subject: SQLnetNews cheat sheet
Date: Fri, 24 Jan 2020 16:29:52 +0100
From: 🇧🇫 🇧🇮 🇰🇭 🇨🇲 <me@use.net>
References: <r0f04s$1dko$1@neodome.net> <r0f18c$24r$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp,alt.free.newsservers
Organization: a pointless spider patient
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 24 Jan 2020 15:29:53 -0000 (UTC)
Injection-Info: neodome.net; mail-complaints-to="abuse@neodome.net"
User-Agent: general.useragent.override
In-Reply-To: <r0f18c$24r$1@neodome.net>
Content-Language: en-US