[-]
[+]
|
Added |
_service:tar_git:alpine.changes
|
|
[-]
[+]
|
Added |
_service:tar_git:alpine.spec
^
|
|
[-]
[+]
|
Deleted |
alpine.spec
^
|
@@ -1,160 +0,0 @@
-#
-# Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.32
-#
-
-Name: alpine
-
-# >> macros
-# << macros
-
-Summary: Text-based mail and news client. Includes patches by Eduardo Chappa
-Version: 2.25
-Release: 1
-Group: Applications
-License: ASL 2.0
-URL: http://alpine.x10host.com/alpine/release/
-Source0: http://alpine.x10host.com/alpine/patches/%{name}-%{version}/%{name}-%{version}.tar.xz
-Source100: alpine.yaml
-BuildRequires: pkgconfig(ncurses)
-BuildRequires: pkgconfig(tinfo)
-BuildRequires: pkgconfig(libcrypto)
-BuildRequires: pkgconfig(libssl)
-
-%description
-Alpine is a free software email client developed at the University of Washington.
-
-Alpine is a rewrite of the Pine Message System that adds support for Unicode and other features. Alpine is meant to be suitable for both inexperienced email users and the most demanding of power users.
-
-"Alpine" officially stands for Alternatively Licensed Program for Internet News and Email.
-
-
-%package doc
-Summary: Documentation for %{name}
-Group: Documentation
-BuildArch: noarch
-
-%description doc
-%{summary}.
-
-%package -n pico
-Summary: The pico text editor
-Group: Applications
-
-%description -n pico
-%{summary}.
-
-%package -n pilot
-Summary: The pilot file manager
-Group: Applications
-
-%description -n pilot
-%{summary}.
-
-%package tools
-Summary: Extra binaries for %{name}
-Group: Applications
-
-%description tools
-%{summary}.
-
-%prep
-%setup -q -n %{name}-%{version}
-
-# >> setup
-# << setup
-
-%build
-# >> build pre
-# << build pre
-
-%configure --disable-static \
- --with-ssl \
- --with-ipv6 \
- --with-pthread \
- --disable-debug \
- --disable-nls \
- --disable-mouse \
- --disable-keyboard-lock \
- --without-ldap \
- --without-krb5 \
- --without-tcl \
- --without-ntlm \
- --with-bundled-tools=mailutil,dmail \
- --with-passfile=.alpine-passfile \
- --enable-from-encoding \
- --with-interactive-spellcheck=/usr/bin/aspell \
- --with-local-support-info="%{_datadir}"/%{name}/pine.info \
- --with-system-pinerc="%{_datadir}"/%{name}/pine.conf \
- --with-system-fixed-pinerc="%{_datadir}"/%{name}/pine.conf.fixed \
- --with-encryption-minimum-version=tls1_1 \
- --with-ssl-certs-dir=/etc/ssl/certs
-
-make %{?_smp_mflags}
-
-# >> build post
-pushd imap
-pushd mailutil
-make %{?_smp_mflags}
-popd
-pushd dmail
-make %{?_smp_mflags}
-popd
-popd
-# << build post
-
-%install
-rm -rf %{buildroot}
-# >> install pre
-# << install pre
-%make_install
-
-# >> install post
-pushd imap
-#make DESTDIR=%%{buildroot} bindir=%%{_bindir} mandir=%%{_mandir} install-mailutil
-install -s -D -m 0755 mailutil/mailutil %{buildroot}%{_bindir}/mailutil
-install -s -D -m 0755 dmail/dmail %{buildroot}%{_bindir}/dmail
-popd
-# we don't need those in the package:
-rm -f doc/tech-notes/Makefile
-rm -f doc/tech-notes/pn4tn
-rm -f doc/tech-notes/pnuts.4tech-notes
-# << install post
-
-%files
-%defattr(-,root,root,-)
-%{_bindir}/%{name}
-# >> files
-# << files
-
-%files doc
-%defattr(-,root,root,-)
-%doc README NOTICE
-%doc doc/brochure.txt
-%doc doc/tech-notes/*
-%doc doc/mailcap.unx
-%doc doc/mime.types
-%{_mandir}/man1/*
-# >> files doc
-# << files doc
-
-%files -n pico
-%defattr(-,root,root,-)
-%{_bindir}/pico
-# >> files pico
-# << files pico
-
-%files -n pilot
-%defattr(-,root,root,-)
-%{_bindir}/pilot
-# >> files pilot
-# << files pilot
-
-%files tools
-%defattr(-,root,root,-)
-%{_bindir}/rpdump
-%{_bindir}/rpload
-%{_bindir}/mailutil
-%{_bindir}/dmail
-# >> files tools
-# << files tools
|
[-]
[+]
|
Added |
_service:tar_git:all.patch.gz
^
|
@@ -0,0 +1,19452 @@
+diff --git a/README.maildir b/README.maildir
+new file mode 100644
+index 0000000..4fbf363
+--- /dev/null
++++ b/README.maildir
+@@ -0,0 +1,149 @@
++---------------------------------------
++
++Maildir Driver for Alpine 2.0
++By Eduardo Chappa
++<alpine.chappa@gmx.com>
++
++---------------------------------------
++1. General Information About This Patch
++---------------------------------------
++
++This patch adds support for the maildir format to Alpine. We take the
++approach that this patch is one more driver among the number of formats
++supported by Alpine (more generally c-client). This approach differs from
++older versions of similar patches, in that once a maildir patch was
++applied, it was assumed that all your folders would be created in the
++maildir format.
++
++This patch does not assume that maildir is a preferred format, instead
++puts maildir in equal footing with other formats (mbox, mbx, mix, etc),
++and so a maildir folder in the mail/ collection is treated in the same way
++as any other folder in any other format. In other words, just by reading
++the name of a folder, or opening it, or doing any operation with it, you
++can not know in which format the folder is.
++
++This implies that if you want to add a folder in the maildir format to the
++mail/ collection, then you must add by pressing "A" in the folder list
++collection and enter "#driver.md/mail/name_maildir_folder".
++
++If you only want to use maildir, however, you can do so too. In this case,
++you must create a maildir collection. In that collection, only maildir
++folders will be listed. If there is any folder in any other format, that
++folder will be ignored. In another words, any folder listed there is in
++maildir format and can be accessed through that collection, conversely,
++any folder not listed there is not in maildir format and there is no way
++to access it using this collection.
++
++In order to create a maildir collection, you could press M S L, and "A" to
++add a collection. Fill in the required fields as follows:
++
++Nickname : Anything
++Server :
++Path : #md/relative/path/to/maildir/collection/
++View :
++
++For example, if "path" is set to "#md/mail/", then Alpine will look for your
++maildir folders that are in ~/mail/.
++
++The code in this patch is mostly based in code for the unix driver plus
++some combinations of the mh, mbx and nntp drivers for the c-client
++library. Those drivers were designed by Mark Crispin, and bugs in this
++code are not his bugs, but my own.
++
++ I got all the specification for this patch from
++http://cr.yp.to/proto/maildir.html. If you know of a place with a better
++specification for maildir format please let me know. The method this patch
++uses to create a unique filename for a message is one of the "old
++fashioned" methods. I realize that this is old fashioned, but it is
++portable, and portability is the main reason why I decided to use an old
++fashioned method (most methods are not portable. See the word
++"Unfortunately" in that document).
++
++--------------
++2. Other Goals
++--------------
++
++ It is intended that this code will work well with any application
++written using the c-client library. Of paramount importance is to make the
++associated imap server work well when the server accesses a folder in
++Maildir format. The program mailutil should also work flawlessly with this
++implemetation of the driver.
++
++ It is intended that this driver be fast and stable. We intend not to
++patch Alpine to make this driver do its work, unless such patching is for
++fixing bugs in Alpine or to pass parameters to the driver.
++
++------------------------------------------------------------------------
++3. What are the known bugs of this implementation of the Maildir driver?
++------------------------------------------------------------------------
++
++ I don't know any at this time. There have been bugs before, though, but
++I try to fix bugs as soon as they are reported.
++
++----------
++4. On UIDs
++----------
++
++ This patch keeps uids in the name of the file that contains the message,
++by adding a ",u=" string to the file name to save the uid of a message. A
++file is kept between sessions to save information on the last uid assigned
++and its time of validity. Only one session with writing access can write
++uids, all others must wait for the other session to assign them. The
++session assigning uids creates a ".uidtemp" file which other sessions must
++not disturb.
++
++ Uid support appeared in Alpine 1.00 (snapshot 925), and is experimental,
++please report any problems.
++
++----------------------------------------------
++5. Configuring Alpine and Setting up a Maildir
++----------------------------------------------
++
++Once this approach was chosen, it implied the following:
++
++ * This patch assumes that your INBOX is located at "$HOME/Maildir".
++ This is a directory which should have three subdirectories "cur",
++ "tmp" and "new". Mail is delivered to 'new' and read from 'cur'. I
++ have added a configuration option "maildir-location" which can be
++ used to tell Alpine where your Maildir inbox is, in case your system
++ does not use the above directory (e.g. your system may use
++ "~/.maildir"). In this case define that variable to be the name of
++ the directory where your e-mail is being delivered (e.g.
++ ".maildir").
++
++ * If you want to use the above configuration as your inbox, you must
++ define your inbox-path as "#md/inbox" (no quotes). You can define
++ the inbox-path like above even if you have changed the
++ maildir-location variable. That's the whole point of that variable.
++
++-------------------------------------------
++6. What about Courier/Dovecot file systems?
++-------------------------------------------
++
++In a courier file system all folders are subfolders of a root folder
++called INBOX. Normally INBOX is located at ~/Maildir and subfolders are
++"dot" directories in ~/Maildir. For example ~/Maildir/.Trash is a
++subfolder of INBOX and is accessed with the nickname "INBOX.Trash".
++
++You can not access folders in this way unless you preceed them with the
++string "#mc/". The purpose of the string "#mc/" is to warn Alpine that a
++collection in the Courier format is going to be accessed. Therefore, you
++can SELECT a folder like "#mc/INBOX.Trash", but not "INBOX.Trash"
++
++You can access a collection through a server, but if you want to access a
++collection of folders created using the Courier server, you MUST edit your
++".pinerc" file and enter the definition of the collection as follows:
++
++folder-collections="Anything you want" #mc/INBOX.[]
++
++You can replace the string "#mc/INBOX." by something different, for example
++"#mc/Courier/." will make Alpine search for your collection in ~/Courier.
++
++You can not add this setting directly into Alpine because Alpine fails to
++accept this value from its input, but it takes it correctly when it is
++added through the ".pinerc" file.
++
++You can access your inbox as "#mc/INBOX" or "#md/INBOX". Both definitions
++point to the same place.
++
++Last Updated May 28, 2011
+diff --git a/alpine/Makefile.am b/alpine/Makefile.am
+index c729449..c42ff2d 100644
+--- a/alpine/Makefile.am
++++ b/alpine/Makefile.am
+@@ -53,3 +53,4 @@ date.c:
+ echo "char datestamp[]="\"$(ALPINE_DATESTAMP)\"";" > date.c
+ echo "char hoststamp[]="\"$(ALPINE_HOSTSTAMP)\"";" >> date.c
+ echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c
++ cat ../patchlevel >> date.c
+diff --git a/alpine/Makefile.in b/alpine/Makefile.in
+index 1eed096..b60d49d 100644
+--- a/alpine/Makefile.in
++++ b/alpine/Makefile.in
+@@ -914,6 +914,7 @@ date.c:
+ echo "char datestamp[]="\"$(ALPINE_DATESTAMP)\"";" > date.c
+ echo "char hoststamp[]="\"$(ALPINE_HOSTSTAMP)\"";" >> date.c
+ echo "char configoptions[]="\"`../config.status --config`\"";" >> date.c
++ cat ../patchlevel >> date.c
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+diff --git a/alpine/adrbkcmd.c b/alpine/adrbkcmd.c
+index b511b88..8c0c8d9 100644
+--- a/alpine/adrbkcmd.c
++++ b/alpine/adrbkcmd.c
+@@ -4125,6 +4125,8 @@ ab_compose_internal(BuildTo bldto, int allow_role)
+ * won't do anything, but will cause compose_mail to think there's
+ * already a role so that it won't try to confirm the default.
+ */
++ if (ps_global->role)
++ fs_give((void **)&ps_global->role);
+ if(role)
+ role = copy_action(role);
+ else{
+@@ -4132,6 +4134,7 @@ ab_compose_internal(BuildTo bldto, int allow_role)
+ memset((void *)role, 0, sizeof(*role));
+ role->nick = cpystr("Default Role");
+ }
++ ps_global->role = cpystr(role->nick);
+ }
+
+ compose_mail(addr, fcc, role, NULL, NULL);
+diff --git a/alpine/alpine.c b/alpine/alpine.c
+index 157c095..712d775 100644
|
[-]
[+]
|
Added |
_service
^
|
@@ -0,0 +1,9 @@
+<services>
+ <service name="tar_git">
+ <param name="url">https://github.com/nephros/sailfish-alpine.git</param>
+ <param name="branch"/>
+ <param name="revision">2.25.1+obs2</param>
+ <param name="debian">N</param>
+ <param name="dumb">N</param>
+ </service>
+</services>
|
|
Added |
_service:tar_git:alpine-2.25.1+obs2.tar.xz
^
|
[-]
[+]
|
Added |
_service:tar_git:alpine.yaml
^
|
@@ -0,0 +1,120 @@
+Name: alpine
+Summary: "Text-based mail and news client. Includes patches by Eduardo Chappa"
+Version: 2.25.1
+Release: 1
+URL: http://alpine.x10host.com/alpine/release/
+Group: Applications
+License: 'ASL 2.0'
+Sources:
+ - http://alpine.x10host.com/alpine/patches/%{name}-%{version}/%{name}-%{version}.tar.xz
+ - http://www.alpine.x10host.com/%{name}/patches/%{name}-%{version}/all.patch.gz
+ - pine.conf
+ - pine.conf.fixed
+Patches:
+ - '%SOURCE1'
+Description: |
+ A free software email client developed at the University of Washington.
+
+ Alpine is a rewrite of the Pine Message System that adds support for
+ Unicode and other features. It is meant to be suitable for both
+ inexperienced email users and the most demanding of power users.
+
+ "Alpine" officially stands for Alternatively Licensed Program for Internet
+ News and Email.
+
+ %if "%{?vendor}" == "chum"
+ PackageName: Alpine
+ DeveloperName: nephros
+ Type: console-application
+ Categories:
+ - Network
+ - Office
+ - Email
+ %endif
+
+PkgBR:
+ - aspell
+PkgConfigBR:
+ - ncurses
+ - tinfo
+ - libcrypto
+ - libssl
+ - aspell
+SetupOptions: '-q -n %{name}-%{version}/upstream'
+#NoSetup: true
+Macros:
+ - 'alpinedir;.local/share/%{name}'
+ - 'smimedir;.local/share/%{name}/smime'
+ - 'cachedir;.cache/%{name}'
+ConfigOptions:
+ - '--with-ssl'
+ - '--with-ipv6'
+ - '--with-pthread'
+ - '--disable-debug'
+ - '--disable-nls'
+ - '--disable-mouse'
+ - '--disable-keyboard-lock'
+ - '--without-ldap'
+ - '--without-krb5'
+ - '--without-tcl'
+ - '--without-ntlm'
+ - '--with-bundled-tools=mailutil,dmail'
+ - '--enable-from-encoding'
+ - '--with-passfile=%{alpinedir}/.passfile'
+ - '--with-interactive-spellcheck=aspell'
+ - '--with-default-mail-directory=%{alpinedir}/mail'
+ - '--with-default-addressbook=%{alpinedir}/addressbook'
+ - '--with-default-signature-file=%{alpinedir}/signature'
+ - '--with-smime-public-cert-directory=%{smimedir}/public'
+ - '--with-smime-private-key-directory=%{smimedir}/private'
+ - '--with-smime-cacert-directory=%{smimedir}/ca'
+ - '--with-default-html-directory=%{cachedir}/html'
+ - '--with-local-support-info="%{_datadir}"/%{name}/pine.info'
+ - '--with-system-pinerc="%{_datadir}"/%{name}/pine.conf'
+ - '--with-system-fixed-pinerc="%{_datadir}"/%{name}/pine.conf.fixed'
+ - '--with-encryption-minimum-version=tls1_1'
+Files:
+ - '%{_bindir}/%{name}'
+ - '%config %{_datadir}/%{name}/pine.conf'
+ - '%config %{_datadir}/%{name}/pine.conf.fixed'
+ - '%ghost %config %{_sysconfdir}/c-client.conf'
+
+SubPackages:
+ - Name: doc
+ Summary: Documentation for %{name}
+ Group: Documentation
+ AutoDepend: false
+ BuildArch: noarch
+ Files:
+ - '%doc README NOTICE'
+ - '%doc doc/brochure.txt'
+ - '%doc doc/tech-notes/*'
+ - '%doc doc/mailcap.unx'
+ - '%doc doc/mime.types'
+ - '%{_mandir}/man1/*'
+
+ - Name: pico
+ AsWholeName: true
+ Summary: The pico text editor
+ Group: Applications
+ AutoDepend: false
+ Files:
+ - '%{_bindir}/pico'
+
+ - Name: pilot
+ AsWholeName: true
+ Summary: The pilot file manager
+ Group: Applications
+ AutoDepend: false
+ Files:
+ - '%{_bindir}/pilot'
+
+ - Name: tools
+ Summary: Extra binaries for %{name}
+ Group: Applications
+ AutoDepend: false
+ Files:
+ - '%{_bindir}/rpdump'
+ - '%{_bindir}/rpload'
+ - '%{_bindir}/mailutil'
+ - '%{_bindir}/dmail'
|
[-]
[+]
|
Added |
_service:tar_git:pine.conf
^
|
@@ -0,0 +1,24 @@
+#inbox-path={public.nephros.org:143/norsh/tls/user=nephros}INBOX
+inbox-path=/var/spool/mail/$USER
+
+# Sets the search path for the mimetypes configuration file.
+# NOTE: colon delimited under UNIX, semi-colon delimited under DOS/Windows/OS2.
+mimetype-search-path=$HOME/.mime.types:$HOME/.local/share/applications/mimeinfo.cache
+
+# RSS News feed
+rss-news=https://forum.sailfishos.org/latest.rss,
+ https://forum.sailfishos.org/tag/community-news.rss
+
+# Sets the path for the system ssl certificates issued by a trusted
+# certificate authority. Note that this could be a list of paths, if the same
+# pinerc is used in different systems. Alpine always chooses the first one that
+# it finds. Value must be an absolute path.
+system-certs-path=/etc/ssl/certs
+
+# Sets the path for the system ssl file container of certificates issued by a
+# certificate authority. Note that this could be a list of container files,
+# if the same pinerc is used in different systems. Alpine always chooses the,
+# first one that it finds. Value must be an absolute path.
+system-certs-file=/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt,
+ /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem,
+ /etc/pki/ca-trust/extracted/pem/email-ca-bundle.pem
|
|
Added |
_service:tar_git:pine.conf.fixed
^
|
|
Deleted |
alpine-2.25.tar.xz
^
|
[-]
[+]
|
Deleted |
alpine.yaml
^
|
@@ -1,84 +0,0 @@
-Name: alpine
-Summary: "Text-based mail and news client. Includes patches by Eduardo Chappa"
-Version: 2.25
-Release: 1
-URL: http://alpine.x10host.com/alpine/release/
-Group: Applications
-License: 'ASL 2.0'
-Sources:
- - http://alpine.x10host.com/alpine/patches/%{name}-%{version}/%{name}-%{version}.tar.xz
-Description: |
- Alpine is a free software email client developed at the University of Washington.
-
- Alpine is a rewrite of the Pine Message System that adds support for Unicode and other features. Alpine is meant to be suitable for both inexperienced email users and the most demanding of power users.
-
- "Alpine" officially stands for Alternatively Licensed Program for Internet News and Email.
-
-PkgConfigBR:
- - ncurses
- - tinfo
- - libcrypto
- - libssl
-ConfigOptions:
- - '--with-ssl'
- - '--with-ipv6'
- - '--with-pthread'
- - '--disable-debug'
- - '--disable-nls'
- - '--disable-mouse'
- - '--disable-keyboard-lock'
- - '--without-ldap'
- - '--without-krb5'
- - '--without-tcl'
- - '--without-ntlm'
- - '--with-bundled-tools=mailutil,dmail'
- - '--with-passfile=.alpine-passfile'
- - '--enable-from-encoding'
- - '--with-interactive-spellcheck=/usr/bin/aspell'
- - '--with-local-support-info="%{_datadir}"/%{name}/pine.info'
- - '--with-system-pinerc="%{_datadir}"/%{name}/pine.conf'
- - '--with-system-fixed-pinerc="%{_datadir}"/%{name}/pine.conf.fixed'
- - '--with-encryption-minimum-version=tls1_1'
- - '--with-ssl-certs-dir=/etc/ssl/certs'
-Files:
- - '%{_bindir}/%{name}'
-
-SubPackages:
- - Name: doc
- Summary: Documentation for %{name}
- Group: Documentation
- AutoDepend: false
- BuildArch: noarch
- Files:
- - '%doc README NOTICE'
- - '%doc doc/brochure.txt'
- - '%doc doc/tech-notes/*'
- - '%doc doc/mailcap.unx'
- - '%doc doc/mime.types'
- - '%{_mandir}/man1/*'
-
- - Name: pico
- AsWholeName: true
- Summary: The pico text editor
- Group: Applications
- AutoDepend: false
- Files:
- - '%{_bindir}/pico'
-
- - Name: pilot
- AsWholeName: true
- Summary: The pilot file manager
- Group: Applications
- AutoDepend: false
- Files:
- - '%{_bindir}/pilot'
-
- - Name: tools
- Summary: Extra binaries for %{name}
- Group: Applications
- AutoDepend: false
- Files:
- - '%{_bindir}/rpdump'
- - '%{_bindir}/rpload'
- - '%{_bindir}/mailutil'
- - '%{_bindir}/dmail'
|