Compare commits
No commits in common. "rawhide" and "f31" have entirely different histories.
6 changed files with 123 additions and 500 deletions
|
|
@ -1,164 +0,0 @@
|
||||||
Add additional #include directives for more function prototypes,
|
|
||||||
to avoid implicit function declarations. Declare appledouble_write,
|
|
||||||
cmdline_afp_setup_client in the appropriate header files.
|
|
||||||
|
|
||||||
These changes expose an argument type mismatch in the function
|
|
||||||
appledouble_truncate, in the calls to remove_opened_fork. This may
|
|
||||||
or may have not worked before, depending on how the ABI implements
|
|
||||||
passing this struct by value.
|
|
||||||
|
|
||||||
The use of basename in start_afpfsd is suspect; this should probaby use
|
|
||||||
dirname instead.
|
|
||||||
|
|
||||||
Submitted upstream: <https://sourceforge.net/p/afpfs-ng/patches/5/>
|
|
||||||
|
|
||||||
diff --git a/cmdline/cmdline_afp.h b/cmdline/cmdline_afp.h
|
|
||||||
index ebdf357fc952972c..e0ec4570f69b71ec 100644
|
|
||||||
--- a/cmdline/cmdline_afp.h
|
|
||||||
+++ b/cmdline/cmdline_afp.h
|
|
||||||
@@ -28,5 +28,6 @@ int com_disconnect(char * arg);
|
|
||||||
void cmdline_afp_exit(void);
|
|
||||||
|
|
||||||
int cmdline_afp_setup(int recursive, char * url_string);
|
|
||||||
+void cmdline_afp_setup_client(void);
|
|
||||||
|
|
||||||
#endif
|
|
||||||
diff --git a/cmdline/cmdline_main.c b/cmdline/cmdline_main.c
|
|
||||||
index ffb39ebacb8f262c..deccf8a4cc342bf0 100644
|
|
||||||
--- a/cmdline/cmdline_main.c
|
|
||||||
+++ b/cmdline/cmdline_main.c
|
|
||||||
@@ -17,6 +17,7 @@
|
|
||||||
#include <getopt.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <signal.h>
|
|
||||||
+#include "afp.h"
|
|
||||||
#include "cmdline_afp.h"
|
|
||||||
#include "cmdline_testafp.h"
|
|
||||||
|
|
||||||
diff --git a/fuse/client.c b/fuse/client.c
|
|
||||||
index d19e9efb2dcb60b7..beceaa5594a89b80 100644
|
|
||||||
--- a/fuse/client.c
|
|
||||||
+++ b/fuse/client.c
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <grp.h>
|
|
||||||
+#include <libgen.h>
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
#include <afp.h>
|
|
||||||
diff --git a/fuse/daemon.c b/fuse/daemon.c
|
|
||||||
index 8b3b8d9146633518..abf6c02e390142b2 100644
|
|
||||||
--- a/fuse/daemon.c
|
|
||||||
+++ b/fuse/daemon.c
|
|
||||||
@@ -23,6 +23,8 @@
|
|
||||||
#include <signal.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
|
|
||||||
+#include <fuse.h>
|
|
||||||
+
|
|
||||||
#include "afp.h"
|
|
||||||
|
|
||||||
#include "dsi.h"
|
|
||||||
diff --git a/lib/dsi.c b/lib/dsi.c
|
|
||||||
index 8a469794542ec447..3fd10fb24c770ca8 100644
|
|
||||||
--- a/lib/dsi.c
|
|
||||||
+++ b/lib/dsi.c
|
|
||||||
@@ -27,6 +27,7 @@
|
|
||||||
#include "libafpclient.h"
|
|
||||||
#include "afp_internal.h"
|
|
||||||
#include "afp_replies.h"
|
|
||||||
+#include "codepage.h"
|
|
||||||
|
|
||||||
/* define this in order to get reams of DSI debugging information */
|
|
||||||
#undef DEBUG_DSI
|
|
||||||
diff --git a/lib/lowlevel.c b/lib/lowlevel.c
|
|
||||||
index f3b632c2ae2da763..1edc9cdce5cc8429 100644
|
|
||||||
--- a/lib/lowlevel.c
|
|
||||||
+++ b/lib/lowlevel.c
|
|
||||||
@@ -25,6 +25,8 @@
|
|
||||||
#include "utils.h"
|
|
||||||
#include "did.h"
|
|
||||||
#include "users.h"
|
|
||||||
+#include "midlevel.h"
|
|
||||||
+#include "forklist.h"
|
|
||||||
|
|
||||||
static void set_nonunix_perms(unsigned int * mode, struct afp_file_info *fp)
|
|
||||||
{
|
|
||||||
diff --git a/lib/proto_files.c b/lib/proto_files.c
|
|
||||||
index 933956da6a6d2ce6..d2acd562a2671869 100644
|
|
||||||
--- a/lib/proto_files.c
|
|
||||||
+++ b/lib/proto_files.c
|
|
||||||
@@ -14,6 +14,7 @@
|
|
||||||
#include "dsi_protocol.h"
|
|
||||||
#include "afp_protocol.h"
|
|
||||||
#include "afp_internal.h"
|
|
||||||
+#include "afp_replies.h"
|
|
||||||
|
|
||||||
/* afp_setfileparms, afp_setdirparms and afpsetfiledirparms are all remarkably
|
|
||||||
similiar. We abstract them to afp-setparms_lowlevel. */
|
|
||||||
diff --git a/lib/proto_replyblock.c b/lib/proto_replyblock.c
|
|
||||||
index f66791614a52ca3d..c59629b24ab83cec 100644
|
|
||||||
--- a/lib/proto_replyblock.c
|
|
||||||
+++ b/lib/proto_replyblock.c
|
|
||||||
@@ -10,6 +10,7 @@
|
|
||||||
#include "afp.h"
|
|
||||||
#include "utils.h"
|
|
||||||
#include "afp_internal.h"
|
|
||||||
+#include "afp_replies.h"
|
|
||||||
|
|
||||||
|
|
||||||
/* FIXME: should do bounds checking */
|
|
||||||
diff --git a/lib/resource.c b/lib/resource.c
|
|
||||||
index 6be4a5b1de51fec5..fb39889f0d7702c0 100644
|
|
||||||
--- a/lib/resource.c
|
|
||||||
+++ b/lib/resource.c
|
|
||||||
@@ -8,6 +8,7 @@
|
|
||||||
#include "lowlevel.h"
|
|
||||||
#include "did.h"
|
|
||||||
#include "midlevel.h"
|
|
||||||
+#include "forklist.h"
|
|
||||||
|
|
||||||
#define appledouble ".AppleDouble"
|
|
||||||
#define finderinfo_string ".finderinfo"
|
|
||||||
@@ -362,12 +363,12 @@ int appledouble_truncate(struct afp_volume * volume, const char * path, int offs
|
|
||||||
ret=ll_zero_file(volume,fp.forkid,0);
|
|
||||||
if (ret<0) {
|
|
||||||
afp_closefork(volume,fp.forkid);
|
|
||||||
- remove_opened_fork(volume,fp);
|
|
||||||
+ remove_opened_fork(volume,&fp);
|
|
||||||
free(newpath);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
afp_closefork(volume,fp.forkid);
|
|
||||||
- remove_opened_fork(volume,fp);
|
|
||||||
+ remove_opened_fork(volume,&fp);
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
case AFP_META_APPLEDOUBLE:
|
|
||||||
diff --git a/lib/resource.h b/lib/resource.h
|
|
||||||
index 6a0d38a6275dd6f5..2efff106c94e6637 100644
|
|
||||||
--- a/lib/resource.h
|
|
||||||
+++ b/lib/resource.h
|
|
||||||
@@ -31,6 +31,9 @@ int appledouble_read(struct afp_volume * volume, struct afp_file_info *fp,
|
|
||||||
|
|
||||||
int appledouble_close(struct afp_volume * volume, struct afp_file_info * fp);
|
|
||||||
|
|
||||||
+int appledouble_write(struct afp_volume * volume, struct afp_file_info *fp,
|
|
||||||
+ const char *data, size_t size, off_t offset, size_t *totalwritten);
|
|
||||||
+
|
|
||||||
int appledouble_chmod(struct afp_volume * volume, const char * path, mode_t mode);
|
|
||||||
|
|
||||||
int appledouble_unlink(struct afp_volume * volume, const char *path);
|
|
||||||
diff --git a/lib/server.c b/lib/server.c
|
|
||||||
index 977c418efccae88b..93400dd92a4c0af6 100644
|
|
||||||
--- a/lib/server.c
|
|
||||||
+++ b/lib/server.c
|
|
||||||
@@ -7,6 +7,7 @@
|
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
#include <time.h>
|
|
||||||
+#include <sys/time.h>
|
|
||||||
|
|
||||||
#include "afp.h"
|
|
||||||
#include "dsi.h"
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
diff -ru afpfs-ng-0.8.1.orig/cmdline/cmdline_main.c afpfs-ng-0.8.1.new/cmdline/cmdline_main.c
|
|
||||||
--- afpfs-ng-0.8.1.orig/cmdline/cmdline_main.c 2008-02-19 01:54:53.000000000 +0000
|
|
||||||
+++ afpfs-ng-0.8.1.new/cmdline/cmdline_main.c 2021-03-12 03:28:59.315715841 +0000
|
|
||||||
@@ -387,6 +387,7 @@
|
|
||||||
|
|
||||||
struct option long_options[] = {
|
|
||||||
{"recursive",1,0,'r'},
|
|
||||||
+ {NULL,0,NULL,0}
|
|
||||||
};
|
|
||||||
char * url = argv[1];
|
|
||||||
|
|
||||||
|
|
@ -1,109 +0,0 @@
|
||||||
diff -ru afpfs-ng-0.8.1.orig/lib/loop.c afpfs-ng-0.8.1.new/lib/loop.c
|
|
||||||
--- afpfs-ng-0.8.1.orig/lib/loop.c 2025-02-06 15:18:29.028488247 +0100
|
|
||||||
+++ afpfs-ng-0.8.1.new/lib/loop.c 2025-02-06 15:02:08.261418298 +0100
|
|
||||||
@@ -87,7 +87,7 @@
|
|
||||||
static int ending=0;
|
|
||||||
void * just_end_it_now(void * ignore)
|
|
||||||
{
|
|
||||||
- if (ending) return;
|
|
||||||
+ if (ending) return(NULL);
|
|
||||||
ending=1;
|
|
||||||
if (libafpclient->forced_ending_hook)
|
|
||||||
libafpclient->forced_ending_hook();
|
|
||||||
diff -ru afpfs-ng-0.8.1.orig/lib/proto_directory.c afpfs-ng-0.8.1.new/lib/proto_directory.c
|
|
||||||
--- afpfs-ng-0.8.1.orig/lib/proto_directory.c 2025-02-06 15:18:29.030488258 +0100
|
|
||||||
+++ afpfs-ng-0.8.1.new/lib/proto_directory.c 2025-02-06 15:17:58.862309936 +0100
|
|
||||||
@@ -16,6 +16,19 @@
|
|
||||||
#include "dsi_protocol.h"
|
|
||||||
#include "afp_replies.h"
|
|
||||||
|
|
||||||
+typedef struct reply_entry {
|
|
||||||
+ uint8_t size;
|
|
||||||
+ uint8_t isdir;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+typedef struct ext2_reply_entry {
|
|
||||||
+ uint16_t size;
|
|
||||||
+ uint8_t isdir;
|
|
||||||
+ uint8_t pad;
|
|
||||||
+};
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+
|
|
||||||
int afp_moveandrename(struct afp_volume *volume,
|
|
||||||
unsigned int src_did,
|
|
||||||
unsigned int dst_did,
|
|
||||||
@@ -200,10 +213,7 @@
|
|
||||||
uint16_t reqcount;
|
|
||||||
} __attribute__((__packed__)) * reply = (void *) buf;
|
|
||||||
|
|
||||||
- struct {
|
|
||||||
- uint8_t size;
|
|
||||||
- uint8_t isdir;
|
|
||||||
- } __attribute__((__packed__)) * entry;
|
|
||||||
+ struct reply_entry __attribute__((__packed__)) * entry;
|
|
||||||
char * p = buf + sizeof(*reply);
|
|
||||||
int i;
|
|
||||||
char *max=buf+size;
|
|
||||||
@@ -219,7 +229,7 @@
|
|
||||||
}
|
|
||||||
|
|
||||||
for (i=0;i<ntohs(reply->reqcount);i++) {
|
|
||||||
- entry = (void *) p;
|
|
||||||
+ entry = ( struct reply_entry *) p;
|
|
||||||
|
|
||||||
if (p>max) {
|
|
||||||
return -1;
|
|
||||||
@@ -259,11 +269,7 @@
|
|
||||||
uint16_t reqcount;
|
|
||||||
} __attribute__((__packed__)) * reply = (void *) buf;
|
|
||||||
|
|
||||||
- struct {
|
|
||||||
- uint16_t size;
|
|
||||||
- uint8_t isdir;
|
|
||||||
- uint8_t pad;
|
|
||||||
- } __attribute__((__packed__)) * entry;
|
|
||||||
+ struct ext2_reply_entry __attribute__((__packed__)) * entry;
|
|
||||||
char * p = buf + sizeof(*reply);
|
|
||||||
int i;
|
|
||||||
char *max=buf+size;
|
|
||||||
@@ -293,7 +299,7 @@
|
|
||||||
filecur=new_file;
|
|
||||||
}
|
|
||||||
|
|
||||||
- entry = p;
|
|
||||||
+ entry = ( struct ext2_reply_entry *) p;
|
|
||||||
|
|
||||||
parse_reply_block(server,p+sizeof(*entry),
|
|
||||||
ntohs(entry->size),entry->isdir,
|
|
||||||
diff -ru afpfs-ng-0.8.1.orig/lib/uams.c afpfs-ng-0.8.1.new/lib/uams.c
|
|
||||||
--- afpfs-ng-0.8.1.orig/lib/uams.c 2025-02-06 15:18:29.030488258 +0100
|
|
||||||
+++ afpfs-ng-0.8.1.new/lib/uams.c 2025-02-06 15:00:32.383809018 +0100
|
|
||||||
@@ -36,7 +36,7 @@
|
|
||||||
static int cleartxt_login(struct afp_server *server, char *username,
|
|
||||||
char *passwd);
|
|
||||||
static int cleartxt_passwd(struct afp_server *server, char *username,
|
|
||||||
- char *passwd);
|
|
||||||
+ char *passwd, char *newpasswd);
|
|
||||||
#ifdef HAVE_LIBGCRYPT
|
|
||||||
static int randnum_login(struct afp_server *server, char *username,
|
|
||||||
char *passwd);
|
|
||||||
@@ -49,8 +49,7 @@
|
|
||||||
static struct afp_uam uam_noauth =
|
|
||||||
{UAM_NOUSERAUTHENT,"No User Authent",&noauth_login,NULL,NULL};
|
|
||||||
static struct afp_uam uam_cleartxt =
|
|
||||||
- {UAM_CLEARTXTPASSWRD,"Cleartxt Passwrd",&cleartxt_login,
|
|
||||||
- &cleartxt_passwd,NULL};
|
|
||||||
+ {UAM_CLEARTXTPASSWRD,"Cleartxt Passwrd",&cleartxt_login,&cleartxt_passwd,NULL};
|
|
||||||
#ifdef HAVE_LIBGCRYPT
|
|
||||||
static struct afp_uam uam_randnum =
|
|
||||||
{UAM_RANDNUMEXCHANGE, "Randnum Exchange", &randnum_login,NULL,NULL};
|
|
||||||
@@ -219,7 +218,7 @@
|
|
||||||
* +------------------+
|
|
||||||
*/
|
|
||||||
static int cleartxt_passwd(struct afp_server *server,
|
|
||||||
- char *username, char *passwd) {
|
|
||||||
+ char *username, char *passwd, char *newpasswd) {
|
|
||||||
|
|
||||||
char *p, *ai = NULL;
|
|
||||||
int len, ret;
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
diff -ru afpfs-ng-0.8.1.old/cmdline/cmdline_testafp.c afpfs-ng-0.8.1.new/cmdline/cmdline_testafp.c
|
|
||||||
--- afpfs-ng-0.8.1.old/cmdline/cmdline_testafp.c 2025-02-06 15:22:10.187795481 +0100
|
|
||||||
+++ afpfs-ng-0.8.1.new/cmdline/cmdline_testafp.c 2025-02-06 15:30:13.226751326 +0100
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
snprintf(valid_url.path,sizeof(valid_url.path),"%s",path);
|
|
||||||
snprintf(valid_url.username,sizeof(valid_url.username),"%s",username);
|
|
||||||
snprintf(valid_url.password,sizeof(valid_url.password),"%s",password);
|
|
||||||
- snprintf(valid_url.uamname,(valid_url.uamname),"%s",uamname);
|
|
||||||
+ snprintf(valid_url.uamname,sizeof(valid_url.uamname),"%s",uamname);
|
|
||||||
valid_url.port=port;
|
|
||||||
|
|
||||||
if (afp_url_validate(url_string,&valid_url))
|
|
||||||
@@ -42,7 +42,7 @@
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
-int test_urls(void)
|
|
||||||
+int test_urls(char * arg)
|
|
||||||
{
|
|
||||||
|
|
||||||
printf("Testing URL parsing\n");
|
|
||||||
diff -ru afpfs-ng-0.8.1.old/cmdline/cmdline_testafp.h afpfs-ng-0.8.1.new/cmdline/cmdline_testafp.h
|
|
||||||
--- afpfs-ng-0.8.1.old/cmdline/cmdline_testafp.h 2008-01-05 06:00:57.000000000 +0100
|
|
||||||
+++ afpfs-ng-0.8.1.new/cmdline/cmdline_testafp.h 2025-02-06 15:30:51.577987329 +0100
|
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
#ifndef __CMDLINE_TESTAFP_H_
|
|
||||||
-int test_urls(void);
|
|
||||||
+int test_urls(char * arg);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
162
afpfs-ng.spec
162
afpfs-ng.spec
|
|
@ -1,41 +1,32 @@
|
||||||
|
# No FUSE on RHEL5
|
||||||
|
%if %{?el5:1}0
|
||||||
|
%define _without_fuse 1
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: afpfs-ng
|
Name: afpfs-ng
|
||||||
Version: 0.8.1
|
Version: 0.8.1
|
||||||
Release: %autorelease
|
Release: 28%{?dist}
|
||||||
Summary: Apple Filing Protocol client
|
Summary: Apple Filing Protocol client
|
||||||
|
|
||||||
|
License: GPL+
|
||||||
# by default build with the fuse module
|
|
||||||
# rpmbuild --rebuild afpfs-ng.src.rpm --without fuse
|
|
||||||
%bcond_without fuse
|
|
||||||
|
|
||||||
|
|
||||||
License: GPL-2.0-or-later
|
|
||||||
URL: http://alexthepuffin.googlepages.com/home
|
URL: http://alexthepuffin.googlepages.com/home
|
||||||
Source0: http://downloads.sourceforge.net/afpfs-ng/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/afpfs-ng/%{name}-%{version}.tar.bz2
|
||||||
Patch0: afpfs-ng-0.8.1-overflows.patch
|
Patch0: afpfs-ng-0.8.1-overflows.patch
|
||||||
Patch1: afpfs-ng-0.8.1-pointer.patch
|
Patch1: afpfs-ng-0.8.1-pointer.patch
|
||||||
# Sent by e-mail to Alex deVries <alexthepuffin@gmail.com>
|
# Sent by e-mail to Alex deVries <alexthepuffin@gmail.com>
|
||||||
Patch2: afpfs-ng-0.8.1-formatsec.patch
|
Patch2: afpfs-ng-0.8.1-formatsec.patch
|
||||||
Patch3: afpfs-ng-0.8.1-longoptions.patch
|
|
||||||
Patch4: afpfs-ng-0.8.1-c99.patch
|
|
||||||
Patch5: afpfs-ng-0.8.1-pointer2.patch
|
|
||||||
Patch6: afpfs-ng-0.8.1-tests.patch
|
|
||||||
|
|
||||||
%{?with_fuse:BuildRequires: fuse-devel}
|
%{?!_without_fuse:BuildRequires: fuse-devel}
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libgcrypt-devel gmp-devel readline-devel
|
BuildRequires: libgcrypt-devel gmp-devel readline-devel
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: autoconf
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A command line client to access files exported from Mac OS system via
|
A command line client to access files exported from Mac OS system via
|
||||||
Apple Filing Protocol.
|
Apple Filing Protocol.
|
||||||
%{?with_fuse:The FUSE filesystem module for AFP is in fuse-afp package}
|
%{?!_without_fuse:The FUSE filesystem module for AFP is in fuse-afp package}
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_fuse}
|
%if %{?!_without_fuse:1}0
|
||||||
%package -n fuse-afp
|
%package -n fuse-afp
|
||||||
Summary: FUSE driver for AFP filesystem
|
Summary: FUSE driver for AFP filesystem
|
||||||
|
|
||||||
|
|
@ -53,10 +44,13 @@ Requires: %{name} = %{version}
|
||||||
%description devel
|
%description devel
|
||||||
Library for dynamic linking and header files of afpfs-ng.
|
Library for dynamic linking and header files of afpfs-ng.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p 1
|
%setup -q
|
||||||
libtoolize
|
%patch0 -p1 -b .overflows
|
||||||
autoreconf
|
%patch1 -p1 -b .pointer
|
||||||
|
%patch2 -p1 -b .formatsec
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# make would rebuild the autoconf infrastructure due to the following:
|
# make would rebuild the autoconf infrastructure due to the following:
|
||||||
|
|
@ -65,36 +59,28 @@ autoreconf
|
||||||
# Prerequisite `configure.ac' is newer than target `aclocal.m4'.
|
# Prerequisite `configure.ac' is newer than target `aclocal.m4'.
|
||||||
touch --reference aclocal.m4 configure.ac Makefile.in
|
touch --reference aclocal.m4 configure.ac Makefile.in
|
||||||
|
|
||||||
export CFLAGS="${RPM_OPT_FLAGS} -fcommon -D NeedFunctionPrototypes"
|
%configure %{?_without_fuse:--disable-fuse} --disable-static
|
||||||
%configure %{?!with_fuse:--disable-fuse} --disable-static
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
make install DESTDIR=%{buildroot}
|
||||||
install -d %{buildroot}%{_includedir}/afpfs-ng
|
install -d %{buildroot}%{_includedir}/afpfs-ng
|
||||||
cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
|
cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
|
||||||
# libtool .la file works different in different versions of libtool, should not be packaged
|
|
||||||
[ -f %{buildroot}%{_libdir}/libafpclient.la ] && rm -f %{buildroot}%{_libdir}/libafpclient.la
|
|
||||||
|
|
||||||
%if ( 0%{?rhel} && 0%{?rhel} <= 7 )
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
|
||||||
%{_bindir}/afpcmd
|
%{_bindir}/afpcmd
|
||||||
%{_bindir}/afpgetstatus
|
%{_bindir}/afpgetstatus
|
||||||
%{_mandir}/man1/afpcmd.1*
|
%{_mandir}/man1/afpcmd.1*
|
||||||
%{_mandir}/man1/afpgetstatus.1*
|
%{_mandir}/man1/afpgetstatus.1*
|
||||||
%{_libdir}/libafpclient.so.*
|
%{_libdir}/*.so.*
|
||||||
%doc AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
|
%exclude %{_libdir}/*.la
|
||||||
|
%doc COPYING AUTHORS ChangeLog docs/README docs/performance docs/FEATURES.txt docs/REPORTING-BUGS.txt
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?with_fuse}
|
%if %{?!_without_fuse:1}0
|
||||||
%files -n fuse-afp
|
%files -n fuse-afp
|
||||||
%license COPYING
|
|
||||||
%{_bindir}/afp_client
|
%{_bindir}/afp_client
|
||||||
%{_bindir}/afpfs
|
%{_bindir}/afpfs
|
||||||
%{_bindir}/afpfsd
|
%{_bindir}/afpfsd
|
||||||
|
|
@ -102,7 +88,7 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
|
||||||
%{_mandir}/man1/afp_client.1*
|
%{_mandir}/man1/afp_client.1*
|
||||||
%{_mandir}/man1/afpfsd.1*
|
%{_mandir}/man1/afpfsd.1*
|
||||||
%{_mandir}/man1/mount_afp.1*
|
%{_mandir}/man1/mount_afp.1*
|
||||||
%doc AUTHORS ChangeLog
|
%doc COPYING AUTHORS ChangeLog
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -110,5 +96,103 @@ cp -p include/* %{buildroot}%{_includedir}/afpfs-ng
|
||||||
%{_includedir}/afpfs-ng
|
%{_includedir}/afpfs-ng
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-28
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-27
|
||||||
|
- Rebuild for readline 8.0
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-26
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-25
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-24
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-23
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-22
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-21
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-20
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-19
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Nov 25 2014 <hguemar@fedoraproject.org> - 0.8.1-18
|
||||||
|
- Fix mount_afp crash (RHBZ #1165296)
|
||||||
|
|
||||||
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-17
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-16
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Apr 22 2014 Tomáš Mráz <tmraz@redhat.com> - 0.8.1-15
|
||||||
|
- Rebuild for new libgcrypt
|
||||||
|
|
||||||
|
* Wed Dec 04 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-14
|
||||||
|
- Fix build with -Werror=format-security
|
||||||
|
|
||||||
|
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-13.3
|
||||||
|
- Bulk sad and useless attempt at consistent SPEC file formatting
|
||||||
|
|
||||||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-12.3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-11.3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-10.3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-9.3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.8.1-8.3
|
||||||
|
- rebuild with new gmp without compat lib
|
||||||
|
|
||||||
|
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.2
|
||||||
|
- rebuild with new gmp
|
||||||
|
|
||||||
|
* Mon Sep 26 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.1
|
||||||
|
- rebuild with new gmp
|
||||||
|
|
||||||
|
* Mon Jul 4 2011 Jan F. Chadima <jchadima@redhat.com> - 0.8.1-8
|
||||||
|
- Repair ponter arithmetic
|
||||||
|
|
||||||
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Sep 17 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.8.1-6
|
||||||
|
- Rebuild with new fuse
|
||||||
|
|
||||||
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-4
|
||||||
|
- Don't refer to AppleTalk in Summary
|
||||||
|
|
||||||
|
* Tue Jul 14 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-3
|
||||||
|
- Fix up license tag
|
||||||
|
|
||||||
|
* Thu Mar 19 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-2
|
||||||
|
- Add more include files (Jan F. Chadima)
|
||||||
|
- Don't needlessly build static library (Stefan Kasal)
|
||||||
|
- Fix fuse-afp summary (Stefan Kasal)
|
||||||
|
- Remove redundant license file from -devel (Stefan Kasal)
|
||||||
|
|
||||||
|
* Mon Oct 6 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-1
|
||||||
|
- Initial packaging attempt
|
||||||
|
|
|
||||||
147
changelog
147
changelog
|
|
@ -1,147 +0,0 @@
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-45
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-44
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-43
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-42
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Dec 21 2022 Florian Weimer <fweimer@redhat.com> - 0.8.1-41
|
|
||||||
- Port to C99
|
|
||||||
|
|
||||||
* Tue Oct 25 2022 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-40
|
|
||||||
- remove the libafpclient.la libtool file
|
|
||||||
|
|
||||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-39
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-38
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Nov 17 2021 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-37
|
|
||||||
- update embedded libtool (ltmain.sh)
|
|
||||||
|
|
||||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-36
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Apr 26 2021 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-35
|
|
||||||
- modernize spec, push the bugfix to active branches
|
|
||||||
|
|
||||||
* Fri Mar 12 2021 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-34
|
|
||||||
- fix issue 1507944
|
|
||||||
|
|
||||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-33
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-32
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-31
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Apr 22 2020 Michal Ambroz <rebus _AT seznam.cz> - 0.8.1-30
|
|
||||||
- fix FTBFS - multiple definition of - build legacy code with -fcommon
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-29
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-28
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-27
|
|
||||||
- Rebuild for readline 8.0
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-26
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-25
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-24
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-23
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-22
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-21
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.1-20
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-19
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Nov 25 2014 <hguemar@fedoraproject.org> - 0.8.1-18
|
|
||||||
- Fix mount_afp crash (RHBZ #1165296)
|
|
||||||
|
|
||||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-17
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-16
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Apr 22 2014 Tomáš Mráz <tmraz@redhat.com> - 0.8.1-15
|
|
||||||
- Rebuild for new libgcrypt
|
|
||||||
|
|
||||||
* Wed Dec 04 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-14
|
|
||||||
- Fix build with -Werror=format-security
|
|
||||||
|
|
||||||
* Thu Oct 24 2013 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-13.3
|
|
||||||
- Bulk sad and useless attempt at consistent SPEC file formatting
|
|
||||||
|
|
||||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-12.3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-11.3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-10.3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-9.3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Oct 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.8.1-8.3
|
|
||||||
- rebuild with new gmp without compat lib
|
|
||||||
|
|
||||||
* Mon Oct 10 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.2
|
|
||||||
- rebuild with new gmp
|
|
||||||
|
|
||||||
* Mon Sep 26 2011 Peter Schiffer <pschiffe@redhat.com> - 0.8.1-8.1
|
|
||||||
- rebuild with new gmp
|
|
||||||
|
|
||||||
* Mon Jul 4 2011 Jan F. Chadima <jchadima@redhat.com> - 0.8.1-8
|
|
||||||
- Repair ponter arithmetic
|
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Sep 17 2009 Peter Lemenkov <lemenkov@gmail.com> - 0.8.1-6
|
|
||||||
- Rebuild with new fuse
|
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-4
|
|
||||||
- Don't refer to AppleTalk in Summary
|
|
||||||
|
|
||||||
* Tue Jul 14 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-3
|
|
||||||
- Fix up license tag
|
|
||||||
|
|
||||||
* Thu Mar 19 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-2
|
|
||||||
- Add more include files (Jan F. Chadima)
|
|
||||||
- Don't needlessly build static library (Stefan Kasal)
|
|
||||||
- Fix fuse-afp summary (Stefan Kasal)
|
|
||||||
- Remove redundant license file from -devel (Stefan Kasal)
|
|
||||||
|
|
||||||
* Mon Oct 6 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.8.1-1
|
|
||||||
- Initial packaging attempt
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue