diff options
author | Jose V Beneyto <sepen@users.sourceforge.net> | 2008-04-14 01:09:27 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@users.sourceforge.net> | 2008-04-14 01:09:27 +0200 |
commit | ea9828e0969e05d34c1e885fdcd09538f49486ca (patch) | |
tree | a2bb3e34f6d8ec286dd0bc7aecd803e24bdcf058 | |
parent | ce1d6884796ef4fb58170cbaba3821d4ad4068ad (diff) | |
download | contrib-ea9828e0969e05d34c1e885fdcd09538f49486ca.tar.gz contrib-ea9828e0969e05d34c1e885fdcd09538f49486ca.tar.xz |
snownews: Picked up. Updated 1.5.7 -> 1.5.9. Fixed missing dep. Removed snowsync script which requires more perl libraries.
-rw-r--r-- | snownews/.footprint | 3 | ||||
-rw-r--r-- | snownews/.md5sum | 4 | ||||
-rw-r--r-- | snownews/Makefile.patch | 41 | ||||
-rw-r--r-- | snownews/Pkgfile | 31 | ||||
-rw-r--r-- | snownews/snownews.1.in.patch | 27 |
5 files changed, 87 insertions, 19 deletions
diff --git a/snownews/.footprint b/snownews/.footprint index dda155969..3a4763d85 100644 --- a/snownews/.footprint +++ b/snownews/.footprint @@ -1,9 +1,8 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/opml2snow -lrwxrwxrwx root/root usr/bin/snow2opml -> /usr/bin/opml2snow +lrwxrwxrwx root/root usr/bin/snow2opml -> opml2snow -rwxr-xr-x root/root usr/bin/snownews --rwxr-xr-x root/root usr/bin/snowsync drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/opml2snow.1.gz diff --git a/snownews/.md5sum b/snownews/.md5sum index 6e026ec03..62c61616b 100644 --- a/snownews/.md5sum +++ b/snownews/.md5sum @@ -1 +1,3 @@ -75ffa004e755a233f49b1cdfcd9e3d85 snownews-1.5.7.tar.gz +fa75794a3566205bf5a7005d486d9a21 Makefile.patch +0f3dca85a36386a72033b83a202c559e snownews-1.5.9.tar.gz +912cf0bf15e148e69ae5938d16f1728e snownews.1.in.patch diff --git a/snownews/Makefile.patch b/snownews/Makefile.patch new file mode 100644 index 000000000..9c8521c92 --- /dev/null +++ b/snownews/Makefile.patch @@ -0,0 +1,41 @@ +--- Makefile.old 2008-04-14 00:46:54.000000000 +0200 ++++ Makefile 2008-04-14 00:47:16.000000000 +0200 +@@ -2,7 +2,7 @@ CC= gcc + MAKE= make + INSTALL= install + LOCALEPATH= $(PREFIX)/share/locale +-MANPATH= $(PREFIX)/share/man ++MANPATH= $(PREFIX)/man + + ### Compiler/linker flags ### + ### Generated via configure ### +@@ -46,14 +46,9 @@ manpages: + cat $(MAN)/snownews.1.in | sed s#PREFIX#$(PREFIX)# | \ + sed s/VERSION/$(VERSION)/ > $(MAN)/snownews.1 + +- for L in $(LANGS); do \ +- cat $(MAN)/$$L/snownews.1.$$L.in | sed s#PREFIX#$(PREFIX)# | \ +- sed s/VERSION/$(VERSION)/ > $(MAN)/$$L/snownews.1; \ +- done +- + ### Install ### + +-install: install-bin install-locales install-man ++install: install-bin install-man + @echo "" + + install-bin: snownews +@@ -82,13 +77,6 @@ install-man: manpages + $(INSTALL) -m 0644 $(MAN)/snownews.1 $(DESTDIR)$(MANPATH)/man1 + $(INSTALL) -m 0644 $(MAN)/opml2snow.1 $(DESTDIR)$(MANPATH)/man1 + +- for L in $(LANGS); do \ +- if [ ! -d "$(DESTDIR)$(MANPATH)/$$L/man1" ]; then \ +- mkdir -p $(DESTDIR)$(MANPATH)/$$L/man1; \ +- fi; \ +- $(INSTALL) -m 0644 $(MAN)/$$L/snownews.1 $(DESTDIR)$(MANPATH)/$$L/man1; \ +- done +- + ### Cleanup ### + + clean: clean-bin clean-locales clean-man diff --git a/snownews/Pkgfile b/snownews/Pkgfile index b80e7abbc..01a6ba74c 100644 --- a/snownews/Pkgfile +++ b/snownews/Pkgfile @@ -1,23 +1,22 @@ # Description: Text mode RSS newsreader for Linux and Unix. -# URL: http://kiza.kcore.de/software/snownews/ -# Maintainer: unmaintained -# Packager: James Mills, prologic at shortcircuit dot net dot au -# -# Depends on: ncurses, libxml2, gettext +# URL: http://kiza.kcore.de/software/snownews/ +# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net +# Packager: James Mills, prologic at shortcircuit dot net dot au +# Depends on: ncurses libxml2 gettext perl name=snownews -version=1.5.7 +version=1.5.9 release=1 -source=(http://kiza.kcore.de/software/$name/download/$name-$version.tar.gz) +source=(http://kiza.kcore.de/software/$name/download/$name-$version.tar.gz \ + Makefile.patch $name.1.in.patch) build() { - cd $name-$version - ./configure --prefix=/usr - make - make DESTDIR=$PKG install - rm -f $PKG/usr/bin/snow2opml - ln -sf /usr/bin/opml2snow $PKG/usr/bin/snow2opml - rm -rf $PKG/usr/share - rm -rf $PKG/usr/man/{de,it,fr,nl,ru*} - chown -R root:root $PKG + cd $name-$version + patch -p0 -i $SRC/Makefile.patch + patch -p0 -i $SRC/$name.1.in.patch + ./configure --prefix=/usr \ + --disable-nls \ + --charset=UTF-8 + make + make DESTDIR=$PKG install } diff --git a/snownews/snownews.1.in.patch b/snownews/snownews.1.in.patch new file mode 100644 index 000000000..b1c5d0a47 --- /dev/null +++ b/snownews/snownews.1.in.patch @@ -0,0 +1,27 @@ +--- doc/man/snownews.1.in.old 2008-04-14 01:01:47.000000000 +0200 ++++ doc/man/snownews.1.in 2008-04-14 01:02:26.000000000 +0200 +@@ -224,24 +224,6 @@ in the main menu. + For further documentation about this feature, please visit the website + .B http://snownews.kcore.de/snowscripts/. + .P +-.B Syncing +-.P +-Snownews comes with an extension program called "snowsync" that allows +-syncing of subscriptions lists between different installations. This little +-helper script is written in Perl and requires the modules XML::LibXML, +-XML::LibXSLT and libwww-perl to be installed. Additionally you will need an +-account on a storage server where the data will be uploaded. The default +-storage server is provided by me, if you want to use it, just mail me and +-I'll give you an account. The uploaded data will be encrypted with GnuPG so +-there are no worries about having sensitive data in your subscription list. +-.P +-Snowsync is invoked with "snowsync remote" to upload data, "local" to download +-it to your local installation and "delete" to remove any information published +-on the storage. See "snowsync --help". +-.P +-If you want to run your own storage server, see the webpage at +-http://kiza.kcore.de/software/nwstorage/. +-.P + .B Snownews is released under the GNU General Public License version 2. + .SH OPTIONS + .B \-\-update or \-u, |