]> git.pld-linux.org Git - packages/a2ps.git/commitdiff
This commit was manufactured by cvs2git to create branch 'PLD_1_0_freez'. PLD_1_0_freez
authorcvs2git <feedback@pld-linux.org>
Wed, 27 Jun 2001 16:11:40 +0000 (16:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2001-06-27 16:11:40 UTC Jakub Bogusz <qboosh@pld-linux.org> '- info patch: fixed ogonkify.texi (one tab too much)'
Delete:
    a2ps-security.patch
    a2ps.spec

a2ps-security.patch [deleted file]
a2ps.spec [deleted file]

diff --git a/a2ps-security.patch b/a2ps-security.patch
deleted file mode 100644 (file)
index ce4b6cf..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -ur a2ps-4.13.orig/lib/routines.c a2ps-4.13/lib/routines.c\r
---- a2ps-4.13.orig/lib/routines.c      Sat Oct 16 06:46:37 1999\r
-+++ a2ps-4.13/lib/routines.c   Fri Jan  5 12:51:20 2001\r
-@@ -242,3 +242,50 @@\r
-   /* Don't complain if you can't unlink.  Who cares of a tmp file? */\r
-   unlink (filename);\r
- }\r
-+\r
-+/*\r
-+ * Securely generate a temp file, and make sure it gets\r
-+ * deleted upon exit.\r
-+ */\r
-+static char **        tempfiles;\r
-+static unsigned       ntempfiles;\r
-+\r
-+static void\r
-+cleanup_tempfiles()\r
-+{\r
-+      while (ntempfiles--)\r
-+              unlink(tempfiles[ntempfiles]);\r
-+}\r
-+\r
-+char *\r
-+safe_tempnam(const char *pfx)\r
-+{\r
-+      char    *dirname, *filename;\r
-+      int     fd;\r
-+\r
-+      if (!(dirname = getenv("TMPDIR")))\r
-+              dirname = "/tmp";\r
-+\r
-+      tempfiles = (char **) realloc(tempfiles,\r
-+                      (ntempfiles+1) * sizeof(char *));\r
-+      if (tempfiles == NULL)\r
-+              return NULL;\r
-+\r
-+      filename = malloc(strlen(dirname) + strlen(pfx) + sizeof("/XXXXXX"));\r
-+      if (!filename)\r
-+              return NULL;\r
-+\r
-+      sprintf(filename, "%s/%sXXXXXX", dirname, filename);\r
-+\r
-+      if ((fd = mkstemp(filename)) < 0) {\r
-+              free(filename);\r
-+              return NULL;\r
-+      }\r
-+      close(fd);\r
-+\r
-+      if (ntempfiles == 0)\r
-+              atexit(cleanup_tempfiles);\r
-+      tempfiles[ntempfiles++] = filename;\r
-+\r
-+      return filename;\r
-+}\r
-diff -ur a2ps-4.13.orig/lib/routines.h a2ps-4.13/lib/routines.h\r
---- a2ps-4.13.orig/lib/routines.h      Mon Oct 18 22:24:41 1999\r
-+++ a2ps-4.13/lib/routines.h   Fri Jan  5 12:37:53 2001\r
-@@ -255,7 +255,8 @@\r
- /* If _STR_ is not defined, give it a tempname in _TMPDIR_ */\r
- #define tempname_ensure(Str)                          \\r
- do {                                                  \\r
--  (Str) = (Str) ? (Str) : tempnam (NULL, "a2_");      \\r
-+  (Str) = (Str) ? (Str) : safe_tempnam("a2_");        \\r
- } while (0)\r
-+char * safe_tempnam(const char *);\r
\r
- #endif\r
diff --git a/a2ps.spec b/a2ps.spec
deleted file mode 100644 (file)
index 8c3f274..0000000
--- a/a2ps.spec
+++ /dev/null
@@ -1,166 +0,0 @@
-Summary:       Text to Postscript filter
-Summary(pl):   Filtr text/plain do  Postscriptu
-Name:          a2ps
-Version:       4.13b
-Release:       16
-License:       GPL
-Group:         Applications/Text
-Group(de):     Applikationen/Text
-Group(fr):     Utilitaires/Texte
-Group(pl):     Aplikacje/Tekst
-Source0:       ftp://ftp.enst.fr/pub/unix/a2ps/%{name}-%{version}.tar.gz
-Source1:       ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz
-Patch0:                %{name}-info.patch
-Patch1:                %{name}-security.patch
-Patch2:                %{name}-etc.patch
-Patch3:                %{name}-flex.patch
-Patch4:                %{name}-conf.patch
-Patch5:                %{name}-glibcpaper.patch
-Patch6:                %{name}-autoenc.patch
-Patch7:                %{name}-i18n.patch
-URL:           http://www.inf.enst.fr/~demaille/a2ps/
-Prereq:                /sbin/ldconfig
-Requires:      psutils
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%define                _sysconfdir     /etc/a2ps
-
-%description
-a2ps is a text to PostScript filter with pretty-printing capabilities.
-It includes support for a wide number of programming languages,
-encodings (ISO Latins, Cyrillic etc.), medias, and spoken languages
-(for the interface). It has also the ability to delegate the
-processing of some files to other applications, letting you print DVI,
-PostScript etc. with the very same interface.
-
-%description -l pl 
-A2ps jest programem pozwalajaj±cym na ³adne drukowanie plików
-tekstowych w PostScript. Posiada wsparcie dla wielu ró¿nych jêzyków
-programowania, zestawów znaków (ISO Latins, Cyrilica etc.), wielko¶ci
-papieru, i jêzyków komunikacji z u¿ytkownikiem. Potrafi tak¿e
-przekazaæ przetwarzanie plików do innych programów (tak, ¿e mo¿na
-wszystko drukowaæ (DVI, PostScript) przy u¿yciu tego samego polecenia.
-Zawiera program ,,ogonkify'' poprawiaj±cy b³êdnie zakodowany
-PostScript zawieraj±cy polskie znaki.
-
-%package devel
-Summary:       Header files and development documentation for a2ps
-Summary(pl):   Pliki nag³ówkowe i dokunentacja do a2ps
-Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Requires:      %{name} = %{version}
-
-%description devel
-Header files and development documentation for a2ps.
-
-%description devel -l pl
-Pliki nag³ówkowe i dokumentacja do a2ps.
-
-%package static
-Summary:       a2ps static libraries
-Summary(pl):   Biblioteki statyczne do a2ps
-Group:         Libraries
-Group(de):     Libraries
-Group(es):     Bibliotecas
-Group(fr):     Librairies
-Group(pl):     Biblioteki
-Requires:      %{name}-devel = %{version}
-
-%description static
-a2ps static libraries.
-
-%description static -l pl
-Biblioteki statyczne do a2ps.
-
-%prep
-%setup  -q -n %{name}-4.13 -a 1
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-
-%build
-%configure \
-       --with-gnu-gettext \
-       --with-medium=_glibc  \
-       --with-encoding=latin1 \
-       --enable-shared \
-       --enable-kanji
-%{__make}
-
-%install
-rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/a2ps/{afm,fonts}
-
-perl -pe 's/^lispdir = $/lispdir = \$(prefix)\/lib\/emacs\/site-lisp/g' contrib/emacs/Makefile >tmp
-
-mv -f tmp contrib/emacs/Makefile
-
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README THANKS
-
-install i18n-fonts-0.1/afm/*.afm %{buildroot}%{_datadir}/a2ps/afm
-install i18n-fonts-0.1/fonts/*.pfb %{buildroot}%{_datadir}/a2ps/fonts
-
-%find_lang %{name}
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-/sbin/ldconfig
-
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
-/sbin/ldconfig
-
-%files -f %{name}.lang
-%defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,NEWS,README,THANKS}.gz
-
-%dir %{_sysconfdir}
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps.cfg
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/a2ps-site.cfg
-
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_mandir}/man1/*
-%{_infodir}/a2ps*info*
-%{_infodir}/ogonkify*info*
-
-%dir %{_datadir}/a2ps
-%dir %{_datadir}/a2ps/afm
-%{_datadir}/a2ps/afm/*.afm
-%{_datadir}/a2ps/afm/*.map
-%attr(755,root,root) %{_datadir}/a2ps/afm/*.sh
-
-%{_datadir}/a2ps/encoding
-%{_datadir}/a2ps/fonts
-%{_datadir}/a2ps/ppd
-%{_datadir}/a2ps/ps
-%{_datadir}/a2ps/sheets
-
-%dir %{_datadir}/ogonkify
-%{_datadir}/ogonkify/*.enc
-%{_datadir}/ogonkify/*.ps
-%{_datadir}/ogonkify/afm
-%{_datadir}/ogonkify/fonts
-
-%files devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_includedir}/*
-
-%files static
-%defattr(644,root,root,755)
-%{_libdir}/lib*.a
This page took 0.050453 seconds and 4 git commands to generate.